mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tag:
Branch:
Tree:
2a0b425f67
all-contributors/add-1aal
dependabot/go_modules/docgen/github.com/docker/docker-24.0.9incompatible
enhancement/improved-multiarch-pipeline
enhancement/redirect-old-docs
enhancement/versioned-docs
feature/containerd
feature/docker-context-support
fix/helper-images-push-latest-tag
gh-pages
main
main-v1
main-v3
main-v4
main-v5
new-config
renovate/github.com-docker-cli-27.x
renovate/github.com-go-test-deep-1.x
renovate/github.com-imdario-mergo-0.x
renovate/github.com-rancher-wharfie-0.x
renovate/github.com-spf13-cobra-1.x
renovate/go-github.com-docker-docker-vulnerability
renovate/golang-1.x
renovate/k8s.io-utils-digest
renovate/mkdocs-1.x
renovate/pymdown-extensions-10.x
v0.0.1
v0.0.2
v0.1.0
v0.1.1
v0.2.0
v0.3.0
v1.0.0
v1.0.0-beta0
v1.0.1
v1.0.2
v1.1.0
v1.2.0
v1.2.0-beta.0
v1.2.0-beta.1
v1.2.0-beta.2
v1.2.1
v1.2.2
v1.2.2-beta.0
v1.3.0
v1.3.0-dev.0
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.4.0
v1.4.0-dev.0
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v3.0.0
v3.0.0-alpha.0
v3.0.0-alpha.0wq
v3.0.0-alpha.1
v3.0.0-alpha.2
v3.0.0-alpha.3
v3.0.0-alpha.4
v3.0.0-beta.0
v3.0.0-beta.1
v3.0.0-beta.2
v3.0.0-dev-20191016-0
v3.0.0-dev-20191025-0
v3.0.0-dev-20191204-0
v3.0.0-dev-20191205-0
v3.0.0-dev-20191212-0
v3.0.0-dev-20200423.0
v3.0.0-dev-20200423.1
v3.0.0-dev-20200423.2
v3.0.0-dev-20200423.3
v3.0.0-rc.0
v3.0.0-rc.1
v3.0.0-rc.2
v3.0.0-rc.3
v3.0.0-rc.4
v3.0.0-rc.5
v3.0.0-rc.6
v3.0.0-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${ noResults }
iwilltry42
1b7f5c5f78
With the updated cobra depencendy, we're now passing a context from the cmd to the called functions. When creating a cluster, one can pass a Duration to the --timeout flag, which will create a new context with a timeout. In the two blocking functions, where we're waiting for the master nodes (initializing master nodes and "normal" master nodes), we're now checking for the context cancellation as well, which may be caused by the timeout. |
4 years ago | |
---|---|---|
.. | ||
cobra | createCluster/timeout: use context to handle cancellation | 4 years ago |
pflag | createCluster/timeout: use context to handle cancellation | 4 years ago |