diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 49c7e50fd431..3ef93ba144bc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,5 +26,5 @@ "workspaceMount": "source=${localWorkspaceFolder},target=${localEnv:HOME}/go/src/github.com/argoproj/argo-workflows,type=bind", "workspaceFolder": "${localEnv:HOME}/go/src/github.com/argoproj/argo-workflows", - "postCreateCommand": "bash -i .devcontainer/startup.sh" + "postStartCommand": "bash -i .devcontainer/startup.sh" } diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 4e6e657c7c0e..e12a9d6d8ebc 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -43,6 +43,6 @@ body: id: wait-logs attributes: label: Logs from in your workflow's wait container - value: kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded + value: kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded validations: required: true diff --git a/.github/ISSUE_TEMPLATE/regression.yaml b/.github/ISSUE_TEMPLATE/regression.yaml index cd14eef0dd2d..f84ab7371c80 100644 --- a/.github/ISSUE_TEMPLATE/regression.yaml +++ b/.github/ISSUE_TEMPLATE/regression.yaml @@ -44,6 +44,6 @@ body: id: wait-logs attributes: label: Logs from in your workflow's wait container - value: kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded + value: kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded validations: required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index d6f5b1b9b7b9..e5bb6d68ed49 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,32 +1,14 @@ Fixes #TODO - \ No newline at end of file +Please do not open a pull request until you have checked ALL of these: + +* [ ] Create the PR as draft . +* [ ] Run `make pre-commit -B` to fix codegen and lint problems. +* [ ] Sign-off your commits (otherwise the DCO check will fail). +* [ ] Use [a conventional commit message](https://www.conventionalcommits.org/en/v1.0.0/) (otherwise the commit message check will fail). +* [ ] "Fixes #" is in both the PR title (for release notes) and this description (to automatically link and close the issue). +* [ ] Add unit or e2e tests. Say how you tested your changes. If you changed the UI, attach screenshots. +* [ ] Github checks are green. +* [ ] Once required tests have passed, mark your PR "Ready for review". + +If changes were requested, and you've made them, dismiss the review to get it reviewed again. diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index f8541b50bd21..d885fa93712b 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -26,15 +26,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: "1.18" - # https://github.com/actions/cache/blob/main/examples.md#go---modules - - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + cache: true - run: make test STATIC_FILES=false GOTEST='go test -p 20 -covermode=atomic -coverprofile=coverage.out' # engineers just ignore this in PRs, so lets not even run it - run: bash <(curl -s https://codecov.io/bash) @@ -48,41 +40,26 @@ jobs: steps: - uses: actions/checkout@v3 - uses: docker/setup-buildx-action@v2 - - name: Cache Docker layers - uses: actions/cache@v3 + - name: Build and export + uses: docker/build-push-action@v3 with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-single-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-single-buildx - - name: build argoexec-image - run: | - docker buildx build \ - -t quay.io/argoproj/argoexec:latest \ - --target argoexec \ - --cache-from "type=local,src=/tmp/.buildx-cache" \ - --cache-to "type=local,dest=/tmp/.buildx-cache-new" \ - --output=type=docker \ - . - - run: docker save quay.io/argoproj/argoexec:latest > /tmp/argoexec_image.tar + context: . + tags: quay.io/argoproj/argoexec:latest + outputs: type=docker,dest=/tmp/argoexec_image.tar + target: argoexec + cache-from: type=gha + cache-to: type=gha,mode=max - uses: actions/upload-artifact@v3 with: name: argoexec path: /tmp/argoexec_image.tar if-no-files-found: error - # Temp fix - # https://github.com/docker/build-push-action/issues/252 - # https://github.com/moby/buildkit/issues/1896 - - name: Move cache - run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache e2e-tests: name: E2E Tests runs-on: ubuntu-latest timeout-minutes: 25 - needs: [ tests, argoexec-image ] + needs: [ argoexec-image ] env: KUBECONFIG: /home/runner/.kubeconfig strategy: @@ -109,29 +86,38 @@ jobs: profile: minimal - test: test-python-sdk profile: minimal + - test: test-executor + install_k3s_version: v1.21.2+k3s1 + profile: minimal + - test: test-corefunctional + install_k3s_version: v1.21.2+k3s1 + profile: minimal + - test: test-functional + install_k3s_version: v1.21.2+k3s1 + profile: minimal steps: + - name: Install socat + # needed by Kubernetes v1.25 + run: sudo apt-get -y install socat - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: "1.18" + cache: true - uses: actions/setup-java@v3 + if: ${{matrix.test == 'test-java-sdk'}} with: java-version: '8' distribution: adopt + cache: maven - uses: actions/setup-python@v4 + if: ${{matrix.test == 'test-python-sdk'}} with: python-version: '3.x' - - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + cache: pip - name: Install and start K3S run: | - curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.2+k3s1 INSTALL_K3S_CHANNEL=stable INSTALL_K3S_EXEC=--docker K3S_KUBECONFIG_MODE=644 sh - + curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=${{matrix.install_k3s_version}} INSTALL_K3S_CHANNEL=stable INSTALL_K3S_EXEC=--docker K3S_KUBECONFIG_MODE=644 sh - until kubectl --kubeconfig=/etc/rancher/k3s/k3s.yaml cluster-info ; do sleep 10s ; done cp /etc/rancher/k3s/k3s.yaml /home/runner/.kubeconfig echo "- name: fake_token_user" >> $KUBECONFIG @@ -139,10 +125,12 @@ jobs: echo " token: xxxxxx" >> $KUBECONFIG until kubectl cluster-info ; do sleep 10s ; done - uses: actions/download-artifact@v3 + name: Download argoexec image with: name: argoexec path: /tmp - run: docker load < /tmp/argoexec_image.tar + name: Load argoexec image - name: Set-up /etc/hosts run: | echo '127.0.0.1 dex' | sudo tee -a /etc/hosts @@ -151,23 +139,60 @@ jobs: echo '127.0.0.1 mysql' | sudo tee -a /etc/hosts echo '127.0.0.1 azurite' | sudo tee -a /etc/hosts - run: make install PROFILE=${{matrix.profile}} STATIC_FILES=false + name: Install manifests - run: make controller $(go env GOPATH)/bin/goreman STATIC_FILES=false + name: Build controller - run: make cli STATIC_FILES=false if: ${{matrix.test == 'test-api' || matrix.test == 'test-cli' || matrix.test == 'test-java-sdk' || matrix.test == 'test-python-sdk'}} - - run: make start PROFILE=${{matrix.profile}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info API=${{matrix.test == 'test-api' || matrix.test == 'test-cli' || matrix.test == 'test-java-sdk' || matrix.test == 'test-python-sdk'}} UI=false AZURE=true > /tmp/argo.log 2>&1 & + name: Build CLI + - run: ./hack/port-forward.sh + name: Start port forward + - run: make start PROFILE=${{matrix.profile}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info API=${{matrix.test == 'test-api' || matrix.test == 'test-cli' || matrix.test == 'test-java-sdk' || matrix.test == 'test-python-sdk'}} UI=false LOGS=false > /tmp/argo.log 2>&1 & + name: Start controller/API - run: make wait timeout-minutes: 4 - - name: make ${{matrix.test}} + name: Wait for controller to be up + - name: Run tests ${{matrix.test}} # https://github.com/marketplace/actions/retry-step - uses: nick-fields/retry@v2.8.1 + uses: nick-fields/retry@v2.8.2 with: timeout_minutes: 20 max_attempts: 2 - command: make ${{matrix.test}} E2E_SUITE_TIMEOUT=20m STATIC_FILES=false AZURE=true + command: make ${{matrix.test}} E2E_SUITE_TIMEOUT=20m STATIC_FILES=false + - if: ${{ failure() }} + name: MinIO/MySQL deployment + run: | + set -eux + kubectl get deploy + kubectl describe deploy - if: ${{ failure() }} + name: MinIO/MySQL pods + run: | + set -eux + kubectl get pods -l '!workflows.argoproj.io/workflow' + kubectl describe pods -l '!workflows.argoproj.io/workflow' + - if: ${{ failure() }} + name: MinIO/MySQL logs + run: kubectl logs -l '!workflows.argoproj.io/workflow' --prefix + - if: ${{ failure() }} + name: Controller/API logs run: | [ -e /tmp/argo.log ] && cat /tmp/argo.log - + - if: ${{ failure() }} + name: Workflows + run: | + set -eux + kubectl get wf + kubectl describe wf + - if: ${{ failure() }} + name: Workflow pods + run: | + set -eux + kubectl get pods -l workflows.argoproj.io/workflow + kubectl describe pods -l workflows.argoproj.io/workflow + - if: ${{ failure() }} + name: Wait container logs + run: kubectl logs -c wait -l workflows.argoproj.io/workflow --prefix codegen: name: Codegen runs-on: ubuntu-latest @@ -180,14 +205,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: "1.19" - - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + cache: true - name: Install protoc run: | set -eux -o pipefail @@ -198,7 +216,9 @@ jobs: sudo find /usr/local/include -type f | xargs sudo chmod a+r sudo find /usr/local/include -type d | xargs sudo chmod a+rx ls /usr/local/include/google/protobuf/ - - run: docker pull openapitools/openapi-generator-cli:v5.2.1 & + - run: | + docker pull openapitools/openapi-generator-cli:v5.4.0 & + docker pull openapitools/openapi-generator-cli:v5.2.1 & - name: Create links run: | mkdir -p /home/runner/go/src/github.com/argoproj @@ -218,14 +238,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: "1.18" - - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + cache: true - run: make lint STATIC_FILES=false - run: git diff --exit-code @@ -240,10 +253,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: "16" - - uses: actions/cache@v3 - with: - path: ui/node_modules - key: ${{ runner.os }}-node-dep-v1-${{ hashFiles('**/yarn.lock') }} + cache: yarn + cache-dependency-path: ui/yarn.lock - run: yarn --cwd ui install - run: yarn --cwd ui build - run: yarn --cwd ui test diff --git a/.github/workflows/dependabot-reviewer.yml b/.github/workflows/dependabot-reviewer.yml index 8110f0e7a704..5ef791341ebb 100644 --- a/.github/workflows/dependabot-reviewer.yml +++ b/.github/workflows/dependabot-reviewer.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.3.3 + uses: dependabot/fetch-metadata@v1.3.4 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Approve PR diff --git a/.github/workflows/sdks.yaml b/.github/workflows/sdks.yaml index ad7c6bc3e94b..c23fc8f74efb 100644 --- a/.github/workflows/sdks.yaml +++ b/.github/workflows/sdks.yaml @@ -10,7 +10,6 @@ permissions: jobs: sdk: permissions: -# contents: read packages: write # for publishing packages contents: write # for creating releases if: github.repository == 'argoproj/argo-workflows' diff --git a/.spelling b/.spelling index 5f01c0594b50..4e90c7203423 100644 --- a/.spelling +++ b/.spelling @@ -183,11 +183,12 @@ v1.0 v1.1 v1.2 v1.3 +v1.24 v2 v2.10 v2.11 v2.12 -v2.23.0 +v2.35.0 v2.4 v2.5 v2.6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 90cf195d0349..2256f85f73c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## v3.4.1 (2022-09-30) + +* [365b6df16](https://github.com/argoproj/argo-workflows/commit/365b6df1641217d1b21b77bb1c2fcb41115dd439) fix: Label on Artifact GC Task no longer exceeds max characters (#9686) +* [0851c36d8](https://github.com/argoproj/argo-workflows/commit/0851c36d8638833b9ecfe0125564e5635641846f) fix: Workflow-controller panic when stop a wf using plugin. Fixes #9587 (#9690) +* [2f5e7534c](https://github.com/argoproj/argo-workflows/commit/2f5e7534c44499a9efce51d12ff87f8c3f725a21) fix: ordering of functionality for setting and evaluating label expressions (#9661) +* [4e34979e1](https://github.com/argoproj/argo-workflows/commit/4e34979e1b132439fe1101a23b46e24a62c0368d) chore(deps): bump argo-events to 1.7.2 (#9624) +* [f0016e054](https://github.com/argoproj/argo-workflows/commit/f0016e054ec32505dcd7f7d610443ad380fc6651) fix: Remove LIST_LIMIT in workflow informer (#9700) +* [e08524d2a](https://github.com/argoproj/argo-workflows/commit/e08524d2acbd474f232f958e711d04d8919681e8) fix: Avoid controller crashes when running large number of workflows (#9691) +* [4158cf11a](https://github.com/argoproj/argo-workflows/commit/4158cf11ad2e5837a76d1194a99b38e6d66f7dd0) Adding Splunk as Argo Workflows User (#9697) +* [d553c9186](https://github.com/argoproj/argo-workflows/commit/d553c9186c761da16a641885a6de8f7fdfb42592) chore(deps-dev): bump sass from 1.54.9 to 1.55.0 in /ui (#9675) +* [ff6aab34e](https://github.com/argoproj/argo-workflows/commit/ff6aab34ecbb5c0de26e36108cd1201c1e1ae2f5) Add --tls-certificate-secret-name parameter to server command. Fixes #5582 (#9423) +* [84c19ea90](https://github.com/argoproj/argo-workflows/commit/84c19ea909cbc5249f684133dcb5a8481a533dab) fix: render template vars in DAGTask before releasing lock.. Fixes #9395 (#9405) +* [b214161b3](https://github.com/argoproj/argo-workflows/commit/b214161b38642da75a38a100548d3809731746ff) fix: add authorization from cookie to metadata (#9663) +* [b219d85ab](https://github.com/argoproj/argo-workflows/commit/b219d85ab57092b37b0b26f9f7c4cfbf5a9bea9a) fix: retry ExecutorPlugin invocation on transient network errors Fixes: #9664 (#9665) +* [b96d446d6](https://github.com/argoproj/argo-workflows/commit/b96d446d666f704ba102077404bf0b7c472c1494) fix: Improve semaphore concurrency performance (#9666) +* [38b55e39c](https://github.com/argoproj/argo-workflows/commit/38b55e39cca03e54da1f38849b066b36e03ba240) fix: sh not available in scratch container but used in argoexec. Fixes #9654 (#9679) +* [67fc0acab](https://github.com/argoproj/argo-workflows/commit/67fc0acabc4a03f374195246b362b177893866b1) chore(deps): bump golangci-lint to v1.49.0 (#9639) +* [9d7450139](https://github.com/argoproj/argo-workflows/commit/9d74501395fd715e2eb364e9f011b0224545d9ce) chore(deps-dev): bump webpack-dev-server from 4.11.0 to 4.11.1 in /ui (#9677) +* [56454d0c8](https://github.com/argoproj/argo-workflows/commit/56454d0c8d8d4909e23f0938e561ad2bdb02cef2) chore(deps): bump github.com/minio/minio-go/v7 from 7.0.36 to 7.0.37 (#9673) +* [49c47cbad](https://github.com/argoproj/argo-workflows/commit/49c47cbad0408adaf1371da36c3ece340fdecd65) chore(deps): bump cloud.google.com/go/storage from 1.26.0 to 1.27.0 (#9672) +* [e6eb02fb5](https://github.com/argoproj/argo-workflows/commit/e6eb02fb529b7952227dcef091853edcf20f8248) fix: broken archived workflows ui. Fixes #9614, #9433 (#9634) +* [e556fe3eb](https://github.com/argoproj/argo-workflows/commit/e556fe3eb355bf9ef31a1ef8b057c680a5c24f06) fix: Fixed artifact retrieval when templateRef in use. Fixes #9631, #9644. (#9648) +* [72d3599b9](https://github.com/argoproj/argo-workflows/commit/72d3599b9f75861414475a39950879bddbc4e154) fix: avoid panic when not passing AuthSupplier (#9586) +* [4e430ecd8](https://github.com/argoproj/argo-workflows/commit/4e430ecd88d26c89b0fa38b7962d40dd09e9695e) chore(deps-dev): bump @babel/preset-env from 7.19.0 to 7.19.1 in /ui (#9605) +* [4ab943528](https://github.com/argoproj/argo-workflows/commit/4ab943528c8e1b510549e9c860c03adb8893e96b) chore(deps): bump google.golang.org/api from 0.95.0 to 0.96.0 (#9600) +* [7d3432899](https://github.com/argoproj/argo-workflows/commit/7d3432899890a84a2e745932a2f88ef53e75282a) chore(deps-dev): bump babel-jest from 29.0.2 to 29.0.3 in /ui (#9604) + +### Contributors + +* Adam +* Brian Loss +* Dakota Lillie +* Jesse Suen +* Julie Vogelman +* Rohan Kumar +* Seokju Hong +* Takumi Sue +* Vladimir Ivanov +* William Van Hevelingen +* Yuan Tang +* chen yangxue +* dependabot[bot] +* emagana +* jsvk + ## v3.4.0 (2022-09-18) * [047952afd](https://github.com/argoproj/argo-workflows/commit/047952afd539d06cae2fd6ba0b608b19c1194bba) fix: SDK workflow file diff --git a/Makefile b/Makefile index 6fe84e903c91..1a269afbc773 100644 --- a/Makefile +++ b/Makefile @@ -70,8 +70,6 @@ AUTH_MODE := hybrid ifeq ($(PROFILE),sso) AUTH_MODE := sso endif -# whether or not to start the Azurite test service for Azure Blob Storage -AZURE := false # Which mode to run in: # * `local` run the workflow–controller and argo-server as single replicas on the local machine (default) @@ -94,7 +92,7 @@ ALWAYS_OFFLOAD_NODE_STATUS := false $(info GIT_COMMIT=$(GIT_COMMIT) GIT_BRANCH=$(GIT_BRANCH) GIT_TAG=$(GIT_TAG) GIT_TREE_STATE=$(GIT_TREE_STATE) RELEASE_TAG=$(RELEASE_TAG) DEV_BRANCH=$(DEV_BRANCH) VERSION=$(VERSION)) $(info KUBECTX=$(KUBECTX) DOCKER_DESKTOP=$(DOCKER_DESKTOP) K3D=$(K3D) DOCKER_PUSH=$(DOCKER_PUSH)) -$(info RUN_MODE=$(RUN_MODE) PROFILE=$(PROFILE) AUTH_MODE=$(AUTH_MODE) SECURE=$(SECURE) STATIC_FILES=$(STATIC_FILES) ALWAYS_OFFLOAD_NODE_STATUS=$(ALWAYS_OFFLOAD_NODE_STATUS) UPPERIO_DB_DEBUG=$(UPPERIO_DB_DEBUG) LOG_LEVEL=$(LOG_LEVEL) NAMESPACED=$(NAMESPACED) AZURE=$(AZURE)) +$(info RUN_MODE=$(RUN_MODE) PROFILE=$(PROFILE) AUTH_MODE=$(AUTH_MODE) SECURE=$(SECURE) STATIC_FILES=$(STATIC_FILES) ALWAYS_OFFLOAD_NODE_STATUS=$(ALWAYS_OFFLOAD_NODE_STATUS) UPPERIO_DB_DEBUG=$(UPPERIO_DB_DEBUG) LOG_LEVEL=$(LOG_LEVEL) NAMESPACED=$(NAMESPACED)) override LDFLAGS += \ -X github.com/argoproj/argo-workflows/v3.version=$(VERSION) \ @@ -423,9 +421,6 @@ test: server/static/files.go .PHONY: install install: githooks kubectl get ns $(KUBE_NAMESPACE) || kubectl create ns $(KUBE_NAMESPACE) - # install cert-manager if Certificate CRD is not available - kubectl get ns cert-manager || kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.9.1/cert-manager.yaml - kubectl wait --for=condition=Ready pods --all --namespace cert-manager kubectl config set-context --current --namespace=$(KUBE_NAMESPACE) @echo "installing PROFILE=$(PROFILE)" kubectl kustomize --load-restrictor=LoadRestrictionsNone test/e2e/manifests/$(PROFILE) | sed 's|quay.io/argoproj/|$(IMAGE_NAMESPACE)/|' | sed 's/namespace: argo/namespace: $(KUBE_NAMESPACE)/' | kubectl -n $(KUBE_NAMESPACE) apply --prune -l app.kubernetes.io/part-of=argo -f - @@ -436,9 +431,6 @@ ifeq ($(RUN_MODE),kubernetes) kubectl -n $(KUBE_NAMESPACE) scale deploy/workflow-controller --replicas 1 kubectl -n $(KUBE_NAMESPACE) scale deploy/argo-server --replicas 1 endif -ifeq ($(AZURE),true) - kubectl -n $(KUBE_NAMESPACE) apply -f test/e2e/azure/deploy-azurite.yaml -endif .PHONY: argosay argosay: @@ -467,7 +459,7 @@ endif else start: install endif - @echo "starting STATIC_FILES=$(STATIC_FILES) (DEV_BRANCH=$(DEV_BRANCH), GIT_BRANCH=$(GIT_BRANCH)), AUTH_MODE=$(AUTH_MODE), RUN_MODE=$(RUN_MODE), MANAGED_NAMESPACE=$(MANAGED_NAMESPACE), AZURE=$(AZURE)" + @echo "starting STATIC_FILES=$(STATIC_FILES) (DEV_BRANCH=$(DEV_BRANCH), GIT_BRANCH=$(GIT_BRANCH)), AUTH_MODE=$(AUTH_MODE), RUN_MODE=$(RUN_MODE), MANAGED_NAMESPACE=$(MANAGED_NAMESPACE)" ifneq ($(CTRL),true) @echo "⚠️️ not starting controller. If you want to test the controller, use 'make start CTRL=true' to start it" endif @@ -487,9 +479,7 @@ endif ifeq ($(AUTH_MODE),sso) grep '127.0.0.1.*dex' /etc/hosts endif -ifeq ($(AZURE),true) grep '127.0.0.1.*azurite' /etc/hosts -endif grep '127.0.0.1.*minio' /etc/hosts grep '127.0.0.1.*postgres' /etc/hosts grep '127.0.0.1.*mysql' /etc/hosts diff --git a/README.md b/README.md index bfce3dd34f72..b569abe6244a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -[![slack](https://img.shields.io/badge/slack-argoproj-brightgreen.svg?logo=slack)](https://argoproj.github.io/community/join-slack) [![CI](https://github.com/argoproj/argo-workflows/workflows/CI/badge.svg)](https://github.com/argoproj/argo-workflows/actions?query=event%3Apush+branch%3Amaster) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3830/badge)](https://bestpractices.coreinfrastructure.org/projects/3830) [![Twitter Follow](https://img.shields.io/twitter/follow/argoproj?style=social)](https://twitter.com/argoproj) +[![slack](https://img.shields.io/badge/slack-argoproj-brightgreen.svg?logo=slack)](https://argoproj.github.io/community/join-slack) +[![CI](https://github.com/argoproj/argo-workflows/workflows/CI/badge.svg)](https://github.com/argoproj/argo-workflows/actions?query=event%3Apush+branch%3Amaster) +[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3830/badge)](https://bestpractices.coreinfrastructure.org/projects/3830) +[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/argo-workflows)](https://artifacthub.io/packages/helm/argo/argo-workflows) +[![Twitter Follow](https://img.shields.io/twitter/follow/argoproj?style=social)](https://twitter.com/argoproj) ## What is Argo Workflows? @@ -70,7 +74,6 @@ The following commands install Argo Workflows as well as some commmonly used com ```bash kubectl create ns argo -kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.9.1/cert-manager.yaml kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo-workflows/master/manifests/quick-start-postgres.yaml ``` diff --git a/USERS.md b/USERS.md index 96e60e399fc2..1f51b18b2c19 100644 --- a/USERS.md +++ b/USERS.md @@ -58,6 +58,7 @@ Currently, the following organizations are **officially** using Argo Workflows: 1. [CyberAgent](https://www.cyberagent.co.jp/en/) 1. [Cyrus Biotechnology](https://cyrusbio.com/) 1. [Data4Risk](https://www.data4risk.com/) +1. [Datable](https://datable.jp/) 1. [Datadog](https://www.datadoghq.com/) 1. [DataRobot](https://www.datarobot.com/) 1. [DataStax](https://www.datastax.com/) @@ -76,6 +77,7 @@ Currently, the following organizations are **officially** using Argo Workflows: 1. [Fynd Trak](https://trak.fynd.com/) 1. [Galixir](https://www.galixir.com/) 1. [Gardener](https://gardener.cloud/) +2. [Gepardec](https://gepardec.com/) 1. [GitHub](https://github.com/) 1. [Gitpod](https://www.gitpod.io/) 1. [Gladly](https://gladly.com/) diff --git a/cmd/argo/commands/list.go b/cmd/argo/commands/list.go index ce524f3e4f18..63da0561f10c 100644 --- a/cmd/argo/commands/list.go +++ b/cmd/argo/commands/list.go @@ -49,6 +49,8 @@ func (f listFlags) displayFields() string { return nameFields case "json", "yaml": return "" + case "wide": + return "" default: return defaultFields } diff --git a/cmd/argo/commands/server.go b/cmd/argo/commands/server.go index 65b9a4b21197..bb91edc767d9 100644 --- a/cmd/argo/commands/server.go +++ b/cmd/argo/commands/server.go @@ -46,7 +46,7 @@ func NewServerCommand() *cobra.Command { baseHRef string secure bool tlsCertificateSecretName string - hsts bool + htst bool namespaced bool // --namespaced managedNamespace string // --managed-namespace enableOpenBrowser bool @@ -153,7 +153,7 @@ See %s`, help.ArgoServer), opts := apiserver.ArgoServerOpts{ BaseHRef: baseHRef, TLSConfig: tlsConfig, - HSTS: hsts, + HSTS: htst, Namespaced: namespaced, Namespace: namespace, Clients: clients, @@ -217,8 +217,7 @@ See %s`, help.ArgoServer), command.Flags().StringVar(&baseHRef, "basehref", defaultBaseHRef, "Value for base href in index.html. Used if the server is running behind reverse proxy under subpath different from /. Defaults to the environment variable BASE_HREF.") // "-e" for encrypt, like zip command.Flags().BoolVarP(&secure, "secure", "e", true, "Whether or not we should listen on TLS.") - command.Flags().StringVar(&tlsCertificateSecretName, "tls-certificate-secret-name", "", "The name of a Kubernetes secret that contains the server certificates") - command.Flags().BoolVar(&hsts, "hsts", true, "Whether or not we should add a HTTP Secure Transport Security header. This only has effect if secure is enabled.") + command.Flags().BoolVar(&htst, "hsts", true, "Whether or not we should add a HTTP Secure Transport Security header. This only has effect if secure is enabled.") command.Flags().StringArrayVar(&authModes, "auth-mode", []string{"client"}, "API server authentication mode. Any 1 or more length permutation of: client,server,sso") command.Flags().StringVar(&configMap, "configmap", common.ConfigMapName, "Name of K8s configmap to retrieve workflow controller configuration") command.Flags().BoolVar(&namespaced, "namespaced", false, "run as namespaced mode") diff --git a/cmd/argo/lint/formatter_pretty.go b/cmd/argo/lint/formatter_pretty.go index 1d3807aed500..6ee81aeb1417 100644 --- a/cmd/argo/lint/formatter_pretty.go +++ b/cmd/argo/lint/formatter_pretty.go @@ -13,10 +13,6 @@ const ( type formatterPretty struct{} -const ( - underline = "\x1b[4m" -) - func (f formatterPretty) Format(l *LintResult) string { if !l.Linted { return "" @@ -27,7 +23,7 @@ func (f formatterPretty) Format(l *LintResult) string { } sb := &strings.Builder{} - fmt.Fprintf(sb, "%s:\n", color.Ize(underline, l.File)) // print source name + fmt.Fprintf(sb, "%s:\n", color.Ize(color.Underline, l.File)) // print source name for _, e := range l.Errs { fmt.Fprintf(sb, "%s%s %s\n", lintIndentation, color.Ize(color.Red, "✖"), e) diff --git a/cmd/argoexec/commands/agent.go b/cmd/argoexec/commands/agent.go index b8983cd1ae3c..4b796e91dbf1 100644 --- a/cmd/argoexec/commands/agent.go +++ b/cmd/argoexec/commands/agent.go @@ -103,6 +103,10 @@ func initAgentExecutor() *executor.AgentExecutor { if !ok { log.Fatalf("Unable to determine workflow name from environment variable %s", common.EnvVarWorkflowName) } + workflowUID, ok := os.LookupEnv(common.EnvVarWorkflowUID) + if !ok { + log.Fatalf("Unable to determine workflow Uid from environment variable %s", common.EnvVarWorkflowUID) + } addresses := getPluginAddresses() names := getPluginNames() @@ -120,5 +124,5 @@ func initAgentExecutor() *executor.AgentExecutor { plugins = append(plugins, rpc.New(address, string(data))) } - return executor.NewAgentExecutor(clientSet, restClient, config, namespace, workflowName, plugins) + return executor.NewAgentExecutor(clientSet, restClient, config, namespace, workflowName, workflowUID, plugins) } diff --git a/cmd/workflow-controller/main.go b/cmd/workflow-controller/main.go index 9b8a3964c53a..c45e3dbabd95 100644 --- a/cmd/workflow-controller/main.go +++ b/cmd/workflow-controller/main.go @@ -47,22 +47,21 @@ const ( // NewRootCommand returns an new instance of the workflow-controller main entrypoint func NewRootCommand() *cobra.Command { var ( - clientConfig clientcmd.ClientConfig - configMap string // --configmap - executorImage string // --executor-image - executorImagePullPolicy string // --executor-image-pull-policy - containerRuntimeExecutor string - logLevel string // --loglevel - glogLevel int // --gloglevel - logFormat string // --log-format - workflowWorkers int // --workflow-workers - workflowTTLWorkers int // --workflow-ttl-workers - podCleanupWorkers int // --pod-cleanup-workers - burst int - qps float32 - namespaced bool // --namespaced - managedNamespace string // --managed-namespace - executorPlugins bool + clientConfig clientcmd.ClientConfig + configMap string // --configmap + executorImage string // --executor-image + executorImagePullPolicy string // --executor-image-pull-policy + logLevel string // --loglevel + glogLevel int // --gloglevel + logFormat string // --log-format + workflowWorkers int // --workflow-workers + workflowTTLWorkers int // --workflow-ttl-workers + podCleanupWorkers int // --pod-cleanup-workers + burst int + qps float32 + namespaced bool // --namespaced + managedNamespace string // --managed-namespace + executorPlugins bool ) command := cobra.Command{ @@ -110,7 +109,7 @@ func NewRootCommand() *cobra.Command { ctx, cancel := context.WithCancel(context.Background()) defer cancel() - wfController, err := controller.NewWorkflowController(ctx, config, kubeclientset, wfclientset, namespace, managedNamespace, executorImage, executorImagePullPolicy, logFormat, containerRuntimeExecutor, configMap, executorPlugins) + wfController, err := controller.NewWorkflowController(ctx, config, kubeclientset, wfclientset, namespace, managedNamespace, executorImage, executorImagePullPolicy, logFormat, configMap, executorPlugins) errors.CheckError(err) leaderElectionOff := os.Getenv("LEADER_ELECTION_DISABLE") @@ -169,7 +168,6 @@ func NewRootCommand() *cobra.Command { command.Flags().StringVar(&configMap, "configmap", common.ConfigMapName, "Name of K8s configmap to retrieve workflow controller configuration") command.Flags().StringVar(&executorImage, "executor-image", "", "Executor image to use (overrides value in configmap)") command.Flags().StringVar(&executorImagePullPolicy, "executor-image-pull-policy", "", "Executor imagePullPolicy to use (overrides value in configmap)") - command.Flags().StringVar(&containerRuntimeExecutor, "container-runtime-executor", "", "Container runtime executor to use (overrides value in configmap)") command.Flags().StringVar(&logLevel, "loglevel", "info", "Set the logging level. One of: debug|info|warn|error") command.Flags().IntVar(&glogLevel, "gloglevel", 0, "Set the glog logging level") command.Flags().StringVar(&logFormat, "log-format", "text", "The formatter to use for logs. One of: text|json") diff --git a/config/container_runtime_executors.go b/config/container_runtime_executors.go deleted file mode 100644 index 2e8749682f8c..000000000000 --- a/config/container_runtime_executors.go +++ /dev/null @@ -1,36 +0,0 @@ -package config - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/labels" -) - -type ContainerRuntimeExecutors []ContainerRuntimeExecutor - -// select the correct executor to use -// this may return an empty string of there is not executor found -func (e ContainerRuntimeExecutors) Select(labels labels.Labels) (string, error) { - for _, c := range e { - ok, err := c.Matches(labels) - if err != nil { - return "", err - } - if ok { - return c.Name, nil - } - } - return "", nil -} - -type ContainerRuntimeExecutor struct { - Name string `json:"name"` - Selector metav1.LabelSelector `json:"selector"` -} - -func (e ContainerRuntimeExecutor) Matches(labels labels.Labels) (bool, error) { - x, err := metav1.LabelSelectorAsSelector(&e.Selector) - if err != nil { - return false, err - } - return x.Matches(labels), nil -} diff --git a/config/container_runtime_executors_test.go b/config/container_runtime_executors_test.go deleted file mode 100644 index 955b628d133e..000000000000 --- a/config/container_runtime_executors_test.go +++ /dev/null @@ -1,43 +0,0 @@ -package config - -import ( - "testing" - - "github.com/stretchr/testify/assert" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/labels" -) - -func TestContainerRuntimeExecutors(t *testing.T) { - t.Run("Empty", func(t *testing.T) { - x := ContainerRuntimeExecutors{} - e, err := x.Select(labels.Set{}) - assert.NoError(t, err) - assert.Empty(t, e) - }) - t.Run("Select", func(t *testing.T) { - x := ContainerRuntimeExecutors{ - { - Name: "foo", - Selector: metav1.LabelSelector{ - MatchLabels: map[string]string{"bar": ""}, - }, - }, - } - e, err := x.Select(labels.Set(map[string]string{"bar": ""})) - assert.NoError(t, err) - assert.Equal(t, "foo", e) - }) - t.Run("Error", func(t *testing.T) { - x := ContainerRuntimeExecutors{ - { - Name: "foo", - Selector: metav1.LabelSelector{ - MatchLabels: map[string]string{"!": "!"}, - }, - }, - } - _, err := x.Select(labels.Set(map[string]string{"bar": ""})) - assert.Error(t, err) - }) -} diff --git a/docs/access-token.md b/docs/access-token.md index 63ecb459d823..b199509f86a5 100644 --- a/docs/access-token.md +++ b/docs/access-token.md @@ -33,11 +33,24 @@ kubectl create rolebinding jenkins --role=jenkins --serviceaccount=argo:jenkins ## Token Creation -You now need to get a token: +You now need to create a secret to hold your token: ```bash -SECRET=$(kubectl get sa jenkins -o=jsonpath='{.secrets[0].name}') -ARGO_TOKEN="Bearer $(kubectl get secret $SECRET -o=jsonpath='{.data.token}' | base64 --decode)" + kubectl apply -f - < policy.json < -Examples with this field (click to open) -
- -- [`graph-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/container-set-template/graph-workflow.yaml) - -- [`outputs-result-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/container-set-template/outputs-result-workflow.yaml) - -- [`sequence-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/container-set-template/sequence-workflow.yaml) - -- [`workspace-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/container-set-template/workspace-workflow.yaml) - -- [`selected-executor-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/selected-executor-workflow.yaml) - - ### Fields | Field Name | Field Type | Description | |:----------:|:----------:|---------------| @@ -3673,8 +3652,6 @@ MetricLabel is a single label for a prometheus metric - [`pod-metadata.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/pod-metadata.yaml) -- [`selected-executor-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/selected-executor-workflow.yaml) - - [`steps-inline-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/steps-inline-workflow.yaml) @@ -4825,8 +4802,6 @@ ObjectMeta is metadata that all persisted resources must have, which includes al - [`secrets.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/secrets.yaml) -- [`selected-executor-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/selected-executor-workflow.yaml) - - [`sidecar-dind.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/sidecar-dind.yaml) - [`sidecar-nginx.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/sidecar-nginx.yaml) @@ -5415,8 +5390,6 @@ A single application container that you want to run within a pod. - [`secrets.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/secrets.yaml) -- [`selected-executor-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/selected-executor-workflow.yaml) - - [`sidecar-dind.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/sidecar-dind.yaml) - [`sidecar-nginx.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/sidecar-nginx.yaml) @@ -6150,8 +6123,6 @@ PersistentVolumeClaimSpec describes the common attributes of storage devices and - [`secrets.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/secrets.yaml) -- [`selected-executor-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/selected-executor-workflow.yaml) - - [`sidecar-dind.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/sidecar-dind.yaml) - [`sidecar-nginx.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/sidecar-nginx.yaml) diff --git a/docs/manually-create-secrets.md b/docs/manually-create-secrets.md new file mode 100644 index 000000000000..64ed36ed1d3d --- /dev/null +++ b/docs/manually-create-secrets.md @@ -0,0 +1,40 @@ +# Kubernetes Secrets + +As of Kubernetes v1.24, secrets are no longer automatically created for service accounts. + +You must create a secret +manually: [Find out how to create these yourself manually](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#manually-create-a-service-account-api-token) +. + +You must make the secret discoverable. You have two options: + +## Option 1 - Discovery By Name + +Name your secret `${serviceAccountName}.service-account-token`. + +```yaml +apiVersion: v1 +kind: Secret +metadata: + name: default.service-account-token + annotations: + kubernetes.io/service-account.name: default +type: kubernetes.io/service-account-token +``` + +This option is simpler than option 2, as you can combine creating the secret with making it discoverable by name. + +## Option 2 - Discovery By Annotation + +Annotate the service account with the secret name: + +```yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: default + annotations: + workflows.argoproj.io/service-account-token.name: my-token +``` + +This option is useful when the secret already exists, or the service account has a very long name. diff --git a/docs/running-locally.md b/docs/running-locally.md index 822c50031cd2..6472d1719b5c 100644 --- a/docs/running-locally.md +++ b/docs/running-locally.md @@ -43,7 +43,7 @@ Note: * [Docker](https://docs.docker.com/get-docker/) * [`protoc`](http://google.github.io/proto-lens/installing-protoc.html) * [`jq`](https://stedolan.github.io/jq/download/) -* [`node` >= 16](https://nodejs.org/download/release/latest-v16.x/) for running the UI +* [`node` >= 16.15.0](https://nodejs.org/download/release/latest-v16.x/) for running the UI * A local Kubernetes cluster ([`k3d`](https://k3d.io/), [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start/#installation), or [`minikube`](https://minikube.sigs.k8s.io/docs/start/)) We recommend using [K3D](https://k3d.io/) to set up the local Kubernetes cluster since this will allow you to test RBAC @@ -149,10 +149,11 @@ Start up Argo Workflows using the following: make start PROFILE=mysql AUTH_MODE=client STATIC_FILES=false API=true ``` -If you want to run Azure tests against a local Azurite, add `AZURE=true`: +If you want to run Azure tests against a local Azurite: ```bash -make start PROFILE=mysql AUTH_MODE=client STATIC_FILES=false API=true AZURE=true +kubectl -n $(KUBE_NAMESPACE) apply -f test/e2e/azure/deploy-azurite.yaml +make start ``` #### Running One Test @@ -166,12 +167,6 @@ Find the test that you want to run in `test/e2e` make TestArtifactServer ``` -If you wish to include tests against Azure Storage, define `AZURE=true`: - -```bash -make AZURE=true TestArtifactServer -``` - #### Running A Set Of Tests You can find the build tag at the top of the test file. diff --git a/docs/variables.md b/docs/variables.md index da5892488aa8..f1234e0faff0 100644 --- a/docs/variables.md +++ b/docs/variables.md @@ -246,11 +246,14 @@ For `Template`-level metrics: | `workflow.serviceAccountName` | Workflow service account name | | `workflow.uid` | Workflow UID. Useful for setting ownership reference to a resource, or a unique artifact location | | `workflow.parameters.` | Input parameter to the workflow | -| `workflow.parameters` | All input parameters to the workflow as a JSON string | +| `workflow.parameters` | All input parameters to the workflow as a JSON string (this is deprecated in favor of `workflow.parameters.json` as this doesn't work with expression tags and that does) | +| `workflow.parameters.json` | All input parameters to the workflow as a JSON string | | `workflow.outputs.parameters.` | Global parameter in the workflow | | `workflow.outputs.artifacts.` | Global artifact in the workflow | | `workflow.annotations.` | Workflow annotations | +| `workflow.annotations.json` | all Workflow annotations as a JSON string | | `workflow.labels.` | Workflow labels | +| `workflow.labels.json` | all Workflow labels as a JSON string | | `workflow.creationTimestamp` | Workflow creation time-stamp formatted in RFC 3339 (e.g. `2018-08-23T05:42:49Z`) | | `workflow.creationTimestamp.` | Creation time-stamp formatted with a [`strftime`](http://strftime.org) format character. | | `workflow.creationTimestamp.RFC3339` | Creation time-stamp formatted with in RFC 3339. | diff --git a/docs/workflow-executors.md b/docs/workflow-executors.md index 96b3ddcd0640..23ce5aec8dbc 100644 --- a/docs/workflow-executors.md +++ b/docs/workflow-executors.md @@ -1,8 +1,8 @@ # Workflow Executors -A workflow executor is a process that conforms to a specific interface that allows Argo to perform certain actions like monitoring pod logs, collecting artifacts, managing container life-cycles, etc.. +A workflow executor is a process that conforms to a specific interface that allows Argo to perform certain actions like monitoring pod logs, collecting artifacts, managing container life-cycles, etc. -The executor to be used in your workflows can be changed in [the config map](./workflow-controller-configmap.yaml) under the `containerRuntimeExecutor` key. +The executor to be used in your workflows can be changed in [the config map](./workflow-controller-configmap.yaml) under the `containerRuntimeExecutor` key (removed in v3.4). ## Emissary (emissary) diff --git a/examples/conditionals.yaml b/examples/conditionals.yaml index 02bd44a9538c..e203db601a5a 100644 --- a/examples/conditionals.yaml +++ b/examples/conditionals.yaml @@ -16,7 +16,7 @@ spec: arguments: parameters: - name: should-print - value: "false" + value: "true" templates: - name: conditional-example @@ -24,12 +24,18 @@ spec: parameters: - name: should-print steps: - - - name: print-hello - template: whalesay - when: "{{inputs.parameters.should-print}} == true" + - - name: print-hello-govaluate + template: argosay + when: "{{inputs.parameters.should-print}} == true" # govaluate form + - name: print-hello-expr + template: argosay + when: "{{= inputs.parameters[\"should-print\"] == 'true'}}" # expr form; note: a dash in the name requires the use of brackets and quotes for expr to handle + - name: print-hello-expr-json + template: argosay + when: "{{=jsonpath(workflow.parameters.json, '$[0].value') == 'true'}}" # expr form - - name: whalesay + - name: argosay container: - image: docker/whalesay:latest + image: argoproj/argosay:v1 command: [sh, -c] args: ["cowsay hello"] diff --git a/examples/container-set-template/graph-workflow.yaml b/examples/container-set-template/graph-workflow.yaml index 727baf6939a3..13833bf55a5d 100644 --- a/examples/container-set-template/graph-workflow.yaml +++ b/examples/container-set-template/graph-workflow.yaml @@ -4,7 +4,6 @@ metadata: generateName: graph- labels: workflows.argoproj.io/test: "true" - workflows.argoproj.io/container-runtime-executor: emissary annotations: workflows.argoproj.io/description: | This workflow demonstrates running a graph of tasks within containers in a single pod. diff --git a/examples/container-set-template/outputs-result-workflow.yaml b/examples/container-set-template/outputs-result-workflow.yaml index 804c2e63ebf3..a413a56056e5 100644 --- a/examples/container-set-template/outputs-result-workflow.yaml +++ b/examples/container-set-template/outputs-result-workflow.yaml @@ -4,7 +4,6 @@ metadata: generateName: outputs-result- labels: workflows.argoproj.io/test: "true" - workflows.argoproj.io/container-runtime-executor: emissary annotations: workflows.argoproj.io/description: | This workflow demonstrates collecting outputs (specifically the stdout result) from a pod. diff --git a/examples/container-set-template/sequence-workflow.yaml b/examples/container-set-template/sequence-workflow.yaml index 9aa309c064c1..0594bf60d46b 100644 --- a/examples/container-set-template/sequence-workflow.yaml +++ b/examples/container-set-template/sequence-workflow.yaml @@ -4,7 +4,6 @@ metadata: generateName: sequence- labels: workflows.argoproj.io/test: "true" - workflows.argoproj.io/container-runtime-executor: emissary annotations: workflows.argoproj.io/description: | This workflow demonstrates running a sequence of containers within a single pod. diff --git a/examples/container-set-template/workspace-workflow.yaml b/examples/container-set-template/workspace-workflow.yaml index a028d921cd88..15a0269786b8 100644 --- a/examples/container-set-template/workspace-workflow.yaml +++ b/examples/container-set-template/workspace-workflow.yaml @@ -4,7 +4,6 @@ metadata: generateName: workspace- labels: workflows.argoproj.io/test: "true" - workflows.argoproj.io/container-runtime-executor: emissary annotations: workflows.argoproj.io/description: | This workflow demonstrates using a workspace to share files between containers. This also allows containers not diff --git a/examples/selected-executor-workflow.yaml b/examples/selected-executor-workflow.yaml deleted file mode 100644 index dd39bfb83124..000000000000 --- a/examples/selected-executor-workflow.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Workflow -metadata: - generateName: selected-executor- - labels: - # use the pns executor, rather than the default (typically emissary) - workflows.argoproj.io/container-runtime-executor: pns - annotations: - workflows.argoproj.io/description: | - - This workflow demonstrates using an annotation to run a the pod using a different executor to the default - configured executor. - - In this example, it uses a label that state the executor to use explictly, but you can also do this indirectly, - e.g. have a certain labels use certain executors. - - # this workflow will only run on workflows version v3.0.0 - workflows.argoproj.io/version: ">= 3.0.0 < 3.4.0" -spec: - entrypoint: main - templates: - - name: main - container: - image: argoproj/argosay:v2 \ No newline at end of file diff --git a/go.mod b/go.mod index 4429a7c8f7a8..762a6b307b4e 100644 --- a/go.mod +++ b/go.mod @@ -8,10 +8,10 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible github.com/Masterminds/sprig/v3 v3.2.2 - github.com/TwiN/go-color v1.1.0 + github.com/TwiN/go-color v1.2.0 github.com/aliyun/aliyun-oss-go-sdk v2.2.5+incompatible github.com/antonmedv/expr v1.9.0 - github.com/argoproj/argo-events v1.7.2 + github.com/argoproj/argo-events v1.7.3 github.com/argoproj/pkg v0.13.6 github.com/blushft/go-diagrams v0.0.0-20201006005127-c78c821223d9 github.com/colinmarc/hdfs v1.1.4-0.20180805212432-9746310a4d31 @@ -25,7 +25,7 @@ require ( github.com/go-sql-driver/mysql v1.6.0 github.com/gogo/protobuf v1.3.2 github.com/golang/protobuf v1.5.2 - github.com/google/go-containerregistry v0.8.1-0.20220110151055-a61fd0a8e2bb + github.com/google/go-containerregistry v0.11.0 github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20220411142604-2042cc9d6401 github.com/gorilla/handlers v1.5.1 github.com/gorilla/websocket v1.5.0 @@ -33,10 +33,10 @@ require ( github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/klauspost/pgzip v1.2.5 - github.com/minio/minio-go/v7 v7.0.37 + github.com/minio/minio-go/v7 v7.0.42 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.13.0 - github.com/prometheus/client_model v0.2.0 + github.com/prometheus/client_model v0.3.0 github.com/prometheus/common v0.37.0 github.com/robfig/cron/v3 v3.0.1 github.com/sethvargo/go-limiter v0.7.2 @@ -48,17 +48,17 @@ require ( github.com/spf13/viper v1.13.0 github.com/stretchr/testify v1.8.0 github.com/tidwall/gjson v1.14.3 - github.com/valyala/fasttemplate v1.2.1 + github.com/valyala/fasttemplate v1.2.2 github.com/xeipuuv/gojsonschema v1.2.0 golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa golang.org/x/exp v0.0.0-20220602145555-4a0574d9293f - golang.org/x/net v0.0.0-20220909164309-bea034e7d591 - golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 - golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f + golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 + golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1 + golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0 golang.org/x/time v0.0.0-20220922220347-f3bd1da661af - google.golang.org/api v0.97.0 - google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006 - google.golang.org/grpc v1.49.0 + google.golang.org/api v0.99.0 + google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e + google.golang.org/grpc v1.50.0 gopkg.in/go-playground/webhooks.v5 v5.17.0 gopkg.in/jcmturner/gokrb5.v5 v5.3.0 k8s.io/api v0.24.3 @@ -74,7 +74,7 @@ require ( require ( cloud.google.com/go v0.104.0 // indirect - cloud.google.com/go/compute v1.9.0 // indirect + cloud.google.com/go/compute v1.10.0 // indirect cloud.google.com/go/iam v0.3.0 // indirect github.com/Azure/azure-sdk-for-go v62.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0 // indirect @@ -90,13 +90,13 @@ require ( github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.1.1 // indirect - github.com/Microsoft/go-winio v0.5.1 // indirect + github.com/Microsoft/go-winio v0.5.2 // indirect github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect github.com/ajg/form v1.5.1 // indirect github.com/andybalholm/brotli v1.0.4 // indirect github.com/awalterschulze/gographviz v0.0.0-20200901124122-0eecad45bd71 // indirect - github.com/aws/aws-sdk-go v1.44.81 // indirect + github.com/aws/aws-sdk-go v1.44.105 // indirect github.com/aws/aws-sdk-go-v2 v1.16.2 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.3 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.11.2 // indirect @@ -117,9 +117,9 @@ require ( github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect - github.com/docker/cli v20.10.12+incompatible // indirect - github.com/docker/distribution v2.8.0+incompatible // indirect - github.com/docker/docker v20.10.12+incompatible // indirect + github.com/docker/cli v20.10.17+incompatible // indirect + github.com/docker/distribution v2.8.1+incompatible // indirect + github.com/docker/docker v20.10.17+incompatible // indirect github.com/docker/docker-credential-helpers v0.6.4 // indirect github.com/dustin/go-humanize v1.0.0 // indirect github.com/emicklei/go-restful/v3 v3.8.0 // indirect @@ -136,12 +136,12 @@ require ( github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/google/gnostic v0.5.7-v3refs // indirect - github.com/google/go-cmp v0.5.8 // indirect + github.com/google/go-cmp v0.5.9 // indirect github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20220301182634-bfe2ffc6b6bd // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect github.com/googleapis/gax-go/v2 v2.5.1 // indirect github.com/hashicorp/go-uuid v1.0.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect @@ -205,7 +205,7 @@ require ( golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect golang.org/x/text v0.3.7 // indirect - golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.28.1 // indirect gopkg.in/inf.v0 v0.9.1 // indirect diff --git a/go.sum b/go.sum index bde04a4faa5a..db5296acc820 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,4 @@ 4d63.com/gochecknoglobals v0.1.0/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo= -bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= @@ -31,7 +30,6 @@ cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aD cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM= cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= @@ -49,13 +47,12 @@ cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6m cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= -cloud.google.com/go/compute v1.9.0 h1:ED/FP4xv8GJw63v556/ASNc1CeeLUO2Bs8nzaHchkHg= -cloud.google.com/go/compute v1.9.0/go.mod h1:lWv1h/zUWTm/LozzfTJhBSkd6ShQq8la8VeeuOEGxfY= +cloud.google.com/go/compute v1.10.0 h1:aoLIYaA1fX3ywihqpBk2APQKOo20nXsp1GEZQbx5Jk4= +cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/firestore v1.6.0/go.mod h1:afJwI0vaXwAG54kI7A//lP/lSPDkQORQuMkv56TxEPU= -cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= cloud.google.com/go/iam v0.3.0 h1:exkAomrVUuzx9kWFI1wm3KI0uoDeUFPB4kKGzx6x+Gc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= @@ -77,7 +74,6 @@ contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EU dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Antonboom/errname v0.1.5/go.mod h1:DugbBstvPFQbv/5uLcRRzfrNqKE9tVdVCqWCLp6Cifo= github.com/Antonboom/nilnil v0.1.0/go.mod h1:PhHLvRPSghY5Y7mX4TW+BHZQYo1A8flE5H20D3IPZBo= -github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v46.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v62.0.0+incompatible h1:8N2k27SYtc12qj5nTsuFMFJPZn5CGmgMWqTy4y9I7Jw= github.com/Azure/azure-sdk-for-go v62.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -89,21 +85,16 @@ github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5 github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.6/go.mod h1:V6p3pKZx1KKkJubbxnDWrzNhEIfOy/pTGasLqzHIPHs= github.com/Azure/go-autorest/autorest v0.11.8/go.mod h1:V6p3pKZx1KKkJubbxnDWrzNhEIfOy/pTGasLqzHIPHs= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest v0.11.24 h1:1fIGgHKqVm54KIPT+q8Zmd1QlVsmHqeUGso5qm2BqqE= github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= -github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= github.com/Azure/go-autorest/autorest/adal v0.9.4/go.mod h1:/3SMAM86bP6wC9Ev35peQDUeqFZBMH07vvUOmg4z/fE= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/adal v0.9.18 h1:kLnPsRjzZZUF3K5REu/Kc+qMQrvuza2bwSnNdhmzLfQ= github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= @@ -118,7 +109,6 @@ github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8K github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= @@ -134,7 +124,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= -github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1:1G1pk05UrOh0NlF1oeaaix1x8XzrfjIDK47TY0Zehcw= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= @@ -149,27 +138,9 @@ github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuN github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= -github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.1 h1:aPJp2QD7OOrhO5tQXqQoGSJc+DjDtWTGLOmNyAm6FgY= -github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= -github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= -github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= -github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= -github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= -github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= -github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= -github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= -github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= -github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM= @@ -179,10 +150,9 @@ github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbt github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= -github.com/TwiN/go-color v1.1.0 h1:yhLAHgjp2iAxmNjDiVb6Z073NE65yoaPlcki1Q22yyQ= -github.com/TwiN/go-color v1.1.0/go.mod h1:aKVf4e1mD4ai2FtPifkDPP5iyoCwiK08YGzGwerjKo0= +github.com/TwiN/go-color v1.2.0 h1:Z18GljqDd5aSmIBYwp2JKLH9H63fd79MzFdW79fDt2k= +github.com/TwiN/go-color v1.2.0/go.mod h1:0QTVEPlu+AoCyTrho7bXbVkrCkVpdQr7YF7PYWEtSxM= github.com/UnnoTed/fileb0x v1.1.4/go.mod h1:X59xXT18tdNk/D6j+KZySratBsuKJauMtVuJ9cgOiZs= github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= @@ -193,7 +163,6 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= github.com/aliyun/aliyun-oss-go-sdk v2.2.5+incompatible h1:QoRMR0TCctLDqBCMyOu1eXdZyMw3F7uGA9qPn2J4+R8= github.com/aliyun/aliyun-oss-go-sdk v2.2.5+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= @@ -210,14 +179,13 @@ github.com/antonmedv/expr v1.9.0/go.mod h1:5qsM3oLGDND7sDmQGDXHkYfkjYMUX14qsgqmH github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= github.com/argoproj-labs/go-git/v5 v5.4.4 h1:xXa015ZCEElgNMxaevPsK68oAsbjpmNGo9W+os1oeBU= github.com/argoproj-labs/go-git/v5 v5.4.4/go.mod h1:Lv1K45bcCda9jDMEZCGCVuXSGdBaSGAXUvptnVtaEsA= -github.com/argoproj/argo-events v1.7.2 h1:bhheGY0frnAZw2+pQ79e54U18o+79KaxomHpQpfVNBY= -github.com/argoproj/argo-events v1.7.2/go.mod h1:z6fGFQl+7fDMyW3vsUqOoNUObpZTyypiRc3SZcbXJ7o= +github.com/argoproj/argo-events v1.7.3 h1:XiGnKCzRRQCI7sFCKw3RoeFUOR6IupfAJI9uUK7pnG8= +github.com/argoproj/argo-events v1.7.3/go.mod h1:YxDOXrveW52SDAeeTI93Wagkr4jt5DK0dA0juIdWDRw= github.com/argoproj/pkg v0.13.6 h1:36WPD9MNYECHcO1/R1pj6teYspiK7uMQLCgLGft2abM= github.com/argoproj/pkg v0.13.6/go.mod h1:I698DoJBKuvNFaixh4vFl2C88cNIT1WS7KCbz5ewyF8= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= @@ -227,13 +195,12 @@ github.com/ashanbrown/forbidigo v1.2.0/go.mod h1:vVW7PEdqEFqapJe95xHkTfB1+XvZXBF github.com/ashanbrown/makezero v0.0.0-20210520155254-b6261585ddde/go.mod h1:oG9Dnez7/ESBqc4EdrdNlryeo7d0KcW1ftXHm7nU/UU= github.com/awalterschulze/gographviz v0.0.0-20200901124122-0eecad45bd71 h1:m3N1Fv5vE5IcxuTOGFGGV0grrVFHV8UY2SV0wSBXAC8= github.com/awalterschulze/gographviz v0.0.0-20200901124122-0eecad45bd71/go.mod h1:/ynarkO/43wP/JM2Okn61e8WFMtdbtA8he7GJxW+SFM= -github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/aws/aws-sdk-go v1.44.39/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.44.81 h1:C8oBZ+a+ka0qk3Q24MohQIFq0tkbO8IAu5tfpAMKVWE= -github.com/aws/aws-sdk-go v1.44.81/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.105 h1:UUwoD1PRKIj3ltrDUYTDQj5fOTK3XsnqolLpRTMmSEM= +github.com/aws/aws-sdk-go v1.44.105/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go-v2 v1.7.1/go.mod h1:L5LuPC1ZgDr2xQS7AmIec/Jlc7O/Y1u2KxJyNVab250= github.com/aws/aws-sdk-go-v2 v1.14.0/go.mod h1:ZA3Y8V0LrlWj63MQAnRHgKf/5QB//LSZCPNWlWrNGLU= github.com/aws/aws-sdk-go-v2 v1.16.2 h1:fqlCk6Iy3bnCumtrLz9r3mJ/2gUT0pJ0wLFVIdWh+JA= @@ -277,55 +244,33 @@ github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795 h1:IWeCJzU+IYaO2rVEBlGPTBfe90cmGXFTLdhUFlzDGsY= github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795/go.mod h1:8vJsEZ4iRqG+Vx6pKhWK6U00qcj0KC37IsfszMkY6UE= -github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= -github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/bkielbasa/cyclop v1.2.0/go.mod h1:qOI0yy6A7dYC4Zgsa72Ppm9kONl0RoIlPbzot9mhmeI= -github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blizzy78/varnamelen v0.3.0/go.mod h1:hbwRdBvoBqxk34XyQ6HA0UH3G0/1TKuv5AC4eaBT0Ec= github.com/blushft/go-diagrams v0.0.0-20201006005127-c78c821223d9 h1:mV+hh0rMjzrhg7Jc/GKwpa+y/0BMHGOHdM9yY1GYyFI= github.com/blushft/go-diagrams v0.0.0-20201006005127-c78c821223d9/go.mod h1:nDeXEIaeDV+mAK1gBD3/RJH67DYPC0GdaznWN7sB07s= github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w= -github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/bombsimon/wsl/v3 v3.3.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= github.com/breml/bidichk v0.1.1/go.mod h1:zbfeitpevDUGI7V91Uzzuwrn4Vls8MoBMrwtt78jmso= -github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= -github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= -github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= -github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= -github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc= -github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/charithe/durationcheck v0.0.9/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg= github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af/go.mod h1:Qjyv4H3//PWVzTeCezG2b9IRn6myJxJSr4TD/xo6ojU= -github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= -github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21 h1:XlpL9EHrPOBJMLDDOf35/G4t5rGAFNNAZQ3cDcWavtc= github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21/go.mod h1:Zlre/PVxuSI9y6/UV4NwGixQ48RHQDSPiUkofr6rbMU= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= -github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= -github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= -github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= -github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= @@ -336,129 +281,31 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/colinmarc/hdfs v1.1.4-0.20180805212432-9746310a4d31 h1:ow7T77012NSZVW0uOWoQxz3yj9fHKYeZ4QmNrMtWMbM= github.com/colinmarc/hdfs v1.1.4-0.20180805212432-9746310a4d31/go.mod h1:vSBumefK4HA5uiRSwNP+3ofgrEoScpCS2MMWcWXEuQ4= -github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= -github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= -github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= -github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= -github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E= -github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= -github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= -github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI= -github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= -github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM= -github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= -github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= -github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= -github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= -github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= -github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= -github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= -github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= -github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= -github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= -github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= -github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI= -github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= -github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= -github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= -github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= -github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= -github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= -github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= -github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= -github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= -github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= -github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= -github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= -github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= -github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= -github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= -github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0= -github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= -github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= -github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= -github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= -github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= -github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= -github.com/containerd/stargz-snapshotter/estargz v0.10.1 h1:hd1EoVjI2Ax8Cr64tdYqnJ4i4pZU49FkEf5kU8KxQng= -github.com/containerd/stargz-snapshotter/estargz v0.10.1/go.mod h1:aE5PCyhFMwR8sbrErO5eM2GcvkyXTTJremG883D4qF0= -github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= -github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= -github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8= -github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= -github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= -github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= -github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= -github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= -github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw= -github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y= -github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= -github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= -github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= -github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= -github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/containerd/stargz-snapshotter/estargz v0.12.0 h1:idtwRTLjk2erqiYhPWy2L844By8NRFYEwYHcXhoIWPM= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= -github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-oidc/v3 v3.4.0 h1:xz7elHb/LDwm/ERpwHd+5nb7wFHL32rsr6bBOgaeu6g= github.com/coreos/go-oidc/v3 v3.4.0/go.mod h1:eHUXhZtXPQLgEaDrOVTgwbgmz1xGOkJNye6h3zkD2Pw= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= -github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= -github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= -github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= -github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= -github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= github.com/daixiang0/gci v0.2.9/go.mod h1:+4dZ7TISfSmqfAGv59ePaHfNzgGtIkHAhhdKggP1JAc= github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg= github.com/dave/jennifer v1.4.1/go.mod h1:7jEdnm+qBcxl8PC0zyp7vxcpSRnzXSt9r39tpTVGlwA= @@ -467,34 +314,21 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/denis-tingajkin/go-header v0.4.2/go.mod h1:eLRHAVXzE5atsKAnNRDB90WHCFFnBUn4RN0nRcs1LJA= -github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= -github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= -github.com/docker/cli v20.10.12+incompatible h1:lZlz0uzG+GH+c0plStMUdF/qk3ppmgnswpR5EbqzVGA= -github.com/docker/cli v20.10.12+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= -github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.8.0+incompatible h1:l9EaZDICImO1ngI+uTifW+ZYvvz7fKISBAKpg+MbWbY= -github.com/docker/distribution v2.8.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v20.10.12+incompatible h1:CEeNmFM0QZIsJCZKMkZx0ZcahTiewkrgiwfYD+dfl1U= -github.com/docker/docker v20.10.12+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/cli v20.10.17+incompatible h1:eO2KS7ZFeov5UJeaDmIs1NFEDRf32PaqRpvoEkKBy5M= +github.com/docker/cli v20.10.17+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68= +github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v20.10.17+incompatible h1:JYCuMrWaVNophQTOrMMoSwudOVEfcegoZZrleKc1xwE= +github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= github.com/docker/docker-credential-helpers v0.6.4 h1:axCks+yV+2MR3/kZhAmy07yC56WZ2Pwu/fKWtKuZB0o= github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c= -github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= -github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= -github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= -github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/doublerebel/bellows v0.0.0-20160303004610-f177d92a03d3 h1:7nllYTGLnq4CqBL27lV6oNfXzM2tJ2mrKF8E+aBXOV0= @@ -519,15 +353,12 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.0.14/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= github.com/esimonov/ifshort v1.0.3/go.mod h1:yZqNJUrNn20K8Q9n2CrjTKYyVEmX209Hgu+M1LBpeZE= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= @@ -547,17 +378,14 @@ github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSw github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= github.com/fullstorydev/grpcurl v1.6.0/go.mod h1:ZQ+ayqbKMJNhzLmbpCiurTVlaK2M/3nqZCxaQ2Ze/sM= github.com/fzipp/gocyclo v0.3.1/go.mod h1:DJHO6AUmbdqj2ET4Z9iArSuwWgYDRryYt2wASxc7x3E= -github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gavv/httpexpect/v2 v2.3.1 h1:sGLlKMn8AuHS9ztK9Sb7AJ7OxIL8v2PcLdyxfKt1Fo4= github.com/gavv/httpexpect/v2 v2.3.1/go.mod h1:yOE8m/aqFYQDNrgprMeXgq4YynfN9h1NgcE1+1suV64= github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg= @@ -578,7 +406,6 @@ github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6 github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo= github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= @@ -598,20 +425,16 @@ github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/jsonreference v0.20.0 h1:MYlu0sBgChmCfJxxUKZ8g1cPWFOB37YSZqewK7OKeyA= github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.19.15 h1:D2NRCBzS9/pEY3gP9Nl8aDqGUcPFrwG2p+CNFrLyrCM= @@ -636,14 +459,8 @@ github.com/go-toolsmith/typep v1.0.0/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2 github.com/go-toolsmith/typep v1.0.2/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= -github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= -github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= -github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= @@ -726,10 +543,11 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-containerregistry v0.8.1-0.20220110151055-a61fd0a8e2bb h1:hdevkgIzFpx/Xbz+L2JB+UrmglBf0ZSBZo0tkzzh26s= -github.com/google/go-containerregistry v0.8.1-0.20220110151055-a61fd0a8e2bb/go.mod h1:wW5v71NHGnQyb4k+gSshjxidrC7lN33MdWEn+Mz9TsI= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-containerregistry v0.11.0 h1:Xt8x1adcREjFcmDoDK8OdOsjxu90PHkGuwNP8GiHMLM= +github.com/google/go-containerregistry v0.11.0/go.mod h1:BBaYtsHPHA42uEgAvd/NejvAfPSlz281sJWqupjSxfk= github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20220411142604-2042cc9d6401 h1:ojEm+gWlwYBNWfpQeIizE+6zy6GfghjnE0o+y7JQhGg= github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20220411142604-2042cc9d6401/go.mod h1:gm/Zjh0iiPBfwgDIYgHJCRxaGzBZu1njCgwX1EmC1Tw= github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20220301182634-bfe2ffc6b6bd h1:DVnBwEU/77+h/Celwk8RLwnYiuaIdBv2gguN3xHfcJM= @@ -773,8 +591,8 @@ github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= -github.com/googleapis/enterprise-certificate-proxy v0.1.0 h1:zO8WHNx/MYiAKJ3d5spxZXZE6KHmIQGQcAzwUzV7qQw= -github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.2.0 h1:y8Yozv7SZtlU//QXbezB6QkpuE6jMD2/gfzk4AftXjs= +github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -785,7 +603,6 @@ github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK github.com/googleapis/gax-go/v2 v2.5.1 h1:kBRZU0PSuI7PspsSb/ChWoVResUcwNVIdpB049pKTiw= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gookit/color v1.4.2/go.mod h1:fqRyamkC1W8uxl+lxCQxOT09l/vYfZ+QeiX3rKQHCoQ= @@ -794,10 +611,8 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORR github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= github.com/gordonklaus/ineffassign v0.0.0-20210225214923-2e10b2664254/go.mod h1:M9mZEtGIsR1oDaZagNPNG9iq9n2HrhZ17dsXk73V3Lw= github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75/go.mod h1:g2644b03hfBX9Ov0ZBDgXXens4rxSxmqFBbhvKv2yVA= -github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= -github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= @@ -833,24 +648,16 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.10.1/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= -github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= -github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= @@ -870,13 +677,10 @@ github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY= -github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= -github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk= -github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4= @@ -884,13 +688,11 @@ github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/iancoleman/strcase v0.1.1/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.4/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= @@ -900,7 +702,6 @@ github.com/imkira/go-interpol v1.1.0 h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jcmturner/gofork v0.0.0-20180107083740-2aebee971930/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= @@ -911,8 +712,6 @@ github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7H github.com/jhump/protoreflect v1.6.1/go.mod h1:RZQ/lnuN+zqeRVpQigTwO6o0AJUkxbnSnpuG7toUTG4= github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= -github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= @@ -928,7 +727,6 @@ github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= @@ -950,12 +748,9 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/errcheck v1.6.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.2/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.0/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.9 h1:wKRjX6JRtDdrE9qwa4b/Cip7ACOshUI4smpCQanqjSY= github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= @@ -977,7 +772,6 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -1001,7 +795,6 @@ github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQ github.com/lucasb-eyer/go-colorful v1.0.2/go.mod h1:0MS4r+7BZKSJ5mw4/S5MPN+qHFF1fYclkSPilDOKW0s= github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.4/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= @@ -1011,12 +804,10 @@ github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPK github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/maratori/testpackage v1.0.1/go.mod h1:ddKdw+XG0Phzhx8BFDTKgpWP4i7MpApTE5fXSKAqwDU= -github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/matoous/godox v0.0.0-20210227103229-6504466cf951/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= @@ -1029,7 +820,6 @@ github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= @@ -1044,7 +834,6 @@ github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzp github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.8/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -1056,19 +845,17 @@ github.com/mgechev/revive v1.1.2/go.mod h1:bnXsMr+ZTH09V5rssEI+jHAZ4z+ZdyhgO/zsy github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= -github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= github.com/miekg/pkcs11 v1.0.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw= github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34= github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM= github.com/minio/minio-go/v7 v7.0.29/go.mod h1:x81+AX5gHSfCSqw7jxRKHvxUXMlE5uKX0Vb75Xk5yYg= -github.com/minio/minio-go/v7 v7.0.37 h1:aJvYMbtpVPSFBck6guyvOkxK03MycxDOCs49ZBuY5M8= -github.com/minio/minio-go/v7 v7.0.37/go.mod h1:nCrRzjoSUQh8hgKKtu3Y708OLvRLtuASMg2/nvmbarw= +github.com/minio/minio-go/v7 v7.0.42 h1:fP56plNR/Tkw/+Xczw9NL5TGxe5gJDvgd8LidNR3BEI= +github.com/minio/minio-go/v7 v7.0.42/go.mod h1:nCrRzjoSUQh8hgKKtu3Y708OLvRLtuASMg2/nvmbarw= github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= github.com/minio/sha256-simd v1.0.0 h1:v1ta+49hkWZyvaKwrQB8elexRqm6Y0aMLjCNsrYxo6g= github.com/minio/sha256-simd v1.0.0/go.mod h1:OuYzVNI5vcoYIAmbIvHPl3N3jUzVedXbKy5RFepssQM= -github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= @@ -1088,22 +875,14 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= -github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= -github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= -github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= -github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= -github.com/moby/term v0.0.0-20201216013528-df9cb8a40635/go.mod h1:FBS0z0QWA44HXygs7VXDUOGoN/1TV3RuWkLO04am3wc= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -1114,10 +893,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/moricho/tparallel v0.2.1/go.mod h1:fXEIZxG2vdfl0ZF8b42f5a78EhjjD5mX8qUplsoSU4k= -github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mozilla/scribe v0.0.0-20180711195314-fb71baf557c1/go.mod h1:FIczTrinKo8VaLxe6PWTPEXRXDIHz2QAwiaBaP5/4a8= github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5/go.mod h1:FUqVoUPHSEdDR0MnFM3Dh8AU0pZHLXUD127SAJGER/s= -github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= @@ -1128,7 +905,6 @@ github.com/mwitkow/go-proto-validators v0.2.0/go.mod h1:ZfA1hW+UH/2ZHOWvQ3HnQaU0 github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE= github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= -github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nishanths/exhaustive v0.2.3/go.mod h1:bhIX678Nx8inLM9PbpvK1yv6oGtoP8BfaIeMzgBNKvc= github.com/nishanths/predeclared v0.0.0-20190419143655-18a43bb90ffc/go.mod h1:62PewwiQTlm/7Rj+cxVYqZvDIUc+JjZq6GHAC1fsObQ= @@ -1144,53 +920,26 @@ github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2f github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852 h1:Yl0tPBa8QPjGmesFh1D0rDy+q1Twx6FyU7VWHi8wZbI= github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852/go.mod h1:eqOVx5Vwu4gd2mmMZvVZsgIqNSaW3xxRThUJ0k/TPk4= -github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY= -github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.16.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= -github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198 h1:+czc/J8SlhPKLOtVLMQc+xDCFBT73ZStMsRhSsUhsSg= github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198/go.mod h1:j4h1pJW6ZcJTgMZWP3+7RlG3zTaP02aDZ/Qw0sppK7Q= -github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= -github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= -github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= -github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= -github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= -github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= @@ -1198,7 +947,6 @@ github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6 github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/getopt v0.0.0-20180729010549-6fdd0a2c7117/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= @@ -1214,7 +962,6 @@ github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d/go.mod h1:3OzsM7 github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1226,45 +973,32 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/polyfloyd/go-errorlint v0.0.0-20210722154253-910bb7978349/go.mod h1:wi9BfjxjF/bwiZ701TzmfKu6UKC357IOAtNr0Td0Lvw= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= -github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= -github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU= github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= -github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= +github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= -github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= @@ -1301,16 +1035,12 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD github.com/ryancurrah/gomodguard v1.2.3/go.mod h1:rYbA/4Tg5c54mV1sv4sQTP5WOPBcoLtnBZ7/TEhXAbg= github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/sagikazarmark/crypt v0.1.0/go.mod h1:B/mN0msZuINBtQ1zZLEQcegFJJf9vnYIR88KRMEuODE= -github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig= github.com/sanity-io/litter v1.2.0/go.mod h1:JF6pZUFgu2Q0sBZ+HSV35P8TVPI1TTzEwyu9FXAw2W4= github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/savsgio/gotils v0.0.0-20210617111740-97865ed5a873 h1:N3Af8f13ooDKcIhsmFT7Z05CStZWu4C7Md0uDEy4q6o= github.com/savsgio/gotils v0.0.0-20210617111740-97865ed5a873/go.mod h1:dmPawKuiAeG/aFYVs2i+Dyosoo7FNcm+Pi8iK6ZUrX8= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= github.com/securego/gosec/v2 v2.9.1/go.mod h1:oDcDLcatOJxkCGaCaq8lua1jTnYf6Sou4wdiJ1n4iHc= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= @@ -1324,10 +1054,7 @@ github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFR github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= -github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= @@ -1338,7 +1065,6 @@ github.com/sivchari/tenv v1.4.7/go.mod h1:5nF+bITvkebQVanjU6IuMbvIot/7ReNsUV7I5N github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA= github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= @@ -1348,7 +1074,6 @@ github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag07 github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= github.com/spf13/afero v1.4.1/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= @@ -1358,19 +1083,16 @@ github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= -github.com/spf13/cobra v1.3.0/go.mod h1:BrRVncBjOJa/eUcVVm9CE+oC6as8k+VYr4NY7WCi9V4= github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU= github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= @@ -1380,21 +1102,16 @@ github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/y github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= github.com/spf13/viper v1.9.0/go.mod h1:+i6ajR7OX2XaiBkrcZJFK21htRk7eDeLg7+O6bhUPP4= -github.com/spf13/viper v1.10.0/go.mod h1:SoyBPwAtKDzypXNDFKN5kzH7ppppbGZtls1UpIy5AsM= github.com/spf13/viper v1.13.0 h1:BWSJ/M+f+3nmdz9bxB+bWX28kkALN2ok11D0rSo8EJU= github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw= github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= -github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0 h1:M2gUjqZET1qApGOWNSnZ49BAIMX4F/1plDv3+l31EJ4= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= @@ -1410,10 +1127,6 @@ github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69 github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/sylvia7788/contextcheck v1.0.4/go.mod h1:vuPKJMQ7MQ91ZTqfdyreNKwZjyUg6KO+IebVyQDedZQ= -github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= github.com/tenntenn/modver v1.0.1/go.mod h1:bePIyQPb7UeioSRkw3Q0XeMhYZSMx9B8ePqg6SAMGH0= github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= @@ -1433,16 +1146,12 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1 github.com/tomarrell/wrapcheck/v2 v2.4.0/go.mod h1:68bQ/eJg55BROaRTbMjC7vuhL2OgfoG8bLp9ZyoBfyY= github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4= github.com/tommy-muehle/go-mnd/v2 v2.4.0/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= -github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= -github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/uudashr/gocognit v1.0.5/go.mod h1:wgYz0mitoKOTysqxTDMOUXg+Jb5SvtihkfmugIZYpEA= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= @@ -1451,23 +1160,14 @@ github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD github.com/valyala/fasthttp v1.34.0 h1:d3AAQJ2DRcxJYHm7OXNXtXt2as1vMDfxeIcFvhmGGm4= github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4/go.mod h1:50wTf68f99/Zt14pr046Tgt3Lp2vLyFZKzbFXTOabXw= -github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= +github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/valyala/quicktemplate v1.7.0/go.mod h1:sqKJnoaOF88V07vkO+9FL8fb9uZg/VPSJnLYn+LmLk8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= github.com/vbatts/tar-split v0.11.2 h1:Via6XqJr0hceW4wff3QRzD5gAk/tatMw/4ZA7cTlIME= -github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaWq6kXyQ3VI= github.com/viki-org/dnscache v0.0.0-20130720023526-c70c1f23c5d8/go.mod h1:dniwbG03GafCjFohMDmz6Zc6oCuiqgH6tGNyXTkHzXE= -github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= -github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/whilp/git-urls v1.0.0 h1:95f6UMWN5FKW71ECsXRUd3FVYiXdrE7aX4NZKcPmIjU= github.com/whilp/git-urls v1.0.0/go.mod h1:J16SAmobsqc3Qcy98brfl5f5+e0clUvg1krgwk/qCfE= -github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= -github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= github.com/xanzy/ssh-agent v0.3.1 h1:AmzO1SSWxw73zxFZPRwaMN1MohDw8UyHnmuxyceTEGo= github.com/xanzy/ssh-agent v0.3.1/go.mod h1:QIE4lCeL7nkC25x+yA3LBIYfwCc1TFziCtG7cBAac6w= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= @@ -1475,7 +1175,6 @@ github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMc github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.1.0/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= @@ -1497,24 +1196,14 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= -github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= -github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c/go.mod h1:xCI7ZzBfRuGgBXyXO6yfWfDmlWd35khcWpUa4L0xI/k= -go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs= go.mozilla.org/mozlog v0.0.0-20170222151521-4bb13139d403/go.mod h1:jHoPAGnDrCy6kaI2tAze5Prf0Nr0w/oNkROt2lw3n3o= -go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -1536,20 +1225,16 @@ go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9E go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180501155221-613d6eafa307/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180910181607-0e37d006457b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= @@ -1557,7 +1242,6 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= @@ -1613,13 +1297,11 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180921000356-2f5d2388922f/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1633,7 +1315,6 @@ golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1658,7 +1339,6 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= @@ -1670,16 +1350,12 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -1688,8 +1364,8 @@ golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20220909164309-bea034e7d591 h1:D0B/7al0LLrVC8aWF4+oxpv/m8bc7ViFfVS8/gXGdqI= -golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 h1:MgJ6t2zo8v0tbmLCueaCbF1RM+TtB0rs3Lv8DGtOIpY= +golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1706,15 +1382,14 @@ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 h1:lxqLZaMad/dJHMFZH0NiNpiEZI/nhgWhe4wgzpE+MuA= -golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1 h1:3VPzK7eqH25j7GYw5w6g/GzNRc0/fYtrxz27z1gD4W0= +golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1727,8 +1402,9 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f h1:Ax0t5p6N38Ga0dThY21weqDEyz2oklo4IvDkpigvkD8= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0 h1:cu5kTvlzcw1Q5S9f5ip1/cpiB4nXvw1XYzFPGgzLUOY= +golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1747,17 +1423,10 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1766,22 +1435,17 @@ golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1793,30 +1457,19 @@ golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201005172224-997123666555/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1825,7 +1478,6 @@ golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1836,17 +1488,13 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210816074244-15123e1e1f71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210915083310-ed5796bab164/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211013075003-97ac67df715c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1884,8 +1532,6 @@ golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220922220347-f3bd1da661af h1:Yx9k8YCG3dvF87UAn2tu2HQLf2dt/eR1bXxpLMWeH+Y= golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1909,9 +1555,7 @@ golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1995,16 +1639,15 @@ golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.6/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo= golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo= -golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0= golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -2036,9 +1679,7 @@ google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6 google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= -google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw= google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= @@ -2048,8 +1689,8 @@ google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69 google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= -google.golang.org/api v0.97.0 h1:x/vEL1XDF/2V4xzdNgFPaKHluRESo2aTsL7QzHnBtGQ= -google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.99.0 h1:tsBtOIklCE2OFxhmcYSVqGwSAN/Y897srxmcvAQnwK8= +google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2059,7 +1700,6 @@ google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181107211654-5fc9ac540362/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -2067,7 +1707,6 @@ google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= @@ -2077,7 +1716,6 @@ google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -2101,7 +1739,6 @@ google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2129,11 +1766,7 @@ google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEc google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -2154,10 +1787,8 @@ google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006 h1:mmbq5q8M1t7dhkLw320YK4PsOXm6jdnUAkErImaIqOg= -google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= -google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e h1:halCgTFuLWDRD61piiNSxPsARANGD3Xl16hPrLgLiIg= +google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -2189,15 +1820,13 @@ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= -google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.0 h1:fPVVDxY9w++VjTZsYvXWqEf9Rqar/e+9zYfxKK+W+YU= +google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -2215,10 +1844,8 @@ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -2229,7 +1856,6 @@ gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qS gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= -gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= gopkg.in/go-playground/webhooks.v5 v5.17.0 h1:truBced5ZmkiNKK47cM8bMe86wUSjNks7SFMuNKwzlc= gopkg.in/go-playground/webhooks.v5 v5.17.0/go.mod h1:LZbya/qLVdbqDR1aKrGuWV6qbia2zCYSR5dpom2SInQ= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= @@ -2238,7 +1864,6 @@ gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.63.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/jcmturner/aescts.v1 v1.0.1 h1:cVVZBK2b1zY26haWB4vbBiZrfFQnfbTVrE3xZq6hrEw= @@ -2252,11 +1877,7 @@ gopkg.in/jcmturner/rpc.v0 v0.0.2 h1:wBTgrbL1qmLBUPsYVCqdJiI5aJgQhexmK+JkTHPUNJI= gopkg.in/jcmturner/rpc.v0 v0.0.2/go.mod h1:NzMq6cRzR9lipgw7WxRBHNx5N8SifBuaCQsOT1kWY/E= gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 h1:VpOs+IwYnYBaFnrNAeB8UUWtL3vEUnzSCL1nVjPhqrw= gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= @@ -2280,10 +1901,6 @@ gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= -gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= gotest.tools/v3 v3.1.0 h1:rVV8Tcg/8jHUkPUorwjaMTtemIMVXfIPKiOqnhEhakk= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -2295,35 +1912,15 @@ honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9 honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.2.1/go.mod h1:lPVVZ2BS5TfnjLyizF7o7hv7j9/L+8cZY2hLyjP9cGY= k8s.io/api v0.17.8/go.mod h1:N++Llhs8kCixMUoCaXXAyMMPbo8dDVnh+IQ36xZV2/0= -k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= -k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= -k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= k8s.io/api v0.24.3 h1:tt55QEmKd6L2k5DP6G/ZzdMQKvG5ro4H4teClqm0sTY= k8s.io/api v0.24.3/go.mod h1:elGR/XSZrS7z7cSZPzVWaycpJuGIw57j9b95/1PdJNI= k8s.io/apimachinery v0.17.8/go.mod h1:Lg8zZ5iC/O8UjCqW6DNhcQG2m4TdjF9kwG3891OWbbA= -k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= k8s.io/apimachinery v0.24.3 h1:hrFiNSA2cBZqllakVYyH/VyEh4B581bQRmqATJSeQTg= k8s.io/apimachinery v0.24.3/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= -k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= -k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= -k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= k8s.io/client-go v0.17.8/go.mod h1:SJsDS64AAtt9VZyeaQMb4Ck5etCitZ/FwajWdzua5eY= -k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= -k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= -k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= k8s.io/client-go v0.24.3 h1:Nl1840+6p4JqkFWEW2LnMKU667BUxw03REfLAVhuKQY= k8s.io/client-go v0.24.3/go.mod h1:AAovolf5Z9bY1wIg2FZ8LPQlEdKHjLI7ZD4rw920BJw= -k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= -k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= -k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= -k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= -k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= -k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= -k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/gengo v0.0.0-20220613173612-397b4ae3bce7 h1:RGb68G3yotdQggcyenx9y0+lnVJCXXcLa6geXOMlf5o= k8s.io/gengo v0.0.0-20220613173612-397b4ae3bce7/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= @@ -2332,18 +1929,14 @@ k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.5.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/klog/v2 v2.60.1 h1:VW25q3bZx9uE3vvdL6M8ezOX79vA2Aq1nEWLqNQclHc= k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29/go.mod h1:F+5wygcW0wmRTnM3cOgIqGivxkwSWIWT5YdsDbeAOaU= -k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= k8s.io/kube-openapi v0.0.0-20220627174259-011e075b9cb8 h1:yEQKdMCjzAOvGeiTwG4hO/hNVNtDOuUFvMUZ0OlaIzs= k8s.io/kube-openapi v0.0.0-20220627174259-011e075b9cb8/go.mod h1:mbJ+NSUoAhuR14N0S63bPkh8MGVSo3VYSGZtH/mfMe0= -k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= @@ -2356,13 +1949,10 @@ mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7/go.mod h1:hBpJkZE8H/sb+VRFvw rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= sigs.k8s.io/structured-merge-diff/v2 v2.0.1/go.mod h1:Wb7vfKAodbKgf6tn1Kl0VvGj7mRH6DGaRcixXEJXTsE= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= diff --git a/hack/access-token.sh b/hack/access-token.sh index cd99dfffa1a1..4d8372236786 100755 --- a/hack/access-token.sh +++ b/hack/access-token.sh @@ -9,14 +9,25 @@ case $1 in kubectl create sa jenkins kubectl delete rolebinding jenkins --ignore-not-found kubectl create rolebinding jenkins --role=jenkins --serviceaccount=argo:jenkins + kubectl apply -f - < /dev/null - - echo "$ARGO_TOKEN" + while true; do + TOKEN=$(kubectl get secret jenkins.service-account-token -o=jsonpath='{.data.token}' | base64 --decode) + if [ "$TOKEN" != "" ]; then + echo "Bearer $TOKEN" + exit + fi + sleep 1 + done ;; *) exit 1 diff --git a/hack/free-port.sh b/hack/free-port.sh index b94962d221a6..73e49e93dfad 100755 --- a/hack/free-port.sh +++ b/hack/free-port.sh @@ -1,6 +1,10 @@ -#!/bin/sh -set -eu +#!/usr/bin/env bash +set -eu -o pipefail port=$1 -lsof -s TCP:LISTEN -i ":$port" | grep -v PID | awk '{print $2}' | xargs -L 1 kill || true +pids=$(lsof -t -s TCP:LISTEN -i ":$port" || true) + +if [ "$pids" != "" ]; then + kill $pids +fi diff --git a/hack/port-forward.sh b/hack/port-forward.sh index a1c9479603b2..6a8bb086840b 100755 --- a/hack/port-forward.sh +++ b/hack/port-forward.sh @@ -8,7 +8,7 @@ pf() { dest_port=${3:-"$port"} ./hack/free-port.sh $port echo "port-forward $resource $port" - kubectl -n argo port-forward "svc/$resource" "$port:$dest_port" > /dev/null & + kubectl -n argo port-forward "svc/$resource" "$port:$dest_port" & until lsof -i ":$port" > /dev/null ; do sleep 1 ; done } diff --git a/manifests/base/argo-server/argo-server-certificate.yaml b/manifests/base/argo-server/argo-server-certificate.yaml deleted file mode 100644 index 489e57bdf883..000000000000 --- a/manifests/base/argo-server/argo-server-certificate.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: argo-workflows-issuer -spec: - selfSigned: {} ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: argo-server-cert -spec: - dnsNames: - - argo-server.argo.svc.cluster.local - - argo-server.argo.svc - - argo-server - issuerRef: - kind: Issuer - name: argo-workflows-issuer - secretName: argo-server-tls diff --git a/manifests/base/argo-server/argo-server-deployment.yaml b/manifests/base/argo-server/argo-server-deployment.yaml index 52687d4d1ecd..e3672fbe16a2 100644 --- a/manifests/base/argo-server/argo-server-deployment.yaml +++ b/manifests/base/argo-server/argo-server-deployment.yaml @@ -22,9 +22,7 @@ spec: capabilities: drop: - ALL - args: - - server - - --tls-certificate-secret-name=argo-server-tls + args: [ server ] env: [] ports: - name: web diff --git a/manifests/base/argo-server/kustomization.yaml b/manifests/base/argo-server/kustomization.yaml index 3a7ed2e7d2b7..3817bd729b12 100644 --- a/manifests/base/argo-server/kustomization.yaml +++ b/manifests/base/argo-server/kustomization.yaml @@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- argo-server-certificate.yaml - argo-server-deployment.yaml - argo-server-sa.yaml - argo-server-service.yaml diff --git a/manifests/quick-start-minimal.yaml b/manifests/quick-start-minimal.yaml index 459165e5a3ea..521123a193ab 100644 --- a/manifests/quick-start-minimal.yaml +++ b/manifests/quick-start-minimal.yaml @@ -1461,6 +1461,22 @@ stringData: --- apiVersion: v1 kind: Secret +metadata: + annotations: + kubernetes.io/service-account.name: default + name: default.service-account-token +type: kubernetes.io/service-account-token +--- +apiVersion: v1 +kind: Secret +metadata: + annotations: + kubernetes.io/service-account.name: github.com + name: jackfan.us.kg.service-account-token +type: kubernetes.io/service-account-token +--- +apiVersion: v1 +kind: Secret metadata: labels: app: httpbin @@ -1685,8 +1701,9 @@ spec: labels: app: httpbin spec: + automountServiceAccountToken: false containers: - - image: kennethreitz/httpbin:latest + - image: kennethreitz/httpbin livenessProbe: httpGet: path: /get @@ -1719,6 +1736,7 @@ spec: labels: app: minio spec: + automountServiceAccountToken: false containers: - command: - minio @@ -1809,24 +1827,3 @@ spec: securityContext: runAsNonRoot: true serviceAccountName: argo ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: argo-server-cert -spec: - dnsNames: - - argo-server.argo.svc.cluster.local - - argo-server.argo.svc - - argo-server - issuerRef: - kind: Issuer - name: argo-workflows-issuer - secretName: argo-server-tls ---- -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: argo-workflows-issuer -spec: - selfSigned: {} diff --git a/manifests/quick-start-mysql.yaml b/manifests/quick-start-mysql.yaml index bbf2466ac368..98c3126878b2 100644 --- a/manifests/quick-start-mysql.yaml +++ b/manifests/quick-start-mysql.yaml @@ -1491,6 +1491,22 @@ stringData: --- apiVersion: v1 kind: Secret +metadata: + annotations: + kubernetes.io/service-account.name: default + name: default.service-account-token +type: kubernetes.io/service-account-token +--- +apiVersion: v1 +kind: Secret +metadata: + annotations: + kubernetes.io/service-account.name: github.com + name: jackfan.us.kg.service-account-token +type: kubernetes.io/service-account-token +--- +apiVersion: v1 +kind: Secret metadata: labels: app: httpbin @@ -1729,8 +1745,9 @@ spec: labels: app: httpbin spec: + automountServiceAccountToken: false containers: - - image: kennethreitz/httpbin:latest + - image: kennethreitz/httpbin livenessProbe: httpGet: path: /get @@ -1763,6 +1780,7 @@ spec: labels: app: minio spec: + automountServiceAccountToken: false containers: - command: - minio @@ -1818,6 +1836,7 @@ spec: app: mysql name: mysql spec: + automountServiceAccountToken: false containers: - env: - name: MYSQL_USER @@ -1833,17 +1852,10 @@ spec: ports: - containerPort: 3306 readinessProbe: - exec: - command: - - mysql - - -u - - mysql - - -ppassword - - argo - - -e - - SELECT 1 - initialDelaySeconds: 15 - timeoutSeconds: 2 + initialDelaySeconds: 30 + periodSeconds: 10 + tcpSocket: + port: 3306 nodeSelector: kubernetes.io/os: linux --- @@ -1898,24 +1910,3 @@ spec: securityContext: runAsNonRoot: true serviceAccountName: argo ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: argo-server-cert -spec: - dnsNames: - - argo-server.argo.svc.cluster.local - - argo-server.argo.svc - - argo-server - issuerRef: - kind: Issuer - name: argo-workflows-issuer - secretName: argo-server-tls ---- -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: argo-workflows-issuer -spec: - selfSigned: {} diff --git a/manifests/quick-start-postgres.yaml b/manifests/quick-start-postgres.yaml index 5790197e15de..b1e88792200e 100644 --- a/manifests/quick-start-postgres.yaml +++ b/manifests/quick-start-postgres.yaml @@ -1491,6 +1491,22 @@ stringData: --- apiVersion: v1 kind: Secret +metadata: + annotations: + kubernetes.io/service-account.name: default + name: default.service-account-token +type: kubernetes.io/service-account-token +--- +apiVersion: v1 +kind: Secret +metadata: + annotations: + kubernetes.io/service-account.name: github.com + name: jackfan.us.kg.service-account-token +type: kubernetes.io/service-account-token +--- +apiVersion: v1 +kind: Secret metadata: labels: app: httpbin @@ -1729,8 +1745,9 @@ spec: labels: app: httpbin spec: + automountServiceAccountToken: false containers: - - image: kennethreitz/httpbin:latest + - image: kennethreitz/httpbin livenessProbe: httpGet: path: /get @@ -1763,6 +1780,7 @@ spec: labels: app: minio spec: + automountServiceAccountToken: false containers: - command: - minio @@ -1890,24 +1908,3 @@ spec: securityContext: runAsNonRoot: true serviceAccountName: argo ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: argo-server-cert -spec: - dnsNames: - - argo-server.argo.svc.cluster.local - - argo-server.argo.svc - - argo-server - issuerRef: - kind: Issuer - name: argo-workflows-issuer - secretName: argo-server-tls ---- -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: argo-workflows-issuer -spec: - selfSigned: {} diff --git a/manifests/quick-start/base/default.service-account-token-secret.yaml b/manifests/quick-start/base/default.service-account-token-secret.yaml new file mode 100644 index 000000000000..86a6e71ee798 --- /dev/null +++ b/manifests/quick-start/base/default.service-account-token-secret.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Secret +metadata: + name: default.service-account-token + annotations: + kubernetes.io/service-account.name: default +type: kubernetes.io/service-account-token \ No newline at end of file diff --git a/manifests/quick-start/base/httpbin/httpbin-deploy.yaml b/manifests/quick-start/base/httpbin/httpbin-deploy.yaml index 46054b652cd1..222a86c04eae 100644 --- a/manifests/quick-start/base/httpbin/httpbin-deploy.yaml +++ b/manifests/quick-start/base/httpbin/httpbin-deploy.yaml @@ -13,9 +13,10 @@ spec: labels: app: httpbin spec: + automountServiceAccountToken: false containers: - name: main - image: kennethreitz/httpbin:latest + image: kennethreitz/httpbin ports: - containerPort: 80 name: api diff --git a/manifests/quick-start/base/kustomization.yaml b/manifests/quick-start/base/kustomization.yaml index 325f94d4b12e..803d90c11e1a 100644 --- a/manifests/quick-start/base/kustomization.yaml +++ b/manifests/quick-start/base/kustomization.yaml @@ -6,6 +6,7 @@ resources: - minio - httpbin - webhooks + - default.service-account-token-secret.yaml - argo-server-sso-secret.yaml - executor/emissary/executor-role.yaml - executor-default-rolebinding.yaml diff --git a/manifests/quick-start/base/minio/minio-deploy.yaml b/manifests/quick-start/base/minio/minio-deploy.yaml index 849522b4550c..7a3e8550898a 100644 --- a/manifests/quick-start/base/minio/minio-deploy.yaml +++ b/manifests/quick-start/base/minio/minio-deploy.yaml @@ -13,6 +13,7 @@ spec: labels: app: minio spec: + automountServiceAccountToken: false containers: - name: main image: minio/minio diff --git a/manifests/quick-start/base/webhooks/jackfan.us.kg-secret.yaml b/manifests/quick-start/base/webhooks/jackfan.us.kg-secret.yaml new file mode 100644 index 000000000000..0ba9ffb60d38 --- /dev/null +++ b/manifests/quick-start/base/webhooks/jackfan.us.kg-secret.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Secret +metadata: + name: jackfan.us.kg.service-account-token + annotations: + kubernetes.io/service-account.name: github.com +type: kubernetes.io/service-account-token \ No newline at end of file diff --git a/manifests/quick-start/base/webhooks/kustomization.yaml b/manifests/quick-start/base/webhooks/kustomization.yaml index ffef982a7067..dde4e6c1fd7d 100644 --- a/manifests/quick-start/base/webhooks/kustomization.yaml +++ b/manifests/quick-start/base/webhooks/kustomization.yaml @@ -4,5 +4,6 @@ kind: Kustomization resources: - submit-workflow-template-role.yaml - jackfan.us.kg-sa.yaml + - jackfan.us.kg-secret.yaml - jackfan.us.kg-rolebinding.yaml - argo-workflows-webhook-clients-secret.yaml diff --git a/manifests/quick-start/mysql/mysql-deployment.yaml b/manifests/quick-start/mysql/mysql-deployment.yaml index 63a4224d9ece..02f49afe0191 100644 --- a/manifests/quick-start/mysql/mysql-deployment.yaml +++ b/manifests/quick-start/mysql/mysql-deployment.yaml @@ -14,6 +14,7 @@ spec: labels: app: mysql spec: + automountServiceAccountToken: false containers: - name: main image: mysql:8 @@ -29,9 +30,9 @@ spec: ports: - containerPort: 3306 readinessProbe: - exec: - command: ["mysql", "-u", "mysql", "-ppassword", "argo", "-e", "SELECT 1"] - initialDelaySeconds: 15 - timeoutSeconds: 2 + tcpSocket: + port: 3306 + initialDelaySeconds: 30 + periodSeconds: 10 nodeSelector: kubernetes.io/os: linux diff --git a/manifests/quick-start/sso/dex/dex-deploy.yaml b/manifests/quick-start/sso/dex/dex-deploy.yaml index 41ecee3d1c6d..801c5dd02d38 100644 --- a/manifests/quick-start/sso/dex/dex-deploy.yaml +++ b/manifests/quick-start/sso/dex/dex-deploy.yaml @@ -16,7 +16,7 @@ spec: serviceAccountName: dex containers: - name: dex - image: quay.io/dexidp/dex:v2.23.0 + image: quay.io/dexidp/dex:v2.35.0 args: - serve - /data/config.yaml diff --git a/mkdocs.yml b/mkdocs.yml index b3851ff1323c..d636b8144152 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -25,7 +25,7 @@ theme: extra: analytics: provider: google - property: UA-105170809-7 + property: G-5Z1VTPDL73 markdown_extensions: - codehilite - admonition @@ -215,6 +215,7 @@ nav: - workflow-executors.md - workflow-restrictions.md - sidecar-injection.md + - manually-create-secrets.md - Argo Server: - argo-server.md - argo-server-auth-mode.md diff --git a/pkg/plugins/executor/objectmeta.go b/pkg/plugins/executor/objectmeta.go index 68fdaecea9c5..7e710bf5f211 100644 --- a/pkg/plugins/executor/objectmeta.go +++ b/pkg/plugins/executor/objectmeta.go @@ -1,5 +1,7 @@ package executor type ObjectMeta struct { - Name string `json:"name"` + Name string `json:"name"` + Namespace string `json:"namespace"` + Uid string `json:"uid"` } diff --git a/pkg/plugins/executor/swagger.yml b/pkg/plugins/executor/swagger.yml index 8f2c2fc133a0..b6146e756bf6 100644 --- a/pkg/plugins/executor/swagger.yml +++ b/pkg/plugins/executor/swagger.yml @@ -2349,6 +2349,10 @@ definitions: properties: name: type: string + namespace: + type: string + uid: + type: string type: object Outputs: description: Outputs hold parameters, artifacts, and results from a step diff --git a/sdks/python/Makefile b/sdks/python/Makefile index aa647b6f8089..f21102cc6d6f 100644 --- a/sdks/python/Makefile +++ b/sdks/python/Makefile @@ -23,7 +23,7 @@ generate: sed 's/io.k8s.apimachinery.pkg.apis.meta.v1.//' \ > $(WD)/swagger.json cp ../../LICENSE $(WD)/LICENSE - $(DOCKER) openapitools/openapi-generator-cli:v5.2.1 \ + $(DOCKER) openapitools/openapi-generator-cli:v5.4.0 \ generate \ --input-spec /wd/swagger.json \ --generator-name python \ diff --git a/sdks/python/client/argo_workflows/api/archived_workflow_service_api.py b/sdks/python/client/argo_workflows/api/archived_workflow_service_api.py index 327e15dc3715..35354ca34bea 100644 --- a/sdks/python/client/argo_workflows/api/archived_workflow_service_api.py +++ b/sdks/python/client/argo_workflows/api/archived_workflow_service_api.py @@ -41,73 +41,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __delete_archived_workflow( - self, - uid, - **kwargs - ): - """delete_archived_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_archived_workflow(uid, async_req=True) - >>> result = thread.get() - - Args: - uid (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['uid'] = \ - uid - return self.call_with_http_info(**kwargs) - - self.delete_archived_workflow = _Endpoint( + self.delete_archived_workflow_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -156,76 +90,9 @@ def __delete_archived_workflow( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_archived_workflow - ) - - def __get_archived_workflow( - self, - uid, - **kwargs - ): - """get_archived_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_archived_workflow(uid, async_req=True) - >>> result = thread.get() - - Args: - uid (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['uid'] = \ - uid - return self.call_with_http_info(**kwargs) - - self.get_archived_workflow = _Endpoint( + api_client=api_client + ) + self.get_archived_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -274,71 +141,9 @@ def __get_archived_workflow( ], 'content_type': [], }, - api_client=api_client, - callable=__get_archived_workflow - ) - - def __list_archived_workflow_label_keys( - self, - **kwargs - ): - """list_archived_workflow_label_keys # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_archived_workflow_label_keys(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1LabelKeys - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.list_archived_workflow_label_keys = _Endpoint( + api_client=api_client + ) + self.list_archived_workflow_label_keys_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1LabelKeys,), 'auth': [ @@ -380,80 +185,9 @@ def __list_archived_workflow_label_keys( ], 'content_type': [], }, - api_client=api_client, - callable=__list_archived_workflow_label_keys - ) - - def __list_archived_workflow_label_values( - self, - **kwargs - ): - """list_archived_workflow_label_values # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_archived_workflow_label_values(async_req=True) - >>> result = thread.get() - - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1LabelValues - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.list_archived_workflow_label_values = _Endpoint( + api_client=api_client + ) + self.list_archived_workflow_label_values_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1LabelValues,), 'auth': [ @@ -540,81 +274,9 @@ def __list_archived_workflow_label_values( ], 'content_type': [], }, - api_client=api_client, - callable=__list_archived_workflow_label_values - ) - - def __list_archived_workflows( - self, - **kwargs - ): - """list_archived_workflows # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_archived_workflows(async_req=True) - >>> result = thread.get() - - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - name_prefix (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.list_archived_workflows = _Endpoint( + api_client=api_client + ) + self.list_archived_workflows_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowList,), 'auth': [ @@ -706,80 +368,9 @@ def __list_archived_workflows( ], 'content_type': [], }, - api_client=api_client, - callable=__list_archived_workflows - ) - - def __resubmit_archived_workflow( - self, - uid, - body, - **kwargs - ): - """resubmit_archived_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.resubmit_archived_workflow(uid, body, async_req=True) - >>> result = thread.get() - - Args: - uid (str): - body (IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['uid'] = \ - uid - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.resubmit_archived_workflow = _Endpoint( + api_client=api_client + ) + self.resubmit_archived_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -835,80 +426,9 @@ def __resubmit_archived_workflow( 'application/json' ] }, - api_client=api_client, - callable=__resubmit_archived_workflow - ) - - def __retry_archived_workflow( - self, - uid, - body, - **kwargs - ): - """retry_archived_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.retry_archived_workflow(uid, body, async_req=True) - >>> result = thread.get() - - Args: - uid (str): - body (IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['uid'] = \ - uid - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.retry_archived_workflow = _Endpoint( + api_client=api_client + ) + self.retry_archived_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -964,6 +484,557 @@ def __retry_archived_workflow( 'application/json' ] }, - api_client=api_client, - callable=__retry_archived_workflow + api_client=api_client + ) + + def delete_archived_workflow( + self, + uid, + **kwargs + ): + """delete_archived_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_archived_workflow(uid, async_req=True) + >>> result = thread.get() + + Args: + uid (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['uid'] = \ + uid + return self.delete_archived_workflow_endpoint.call_with_http_info(**kwargs) + + def get_archived_workflow( + self, + uid, + **kwargs + ): + """get_archived_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_archived_workflow(uid, async_req=True) + >>> result = thread.get() + + Args: + uid (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['uid'] = \ + uid + return self.get_archived_workflow_endpoint.call_with_http_info(**kwargs) + + def list_archived_workflow_label_keys( + self, + **kwargs + ): + """list_archived_workflow_label_keys # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_archived_workflow_label_keys(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1LabelKeys + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.list_archived_workflow_label_keys_endpoint.call_with_http_info(**kwargs) + + def list_archived_workflow_label_values( + self, + **kwargs + ): + """list_archived_workflow_label_values # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_archived_workflow_label_values(async_req=True) + >>> result = thread.get() + + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1LabelValues + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.list_archived_workflow_label_values_endpoint.call_with_http_info(**kwargs) + + def list_archived_workflows( + self, + **kwargs + ): + """list_archived_workflows # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_archived_workflows(async_req=True) + >>> result = thread.get() + + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + name_prefix (str): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.list_archived_workflows_endpoint.call_with_http_info(**kwargs) + + def resubmit_archived_workflow( + self, + uid, + body, + **kwargs + ): + """resubmit_archived_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.resubmit_archived_workflow(uid, body, async_req=True) + >>> result = thread.get() + + Args: + uid (str): + body (IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['uid'] = \ + uid + kwargs['body'] = \ + body + return self.resubmit_archived_workflow_endpoint.call_with_http_info(**kwargs) + + def retry_archived_workflow( + self, + uid, + body, + **kwargs + ): + """retry_archived_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.retry_archived_workflow(uid, body, async_req=True) + >>> result = thread.get() + + Args: + uid (str): + body (IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['uid'] = \ + uid + kwargs['body'] = \ + body + return self.retry_archived_workflow_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/artifact_service_api.py b/sdks/python/client/argo_workflows/api/artifact_service_api.py index 1567a97205b3..52d14f3db0d1 100644 --- a/sdks/python/client/argo_workflows/api/artifact_service_api.py +++ b/sdks/python/client/argo_workflows/api/artifact_service_api.py @@ -35,93 +35,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __get_artifact_file( - self, - namespace, - id_discriminator, - id, - node_id, - artifact_name, - artifact_discriminator="outputs", - **kwargs - ): - """Get an artifact. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_artifact_file(namespace, id_discriminator, id, node_id, artifact_name, artifact_discriminator="outputs", async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - id_discriminator (str): - id (str): - node_id (str): - artifact_name (str): - artifact_discriminator (str): defaults to "outputs", must be one of ["outputs"] - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['id_discriminator'] = \ - id_discriminator - kwargs['id'] = \ - id - kwargs['node_id'] = \ - node_id - kwargs['artifact_name'] = \ - artifact_name - kwargs['artifact_discriminator'] = \ - artifact_discriminator - return self.call_with_http_info(**kwargs) - - self.get_artifact_file = _Endpoint( + self.get_artifact_file_endpoint = _Endpoint( settings={ 'response_type': (file_type,), 'auth': [ @@ -211,88 +125,9 @@ def __get_artifact_file( ], 'content_type': [], }, - api_client=api_client, - callable=__get_artifact_file - ) - - def __get_input_artifact( - self, - namespace, - name, - node_id, - artifact_name, - **kwargs - ): - """Get an input artifact. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_input_artifact(namespace, name, node_id, artifact_name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - node_id (str): - artifact_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['node_id'] = \ - node_id - kwargs['artifact_name'] = \ - artifact_name - return self.call_with_http_info(**kwargs) - - self.get_input_artifact = _Endpoint( + api_client=api_client + ) + self.get_input_artifact_endpoint = _Endpoint( settings={ 'response_type': (file_type,), 'auth': [ @@ -359,84 +194,9 @@ def __get_input_artifact( ], 'content_type': [], }, - api_client=api_client, - callable=__get_input_artifact - ) - - def __get_input_artifact_by_uid( - self, - uid, - node_id, - artifact_name, - **kwargs - ): - """Get an input artifact by UID. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_input_artifact_by_uid(uid, node_id, artifact_name, async_req=True) - >>> result = thread.get() - - Args: - uid (str): - node_id (str): - artifact_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['uid'] = \ - uid - kwargs['node_id'] = \ - node_id - kwargs['artifact_name'] = \ - artifact_name - return self.call_with_http_info(**kwargs) - - self.get_input_artifact_by_uid = _Endpoint( + api_client=api_client + ) + self.get_input_artifact_by_uid_endpoint = _Endpoint( settings={ 'response_type': (file_type,), 'auth': [ @@ -497,88 +257,9 @@ def __get_input_artifact_by_uid( ], 'content_type': [], }, - api_client=api_client, - callable=__get_input_artifact_by_uid - ) - - def __get_output_artifact( - self, - namespace, - name, - node_id, - artifact_name, - **kwargs - ): - """Get an output artifact. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_output_artifact(namespace, name, node_id, artifact_name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - node_id (str): - artifact_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['node_id'] = \ - node_id - kwargs['artifact_name'] = \ - artifact_name - return self.call_with_http_info(**kwargs) - - self.get_output_artifact = _Endpoint( + api_client=api_client + ) + self.get_output_artifact_endpoint = _Endpoint( settings={ 'response_type': (file_type,), 'auth': [ @@ -645,84 +326,9 @@ def __get_output_artifact( ], 'content_type': [], }, - api_client=api_client, - callable=__get_output_artifact - ) - - def __get_output_artifact_by_uid( - self, - uid, - node_id, - artifact_name, - **kwargs - ): - """Get an output artifact by UID. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_output_artifact_by_uid(uid, node_id, artifact_name, async_req=True) - >>> result = thread.get() - - Args: - uid (str): - node_id (str): - artifact_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['uid'] = \ - uid - kwargs['node_id'] = \ - node_id - kwargs['artifact_name'] = \ - artifact_name - return self.call_with_http_info(**kwargs) - - self.get_output_artifact_by_uid = _Endpoint( + api_client=api_client + ) + self.get_output_artifact_by_uid_endpoint = _Endpoint( settings={ 'response_type': (file_type,), 'auth': [ @@ -783,6 +389,451 @@ def __get_output_artifact_by_uid( ], 'content_type': [], }, - api_client=api_client, - callable=__get_output_artifact_by_uid + api_client=api_client + ) + + def get_artifact_file( + self, + namespace, + id_discriminator, + id, + node_id, + artifact_name, + artifact_discriminator="outputs", + **kwargs + ): + """Get an artifact. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_artifact_file(namespace, id_discriminator, id, node_id, artifact_name, artifact_discriminator="outputs", async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + id_discriminator (str): + id (str): + node_id (str): + artifact_name (str): + artifact_discriminator (str): defaults to "outputs", must be one of ["outputs"] + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + file_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['id_discriminator'] = \ + id_discriminator + kwargs['id'] = \ + id + kwargs['node_id'] = \ + node_id + kwargs['artifact_name'] = \ + artifact_name + kwargs['artifact_discriminator'] = \ + artifact_discriminator + return self.get_artifact_file_endpoint.call_with_http_info(**kwargs) + + def get_input_artifact( + self, + namespace, + name, + node_id, + artifact_name, + **kwargs + ): + """Get an input artifact. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_input_artifact(namespace, name, node_id, artifact_name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + node_id (str): + artifact_name (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + file_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['node_id'] = \ + node_id + kwargs['artifact_name'] = \ + artifact_name + return self.get_input_artifact_endpoint.call_with_http_info(**kwargs) + + def get_input_artifact_by_uid( + self, + uid, + node_id, + artifact_name, + **kwargs + ): + """Get an input artifact by UID. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_input_artifact_by_uid(uid, node_id, artifact_name, async_req=True) + >>> result = thread.get() + + Args: + uid (str): + node_id (str): + artifact_name (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + file_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['uid'] = \ + uid + kwargs['node_id'] = \ + node_id + kwargs['artifact_name'] = \ + artifact_name + return self.get_input_artifact_by_uid_endpoint.call_with_http_info(**kwargs) + + def get_output_artifact( + self, + namespace, + name, + node_id, + artifact_name, + **kwargs + ): + """Get an output artifact. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_output_artifact(namespace, name, node_id, artifact_name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + node_id (str): + artifact_name (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + file_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['node_id'] = \ + node_id + kwargs['artifact_name'] = \ + artifact_name + return self.get_output_artifact_endpoint.call_with_http_info(**kwargs) + + def get_output_artifact_by_uid( + self, + uid, + node_id, + artifact_name, + **kwargs + ): + """Get an output artifact by UID. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_output_artifact_by_uid(uid, node_id, artifact_name, async_req=True) + >>> result = thread.get() + + Args: + uid (str): + node_id (str): + artifact_name (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + file_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['uid'] = \ + uid + kwargs['node_id'] = \ + node_id + kwargs['artifact_name'] = \ + artifact_name + return self.get_output_artifact_by_uid_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/cluster_workflow_template_service_api.py b/sdks/python/client/argo_workflows/api/cluster_workflow_template_service_api.py index 0a39586497c8..44a10ad40712 100644 --- a/sdks/python/client/argo_workflows/api/cluster_workflow_template_service_api.py +++ b/sdks/python/client/argo_workflows/api/cluster_workflow_template_service_api.py @@ -40,73 +40,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __create_cluster_workflow_template( - self, - body, - **kwargs - ): - """create_cluster_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_cluster_workflow_template(body, async_req=True) - >>> result = thread.get() - - Args: - body (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.create_cluster_workflow_template = _Endpoint( + self.create_cluster_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate,), 'auth': [ @@ -156,82 +90,9 @@ def __create_cluster_workflow_template( 'application/json' ] }, - api_client=api_client, - callable=__create_cluster_workflow_template - ) - - def __delete_cluster_workflow_template( - self, - name, - **kwargs - ): - """delete_cluster_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_cluster_workflow_template(name, async_req=True) - >>> result = thread.get() - - Args: - name (str): - - Keyword Args: - delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] - delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] - delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] - delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] - delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] - delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.delete_cluster_workflow_template = _Endpoint( + api_client=api_client + ) + self.delete_cluster_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -311,77 +172,9 @@ def __delete_cluster_workflow_template( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_cluster_workflow_template - ) - - def __get_cluster_workflow_template( - self, - name, - **kwargs - ): - """get_cluster_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_cluster_workflow_template(name, async_req=True) - >>> result = thread.get() - - Args: - name (str): - - Keyword Args: - get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.get_cluster_workflow_template = _Endpoint( + api_client=api_client + ) + self.get_cluster_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate,), 'auth': [ @@ -435,76 +228,9 @@ def __get_cluster_workflow_template( ], 'content_type': [], }, - api_client=api_client, - callable=__get_cluster_workflow_template - ) - - def __lint_cluster_workflow_template( - self, - body, - **kwargs - ): - """lint_cluster_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.lint_cluster_workflow_template(body, async_req=True) - >>> result = thread.get() - - Args: - body (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.lint_cluster_workflow_template = _Endpoint( + api_client=api_client + ) + self.lint_cluster_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate,), 'auth': [ @@ -554,80 +280,9 @@ def __lint_cluster_workflow_template( 'application/json' ] }, - api_client=api_client, - callable=__lint_cluster_workflow_template - ) - - def __list_cluster_workflow_templates( - self, - **kwargs - ): - """list_cluster_workflow_templates # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_cluster_workflow_templates(async_req=True) - >>> result = thread.get() - - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.list_cluster_workflow_templates = _Endpoint( + api_client=api_client + ) + self.list_cluster_workflow_templates_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList,), 'auth': [ @@ -714,80 +369,9 @@ def __list_cluster_workflow_templates( ], 'content_type': [], }, - api_client=api_client, - callable=__list_cluster_workflow_templates - ) - - def __update_cluster_workflow_template( - self, - name, - body, - **kwargs - ): - """update_cluster_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_cluster_workflow_template(name, body, async_req=True) - >>> result = thread.get() - - Args: - name (str): DEPRECATED: This field is ignored. - body (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.update_cluster_workflow_template = _Endpoint( + api_client=api_client + ) + self.update_cluster_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate,), 'auth': [ @@ -843,6 +427,483 @@ def __update_cluster_workflow_template( 'application/json' ] }, - api_client=api_client, - callable=__update_cluster_workflow_template + api_client=api_client + ) + + def create_cluster_workflow_template( + self, + body, + **kwargs + ): + """create_cluster_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_cluster_workflow_template(body, async_req=True) + >>> result = thread.get() + + Args: + body (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['body'] = \ + body + return self.create_cluster_workflow_template_endpoint.call_with_http_info(**kwargs) + + def delete_cluster_workflow_template( + self, + name, + **kwargs + ): + """delete_cluster_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_cluster_workflow_template(name, async_req=True) + >>> result = thread.get() + + Args: + name (str): + + Keyword Args: + delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] + delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] + delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] + delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] + delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] + delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['name'] = \ + name + return self.delete_cluster_workflow_template_endpoint.call_with_http_info(**kwargs) + + def get_cluster_workflow_template( + self, + name, + **kwargs + ): + """get_cluster_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_cluster_workflow_template(name, async_req=True) + >>> result = thread.get() + + Args: + name (str): + + Keyword Args: + get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['name'] = \ + name + return self.get_cluster_workflow_template_endpoint.call_with_http_info(**kwargs) + + def lint_cluster_workflow_template( + self, + body, + **kwargs + ): + """lint_cluster_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.lint_cluster_workflow_template(body, async_req=True) + >>> result = thread.get() + + Args: + body (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['body'] = \ + body + return self.lint_cluster_workflow_template_endpoint.call_with_http_info(**kwargs) + + def list_cluster_workflow_templates( + self, + **kwargs + ): + """list_cluster_workflow_templates # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_cluster_workflow_templates(async_req=True) + >>> result = thread.get() + + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.list_cluster_workflow_templates_endpoint.call_with_http_info(**kwargs) + + def update_cluster_workflow_template( + self, + name, + body, + **kwargs + ): + """update_cluster_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_cluster_workflow_template(name, body, async_req=True) + >>> result = thread.get() + + Args: + name (str): DEPRECATED: This field is ignored. + body (IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.update_cluster_workflow_template_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/cron_workflow_service_api.py b/sdks/python/client/argo_workflows/api/cron_workflow_service_api.py index c4a89ad955b9..cce7aa805432 100644 --- a/sdks/python/client/argo_workflows/api/cron_workflow_service_api.py +++ b/sdks/python/client/argo_workflows/api/cron_workflow_service_api.py @@ -42,77 +42,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __create_cron_workflow( - self, - namespace, - body, - **kwargs - ): - """create_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_cron_workflow(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.create_cron_workflow = _Endpoint( + self.create_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflow,), 'auth': [ @@ -168,86 +98,9 @@ def __create_cron_workflow( 'application/json' ] }, - api_client=api_client, - callable=__create_cron_workflow + api_client=api_client ) - - def __delete_cron_workflow( - self, - namespace, - name, - **kwargs - ): - """delete_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_cron_workflow(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] - delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] - delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] - delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] - delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] - delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.delete_cron_workflow = _Endpoint( + self.delete_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -333,81 +186,9 @@ def __delete_cron_workflow( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_cron_workflow + api_client=api_client ) - - def __get_cron_workflow( - self, - namespace, - name, - **kwargs - ): - """get_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_cron_workflow(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.get_cron_workflow = _Endpoint( + self.get_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflow,), 'auth': [ @@ -467,80 +248,9 @@ def __get_cron_workflow( ], 'content_type': [], }, - api_client=api_client, - callable=__get_cron_workflow + api_client=api_client ) - - def __lint_cron_workflow( - self, - namespace, - body, - **kwargs - ): - """lint_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.lint_cron_workflow(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.lint_cron_workflow = _Endpoint( + self.lint_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflow,), 'auth': [ @@ -596,85 +306,9 @@ def __lint_cron_workflow( 'application/json' ] }, - api_client=api_client, - callable=__lint_cron_workflow + api_client=api_client ) - - def __list_cron_workflows( - self, - namespace, - **kwargs - ): - """list_cron_workflows # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_cron_workflows(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflowList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.list_cron_workflows = _Endpoint( + self.list_cron_workflows_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflowList,), 'auth': [ @@ -768,84 +402,9 @@ def __list_cron_workflows( ], 'content_type': [], }, - api_client=api_client, - callable=__list_cron_workflows + api_client=api_client ) - - def __resume_cron_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """resume_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.resume_cron_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.resume_cron_workflow = _Endpoint( + self.resume_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflow,), 'auth': [ @@ -907,84 +466,9 @@ def __resume_cron_workflow( 'application/json' ] }, - api_client=api_client, - callable=__resume_cron_workflow + api_client=api_client ) - - def __suspend_cron_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """suspend_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.suspend_cron_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.suspend_cron_workflow = _Endpoint( + self.suspend_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflow,), 'auth': [ @@ -1046,84 +530,9 @@ def __suspend_cron_workflow( 'application/json' ] }, - api_client=api_client, - callable=__suspend_cron_workflow + api_client=api_client ) - - def __update_cron_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """update_cron_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_cron_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): DEPRECATED: This field is ignored. - body (IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1CronWorkflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.update_cron_workflow = _Endpoint( + self.update_cron_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1CronWorkflow,), 'auth': [ @@ -1185,6 +594,678 @@ def __update_cron_workflow( 'application/json' ] }, - api_client=api_client, - callable=__update_cron_workflow + api_client=api_client + ) + + def create_cron_workflow( + self, + namespace, + body, + **kwargs + ): + """create_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_cron_workflow(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.create_cron_workflow_endpoint.call_with_http_info(**kwargs) + + def delete_cron_workflow( + self, + namespace, + name, + **kwargs + ): + """delete_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_cron_workflow(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] + delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] + delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] + delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] + delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] + delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.delete_cron_workflow_endpoint.call_with_http_info(**kwargs) + + def get_cron_workflow( + self, + namespace, + name, + **kwargs + ): + """get_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_cron_workflow(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.get_cron_workflow_endpoint.call_with_http_info(**kwargs) + + def lint_cron_workflow( + self, + namespace, + body, + **kwargs + ): + """lint_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.lint_cron_workflow(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.lint_cron_workflow_endpoint.call_with_http_info(**kwargs) + + def list_cron_workflows( + self, + namespace, + **kwargs + ): + """list_cron_workflows # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_cron_workflows(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflowList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.list_cron_workflows_endpoint.call_with_http_info(**kwargs) + + def resume_cron_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """resume_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.resume_cron_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.resume_cron_workflow_endpoint.call_with_http_info(**kwargs) + + def suspend_cron_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """suspend_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.suspend_cron_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.suspend_cron_workflow_endpoint.call_with_http_info(**kwargs) + + def update_cron_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """update_cron_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_cron_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): DEPRECATED: This field is ignored. + body (IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1CronWorkflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.update_cron_workflow_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/event_service_api.py b/sdks/python/client/argo_workflows/api/event_service_api.py index 4cebb884b9f4..a9334e697833 100644 --- a/sdks/python/client/argo_workflows/api/event_service_api.py +++ b/sdks/python/client/argo_workflows/api/event_service_api.py @@ -36,82 +36,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __list_workflow_event_bindings( - self, - namespace, - **kwargs - ): - """list_workflow_event_bindings # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_workflow_event_bindings(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowEventBindingList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.list_workflow_event_bindings = _Endpoint( + self.list_workflow_event_bindings_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowEventBindingList,), 'auth': [ @@ -205,84 +130,9 @@ def __list_workflow_event_bindings( ], 'content_type': [], }, - api_client=api_client, - callable=__list_workflow_event_bindings + api_client=api_client ) - - def __receive_event( - self, - namespace, - discriminator, - body, - **kwargs - ): - """receive_event # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.receive_event(namespace, discriminator, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): The namespace for the io.argoproj.workflow.v1alpha1. This can be empty if the client has cluster scoped permissions. If empty, then the event is \"broadcast\" to workflow event binding in all namespaces. - discriminator (str): Optional discriminator for the io.argoproj.workflow.v1alpha1. This should almost always be empty. Used for edge-cases where the event payload alone is not provide enough information to discriminate the event. This MUST NOT be used as security mechanism, e.g. to allow two clients to use the same access token, or to support webhooks on unsecured server. Instead, use access tokens. This is made available as `discriminator` in the event binding selector (`/spec/event/selector)` - body (bool, date, datetime, dict, float, int, list, str, none_type): The event itself can be any data. - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['discriminator'] = \ - discriminator - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.receive_event = _Endpoint( + self.receive_event_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -344,6 +194,177 @@ def __receive_event( 'application/json' ] }, - api_client=api_client, - callable=__receive_event + api_client=api_client + ) + + def list_workflow_event_bindings( + self, + namespace, + **kwargs + ): + """list_workflow_event_bindings # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_workflow_event_bindings(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowEventBindingList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.list_workflow_event_bindings_endpoint.call_with_http_info(**kwargs) + + def receive_event( + self, + namespace, + discriminator, + body, + **kwargs + ): + """receive_event # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.receive_event(namespace, discriminator, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): The namespace for the io.argoproj.workflow.v1alpha1. This can be empty if the client has cluster scoped permissions. If empty, then the event is \"broadcast\" to workflow event binding in all namespaces. + discriminator (str): Optional discriminator for the io.argoproj.workflow.v1alpha1. This should almost always be empty. Used for edge-cases where the event payload alone is not provide enough information to discriminate the event. This MUST NOT be used as security mechanism, e.g. to allow two clients to use the same access token, or to support webhooks on unsecured server. Instead, use access tokens. This is made available as `discriminator` in the event binding selector (`/spec/event/selector)` + body (bool, date, datetime, dict, float, int, list, str, none_type): The event itself can be any data. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['discriminator'] = \ + discriminator + kwargs['body'] = \ + body + return self.receive_event_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/event_source_service_api.py b/sdks/python/client/argo_workflows/api/event_source_service_api.py index ffae94cdaf27..9c47f232088e 100644 --- a/sdks/python/client/argo_workflows/api/event_source_service_api.py +++ b/sdks/python/client/argo_workflows/api/event_source_service_api.py @@ -41,77 +41,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __create_event_source( - self, - namespace, - body, - **kwargs - ): - """create_event_source # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_event_source(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (EventsourceCreateEventSourceRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1EventSource - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.create_event_source = _Endpoint( + self.create_event_source_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1EventSource,), 'auth': [ @@ -167,86 +97,9 @@ def __create_event_source( 'application/json' ] }, - api_client=api_client, - callable=__create_event_source + api_client=api_client ) - - def __delete_event_source( - self, - namespace, - name, - **kwargs - ): - """delete_event_source # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_event_source(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] - delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] - delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] - delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] - delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] - delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.delete_event_source = _Endpoint( + self.delete_event_source_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -332,90 +185,9 @@ def __delete_event_source( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_event_source + api_client=api_client ) - - def __event_sources_logs( - self, - namespace, - **kwargs - ): - """event_sources_logs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.event_sources_logs(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - name (str): optional - only return entries for this event source.. [optional] - event_source_type (str): optional - only return entries for this event source type (e.g. `webhook`).. [optional] - event_name (str): optional - only return entries for this event name (e.g. `example`).. [optional] - grep (str): optional - only return entries where `msg` matches this regular expression.. [optional] - pod_log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] - pod_log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] - pod_log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] - pod_log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] - pod_log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] - pod_log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] - pod_log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] - pod_log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] - pod_log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] - pod_log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfEventsourceLogEntry - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.event_sources_logs = _Endpoint( + self.event_sources_logs_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfEventsourceLogEntry,), 'auth': [ @@ -534,80 +306,9 @@ def __event_sources_logs( ], 'content_type': [], }, - api_client=api_client, - callable=__event_sources_logs + api_client=api_client ) - - def __get_event_source( - self, - namespace, - name, - **kwargs - ): - """get_event_source # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_event_source(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1EventSource - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.get_event_source = _Endpoint( + self.get_event_source_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1EventSource,), 'auth': [ @@ -662,85 +363,9 @@ def __get_event_source( ], 'content_type': [], }, - api_client=api_client, - callable=__get_event_source + api_client=api_client ) - - def __list_event_sources( - self, - namespace, - **kwargs - ): - """list_event_sources # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_event_sources(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1EventSourceList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.list_event_sources = _Endpoint( + self.list_event_sources_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1EventSourceList,), 'auth': [ @@ -834,84 +459,9 @@ def __list_event_sources( ], 'content_type': [], }, - api_client=api_client, - callable=__list_event_sources + api_client=api_client ) - - def __update_event_source( - self, - namespace, - name, - body, - **kwargs - ): - """update_event_source # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_event_source(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (EventsourceUpdateEventSourceRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1EventSource - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.update_event_source = _Endpoint( + self.update_event_source_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1EventSource,), 'auth': [ @@ -973,85 +523,9 @@ def __update_event_source( 'application/json' ] }, - api_client=api_client, - callable=__update_event_source + api_client=api_client ) - - def __watch_event_sources( - self, - namespace, - **kwargs - ): - """watch_event_sources # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.watch_event_sources(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfEventsourceEventSourceWatchEvent - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.watch_event_sources = _Endpoint( + self.watch_event_sources_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfEventsourceEventSourceWatchEvent,), 'auth': [ @@ -1145,6 +619,603 @@ def __watch_event_sources( ], 'content_type': [], }, - api_client=api_client, - callable=__watch_event_sources + api_client=api_client + ) + + def create_event_source( + self, + namespace, + body, + **kwargs + ): + """create_event_source # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_event_source(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (EventsourceCreateEventSourceRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1EventSource + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.create_event_source_endpoint.call_with_http_info(**kwargs) + + def delete_event_source( + self, + namespace, + name, + **kwargs + ): + """delete_event_source # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_event_source(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] + delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] + delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] + delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] + delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] + delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.delete_event_source_endpoint.call_with_http_info(**kwargs) + + def event_sources_logs( + self, + namespace, + **kwargs + ): + """event_sources_logs # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.event_sources_logs(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + name (str): optional - only return entries for this event source.. [optional] + event_source_type (str): optional - only return entries for this event source type (e.g. `webhook`).. [optional] + event_name (str): optional - only return entries for this event name (e.g. `example`).. [optional] + grep (str): optional - only return entries where `msg` matches this regular expression.. [optional] + pod_log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] + pod_log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] + pod_log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] + pod_log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] + pod_log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] + pod_log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] + pod_log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] + pod_log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] + pod_log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] + pod_log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfEventsourceLogEntry + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.event_sources_logs_endpoint.call_with_http_info(**kwargs) + + def get_event_source( + self, + namespace, + name, + **kwargs + ): + """get_event_source # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_event_source(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1EventSource + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.get_event_source_endpoint.call_with_http_info(**kwargs) + + def list_event_sources( + self, + namespace, + **kwargs + ): + """list_event_sources # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_event_sources(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1EventSourceList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.list_event_sources_endpoint.call_with_http_info(**kwargs) + + def update_event_source( + self, + namespace, + name, + body, + **kwargs + ): + """update_event_source # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_event_source(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (EventsourceUpdateEventSourceRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1EventSource + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.update_event_source_endpoint.call_with_http_info(**kwargs) + + def watch_event_sources( + self, + namespace, + **kwargs + ): + """watch_event_sources # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.watch_event_sources(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfEventsourceEventSourceWatchEvent + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.watch_event_sources_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/info_service_api.py b/sdks/python/client/argo_workflows/api/info_service_api.py index 3c3f33b701dd..bdbdf4312e37 100644 --- a/sdks/python/client/argo_workflows/api/info_service_api.py +++ b/sdks/python/client/argo_workflows/api/info_service_api.py @@ -39,73 +39,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __collect_event( - self, - body, - **kwargs - ): - """collect_event # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.collect_event(body, async_req=True) - >>> result = thread.get() - - Args: - body (IoArgoprojWorkflowV1alpha1CollectEventRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.collect_event = _Endpoint( + self.collect_event_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -155,71 +89,9 @@ def __collect_event( 'application/json' ] }, - api_client=api_client, - callable=__collect_event - ) - - def __get_info( - self, - **kwargs - ): - """get_info # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_info(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1InfoResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.get_info = _Endpoint( + api_client=api_client + ) + self.get_info_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1InfoResponse,), 'auth': [ @@ -261,71 +133,9 @@ def __get_info( ], 'content_type': [], }, - api_client=api_client, - callable=__get_info - ) - - def __get_user_info( - self, - **kwargs - ): - """get_user_info # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_user_info(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1GetUserInfoResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.get_user_info = _Endpoint( + api_client=api_client + ) + self.get_user_info_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1GetUserInfoResponse,), 'auth': [ @@ -367,71 +177,9 @@ def __get_user_info( ], 'content_type': [], }, - api_client=api_client, - callable=__get_user_info - ) - - def __get_version( - self, - **kwargs - ): - """get_version # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_version(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Version - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.call_with_http_info(**kwargs) - - self.get_version = _Endpoint( + api_client=api_client + ) + self.get_version_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Version,), 'auth': [ @@ -473,6 +221,299 @@ def __get_version( ], 'content_type': [], }, - api_client=api_client, - callable=__get_version + api_client=api_client + ) + + def collect_event( + self, + body, + **kwargs + ): + """collect_event # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collect_event(body, async_req=True) + >>> result = thread.get() + + Args: + body (IoArgoprojWorkflowV1alpha1CollectEventRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['body'] = \ + body + return self.collect_event_endpoint.call_with_http_info(**kwargs) + + def get_info( + self, + **kwargs + ): + """get_info # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_info(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1InfoResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.get_info_endpoint.call_with_http_info(**kwargs) + + def get_user_info( + self, + **kwargs + ): + """get_user_info # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_info(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1GetUserInfoResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.get_user_info_endpoint.call_with_http_info(**kwargs) + + def get_version( + self, + **kwargs + ): + """get_version # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_version(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Version + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.get_version_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/sensor_service_api.py b/sdks/python/client/argo_workflows/api/sensor_service_api.py index a7f18512ecf4..382df6602135 100644 --- a/sdks/python/client/argo_workflows/api/sensor_service_api.py +++ b/sdks/python/client/argo_workflows/api/sensor_service_api.py @@ -41,77 +41,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __create_sensor( - self, - namespace, - body, - **kwargs - ): - """create_sensor # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_sensor(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (SensorCreateSensorRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1Sensor - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.create_sensor = _Endpoint( + self.create_sensor_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1Sensor,), 'auth': [ @@ -167,86 +97,9 @@ def __create_sensor( 'application/json' ] }, - api_client=api_client, - callable=__create_sensor + api_client=api_client ) - - def __delete_sensor( - self, - namespace, - name, - **kwargs - ): - """delete_sensor # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_sensor(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] - delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] - delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] - delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] - delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] - delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.delete_sensor = _Endpoint( + self.delete_sensor_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -332,81 +185,9 @@ def __delete_sensor( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_sensor + api_client=api_client ) - - def __get_sensor( - self, - namespace, - name, - **kwargs - ): - """get_sensor # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_sensor(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1Sensor - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.get_sensor = _Endpoint( + self.get_sensor_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1Sensor,), 'auth': [ @@ -466,85 +247,9 @@ def __get_sensor( ], 'content_type': [], }, - api_client=api_client, - callable=__get_sensor + api_client=api_client ) - - def __list_sensors( - self, - namespace, - **kwargs - ): - """list_sensors # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_sensors(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1SensorList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.list_sensors = _Endpoint( + self.list_sensors_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1SensorList,), 'auth': [ @@ -638,89 +343,9 @@ def __list_sensors( ], 'content_type': [], }, - api_client=api_client, - callable=__list_sensors + api_client=api_client ) - - def __sensors_logs( - self, - namespace, - **kwargs - ): - """sensors_logs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.sensors_logs(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - name (str): optional - only return entries for this sensor name.. [optional] - trigger_name (str): optional - only return entries for this trigger.. [optional] - grep (str): option - only return entries where `msg` contains this regular expressions.. [optional] - pod_log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] - pod_log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] - pod_log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] - pod_log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] - pod_log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] - pod_log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] - pod_log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] - pod_log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] - pod_log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] - pod_log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfSensorLogEntry - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.sensors_logs = _Endpoint( + self.sensors_logs_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfSensorLogEntry,), 'auth': [ @@ -834,84 +459,9 @@ def __sensors_logs( ], 'content_type': [], }, - api_client=api_client, - callable=__sensors_logs + api_client=api_client ) - - def __update_sensor( - self, - namespace, - name, - body, - **kwargs - ): - """update_sensor # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_sensor(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (SensorUpdateSensorRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojEventsV1alpha1Sensor - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.update_sensor = _Endpoint( + self.update_sensor_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojEventsV1alpha1Sensor,), 'auth': [ @@ -973,85 +523,9 @@ def __update_sensor( 'application/json' ] }, - api_client=api_client, - callable=__update_sensor + api_client=api_client ) - - def __watch_sensors( - self, - namespace, - **kwargs - ): - """watch_sensors # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.watch_sensors(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfSensorSensorWatchEvent - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.watch_sensors = _Endpoint( + self.watch_sensors_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfSensorSensorWatchEvent,), 'auth': [ @@ -1145,6 +619,603 @@ def __watch_sensors( ], 'content_type': [], }, - api_client=api_client, - callable=__watch_sensors + api_client=api_client + ) + + def create_sensor( + self, + namespace, + body, + **kwargs + ): + """create_sensor # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_sensor(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (SensorCreateSensorRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1Sensor + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.create_sensor_endpoint.call_with_http_info(**kwargs) + + def delete_sensor( + self, + namespace, + name, + **kwargs + ): + """delete_sensor # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_sensor(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] + delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] + delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] + delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] + delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] + delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.delete_sensor_endpoint.call_with_http_info(**kwargs) + + def get_sensor( + self, + namespace, + name, + **kwargs + ): + """get_sensor # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_sensor(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1Sensor + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.get_sensor_endpoint.call_with_http_info(**kwargs) + + def list_sensors( + self, + namespace, + **kwargs + ): + """list_sensors # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_sensors(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1SensorList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.list_sensors_endpoint.call_with_http_info(**kwargs) + + def sensors_logs( + self, + namespace, + **kwargs + ): + """sensors_logs # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.sensors_logs(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + name (str): optional - only return entries for this sensor name.. [optional] + trigger_name (str): optional - only return entries for this trigger.. [optional] + grep (str): option - only return entries where `msg` contains this regular expressions.. [optional] + pod_log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] + pod_log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] + pod_log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] + pod_log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] + pod_log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] + pod_log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] + pod_log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] + pod_log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] + pod_log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] + pod_log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfSensorLogEntry + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.sensors_logs_endpoint.call_with_http_info(**kwargs) + + def update_sensor( + self, + namespace, + name, + body, + **kwargs + ): + """update_sensor # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_sensor(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (SensorUpdateSensorRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojEventsV1alpha1Sensor + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.update_sensor_endpoint.call_with_http_info(**kwargs) + + def watch_sensors( + self, + namespace, + **kwargs + ): + """watch_sensors # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.watch_sensors(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfSensorSensorWatchEvent + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.watch_sensors_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/workflow_service_api.py b/sdks/python/client/argo_workflows/api/workflow_service_api.py index 3e629bf0740e..d5e490b03bfe 100644 --- a/sdks/python/client/argo_workflows/api/workflow_service_api.py +++ b/sdks/python/client/argo_workflows/api/workflow_service_api.py @@ -50,77 +50,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __create_workflow( - self, - namespace, - body, - **kwargs - ): - """create_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_workflow(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1WorkflowCreateRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.create_workflow = _Endpoint( + self.create_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -176,87 +106,9 @@ def __create_workflow( 'application/json' ] }, - api_client=api_client, - callable=__create_workflow - ) - - def __delete_workflow( - self, - namespace, - name, - **kwargs - ): - """delete_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_workflow(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] - delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] - delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] - delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] - delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] - delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] - force (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.delete_workflow = _Endpoint( + api_client=api_client + ) + self.delete_workflow_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -347,82 +199,9 @@ def __delete_workflow( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_workflow - ) - - def __get_workflow( - self, - namespace, - name, - **kwargs - ): - """get_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_workflow(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - fields (str): Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\".. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.get_workflow = _Endpoint( + api_client=api_client + ) + self.get_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -487,80 +266,9 @@ def __get_workflow( ], 'content_type': [], }, - api_client=api_client, - callable=__get_workflow - ) - - def __lint_workflow( - self, - namespace, - body, - **kwargs - ): - """lint_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.lint_workflow(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1WorkflowLintRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.lint_workflow = _Endpoint( + api_client=api_client + ) + self.lint_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -616,86 +324,9 @@ def __lint_workflow( 'application/json' ] }, - api_client=api_client, - callable=__lint_workflow - ) - - def __list_workflows( - self, - namespace, - **kwargs - ): - """list_workflows # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_workflows(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - fields (str): Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\".. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.list_workflows = _Endpoint( + api_client=api_client + ) + self.list_workflows_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowList,), 'auth': [ @@ -794,96 +425,9 @@ def __list_workflows( ], 'content_type': [], }, - api_client=api_client, - callable=__list_workflows - ) - - def __pod_logs( - self, - namespace, - name, - pod_name, - **kwargs - ): - """DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.pod_logs(namespace, name, pod_name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - pod_name (str): - - Keyword Args: - log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] - log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] - log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] - log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] - log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] - log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] - log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] - log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] - log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] - log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] - grep (str): [optional] - selector (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['pod_name'] = \ - pod_name - return self.call_with_http_info(**kwargs) - - self.pod_logs = _Endpoint( + api_client=api_client + ) + self.pod_logs_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry,), 'auth': [ @@ -1004,84 +548,9 @@ def __pod_logs( ], 'content_type': [], }, - api_client=api_client, - callable=__pod_logs - ) - - def __resubmit_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """resubmit_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.resubmit_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.resubmit_workflow = _Endpoint( + api_client=api_client + ) + self.resubmit_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1143,84 +612,9 @@ def __resubmit_workflow( 'application/json' ] }, - api_client=api_client, - callable=__resubmit_workflow - ) - - def __resume_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """resume_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.resume_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowResumeRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.resume_workflow = _Endpoint( + api_client=api_client + ) + self.resume_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1282,84 +676,9 @@ def __resume_workflow( 'application/json' ] }, - api_client=api_client, - callable=__resume_workflow - ) - - def __retry_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """retry_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.retry_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowRetryRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.retry_workflow = _Endpoint( + api_client=api_client + ) + self.retry_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1421,84 +740,9 @@ def __retry_workflow( 'application/json' ] }, - api_client=api_client, - callable=__retry_workflow - ) - - def __set_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """set_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowSetRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.set_workflow = _Endpoint( + api_client=api_client + ) + self.set_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1560,84 +804,9 @@ def __set_workflow( 'application/json' ] }, - api_client=api_client, - callable=__set_workflow - ) - - def __stop_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """stop_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.stop_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowStopRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.stop_workflow = _Endpoint( + api_client=api_client + ) + self.stop_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1699,80 +868,9 @@ def __stop_workflow( 'application/json' ] }, - api_client=api_client, - callable=__stop_workflow - ) - - def __submit_workflow( - self, - namespace, - body, - **kwargs - ): - """submit_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.submit_workflow(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.submit_workflow = _Endpoint( + api_client=api_client + ) + self.submit_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1828,84 +926,9 @@ def __submit_workflow( 'application/json' ] }, - api_client=api_client, - callable=__submit_workflow - ) - - def __suspend_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """suspend_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.suspend_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.suspend_workflow = _Endpoint( + api_client=api_client + ) + self.suspend_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -1967,84 +990,9 @@ def __suspend_workflow( 'application/json' ] }, - api_client=api_client, - callable=__suspend_workflow - ) - - def __terminate_workflow( - self, - namespace, - name, - body, - **kwargs - ): - """terminate_workflow # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.terminate_workflow(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - body (IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1Workflow - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.terminate_workflow = _Endpoint( + api_client=api_client + ) + self.terminate_workflow_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1Workflow,), 'auth': [ @@ -2106,85 +1054,9 @@ def __terminate_workflow( 'application/json' ] }, - api_client=api_client, - callable=__terminate_workflow - ) - - def __watch_events( - self, - namespace, - **kwargs - ): - """watch_events # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.watch_events(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfEvent - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.watch_events = _Endpoint( + api_client=api_client + ) + self.watch_events_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfEvent,), 'auth': [ @@ -2278,86 +1150,9 @@ def __watch_events( ], 'content_type': [], }, - api_client=api_client, - callable=__watch_events - ) - - def __watch_workflows( - self, - namespace, - **kwargs - ): - """watch_workflows # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.watch_workflows(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - fields (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.watch_workflows = _Endpoint( + api_client=api_client + ) + self.watch_workflows_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent,), 'auth': [ @@ -2456,93 +1251,9 @@ def __watch_workflows( ], 'content_type': [], }, - api_client=api_client, - callable=__watch_workflows - ) - - def __workflow_logs( - self, - namespace, - name, - **kwargs - ): - """workflow_logs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.workflow_logs(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - pod_name (str): [optional] - log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] - log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] - log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] - log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] - log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] - log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] - log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] - log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] - log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] - log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] - grep (str): [optional] - selector (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.workflow_logs = _Endpoint( + api_client=api_client + ) + self.workflow_logs_endpoint = _Endpoint( settings={ 'response_type': (StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry,), 'auth': [ @@ -2662,6 +1373,1466 @@ def __workflow_logs( ], 'content_type': [], }, - api_client=api_client, - callable=__workflow_logs + api_client=api_client + ) + + def create_workflow( + self, + namespace, + body, + **kwargs + ): + """create_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_workflow(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1WorkflowCreateRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.create_workflow_endpoint.call_with_http_info(**kwargs) + + def delete_workflow( + self, + namespace, + name, + **kwargs + ): + """delete_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_workflow(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] + delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] + delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] + delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] + delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] + delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] + force (bool): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.delete_workflow_endpoint.call_with_http_info(**kwargs) + + def get_workflow( + self, + namespace, + name, + **kwargs + ): + """get_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_workflow(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + fields (str): Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\".. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.get_workflow_endpoint.call_with_http_info(**kwargs) + + def lint_workflow( + self, + namespace, + body, + **kwargs + ): + """lint_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.lint_workflow(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1WorkflowLintRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.lint_workflow_endpoint.call_with_http_info(**kwargs) + + def list_workflows( + self, + namespace, + **kwargs + ): + """list_workflows # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_workflows(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + fields (str): Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\".. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.list_workflows_endpoint.call_with_http_info(**kwargs) + + def pod_logs( + self, + namespace, + name, + pod_name, + **kwargs + ): + """DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.pod_logs(namespace, name, pod_name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + pod_name (str): + + Keyword Args: + log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] + log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] + log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] + log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] + log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] + log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] + log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] + log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] + log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] + log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] + grep (str): [optional] + selector (str): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['pod_name'] = \ + pod_name + return self.pod_logs_endpoint.call_with_http_info(**kwargs) + + def resubmit_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """resubmit_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.resubmit_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.resubmit_workflow_endpoint.call_with_http_info(**kwargs) + + def resume_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """resume_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.resume_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowResumeRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.resume_workflow_endpoint.call_with_http_info(**kwargs) + + def retry_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """retry_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.retry_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowRetryRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.retry_workflow_endpoint.call_with_http_info(**kwargs) + + def set_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """set_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowSetRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.set_workflow_endpoint.call_with_http_info(**kwargs) + + def stop_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """stop_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.stop_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowStopRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.stop_workflow_endpoint.call_with_http_info(**kwargs) + + def submit_workflow( + self, + namespace, + body, + **kwargs + ): + """submit_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_workflow(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.submit_workflow_endpoint.call_with_http_info(**kwargs) + + def suspend_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """suspend_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.suspend_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.suspend_workflow_endpoint.call_with_http_info(**kwargs) + + def terminate_workflow( + self, + namespace, + name, + body, + **kwargs + ): + """terminate_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.terminate_workflow(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + body (IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1Workflow + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.terminate_workflow_endpoint.call_with_http_info(**kwargs) + + def watch_events( + self, + namespace, + **kwargs + ): + """watch_events # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.watch_events(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfEvent + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.watch_events_endpoint.call_with_http_info(**kwargs) + + def watch_workflows( + self, + namespace, + **kwargs + ): + """watch_workflows # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.watch_workflows(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + fields (str): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.watch_workflows_endpoint.call_with_http_info(**kwargs) + + def workflow_logs( + self, + namespace, + name, + **kwargs + ): + """workflow_logs # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.workflow_logs(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + pod_name (str): [optional] + log_options_container (str): The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional.. [optional] + log_options_follow (bool): Follow the log stream of the pod. Defaults to false. +optional.. [optional] + log_options_previous (bool): Return previous terminated container logs. Defaults to false. +optional.. [optional] + log_options_since_seconds (str): A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional.. [optional] + log_options_since_time_seconds (str): Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.. [optional] + log_options_since_time_nanos (int): Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.. [optional] + log_options_timestamps (bool): If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional.. [optional] + log_options_tail_lines (str): If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional.. [optional] + log_options_limit_bytes (str): If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional.. [optional] + log_options_insecure_skip_tls_verify_backend (bool): insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional.. [optional] + grep (str): [optional] + selector (str): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.workflow_logs_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api/workflow_template_service_api.py b/sdks/python/client/argo_workflows/api/workflow_template_service_api.py index 6e502b91a1e0..ff914179378c 100644 --- a/sdks/python/client/argo_workflows/api/workflow_template_service_api.py +++ b/sdks/python/client/argo_workflows/api/workflow_template_service_api.py @@ -40,77 +40,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - - def __create_workflow_template( - self, - namespace, - body, - **kwargs - ): - """create_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_workflow_template(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.create_workflow_template = _Endpoint( + self.create_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowTemplate,), 'auth': [ @@ -166,86 +96,9 @@ def __create_workflow_template( 'application/json' ] }, - api_client=api_client, - callable=__create_workflow_template - ) - - def __delete_workflow_template( - self, - namespace, - name, - **kwargs - ): - """delete_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_workflow_template(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] - delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] - delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] - delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] - delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] - delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - bool, date, datetime, dict, float, int, list, str, none_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.delete_workflow_template = _Endpoint( + api_client=api_client + ) + self.delete_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (bool, date, datetime, dict, float, int, list, str, none_type,), 'auth': [ @@ -331,81 +184,9 @@ def __delete_workflow_template( ], 'content_type': [], }, - api_client=api_client, - callable=__delete_workflow_template - ) - - def __get_workflow_template( - self, - namespace, - name, - **kwargs - ): - """get_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_workflow_template(namespace, name, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): - - Keyword Args: - get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - return self.call_with_http_info(**kwargs) - - self.get_workflow_template = _Endpoint( + api_client=api_client + ) + self.get_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowTemplate,), 'auth': [ @@ -465,80 +246,9 @@ def __get_workflow_template( ], 'content_type': [], }, - api_client=api_client, - callable=__get_workflow_template - ) - - def __lint_workflow_template( - self, - namespace, - body, - **kwargs - ): - """lint_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.lint_workflow_template(namespace, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - body (IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.lint_workflow_template = _Endpoint( + api_client=api_client + ) + self.lint_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowTemplate,), 'auth': [ @@ -594,85 +304,9 @@ def __lint_workflow_template( 'application/json' ] }, - api_client=api_client, - callable=__lint_workflow_template - ) - - def __list_workflow_templates( - self, - namespace, - **kwargs - ): - """list_workflow_templates # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_workflow_templates(namespace, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - - Keyword Args: - list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] - list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] - list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] - list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] - list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] - list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] - list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] - list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowTemplateList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - return self.call_with_http_info(**kwargs) - - self.list_workflow_templates = _Endpoint( + api_client=api_client + ) + self.list_workflow_templates_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowTemplateList,), 'auth': [ @@ -766,84 +400,9 @@ def __list_workflow_templates( ], 'content_type': [], }, - api_client=api_client, - callable=__list_workflow_templates - ) - - def __update_workflow_template( - self, - namespace, - name, - body, - **kwargs - ): - """update_workflow_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_workflow_template(namespace, name, body, async_req=True) - >>> result = thread.get() - - Args: - namespace (str): - name (str): DEPRECATED: This field is ignored. - body (IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - IoArgoprojWorkflowV1alpha1WorkflowTemplate - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['namespace'] = \ - namespace - kwargs['name'] = \ - name - kwargs['body'] = \ - body - return self.call_with_http_info(**kwargs) - - self.update_workflow_template = _Endpoint( + api_client=api_client + ) + self.update_workflow_template_endpoint = _Endpoint( settings={ 'response_type': (IoArgoprojWorkflowV1alpha1WorkflowTemplate,), 'auth': [ @@ -905,6 +464,508 @@ def __update_workflow_template( 'application/json' ] }, - api_client=api_client, - callable=__update_workflow_template + api_client=api_client + ) + + def create_workflow_template( + self, + namespace, + body, + **kwargs + ): + """create_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_workflow_template(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.create_workflow_template_endpoint.call_with_http_info(**kwargs) + + def delete_workflow_template( + self, + namespace, + name, + **kwargs + ): + """delete_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_workflow_template(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + delete_options_grace_period_seconds (str): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional.. [optional] + delete_options_preconditions_uid (str): Specifies the target UID. +optional.. [optional] + delete_options_preconditions_resource_version (str): Specifies the target ResourceVersion +optional.. [optional] + delete_options_orphan_dependents (bool): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional.. [optional] + delete_options_propagation_policy (str): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional.. [optional] + delete_options_dry_run ([str]): When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + bool, date, datetime, dict, float, int, list, str, none_type + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.delete_workflow_template_endpoint.call_with_http_info(**kwargs) + + def get_workflow_template( + self, + namespace, + name, + **kwargs + ): + """get_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_workflow_template(namespace, name, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): + + Keyword Args: + get_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + return self.get_workflow_template_endpoint.call_with_http_info(**kwargs) + + def lint_workflow_template( + self, + namespace, + body, + **kwargs + ): + """lint_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.lint_workflow_template(namespace, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + body (IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['body'] = \ + body + return self.lint_workflow_template_endpoint.call_with_http_info(**kwargs) + + def list_workflow_templates( + self, + namespace, + **kwargs + ): + """list_workflow_templates # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_workflow_templates(namespace, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + + Keyword Args: + list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] + list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] + list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] + list_options_allow_watch_bookmarks (bool): allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional.. [optional] + list_options_resource_version (str): resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_resource_version_match (str): resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional. [optional] + list_options_timeout_seconds (str): Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.. [optional] + list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] + list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowTemplateList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + return self.list_workflow_templates_endpoint.call_with_http_info(**kwargs) + + def update_workflow_template( + self, + namespace, + name, + body, + **kwargs + ): + """update_workflow_template # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_workflow_template(namespace, name, body, async_req=True) + >>> result = thread.get() + + Args: + namespace (str): + name (str): DEPRECATED: This field is ignored. + body (IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + IoArgoprojWorkflowV1alpha1WorkflowTemplate + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['namespace'] = \ + namespace + kwargs['name'] = \ + name + kwargs['body'] = \ + body + return self.update_workflow_template_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/python/client/argo_workflows/api_client.py b/sdks/python/client/argo_workflows/api_client.py index 6dd0000bece2..f8563fd8158d 100644 --- a/sdks/python/client/argo_workflows/api_client.py +++ b/sdks/python/client/argo_workflows/api_client.py @@ -131,7 +131,8 @@ def __call_api( _preload_content: bool = True, _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None + _check_type: typing.Optional[bool] = None, + _content_type: typing.Optional[str] = None ): config = self.configuration @@ -572,10 +573,12 @@ def select_header_accept(self, accepts): else: return ', '.join(accepts) - def select_header_content_type(self, content_types): + def select_header_content_type(self, content_types, method=None, body=None): """Returns `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. + :param method: http method (e.g. POST, PATCH). + :param body: http body to send. :return: Content-Type (e.g. application/json). """ if not content_types: @@ -583,17 +586,22 @@ def select_header_content_type(self, content_types): content_types = [x.lower() for x in content_types] + if (method == 'PATCH' and + 'application/json-patch+json' in content_types and + isinstance(body, list)): + return 'application/json-patch+json' + if 'application/json' in content_types or '*/*' in content_types: return 'application/json' else: return content_types[0] - def update_params_for_auth(self, headers, querys, auth_settings, + def update_params_for_auth(self, headers, queries, auth_settings, resource_path, method, body): """Updates header and query params based on authentication setting. :param headers: Header parameters dict to be updated. - :param querys: Query parameters tuple list to be updated. + :param queries: Query parameters tuple list to be updated. :param auth_settings: Authentication setting identifiers list. :param resource_path: A string representation of the HTTP request resource path. :param method: A string representation of the HTTP request method. @@ -612,7 +620,7 @@ def update_params_for_auth(self, headers, querys, auth_settings, if auth_setting['type'] != 'http-signature': headers[auth_setting['key']] = auth_setting['value'] elif auth_setting['in'] == 'query': - querys.append((auth_setting['key'], auth_setting['value'])) + queries.append((auth_setting['key'], auth_setting['value'])) else: raise ApiValueError( 'Authentication token must be in `query` or `header`' @@ -664,7 +672,9 @@ def __init__(self, settings=None, params_map=None, root_map=None, '_request_timeout', '_return_http_data_only', '_check_input_type', - '_check_return_type' + '_check_return_type', + '_content_type', + '_spec_property_naming' ]) self.params_map['nullable'].extend(['_request_timeout']) self.validations = root_map['validations'] @@ -677,7 +687,9 @@ def __init__(self, settings=None, params_map=None, root_map=None, '_request_timeout': (none_type, float, (float,), [float], int, (int,), [int]), '_return_http_data_only': (bool,), '_check_input_type': (bool,), - '_check_return_type': (bool,) + '_check_return_type': (bool,), + '_spec_property_naming': (bool,), + '_content_type': (none_type, str) } self.openapi_types.update(extra_types) self.attribute_map = root_map['attribute_map'] @@ -713,7 +725,7 @@ def __validate_inputs(self, kwargs): value, self.openapi_types[key], [key], - False, + kwargs['_spec_property_naming'], kwargs['_check_input_type'], configuration=self.api_client.configuration ) @@ -741,11 +753,11 @@ def __gather_params(self, kwargs): base_name = self.attribute_map[param_name] if (param_location == 'form' and self.openapi_types[param_name] == (file_type,)): - params['file'][param_name] = [param_value] + params['file'][base_name] = [param_value] elif (param_location == 'form' and self.openapi_types[param_name] == ([file_type],)): # param_value is already a list - params['file'][param_name] = param_value + params['file'][base_name] = param_value elif param_location in {'form', 'query'}: param_value_full = (base_name, param_value) params[param_location].append(param_value_full) @@ -824,11 +836,16 @@ def call_with_http_info(self, **kwargs): params['header']['Accept'] = self.api_client.select_header_accept( accept_headers_list) - content_type_headers_list = self.headers_map['content_type'] - if content_type_headers_list: - header_list = self.api_client.select_header_content_type( - content_type_headers_list) - params['header']['Content-Type'] = header_list + if kwargs.get('_content_type'): + params['header']['Content-Type'] = kwargs['_content_type'] + else: + content_type_headers_list = self.headers_map['content_type'] + if content_type_headers_list: + if params['body'] != "": + header_list = self.api_client.select_header_content_type( + content_type_headers_list, self.settings['http_method'], + params['body']) + params['header']['Content-Type'] = header_list return self.api_client.call_api( self.settings['endpoint_path'], self.settings['http_method'], diff --git a/sdks/python/client/argo_workflows/configuration.py b/sdks/python/client/argo_workflows/configuration.py index a6a7001ea5f2..9a697d86bdde 100644 --- a/sdks/python/client/argo_workflows/configuration.py +++ b/sdks/python/client/argo_workflows/configuration.py @@ -73,7 +73,7 @@ class Configuration(object): :param server_operation_variables: Mapping from operation ID to a mapping with string values to replace variables in templated server configuration. The validation of enums is performed for variables with defined enum values before. - :param ssl_ca_cert: str - the path to a file of concatenated CA certificates + :param ssl_ca_cert: str - the path to a file of concatenated CA certificates in PEM format :Example: @@ -199,6 +199,9 @@ def __init__(self, host=None, self.proxy = None """Proxy URL """ + self.no_proxy = None + """bypass proxy for host in the no_proxy list. + """ self.proxy_headers = None """Proxy headers """ diff --git a/sdks/python/client/argo_workflows/model/affinity.py b/sdks/python/client/argo_workflows/model/affinity.py index 24257118d15c..9cc4e044e2fd 100644 --- a/sdks/python/client/argo_workflows/model/affinity.py +++ b/sdks/python/client/argo_workflows/model/affinity.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/aws_elastic_block_store_volume_source.py b/sdks/python/client/argo_workflows/model/aws_elastic_block_store_volume_source.py index 55423e89df3f..d06c0e1d7f3d 100644 --- a/sdks/python/client/argo_workflows/model/aws_elastic_block_store_volume_source.py +++ b/sdks/python/client/argo_workflows/model/aws_elastic_block_store_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/azure_disk_volume_source.py b/sdks/python/client/argo_workflows/model/azure_disk_volume_source.py index a07bf6178a8e..28da76998365 100644 --- a/sdks/python/client/argo_workflows/model/azure_disk_volume_source.py +++ b/sdks/python/client/argo_workflows/model/azure_disk_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/azure_file_volume_source.py b/sdks/python/client/argo_workflows/model/azure_file_volume_source.py index 1c2b88ed5ec3..8ae41e74411e 100644 --- a/sdks/python/client/argo_workflows/model/azure_file_volume_source.py +++ b/sdks/python/client/argo_workflows/model/azure_file_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/capabilities.py b/sdks/python/client/argo_workflows/model/capabilities.py index 09ff126c15a5..f302c6b26512 100644 --- a/sdks/python/client/argo_workflows/model/capabilities.py +++ b/sdks/python/client/argo_workflows/model/capabilities.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/ceph_fs_volume_source.py b/sdks/python/client/argo_workflows/model/ceph_fs_volume_source.py index 2825c372294a..fdc177f28296 100644 --- a/sdks/python/client/argo_workflows/model/ceph_fs_volume_source.py +++ b/sdks/python/client/argo_workflows/model/ceph_fs_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/cinder_volume_source.py b/sdks/python/client/argo_workflows/model/cinder_volume_source.py index fb0fe950a4ed..7e969b8ee3ea 100644 --- a/sdks/python/client/argo_workflows/model/cinder_volume_source.py +++ b/sdks/python/client/argo_workflows/model/cinder_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/config_map_env_source.py b/sdks/python/client/argo_workflows/model/config_map_env_source.py index b1474befbaf5..b604751d8d7d 100644 --- a/sdks/python/client/argo_workflows/model/config_map_env_source.py +++ b/sdks/python/client/argo_workflows/model/config_map_env_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/config_map_key_selector.py b/sdks/python/client/argo_workflows/model/config_map_key_selector.py index f4384409db0c..46a56b234f1e 100644 --- a/sdks/python/client/argo_workflows/model/config_map_key_selector.py +++ b/sdks/python/client/argo_workflows/model/config_map_key_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/config_map_projection.py b/sdks/python/client/argo_workflows/model/config_map_projection.py index 298ed1270066..e6d5d2f94efa 100644 --- a/sdks/python/client/argo_workflows/model/config_map_projection.py +++ b/sdks/python/client/argo_workflows/model/config_map_projection.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/config_map_volume_source.py b/sdks/python/client/argo_workflows/model/config_map_volume_source.py index af854c2dbefc..236120f00235 100644 --- a/sdks/python/client/argo_workflows/model/config_map_volume_source.py +++ b/sdks/python/client/argo_workflows/model/config_map_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/container.py b/sdks/python/client/argo_workflows/model/container.py index ee0f6cbeac32..77764b1db7bf 100644 --- a/sdks/python/client/argo_workflows/model/container.py +++ b/sdks/python/client/argo_workflows/model/container.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/container_port.py b/sdks/python/client/argo_workflows/model/container_port.py index 8dae0ca17cac..3f95a5f57fbf 100644 --- a/sdks/python/client/argo_workflows/model/container_port.py +++ b/sdks/python/client/argo_workflows/model/container_port.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/create_options.py b/sdks/python/client/argo_workflows/model/create_options.py index 469c08a2c548..a8a72a4000d7 100644 --- a/sdks/python/client/argo_workflows/model/create_options.py +++ b/sdks/python/client/argo_workflows/model/create_options.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/csi_volume_source.py b/sdks/python/client/argo_workflows/model/csi_volume_source.py index fe201ffdb9e7..74ede9362abf 100644 --- a/sdks/python/client/argo_workflows/model/csi_volume_source.py +++ b/sdks/python/client/argo_workflows/model/csi_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/downward_api_projection.py b/sdks/python/client/argo_workflows/model/downward_api_projection.py index 5e8a8ff3add3..c8affedc6533 100644 --- a/sdks/python/client/argo_workflows/model/downward_api_projection.py +++ b/sdks/python/client/argo_workflows/model/downward_api_projection.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/downward_api_volume_file.py b/sdks/python/client/argo_workflows/model/downward_api_volume_file.py index a5e1a51d5d31..fd3a6873a2c5 100644 --- a/sdks/python/client/argo_workflows/model/downward_api_volume_file.py +++ b/sdks/python/client/argo_workflows/model/downward_api_volume_file.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/downward_api_volume_source.py b/sdks/python/client/argo_workflows/model/downward_api_volume_source.py index e7e84a2dc1c3..1750796760b8 100644 --- a/sdks/python/client/argo_workflows/model/downward_api_volume_source.py +++ b/sdks/python/client/argo_workflows/model/downward_api_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/empty_dir_volume_source.py b/sdks/python/client/argo_workflows/model/empty_dir_volume_source.py index fa88a35b8bda..a2dce818732f 100644 --- a/sdks/python/client/argo_workflows/model/empty_dir_volume_source.py +++ b/sdks/python/client/argo_workflows/model/empty_dir_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/env_from_source.py b/sdks/python/client/argo_workflows/model/env_from_source.py index f5794a2c93f6..0f1ff95f7ff4 100644 --- a/sdks/python/client/argo_workflows/model/env_from_source.py +++ b/sdks/python/client/argo_workflows/model/env_from_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/env_var.py b/sdks/python/client/argo_workflows/model/env_var.py index 43ecd2c32ea2..c4bba5175e1f 100644 --- a/sdks/python/client/argo_workflows/model/env_var.py +++ b/sdks/python/client/argo_workflows/model/env_var.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/env_var_source.py b/sdks/python/client/argo_workflows/model/env_var_source.py index 3cd1ed01c2f5..3f31c1080709 100644 --- a/sdks/python/client/argo_workflows/model/env_var_source.py +++ b/sdks/python/client/argo_workflows/model/env_var_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/ephemeral_volume_source.py b/sdks/python/client/argo_workflows/model/ephemeral_volume_source.py index c4ba8f6466ad..785e7a48040c 100644 --- a/sdks/python/client/argo_workflows/model/ephemeral_volume_source.py +++ b/sdks/python/client/argo_workflows/model/ephemeral_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/event.py b/sdks/python/client/argo_workflows/model/event.py index 0ee2e20d78ae..5ce36856f4ed 100644 --- a/sdks/python/client/argo_workflows/model/event.py +++ b/sdks/python/client/argo_workflows/model/event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/event_series.py b/sdks/python/client/argo_workflows/model/event_series.py index 4da805b4c5f3..ed02b56037cc 100644 --- a/sdks/python/client/argo_workflows/model/event_series.py +++ b/sdks/python/client/argo_workflows/model/event_series.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/event_source.py b/sdks/python/client/argo_workflows/model/event_source.py index dd0bae1aec30..123e5850449d 100644 --- a/sdks/python/client/argo_workflows/model/event_source.py +++ b/sdks/python/client/argo_workflows/model/event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/eventsource_create_event_source_request.py b/sdks/python/client/argo_workflows/model/eventsource_create_event_source_request.py index 64d0c7c76094..01e4d079d78f 100644 --- a/sdks/python/client/argo_workflows/model/eventsource_create_event_source_request.py +++ b/sdks/python/client/argo_workflows/model/eventsource_create_event_source_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/eventsource_event_source_watch_event.py b/sdks/python/client/argo_workflows/model/eventsource_event_source_watch_event.py index 5f0684f4aa02..4fc89c7bfeeb 100644 --- a/sdks/python/client/argo_workflows/model/eventsource_event_source_watch_event.py +++ b/sdks/python/client/argo_workflows/model/eventsource_event_source_watch_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/eventsource_log_entry.py b/sdks/python/client/argo_workflows/model/eventsource_log_entry.py index d2ac6f28415a..afe492a7dca6 100644 --- a/sdks/python/client/argo_workflows/model/eventsource_log_entry.py +++ b/sdks/python/client/argo_workflows/model/eventsource_log_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/eventsource_update_event_source_request.py b/sdks/python/client/argo_workflows/model/eventsource_update_event_source_request.py index 212c1244259c..de7e935cf318 100644 --- a/sdks/python/client/argo_workflows/model/eventsource_update_event_source_request.py +++ b/sdks/python/client/argo_workflows/model/eventsource_update_event_source_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/exec_action.py b/sdks/python/client/argo_workflows/model/exec_action.py index d4df0417a630..2b7055b8a6ba 100644 --- a/sdks/python/client/argo_workflows/model/exec_action.py +++ b/sdks/python/client/argo_workflows/model/exec_action.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/fc_volume_source.py b/sdks/python/client/argo_workflows/model/fc_volume_source.py index 9049a5c6441d..f2a821698a92 100644 --- a/sdks/python/client/argo_workflows/model/fc_volume_source.py +++ b/sdks/python/client/argo_workflows/model/fc_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/flex_volume_source.py b/sdks/python/client/argo_workflows/model/flex_volume_source.py index 1dfa89fe89d6..8ca5de111e78 100644 --- a/sdks/python/client/argo_workflows/model/flex_volume_source.py +++ b/sdks/python/client/argo_workflows/model/flex_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/flocker_volume_source.py b/sdks/python/client/argo_workflows/model/flocker_volume_source.py index 29c3f86ba672..1df427e472a6 100644 --- a/sdks/python/client/argo_workflows/model/flocker_volume_source.py +++ b/sdks/python/client/argo_workflows/model/flocker_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/gce_persistent_disk_volume_source.py b/sdks/python/client/argo_workflows/model/gce_persistent_disk_volume_source.py index dc65ce107c6b..19be03a14705 100644 --- a/sdks/python/client/argo_workflows/model/gce_persistent_disk_volume_source.py +++ b/sdks/python/client/argo_workflows/model/gce_persistent_disk_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/git_repo_volume_source.py b/sdks/python/client/argo_workflows/model/git_repo_volume_source.py index 5fcddd5a367a..ecda4c2f88d7 100644 --- a/sdks/python/client/argo_workflows/model/git_repo_volume_source.py +++ b/sdks/python/client/argo_workflows/model/git_repo_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/glusterfs_volume_source.py b/sdks/python/client/argo_workflows/model/glusterfs_volume_source.py index 5bee7011159b..a5f3ee465f92 100644 --- a/sdks/python/client/argo_workflows/model/glusterfs_volume_source.py +++ b/sdks/python/client/argo_workflows/model/glusterfs_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/google_protobuf_any.py b/sdks/python/client/argo_workflows/model/google_protobuf_any.py index 2b8121769ee1..c1de25d4d197 100644 --- a/sdks/python/client/argo_workflows/model/google_protobuf_any.py +++ b/sdks/python/client/argo_workflows/model/google_protobuf_any.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/group_version_resource.py b/sdks/python/client/argo_workflows/model/group_version_resource.py index 62c5302034fe..2532adab4f27 100644 --- a/sdks/python/client/argo_workflows/model/group_version_resource.py +++ b/sdks/python/client/argo_workflows/model/group_version_resource.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/grpc_action.py b/sdks/python/client/argo_workflows/model/grpc_action.py index f6f4f0b309f9..5ba35763b61d 100644 --- a/sdks/python/client/argo_workflows/model/grpc_action.py +++ b/sdks/python/client/argo_workflows/model/grpc_action.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_error.py b/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_error.py index d2a7f8ca2420..8f4e89e9f4ca 100644 --- a/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_error.py +++ b/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_error.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_stream_error.py b/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_stream_error.py index a07f18b1c18f..5f368ab15f40 100644 --- a/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_stream_error.py +++ b/sdks/python/client/argo_workflows/model/grpc_gateway_runtime_stream_error.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/host_alias.py b/sdks/python/client/argo_workflows/model/host_alias.py index c0fad1423fa5..0a62dad343d0 100644 --- a/sdks/python/client/argo_workflows/model/host_alias.py +++ b/sdks/python/client/argo_workflows/model/host_alias.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/host_path_volume_source.py b/sdks/python/client/argo_workflows/model/host_path_volume_source.py index 4ee3ccf3edb6..b8fc6e86842b 100644 --- a/sdks/python/client/argo_workflows/model/host_path_volume_source.py +++ b/sdks/python/client/argo_workflows/model/host_path_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/http_get_action.py b/sdks/python/client/argo_workflows/model/http_get_action.py index 6cc44f701ee1..c36249cfae4b 100644 --- a/sdks/python/client/argo_workflows/model/http_get_action.py +++ b/sdks/python/client/argo_workflows/model/http_get_action.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/http_header.py b/sdks/python/client/argo_workflows/model/http_header.py index 05c77c9b3f6d..e074081bfbdc 100644 --- a/sdks/python/client/argo_workflows/model/http_header.py +++ b/sdks/python/client/argo_workflows/model/http_header.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amount.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amount.py index f4888b19ec66..91bf63f1a9fb 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amount.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amount.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_consume_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_consume_config.py index 29e6220c8749..9284025a20ef 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_consume_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_consume_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_event_source.py index 5dbad8819f79..a5c2e05e9b1e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_exchange_declare_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_exchange_declare_config.py index 67f48ffe7369..2d4162fc6e0b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_exchange_declare_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_exchange_declare_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_bind_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_bind_config.py index 63398d7c6430..e3d2212ab241 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_bind_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_bind_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_declare_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_declare_config.py index 79fde2dc4250..58ac74253817 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_declare_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_declare_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py index e745878e181e..36e8b7653344 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_artifact_location.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_artifact_location.py index 354bf60616d2..5184d130edb4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_artifact_location.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_artifact_location.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_aws_lambda_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_aws_lambda_trigger.py index bf50b3de7e97..109cde5804cd 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_aws_lambda_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_aws_lambda_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_event_hubs_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_event_hubs_trigger.py index c565de7bc5ba..ba948dcc1864 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_event_hubs_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_event_hubs_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_events_hub_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_events_hub_event_source.py index 4847f67ed3f8..e0626921f9c4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_events_hub_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_azure_events_hub_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_backoff.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_backoff.py index bd52a6cd552a..ca6946e74660 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_backoff.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_backoff.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_basic_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_basic_auth.py index a71a6aff2394..1c7feea0e5df 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_basic_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_basic_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py index 92a26ed1b546..ba515a23bdf4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_basic_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_basic_auth.py index 3550a21e3fa1..cc483e5bdd1c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_basic_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_basic_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py index df54093ed4a1..4d302fdfff0c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py index b98082b3033d..07ec80a65a20 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_event_source.py index 955775743dc5..44fbb12ed39c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_repository.py index 89e7289cb817..dc88f1ad9083 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_calendar_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_calendar_event_source.py index ec59f1d32b87..b2f8b3e2a92f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_calendar_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_calendar_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_catchup_configuration.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_catchup_configuration.py index af33d64a80b4..268ab92b35c2 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_catchup_configuration.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_catchup_configuration.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_condition.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_condition.py index e267dc835b09..92a98568b2ff 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_condition.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_condition.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_by_time.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_by_time.py index 17d3950e1313..ab5ba8e97904 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_by_time.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_by_time.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_criteria.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_criteria.py index 8e8ef2bbb472..489ff0d095fc 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_criteria.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_criteria.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_config_map_persistence.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_config_map_persistence.py index 913c55ca4391..65a63e5cb103 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_config_map_persistence.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_config_map_persistence.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_custom_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_custom_trigger.py index cc360fc658a5..fef6e268f921 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_custom_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_custom_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_data_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_data_filter.py index 30b4d963af53..c01fe543ddc5 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_data_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_data_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_emitter_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_emitter_event_source.py index 569592aad302..7c5382220aa9 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_emitter_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_emitter_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_context.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_context.py index b73b4fc77c37..1893ef6c6b61 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_context.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_context.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency.py index 65a6d960d877..aabec6986000 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py index a4a5793063a9..a8417e59069e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_transformer.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_transformer.py index 9dd03dd5d021..2c00bd4c3938 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_transformer.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_transformer.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_persistence.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_persistence.py index f815babf9d27..59d04c7e9a59 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_persistence.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_persistence.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source.py index 19b91798d76c..2bc78c604df6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_filter.py index 1c9c4eab4dec..85aa55e6e604 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_list.py index 013520510090..fc74fd480dc4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py index f40c8dfe2302..0524d18fd483 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_status.py index a3f8cd5b760e..5effeb48db41 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_expr_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_expr_filter.py index 82e22203f3ec..e0b709901570 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_expr_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_expr_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_artifact.py index 15800a8738ce..c7615d97e002 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_event_source.py index d8d053e172f2..831776ba0375 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_file_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_generic_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_generic_event_source.py index f9e2d6f4c2ec..b36eddb91c54 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_generic_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_generic_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py index 0692b8a99cd9..b886aac4fb2b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_creds.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_creds.py index 65bc4d5dae94..cd34579654fb 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_creds.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_creds.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_remote_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_remote_config.py index b65bb0294a20..1d110bacaeff 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_remote_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_remote_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_app_creds.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_app_creds.py index e5f77649ea97..89b941c57945 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_app_creds.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_app_creds.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_event_source.py index c097cc871475..90bac9974d5b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_github_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_gitlab_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_gitlab_event_source.py index 877188d9c56b..a88b5b6db06d 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_gitlab_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_gitlab_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_hdfs_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_hdfs_event_source.py index d72311d7f2c0..c102e70d1c14 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_hdfs_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_hdfs_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_http_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_http_trigger.py index c069b1a3cfcd..b66fdf2ae740 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_http_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_http_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_int64_or_string.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_int64_or_string.py index 22e6c6591507..cd4f9118ba27 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_int64_or_string.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_int64_or_string.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_k8_s_resource_policy.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_k8_s_resource_policy.py index 802c21b0a2f7..f0b1878ac8e8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_k8_s_resource_policy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_k8_s_resource_policy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_consumer_group.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_consumer_group.py index 543bdc3b3bff..093da33fa690 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_consumer_group.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_consumer_group.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py index d804e25c4943..3e041117ef84 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_trigger.py index fc3758c18d8d..21863e5d1b3f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_log_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_log_trigger.py index 218c5399b28d..5bffcd93eeed 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_log_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_log_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_metadata.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_metadata.py index b6521c32be62..0c32341ff0dc 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_metadata.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_metadata.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_mqtt_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_mqtt_event_source.py index 0f09f53bed84..6d4670b7667c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_mqtt_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_mqtt_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_auth.py index 1b770a6e0123..8e714bd64bd3 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_events_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_events_source.py index 47ca90d0eb6d..5a6a972335dc 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_events_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_events_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_trigger.py index aa3b9cab7173..36435bff2802 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nats_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nsq_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nsq_event_source.py index d792a00bdbc6..eabaeb66804c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nsq_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_nsq_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_open_whisk_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_open_whisk_trigger.py index da0993d950d9..4f09ff1399ab 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_open_whisk_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_open_whisk_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_owned_repositories.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_owned_repositories.py index 6185d966287d..0bb3d06ff215 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_owned_repositories.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_owned_repositories.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_payload_field.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_payload_field.py index 2fa75123cd9f..bc369c342dae 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_payload_field.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_payload_field.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pub_sub_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pub_sub_event_source.py index 45c1767f340b..9ab90b7c6fc6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pub_sub_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pub_sub_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_event_source.py index 54b67ae30f76..a1761417bd42 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_trigger.py index 6c7ae23af615..99b6204b24b5 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_rate_limit.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_rate_limit.py index 62c0367adf97..7aba8bc23a0e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_rate_limit.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_rate_limit.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py index 85c7a5b06e88..ceeb3dfaa2d4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py index 187195c1411f..c0ffa451cf8b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource.py index e2fb6f3cd46e..c3af5da82fc6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_event_source.py index 313420e9b02a..12d4a0f87ab9 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_filter.py index 1fda32be65a8..d1aefe900eb6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_resource_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_artifact.py index 180e82b26f25..1dd66ef45206 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_bucket.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_bucket.py index 3f1c3ae62978..ee09844d7e9b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_bucket.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_bucket.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_filter.py index 16388f4b181d..788e5587cc98 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_s3_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sasl_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sasl_config.py index fa4def45797e..a11436526daa 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sasl_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sasl_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_secure_header.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_secure_header.py index ea66bed71086..e280699dc163 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_secure_header.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_secure_header.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_selector.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_selector.py index 2d509b6d4210..e7f9d0ae64ca 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_selector.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor.py index 87048146502f..25a8da6a8499 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_list.py index 011f98cb69ac..c316ae533f72 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_spec.py index f8fe37ec89bd..d43905186a60 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_status.py index 5c5153679039..25bee4c33954 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sensor_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_service.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_service.py index 31d004004be5..3e9ebdd7fff4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_service.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_service.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_event_source.py index c606a7deb2e0..80fbff08c3d5 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_trigger.py index f682f9183d49..ae0381319fab 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_slack_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py index b99c5820bf68..7b4be5b9ecd0 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py index cfad0084d587..11633f4306d0 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_standard_k8_s_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_standard_k8_s_trigger.py index 6f92cf18a153..735ccee8aa77 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_standard_k8_s_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_standard_k8_s_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status.py index 3678daa79c28..abd2486efa51 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status_policy.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status_policy.py index 42a551f408ed..b5cbac1c40da 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status_policy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_status_policy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_event_source.py index 04aba2ebf806..9d6bf0fe79dd 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_filter.py index f2c6d75e7ccd..4a8c09b3469b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_stripe_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_stripe_event_source.py index 8cd77c516d23..685dcf679b38 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_stripe_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_stripe_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_template.py index 0178ae259dc7..1efbaf687cf6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_time_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_time_filter.py index 2be23c07a1dd..35001a5789b8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_time_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_time_filter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_tls_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_tls_config.py index 025dad128f28..4a40f5e32e60 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_tls_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_tls_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger.py index 7644de24f47a..0aeed6a39834 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter.py index c77a686a65f7..73d3a67e6e92 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter_source.py index 64f07683fd48..ee23ef1960de 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_policy.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_policy.py index 2c2670c60020..17bbfb83e3fd 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_policy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_policy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_template.py index 65d1f97b450e..4d5c4cebcf98 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_trigger_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_url_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_url_artifact.py index 60f45bb0906b..50503a6c6e70 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_url_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_url_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_value_from_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_value_from_source.py index 1a75f5b6faa7..f14332567409 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_value_from_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_value_from_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_watch_path_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_watch_path_config.py index 00831de8faad..d8d4fe45bcb8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_watch_path_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_watch_path_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py index 41de3816c5a4..81bee1815695 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py index debf6db5384d..f307ed3c2f34 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_archive_strategy.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_archive_strategy.py index 14b0e480cddb..112a64fb1111 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_archive_strategy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_archive_strategy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_arguments.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_arguments.py index ab3b749d7fa5..41664db021b6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_arguments.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_arguments.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_art_gc_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_art_gc_status.py index 7e703684e2f2..45b57522fca8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_art_gc_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_art_gc_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact.py index 3f9726d44009..e7cd79406e46 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc.py index d1c89417d379..b9306710cc7b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py index 00776b1d6f01..8a8425747771 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py index 807265665677..dc31873353fc 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_location.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_location.py index 45d79555e0e0..a730aab4fa28 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_location.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_location.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py index b1d45b3c7812..207db6b89b70 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_paths.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_paths.py index 6589c616d312..fe62ee4b276b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_paths.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_paths.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository.py index 28db4518e355..15454f99ce85 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref.py index a40da2765762..21c2afdae9bb 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref_status.py index 006a92699b6c..fe24aecbc351 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py index 54348a36e8ae..9973e8c5a586 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py index b28bf80a6bf1..464b95056369 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact.py index 9d5539c0dd61..c70aba1aca5d 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact_repository.py index 9e7a4e233641..093b60f2d43e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact.py index 0c9f2fc6a238..14e02c5a4ce0 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact_repository.py index 9d78245266fa..20c4904e3de0 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_backoff.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_backoff.py index 4ab54dc1535e..7037fd36d6a9 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_backoff.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_backoff.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_basic_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_basic_auth.py index afe6dadad3f2..9ce11d9aad50 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_basic_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_basic_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cache.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cache.py index 60a5e79ea125..5a146f16ef44 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cache.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cache.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_client_cert_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_client_cert_auth.py index 9c96631c85bf..ce8d06c1217a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_client_cert_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_client_cert_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template.py index 128cd6e50a45..4f701f021e10 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_create_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_create_request.py index 3dc77150ba2d..1cc21331d6b1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_create_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_create_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_lint_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_lint_request.py index 4cca47276401..6656dcb5f2d3 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_lint_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_lint_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_list.py index 5857e83fe9a1..45557f72488a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_update_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_update_request.py index 532ab9845930..dea09720305a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_update_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_update_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_collect_event_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_collect_event_request.py index 1bccee3452c7..8e85d379d473 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_collect_event_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_collect_event_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_condition.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_condition.py index 90cd4aa96f1f..8d07786362b9 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_condition.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_condition.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py index aabd74c7823e..bed11872e17b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_retry_strategy.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_retry_strategy.py index 3e8e1b316ee0..ecccf747d7ec 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_retry_strategy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_retry_strategy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_template.py index c5e85211f39b..6f2ada47ef83 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_continue_on.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_continue_on.py index df487cd6dd1e..3d0cbf17a583 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_continue_on.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_continue_on.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_counter.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_counter.py index 6af679981977..3998431bc36a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_counter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_counter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_cron_workflow_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_cron_workflow_request.py index cf3938d80703..424043ddb56e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_cron_workflow_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_cron_workflow_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_s3_bucket_options.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_s3_bucket_options.py index 0edabb02b7bc..50c8602eca3b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_s3_bucket_options.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_create_s3_bucket_options.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow.py index 43eb4cce275a..e35312b951be 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_list.py index e8964b9ca7be..53e623fddb25 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_resume_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_resume_request.py index c0d5190490e5..d4b8970bf477 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_resume_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_resume_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_spec.py index 0b83aee2ac63..ca449a32f340 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_status.py index b2957b26be3e..3c737fcc8274 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_suspend_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_suspend_request.py index c5917b1aebf7..e45fd5799fd1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_suspend_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_suspend_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_task.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_task.py index e65494a12917..2fd6e3f5380a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_task.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_task.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_template.py index 2c56af90306f..e9afea64eaa7 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data.py index b67b1200f443..1e2977a89b07 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data_source.py index f8caa01c440b..cde56017e2da 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_data_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_event.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_event.py index f7b164cc50bd..47b51ecc3ed1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_event.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_executor_config.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_executor_config.py index e5cdc8e56607..ef652dc0243f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_executor_config.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_executor_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gauge.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gauge.py index 550a2eb070a9..b15e5b757d0c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gauge.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gauge.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact.py index eb216180b14e..0b469e570e29 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact_repository.py index a8f9e059fdad..c81835a137b0 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_get_user_info_response.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_get_user_info_response.py index 5e82526e7bdd..aedd6d4d4229 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_get_user_info_response.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_get_user_info_response.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_git_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_git_artifact.py index 782d3a16710b..a88ab17ff4c6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_git_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_git_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact.py index 3d4ec156337e..b29de83721d8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact_repository.py index 53ffa5102f0b..c37f52de24c8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_header.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_header.py index 8e762ce54e23..dea3191809a6 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_header.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_header.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_histogram.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_histogram.py index bb046a5c246d..d96d23aee75e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_histogram.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_histogram.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http.py index 68290fca3342..2c38e12eef50 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_artifact.py index de7abcb14d7c..f53b1a021290 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_auth.py index c266d5df5452..5ff5f78fefdf 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_body_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_body_source.py index c52dc44debe3..82196251cdc4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_body_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_body_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header.py index d6abfd391c3d..3053e0d569d4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header_source.py index 812868dfadcc..c18ef23c6d5f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_info_response.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_info_response.py index 67aca7b26c7f..95a545e11839 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_info_response.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_info_response.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_inputs.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_inputs.py index f6ccb5c2ba8d..6322da2b3f33 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_inputs.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_inputs.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_keys.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_keys.py index 4f67a47ff1b7..fa005e611bf4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_keys.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_keys.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_value_from.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_value_from.py index 4e6c94841c39..918df13f1b57 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_value_from.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_value_from.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_values.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_values.py index 83bb449f2026..56720f0086bf 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_values.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_label_values.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lifecycle_hook.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lifecycle_hook.py index 0f22b6f4644a..2d75b80652cb 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lifecycle_hook.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lifecycle_hook.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_link.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_link.py index 7188190b142c..16f380290b8d 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_link.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_link.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lint_cron_workflow_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lint_cron_workflow_request.py index 9b75241f07e4..b3eb8c0be3a1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lint_cron_workflow_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_lint_cron_workflow_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_log_entry.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_log_entry.py index 8c474c94a00b..cc1c287de1c5 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_log_entry.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_log_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_manifest_from.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_manifest_from.py index 612aa3d3be7e..e25ce09bd344 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_manifest_from.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_manifest_from.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoization_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoization_status.py index ee64f973a99d..664001858cd5 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoization_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoization_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoize.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoize.py index cd12d28cf0bd..6c7d0c626fa7 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoize.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_memoize.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metadata.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metadata.py index dbf755f78721..d620d4d92d9a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metadata.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metadata.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metric_label.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metric_label.py index 35a22414e430..560720e56fbb 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metric_label.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metric_label.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metrics.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metrics.py index 3aad01afa932..533c210680ae 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metrics.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_metrics.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex.py index 8473c9e457d5..083a9c5333cd 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_holding.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_holding.py index d2d13496b7cd..a73cd673f268 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_holding.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_holding.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_status.py index 8703b1f1646c..5652c33e8dff 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py index 0120005f693d..7e1f93b5ad0f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_status.py index bd380adbecc3..4c3c95b6ead8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_synchronization_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_synchronization_status.py index 7047c470cf91..1d6e1dbfec9a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_synchronization_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_synchronization_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_auth.py index f9d4a61589fe..18c4996bd3af 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_auth.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_endpoint_param.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_endpoint_param.py index e5fbddaf2344..79d2bab45d74 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_endpoint_param.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_endpoint_param.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact.py index cba7b049637d..93367fc2918b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact_repository.py index 252a869155bc..2566b0387a10 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_lifecycle_rule.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_lifecycle_rule.py index 311e4af78897..506eff7e433e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_lifecycle_rule.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_lifecycle_rule.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_outputs.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_outputs.py index 8c103633ac3b..b02d3e53a60e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_outputs.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_outputs.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parallel_steps.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parallel_steps.py index 038ce1d3c5c0..7e0ba12f5dea 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parallel_steps.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parallel_steps.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError @@ -60,14 +60,7 @@ class IoArgoprojWorkflowV1alpha1ParallelSteps(ModelSimple): validations = { } - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + additional_properties_type = None _nullable = False diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parameter.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parameter.py index fae4265c7e14..1dcb76e39567 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parameter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_parameter.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_pod_gc.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_pod_gc.py index 171b4c76658b..14f496fa2fdf 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_pod_gc.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_pod_gc.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_prometheus.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_prometheus.py index 90ee3a870e65..2f57acbdfafd 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_prometheus.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_prometheus.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_raw_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_raw_artifact.py index 109b99678624..74794fbd1a78 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_raw_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_raw_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resource_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resource_template.py index 1fd960c88fd6..7d2df488cb0d 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resource_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resource_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resubmit_archived_workflow_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resubmit_archived_workflow_request.py index d478a417771b..c40ea88c9f26 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resubmit_archived_workflow_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_resubmit_archived_workflow_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_affinity.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_affinity.py index 58c9e5035e63..71d225c39024 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_affinity.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_affinity.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_archived_workflow_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_archived_workflow_request.py index 56c9e6ed4464..968d25fc4191 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_archived_workflow_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_archived_workflow_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_strategy.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_strategy.py index 50c630001449..c8ccfe6aeb59 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_strategy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_strategy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py index da11e4e01e61..efd88ed8f99e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py index 50b73504e65f..5793d0bd5f32 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_encryption_options.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_encryption_options.py index ff1151cc8773..69f95a2af080 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_encryption_options.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_encryption_options.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_script_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_script_template.py index f1628012da63..d84db3746c4f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_script_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_script_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_holding.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_holding.py index 3339245638a0..6d83cdad4fee 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_holding.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_holding.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_ref.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_ref.py index d3723231e8b4..562b1788fb84 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_ref.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_ref.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_status.py index 94866f76e2d4..6e77662b08ad 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_sequence.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_sequence.py index 06312d865384..b847ea92e0eb 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_sequence.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_sequence.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit.py index 4cf88798d39a..94fa8e5b0871 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit_opts.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit_opts.py index 076e3ea1665c..217c62d67c59 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit_opts.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_submit_opts.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_suspend_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_suspend_template.py index a6401cd89711..409934983344 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_suspend_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_suspend_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py index 56cf0bf7b441..e862a28c66cc 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization_status.py index a12b4f1f42a5..222415631e7b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_tar_strategy.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_tar_strategy.py index 5a5f8a3bc5bc..a6d7ecdb2084 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_tar_strategy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_tar_strategy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template.py index c3af97524001..1c29652f1129 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template_ref.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template_ref.py index 91936d6f939a..337d7a22787d 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template_ref.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_template_ref.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_transformation_step.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_transformation_step.py index db02f40be2ed..a14efc97e684 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_transformation_step.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_transformation_step.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_ttl_strategy.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_ttl_strategy.py index 5e4e38354687..89c8fc44b9c1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_ttl_strategy.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_ttl_strategy.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_update_cron_workflow_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_update_cron_workflow_request.py index daa5ccb0374d..6027c8829fad 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_update_cron_workflow_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_update_cron_workflow_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_user_container.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_user_container.py index 47c24e9287fe..c15fd13608fc 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_user_container.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_user_container.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_value_from.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_value_from.py index 79a864d2c0c3..63256bd27462 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_value_from.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_value_from.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_version.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_version.py index a5f44030cd1c..f7d6c48d1099 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_version.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_version.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_volume_claim_gc.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_volume_claim_gc.py index 45b4c4eeb2fa..75cb77488383 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_volume_claim_gc.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_volume_claim_gc.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow.py index 46b6c075b221..30180bf18098 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_create_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_create_request.py index 1b66ec73082f..8db848f8792e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_create_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_create_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding.py index d0706c5443d4..c9f73d9a797b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_list.py index eeb2e1ccef1d..1116bf81f194 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_spec.py index 90ba8907fd65..ce7aa8d49146 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_lint_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_lint_request.py index 039d2c150779..2b598aa24a10 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_lint_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_lint_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_list.py index 2465ea945647..36b0bd692290 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_metadata.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_metadata.py index 95376fee136e..76df010c3b96 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_metadata.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_metadata.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resubmit_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resubmit_request.py index 5d31e730e5e3..ef4437ba6741 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resubmit_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resubmit_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resume_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resume_request.py index df609adbb09b..e81d98617bb1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resume_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resume_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_retry_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_retry_request.py index 9ffccfe91d2b..469c04108238 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_retry_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_retry_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_set_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_set_request.py index b2d60fddc522..b485a9e8bc59 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_set_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_set_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_spec.py index 601c55384381..2aa64d4d94e4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_status.py index 697f5fca46bc..ac6b048edbe2 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_step.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_step.py index 67d0bbfe1577..466757199f1b 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_step.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_step.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_stop_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_stop_request.py index 0cfe1cefcc64..be93bd53f597 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_stop_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_stop_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_submit_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_submit_request.py index e5e1405d1485..37274cac6543 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_submit_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_submit_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_suspend_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_suspend_request.py index 55073c5b403b..6bf67cb0e96a 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_suspend_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_suspend_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py index c5a3d7f949fa..4cefd6b19cf8 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py index 30c926264536..47d1275363f1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template.py index c0130d76add8..d47bbc489a8d 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_create_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_create_request.py index 440ae570337a..4626ee09016c 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_create_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_create_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_lint_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_lint_request.py index ebdc819bd5e7..5b3084910758 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_lint_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_lint_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_list.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_list.py index 458146941512..0ac216bf2574 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_list.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_list.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_ref.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_ref.py index 34221e751a81..8c702f81cb12 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_ref.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_ref.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_update_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_update_request.py index cd2c80cb2109..8694f97e1e36 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_update_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_update_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_terminate_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_terminate_request.py index 3865dd0526d3..e18eadfa8e2f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_terminate_request.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_terminate_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_watch_event.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_watch_event.py index f798f868a92b..49b3c75b31a1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_watch_event.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_watch_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/io_k8s_api_policy_v1beta1_pod_disruption_budget_spec.py b/sdks/python/client/argo_workflows/model/io_k8s_api_policy_v1beta1_pod_disruption_budget_spec.py index 607c068fe13c..2794da9828fc 100644 --- a/sdks/python/client/argo_workflows/model/io_k8s_api_policy_v1beta1_pod_disruption_budget_spec.py +++ b/sdks/python/client/argo_workflows/model/io_k8s_api_policy_v1beta1_pod_disruption_budget_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/iscsi_volume_source.py b/sdks/python/client/argo_workflows/model/iscsi_volume_source.py index 659ca94f584a..d36765d164e3 100644 --- a/sdks/python/client/argo_workflows/model/iscsi_volume_source.py +++ b/sdks/python/client/argo_workflows/model/iscsi_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/key_to_path.py b/sdks/python/client/argo_workflows/model/key_to_path.py index f1bc45dc5d36..53f285d2d3b0 100644 --- a/sdks/python/client/argo_workflows/model/key_to_path.py +++ b/sdks/python/client/argo_workflows/model/key_to_path.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/label_selector.py b/sdks/python/client/argo_workflows/model/label_selector.py index 8105b33dc962..0aca06db4240 100644 --- a/sdks/python/client/argo_workflows/model/label_selector.py +++ b/sdks/python/client/argo_workflows/model/label_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/label_selector_requirement.py b/sdks/python/client/argo_workflows/model/label_selector_requirement.py index cad82703d831..47ce37c66080 100644 --- a/sdks/python/client/argo_workflows/model/label_selector_requirement.py +++ b/sdks/python/client/argo_workflows/model/label_selector_requirement.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/lifecycle.py b/sdks/python/client/argo_workflows/model/lifecycle.py index cbdb2bf59268..a09cacea303c 100644 --- a/sdks/python/client/argo_workflows/model/lifecycle.py +++ b/sdks/python/client/argo_workflows/model/lifecycle.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/lifecycle_handler.py b/sdks/python/client/argo_workflows/model/lifecycle_handler.py index 7901efaec7f5..7103a7e879d9 100644 --- a/sdks/python/client/argo_workflows/model/lifecycle_handler.py +++ b/sdks/python/client/argo_workflows/model/lifecycle_handler.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/list_meta.py b/sdks/python/client/argo_workflows/model/list_meta.py index 489276109a26..8e1da59ac37c 100644 --- a/sdks/python/client/argo_workflows/model/list_meta.py +++ b/sdks/python/client/argo_workflows/model/list_meta.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/local_object_reference.py b/sdks/python/client/argo_workflows/model/local_object_reference.py index 1995da3bf0f9..680687f1f5c2 100644 --- a/sdks/python/client/argo_workflows/model/local_object_reference.py +++ b/sdks/python/client/argo_workflows/model/local_object_reference.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/managed_fields_entry.py b/sdks/python/client/argo_workflows/model/managed_fields_entry.py index de6f3c9fe8db..1c3898816d7e 100644 --- a/sdks/python/client/argo_workflows/model/managed_fields_entry.py +++ b/sdks/python/client/argo_workflows/model/managed_fields_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/nfs_volume_source.py b/sdks/python/client/argo_workflows/model/nfs_volume_source.py index 59186ac5d670..5b62c940bb15 100644 --- a/sdks/python/client/argo_workflows/model/nfs_volume_source.py +++ b/sdks/python/client/argo_workflows/model/nfs_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/node_affinity.py b/sdks/python/client/argo_workflows/model/node_affinity.py index b2028771bd95..4d0616939512 100644 --- a/sdks/python/client/argo_workflows/model/node_affinity.py +++ b/sdks/python/client/argo_workflows/model/node_affinity.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/node_selector.py b/sdks/python/client/argo_workflows/model/node_selector.py index fa076d40242e..512b34b657cd 100644 --- a/sdks/python/client/argo_workflows/model/node_selector.py +++ b/sdks/python/client/argo_workflows/model/node_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/node_selector_requirement.py b/sdks/python/client/argo_workflows/model/node_selector_requirement.py index b3c6dc8a0e7a..03126edc4276 100644 --- a/sdks/python/client/argo_workflows/model/node_selector_requirement.py +++ b/sdks/python/client/argo_workflows/model/node_selector_requirement.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/node_selector_term.py b/sdks/python/client/argo_workflows/model/node_selector_term.py index 6a875c9e0ad0..9655be28615f 100644 --- a/sdks/python/client/argo_workflows/model/node_selector_term.py +++ b/sdks/python/client/argo_workflows/model/node_selector_term.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/object_field_selector.py b/sdks/python/client/argo_workflows/model/object_field_selector.py index 522209cbeb82..f62d8e61a2a2 100644 --- a/sdks/python/client/argo_workflows/model/object_field_selector.py +++ b/sdks/python/client/argo_workflows/model/object_field_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/object_meta.py b/sdks/python/client/argo_workflows/model/object_meta.py index 91ddf23798f1..5f948d3d4f52 100644 --- a/sdks/python/client/argo_workflows/model/object_meta.py +++ b/sdks/python/client/argo_workflows/model/object_meta.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/object_reference.py b/sdks/python/client/argo_workflows/model/object_reference.py index 4cfcfd873dd3..450ded49b6dc 100644 --- a/sdks/python/client/argo_workflows/model/object_reference.py +++ b/sdks/python/client/argo_workflows/model/object_reference.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/owner_reference.py b/sdks/python/client/argo_workflows/model/owner_reference.py index c16cce409c05..e5ee519341d5 100644 --- a/sdks/python/client/argo_workflows/model/owner_reference.py +++ b/sdks/python/client/argo_workflows/model/owner_reference.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/persistent_volume_claim.py b/sdks/python/client/argo_workflows/model/persistent_volume_claim.py index 877b8dda6c08..ed5b44656127 100644 --- a/sdks/python/client/argo_workflows/model/persistent_volume_claim.py +++ b/sdks/python/client/argo_workflows/model/persistent_volume_claim.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/persistent_volume_claim_condition.py b/sdks/python/client/argo_workflows/model/persistent_volume_claim_condition.py index 80a4b84269dc..8f70ab675c63 100644 --- a/sdks/python/client/argo_workflows/model/persistent_volume_claim_condition.py +++ b/sdks/python/client/argo_workflows/model/persistent_volume_claim_condition.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/persistent_volume_claim_spec.py b/sdks/python/client/argo_workflows/model/persistent_volume_claim_spec.py index 59168e04d93b..01bad3d9ef89 100644 --- a/sdks/python/client/argo_workflows/model/persistent_volume_claim_spec.py +++ b/sdks/python/client/argo_workflows/model/persistent_volume_claim_spec.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/persistent_volume_claim_status.py b/sdks/python/client/argo_workflows/model/persistent_volume_claim_status.py index b8220e3b5349..f6ec301f99f0 100644 --- a/sdks/python/client/argo_workflows/model/persistent_volume_claim_status.py +++ b/sdks/python/client/argo_workflows/model/persistent_volume_claim_status.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/persistent_volume_claim_template.py b/sdks/python/client/argo_workflows/model/persistent_volume_claim_template.py index 09b11677e643..1359a95345df 100644 --- a/sdks/python/client/argo_workflows/model/persistent_volume_claim_template.py +++ b/sdks/python/client/argo_workflows/model/persistent_volume_claim_template.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/persistent_volume_claim_volume_source.py b/sdks/python/client/argo_workflows/model/persistent_volume_claim_volume_source.py index 13464f95154f..64b68043bf73 100644 --- a/sdks/python/client/argo_workflows/model/persistent_volume_claim_volume_source.py +++ b/sdks/python/client/argo_workflows/model/persistent_volume_claim_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/photon_persistent_disk_volume_source.py b/sdks/python/client/argo_workflows/model/photon_persistent_disk_volume_source.py index 2716a4f6bf81..ad48cd3eb439 100644 --- a/sdks/python/client/argo_workflows/model/photon_persistent_disk_volume_source.py +++ b/sdks/python/client/argo_workflows/model/photon_persistent_disk_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/pod_affinity.py b/sdks/python/client/argo_workflows/model/pod_affinity.py index 9ddd04fcd5ce..13b6f2a1ce3a 100644 --- a/sdks/python/client/argo_workflows/model/pod_affinity.py +++ b/sdks/python/client/argo_workflows/model/pod_affinity.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/pod_affinity_term.py b/sdks/python/client/argo_workflows/model/pod_affinity_term.py index 2b070ea6a917..be748f60e78d 100644 --- a/sdks/python/client/argo_workflows/model/pod_affinity_term.py +++ b/sdks/python/client/argo_workflows/model/pod_affinity_term.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/pod_anti_affinity.py b/sdks/python/client/argo_workflows/model/pod_anti_affinity.py index 01012fb192a4..5a8553553d00 100644 --- a/sdks/python/client/argo_workflows/model/pod_anti_affinity.py +++ b/sdks/python/client/argo_workflows/model/pod_anti_affinity.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/pod_dns_config.py b/sdks/python/client/argo_workflows/model/pod_dns_config.py index 6a2230550a34..53345d67ce95 100644 --- a/sdks/python/client/argo_workflows/model/pod_dns_config.py +++ b/sdks/python/client/argo_workflows/model/pod_dns_config.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/pod_dns_config_option.py b/sdks/python/client/argo_workflows/model/pod_dns_config_option.py index 9a57c078a77b..f152390ec792 100644 --- a/sdks/python/client/argo_workflows/model/pod_dns_config_option.py +++ b/sdks/python/client/argo_workflows/model/pod_dns_config_option.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/pod_security_context.py b/sdks/python/client/argo_workflows/model/pod_security_context.py index 8df8f6dfaa80..f0351d1226bc 100644 --- a/sdks/python/client/argo_workflows/model/pod_security_context.py +++ b/sdks/python/client/argo_workflows/model/pod_security_context.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/portworx_volume_source.py b/sdks/python/client/argo_workflows/model/portworx_volume_source.py index b061fa344629..faea153aaf3f 100644 --- a/sdks/python/client/argo_workflows/model/portworx_volume_source.py +++ b/sdks/python/client/argo_workflows/model/portworx_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/preferred_scheduling_term.py b/sdks/python/client/argo_workflows/model/preferred_scheduling_term.py index f3eb2a59334e..5eabd8144c6f 100644 --- a/sdks/python/client/argo_workflows/model/preferred_scheduling_term.py +++ b/sdks/python/client/argo_workflows/model/preferred_scheduling_term.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/probe.py b/sdks/python/client/argo_workflows/model/probe.py index 8b4a0b8ca8b5..62a0f9a15ab4 100644 --- a/sdks/python/client/argo_workflows/model/probe.py +++ b/sdks/python/client/argo_workflows/model/probe.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/projected_volume_source.py b/sdks/python/client/argo_workflows/model/projected_volume_source.py index a0b55b287e8c..e4397283ea9c 100644 --- a/sdks/python/client/argo_workflows/model/projected_volume_source.py +++ b/sdks/python/client/argo_workflows/model/projected_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/quobyte_volume_source.py b/sdks/python/client/argo_workflows/model/quobyte_volume_source.py index 38fcff109992..90ac26d8f6b4 100644 --- a/sdks/python/client/argo_workflows/model/quobyte_volume_source.py +++ b/sdks/python/client/argo_workflows/model/quobyte_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/rbd_volume_source.py b/sdks/python/client/argo_workflows/model/rbd_volume_source.py index a8316f199f21..41e6bd2e0c27 100644 --- a/sdks/python/client/argo_workflows/model/rbd_volume_source.py +++ b/sdks/python/client/argo_workflows/model/rbd_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/resource_field_selector.py b/sdks/python/client/argo_workflows/model/resource_field_selector.py index b7f67f8ed508..0edb90b1c5a1 100644 --- a/sdks/python/client/argo_workflows/model/resource_field_selector.py +++ b/sdks/python/client/argo_workflows/model/resource_field_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/resource_requirements.py b/sdks/python/client/argo_workflows/model/resource_requirements.py index 6f89f88386b1..4dc69aec3401 100644 --- a/sdks/python/client/argo_workflows/model/resource_requirements.py +++ b/sdks/python/client/argo_workflows/model/resource_requirements.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/scale_io_volume_source.py b/sdks/python/client/argo_workflows/model/scale_io_volume_source.py index 3f1a8b43c7e1..5ffe10e5f68b 100644 --- a/sdks/python/client/argo_workflows/model/scale_io_volume_source.py +++ b/sdks/python/client/argo_workflows/model/scale_io_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/se_linux_options.py b/sdks/python/client/argo_workflows/model/se_linux_options.py index 5310ddadb869..440b21ab91cc 100644 --- a/sdks/python/client/argo_workflows/model/se_linux_options.py +++ b/sdks/python/client/argo_workflows/model/se_linux_options.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/seccomp_profile.py b/sdks/python/client/argo_workflows/model/seccomp_profile.py index d68ec160443b..beb128e6022e 100644 --- a/sdks/python/client/argo_workflows/model/seccomp_profile.py +++ b/sdks/python/client/argo_workflows/model/seccomp_profile.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/secret_env_source.py b/sdks/python/client/argo_workflows/model/secret_env_source.py index 210e7b8a270c..8a3f9ae7bf2a 100644 --- a/sdks/python/client/argo_workflows/model/secret_env_source.py +++ b/sdks/python/client/argo_workflows/model/secret_env_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/secret_key_selector.py b/sdks/python/client/argo_workflows/model/secret_key_selector.py index 3a6d4c74226b..e32dd7992efd 100644 --- a/sdks/python/client/argo_workflows/model/secret_key_selector.py +++ b/sdks/python/client/argo_workflows/model/secret_key_selector.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/secret_projection.py b/sdks/python/client/argo_workflows/model/secret_projection.py index c9fabd1edb9f..fbe021c9aa78 100644 --- a/sdks/python/client/argo_workflows/model/secret_projection.py +++ b/sdks/python/client/argo_workflows/model/secret_projection.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/secret_volume_source.py b/sdks/python/client/argo_workflows/model/secret_volume_source.py index b4fab14c463e..dc41ba6e1f4b 100644 --- a/sdks/python/client/argo_workflows/model/secret_volume_source.py +++ b/sdks/python/client/argo_workflows/model/secret_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/security_context.py b/sdks/python/client/argo_workflows/model/security_context.py index 7f22713c6582..98bf81b43387 100644 --- a/sdks/python/client/argo_workflows/model/security_context.py +++ b/sdks/python/client/argo_workflows/model/security_context.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/sensor_create_sensor_request.py b/sdks/python/client/argo_workflows/model/sensor_create_sensor_request.py index f8630761f879..a251db575210 100644 --- a/sdks/python/client/argo_workflows/model/sensor_create_sensor_request.py +++ b/sdks/python/client/argo_workflows/model/sensor_create_sensor_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/sensor_log_entry.py b/sdks/python/client/argo_workflows/model/sensor_log_entry.py index 31a98ba31d8e..0821c83f83f3 100644 --- a/sdks/python/client/argo_workflows/model/sensor_log_entry.py +++ b/sdks/python/client/argo_workflows/model/sensor_log_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/sensor_sensor_watch_event.py b/sdks/python/client/argo_workflows/model/sensor_sensor_watch_event.py index 5bf48a741a7b..4cf565d0a55e 100644 --- a/sdks/python/client/argo_workflows/model/sensor_sensor_watch_event.py +++ b/sdks/python/client/argo_workflows/model/sensor_sensor_watch_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/sensor_update_sensor_request.py b/sdks/python/client/argo_workflows/model/sensor_update_sensor_request.py index 5f4647259796..570a3d04c838 100644 --- a/sdks/python/client/argo_workflows/model/sensor_update_sensor_request.py +++ b/sdks/python/client/argo_workflows/model/sensor_update_sensor_request.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/service_account_token_projection.py b/sdks/python/client/argo_workflows/model/service_account_token_projection.py index b8179b8071d0..4954dde441f2 100644 --- a/sdks/python/client/argo_workflows/model/service_account_token_projection.py +++ b/sdks/python/client/argo_workflows/model/service_account_token_projection.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/service_port.py b/sdks/python/client/argo_workflows/model/service_port.py index 1244c4281cbe..cdf494341feb 100644 --- a/sdks/python/client/argo_workflows/model/service_port.py +++ b/sdks/python/client/argo_workflows/model/service_port.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/status_cause.py b/sdks/python/client/argo_workflows/model/status_cause.py index f520eb308bf3..0a0a96a94d31 100644 --- a/sdks/python/client/argo_workflows/model/status_cause.py +++ b/sdks/python/client/argo_workflows/model/status_cause.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/storage_os_volume_source.py b/sdks/python/client/argo_workflows/model/storage_os_volume_source.py index 30607d67ffff..54458e7cd10a 100644 --- a/sdks/python/client/argo_workflows/model/storage_os_volume_source.py +++ b/sdks/python/client/argo_workflows/model/storage_os_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_event.py b/sdks/python/client/argo_workflows/model/stream_result_of_event.py index 5602a46f2e86..f1ad28d8c24e 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_event.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_event_source_watch_event.py b/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_event_source_watch_event.py index 73c61f4cd430..e0b19fac1484 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_event_source_watch_event.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_event_source_watch_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_log_entry.py b/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_log_entry.py index 25ca88c38d0f..0c4cc4824b2b 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_log_entry.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_eventsource_log_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_log_entry.py b/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_log_entry.py index 29a95221462e..9edecff77b48 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_log_entry.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_log_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_workflow_watch_event.py b/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_workflow_watch_event.py index 6ee2a13b24c0..23af49e4d190 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_workflow_watch_event.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_workflow_watch_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_sensor_log_entry.py b/sdks/python/client/argo_workflows/model/stream_result_of_sensor_log_entry.py index 090d409da47b..2b601f153edf 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_sensor_log_entry.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_sensor_log_entry.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/stream_result_of_sensor_sensor_watch_event.py b/sdks/python/client/argo_workflows/model/stream_result_of_sensor_sensor_watch_event.py index d47f0d623736..626072a77c89 100644 --- a/sdks/python/client/argo_workflows/model/stream_result_of_sensor_sensor_watch_event.py +++ b/sdks/python/client/argo_workflows/model/stream_result_of_sensor_sensor_watch_event.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/sysctl.py b/sdks/python/client/argo_workflows/model/sysctl.py index 74d603b64737..ad5400c8e23a 100644 --- a/sdks/python/client/argo_workflows/model/sysctl.py +++ b/sdks/python/client/argo_workflows/model/sysctl.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/tcp_socket_action.py b/sdks/python/client/argo_workflows/model/tcp_socket_action.py index e6c0e5b6e858..5f752ed9d6a0 100644 --- a/sdks/python/client/argo_workflows/model/tcp_socket_action.py +++ b/sdks/python/client/argo_workflows/model/tcp_socket_action.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/toleration.py b/sdks/python/client/argo_workflows/model/toleration.py index 52f950057176..eba3e0ab5f5c 100644 --- a/sdks/python/client/argo_workflows/model/toleration.py +++ b/sdks/python/client/argo_workflows/model/toleration.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/typed_local_object_reference.py b/sdks/python/client/argo_workflows/model/typed_local_object_reference.py index ef68bd2675b9..f0c4a70b842e 100644 --- a/sdks/python/client/argo_workflows/model/typed_local_object_reference.py +++ b/sdks/python/client/argo_workflows/model/typed_local_object_reference.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/volume.py b/sdks/python/client/argo_workflows/model/volume.py index e8821f993dba..d23397556611 100644 --- a/sdks/python/client/argo_workflows/model/volume.py +++ b/sdks/python/client/argo_workflows/model/volume.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/volume_device.py b/sdks/python/client/argo_workflows/model/volume_device.py index 4b9bb310dd6f..2337bb6bc23c 100644 --- a/sdks/python/client/argo_workflows/model/volume_device.py +++ b/sdks/python/client/argo_workflows/model/volume_device.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/volume_mount.py b/sdks/python/client/argo_workflows/model/volume_mount.py index ad3a275b3d1a..ff4d3ce416e0 100644 --- a/sdks/python/client/argo_workflows/model/volume_mount.py +++ b/sdks/python/client/argo_workflows/model/volume_mount.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/volume_projection.py b/sdks/python/client/argo_workflows/model/volume_projection.py index 960d6c6e44a8..f3389ad535bd 100644 --- a/sdks/python/client/argo_workflows/model/volume_projection.py +++ b/sdks/python/client/argo_workflows/model/volume_projection.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/vsphere_virtual_disk_volume_source.py b/sdks/python/client/argo_workflows/model/vsphere_virtual_disk_volume_source.py index 8d60e3d61322..a3061a6f74eb 100644 --- a/sdks/python/client/argo_workflows/model/vsphere_virtual_disk_volume_source.py +++ b/sdks/python/client/argo_workflows/model/vsphere_virtual_disk_volume_source.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/weighted_pod_affinity_term.py b/sdks/python/client/argo_workflows/model/weighted_pod_affinity_term.py index 5e35b6ff3c3a..a8fe45b3c653 100644 --- a/sdks/python/client/argo_workflows/model/weighted_pod_affinity_term.py +++ b/sdks/python/client/argo_workflows/model/weighted_pod_affinity_term.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model/windows_security_context_options.py b/sdks/python/client/argo_workflows/model/windows_security_context_options.py index 9d9a0d4e4187..cd829149f968 100644 --- a/sdks/python/client/argo_workflows/model/windows_security_context_options.py +++ b/sdks/python/client/argo_workflows/model/windows_security_context_options.py @@ -24,8 +24,8 @@ file_type, none_type, validate_get_composed_info, + OpenApiModel ) -from ..model_utils import OpenApiModel from argo_workflows.exceptions import ApiAttributeError diff --git a/sdks/python/client/argo_workflows/model_utils.py b/sdks/python/client/argo_workflows/model_utils.py index fdc6708533f2..78f715c115b6 100644 --- a/sdks/python/client/argo_workflows/model_utils.py +++ b/sdks/python/client/argo_workflows/model_utils.py @@ -9,6 +9,7 @@ from datetime import date, datetime # noqa: F401 +from copy import deepcopy import inspect import io import os @@ -186,6 +187,26 @@ def __getattr__(self, attr): """get the value of an attribute using dot notation: `instance.attr`""" return self.__getitem__(attr) + def __copy__(self): + cls = self.__class__ + if self.get("_spec_property_naming", False): + return cls._new_from_openapi_data(**self.__dict__) + else: + return new_cls.__new__(cls, **self.__dict__) + + def __deepcopy__(self, memo): + cls = self.__class__ + + if self.get("_spec_property_naming", False): + new_inst = cls._new_from_openapi_data() + else: + new_inst = cls.__new__(cls) + + for k, v in self.__dict__.items(): + setattr(new_inst, k, deepcopy(v, memo)) + return new_inst + + def __new__(cls, *args, **kwargs): # this function uses the discriminator to # pick a new schema/class to instantiate because a discriminator @@ -295,8 +316,13 @@ def __new__(cls, *args, **kwargs): self_inst = super(OpenApiModel, cls).__new__(cls) self_inst.__init__(*args, **kwargs) - new_inst = new_cls.__new__(new_cls, *args, **kwargs) - new_inst.__init__(*args, **kwargs) + if kwargs.get("_spec_property_naming", False): + # when true, implies new is from deserialization + new_inst = new_cls._new_from_openapi_data(*args, **kwargs) + else: + new_inst = new_cls.__new__(new_cls, *args, **kwargs) + new_inst.__init__(*args, **kwargs) + return new_inst @@ -446,7 +472,7 @@ def __getitem__(self, name): ) def __contains__(self, name): - """used by `in` operator to check if an attrbute value was set in an instance: `'attr' in instance`""" + """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" if name in self.required_properties: return name in self.__dict__ @@ -501,7 +527,7 @@ def __getitem__(self, name): ) def __contains__(self, name): - """used by `in` operator to check if an attrbute value was set in an instance: `'attr' in instance`""" + """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" if name in self.required_properties: return name in self.__dict__ @@ -648,7 +674,7 @@ def __getitem__(self, name): return value def __contains__(self, name): - """used by `in` operator to check if an attrbute value was set in an instance: `'attr' in instance`""" + """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" if name in self.required_properties: return name in self.__dict__ @@ -1479,6 +1505,9 @@ def is_valid_type(input_class_simple, valid_classes): Returns: bool """ + if issubclass(input_class_simple, OpenApiModel) and \ + valid_classes == (bool, date, datetime, dict, float, int, list, str, none_type,): + return True valid_type = input_class_simple in valid_classes if not valid_type and ( issubclass(input_class_simple, OpenApiModel) or @@ -1628,6 +1657,7 @@ def model_to_dict(model_instance, serialize=True): attribute_map """ result = {} + extract_item = lambda item: (item[0], model_to_dict(item[1], serialize=serialize)) if hasattr(item[1], '_data_store') else item model_instances = [model_instance] if model_instance._composed_schemas: @@ -1657,14 +1687,17 @@ def model_to_dict(model_instance, serialize=True): res.append(v) elif isinstance(v, ModelSimple): res.append(v.value) + elif isinstance(v, dict): + res.append(dict(map( + extract_item, + v.items() + ))) else: res.append(model_to_dict(v, serialize=serialize)) result[attr] = res elif isinstance(value, dict): result[attr] = dict(map( - lambda item: (item[0], - model_to_dict(item[1], serialize=serialize)) - if hasattr(item[1], '_data_store') else item, + extract_item, value.items() )) elif isinstance(value, ModelSimple): @@ -1747,7 +1780,10 @@ def get_allof_instances(self, model_args, constant_args): for allof_class in self._composed_schemas['allOf']: try: - allof_instance = allof_class(**model_args, **constant_args) + if constant_args.get('_spec_property_naming'): + allof_instance = allof_class._from_openapi_data(**model_args, **constant_args) + else: + allof_instance = allof_class(**model_args, **constant_args) composed_instances.append(allof_instance) except Exception as ex: raise ApiValueError( @@ -1809,10 +1845,16 @@ def get_oneof_instance(cls, model_kwargs, constant_kwargs, model_arg=None): try: if not single_value_input: - oneof_instance = oneof_class(**model_kwargs, **constant_kwargs) + if constant_kwargs.get('_spec_property_naming'): + oneof_instance = oneof_class._from_openapi_data(**model_kwargs, **constant_kwargs) + else: + oneof_instance = oneof_class(**model_kwargs, **constant_kwargs) else: if issubclass(oneof_class, ModelSimple): - oneof_instance = oneof_class(model_arg, **constant_kwargs) + if constant_kwargs.get('_spec_property_naming'): + oneof_instance = oneof_class._from_openapi_data(model_arg, **constant_kwargs) + else: + oneof_instance = oneof_class(model_arg, **constant_kwargs) elif oneof_class in PRIMITIVE_TYPES: oneof_instance = validate_and_convert_types( model_arg, @@ -1867,7 +1909,10 @@ def get_anyof_instances(self, model_args, constant_args): continue try: - anyof_instance = anyof_class(**model_args, **constant_args) + if constant_args.get('_spec_property_naming'): + anyof_instance = anyof_class._from_openapi_data(**model_args, **constant_args) + else: + anyof_instance = anyof_class(**model_args, **constant_args) anyof_instances.append(anyof_instance) except Exception: pass diff --git a/sdks/python/client/argo_workflows/rest.py b/sdks/python/client/argo_workflows/rest.py index fb366f8abd2a..12da67a0be99 100644 --- a/sdks/python/client/argo_workflows/rest.py +++ b/sdks/python/client/argo_workflows/rest.py @@ -14,8 +14,10 @@ import re import ssl from urllib.parse import urlencode - +from urllib.parse import urlparse +from urllib.request import proxy_bypass_environment import urllib3 +import ipaddress from argo_workflows.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError @@ -72,7 +74,7 @@ def __init__(self, configuration, pools_size=4, maxsize=None): maxsize = 4 # https pool manager - if configuration.proxy: + if configuration.proxy and not should_bypass_proxies(configuration.host, no_proxy=configuration.no_proxy or ''): self.pool_manager = urllib3.ProxyManager( num_pools=pools_size, maxsize=maxsize, @@ -290,3 +292,55 @@ def PATCH(self, url, headers=None, query_params=None, post_params=None, _preload_content=_preload_content, _request_timeout=_request_timeout, body=body) + +# end of class RESTClientObject +def is_ipv4(target): + """ Test if IPv4 address or not + """ + try: + chk = ipaddress.IPv4Address(target) + return True + except ipaddress.AddressValueError: + return False + +def in_ipv4net(target, net): + """ Test if target belongs to given IPv4 network + """ + try: + nw = ipaddress.IPv4Network(net) + ip = ipaddress.IPv4Address(target) + if ip in nw: + return True + return False + except ipaddress.AddressValueError: + return False + except ipaddress.NetmaskValueError: + return False + +def should_bypass_proxies(url, no_proxy=None): + """ Yet another requests.should_bypass_proxies + Test if proxies should not be used for a particular url. + """ + + parsed = urlparse(url) + + # special cases + if parsed.hostname in [None, '']: + return True + + # special cases + if no_proxy in [None , '']: + return False + if no_proxy == '*': + return True + + no_proxy = no_proxy.lower().replace(' ',''); + entries = ( + host for host in no_proxy.split(',') if host + ) + + if is_ipv4(parsed.hostname): + for item in entries: + if in_ipv4net(parsed.hostname, item): + return True + return proxy_bypass_environment(parsed.hostname, {'no': no_proxy} ) diff --git a/sdks/python/client/docs/ArchivedWorkflowServiceApi.md b/sdks/python/client/docs/ArchivedWorkflowServiceApi.md index 6df6be16e822..de69eac9b05f 100644 --- a/sdks/python/client/docs/ArchivedWorkflowServiceApi.md +++ b/sdks/python/client/docs/ArchivedWorkflowServiceApi.md @@ -21,6 +21,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -80,6 +81,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -95,6 +97,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -155,6 +158,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -170,6 +174,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -226,6 +231,7 @@ This endpoint does not need any parameter. ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -241,6 +247,7 @@ This endpoint does not need any parameter. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -318,6 +325,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -333,6 +341,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -412,6 +421,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -427,6 +437,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -498,6 +509,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -513,6 +525,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -585,6 +598,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | diff --git a/sdks/python/client/docs/ArtifactServiceApi.md b/sdks/python/client/docs/ArtifactServiceApi.md index e77dcbae8a86..d27b7e680de1 100644 --- a/sdks/python/client/docs/ArtifactServiceApi.md +++ b/sdks/python/client/docs/ArtifactServiceApi.md @@ -19,6 +19,7 @@ Get an artifact. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -88,6 +89,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | An artifact file. | - | @@ -103,6 +105,7 @@ Get an input artifact. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -169,6 +172,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | An artifact file. | - | @@ -184,6 +188,7 @@ Get an input artifact by UID. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -248,6 +253,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | An artifact file. | - | @@ -263,6 +269,7 @@ Get an output artifact. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -329,6 +336,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | An artifact file. | - | @@ -344,6 +352,7 @@ Get an output artifact by UID. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -408,6 +417,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | An artifact file. | - | diff --git a/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md b/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md index d9e90fc47717..32e006a3cd95 100644 --- a/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md +++ b/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md @@ -20,6 +20,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10618,6 +10619,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10633,6 +10635,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10714,6 +10717,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10729,6 +10733,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10799,6 +10804,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10814,6 +10820,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21412,6 +21419,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21427,6 +21435,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21504,6 +21513,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21519,6 +21529,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -32113,6 +32124,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | diff --git a/sdks/python/client/docs/CronWorkflowServiceApi.md b/sdks/python/client/docs/CronWorkflowServiceApi.md index 779747041204..385237c1d41b 100644 --- a/sdks/python/client/docs/CronWorkflowServiceApi.md +++ b/sdks/python/client/docs/CronWorkflowServiceApi.md @@ -22,6 +22,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10696,6 +10697,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10711,6 +10713,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10794,6 +10797,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10809,6 +10813,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10881,6 +10886,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10896,6 +10902,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21563,6 +21570,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21578,6 +21586,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21664,6 +21673,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21679,6 +21689,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21747,6 +21758,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21762,6 +21774,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21830,6 +21843,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21845,6 +21859,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -32515,6 +32530,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | diff --git a/sdks/python/client/docs/EventServiceApi.md b/sdks/python/client/docs/EventServiceApi.md index 70366184e1ee..f013152208e0 100644 --- a/sdks/python/client/docs/EventServiceApi.md +++ b/sdks/python/client/docs/EventServiceApi.md @@ -16,6 +16,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -102,6 +103,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -117,6 +119,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -180,6 +183,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | diff --git a/sdks/python/client/docs/EventSourceServiceApi.md b/sdks/python/client/docs/EventSourceServiceApi.md index c68b344298ec..e6dd30662557 100644 --- a/sdks/python/client/docs/EventSourceServiceApi.md +++ b/sdks/python/client/docs/EventSourceServiceApi.md @@ -21,6 +21,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2306,6 +2307,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -2321,6 +2323,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2404,6 +2407,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -2419,6 +2423,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2515,6 +2520,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | @@ -2530,6 +2536,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2592,6 +2599,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -2607,6 +2615,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2693,6 +2702,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -2708,6 +2718,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -4996,6 +5007,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -5011,6 +5023,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -5097,6 +5110,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | diff --git a/sdks/python/client/docs/InfoServiceApi.md b/sdks/python/client/docs/InfoServiceApi.md index 9383c732955b..6d61c4cf5707 100644 --- a/sdks/python/client/docs/InfoServiceApi.md +++ b/sdks/python/client/docs/InfoServiceApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -80,6 +81,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -95,6 +97,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -151,6 +154,7 @@ This endpoint does not need any parameter. ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -166,6 +170,7 @@ This endpoint does not need any parameter. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -222,6 +227,7 @@ This endpoint does not need any parameter. ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -237,6 +243,7 @@ This endpoint does not need any parameter. ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -293,6 +300,7 @@ This endpoint does not need any parameter. ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ParallelSteps.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ParallelSteps.md index 2694cf382d93..be81e14f96f6 100644 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ParallelSteps.md +++ b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ParallelSteps.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **value** | [**[IoArgoprojWorkflowV1alpha1WorkflowStep]**](IoArgoprojWorkflowV1alpha1WorkflowStep.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/python/client/docs/SensorServiceApi.md b/sdks/python/client/docs/SensorServiceApi.md index 7b2f4b2b2414..53d3695d69fa 100644 --- a/sdks/python/client/docs/SensorServiceApi.md +++ b/sdks/python/client/docs/SensorServiceApi.md @@ -21,6 +21,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -1860,6 +1861,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -1875,6 +1877,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -1958,6 +1961,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -1973,6 +1977,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2045,6 +2050,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -2060,6 +2066,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2146,6 +2153,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -2161,6 +2169,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -2255,6 +2264,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | @@ -2270,6 +2280,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -4105,6 +4116,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -4120,6 +4132,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -4206,6 +4219,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | diff --git a/sdks/python/client/docs/WorkflowServiceApi.md b/sdks/python/client/docs/WorkflowServiceApi.md index 1adabe95cf51..b923463bc473 100644 --- a/sdks/python/client/docs/WorkflowServiceApi.md +++ b/sdks/python/client/docs/WorkflowServiceApi.md @@ -31,6 +31,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -27027,6 +27028,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -27042,6 +27044,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -27127,6 +27130,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -27142,6 +27146,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -27216,6 +27221,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -27231,6 +27237,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54218,6 +54225,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54233,6 +54241,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54321,6 +54330,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54336,6 +54346,7 @@ DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54434,6 +54445,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | @@ -54449,6 +54461,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54521,6 +54534,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54536,6 +54550,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54605,6 +54620,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54620,6 +54636,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54693,6 +54710,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54708,6 +54726,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54780,6 +54799,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54795,6 +54815,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54865,6 +54886,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54880,6 +54902,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -54970,6 +54993,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -54985,6 +55009,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -55053,6 +55078,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -55068,6 +55094,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -55136,6 +55163,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -55151,6 +55179,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -55237,6 +55266,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | @@ -55252,6 +55282,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -55340,6 +55371,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | @@ -55355,6 +55387,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -55451,6 +55484,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | diff --git a/sdks/python/client/docs/WorkflowTemplateServiceApi.md b/sdks/python/client/docs/WorkflowTemplateServiceApi.md index 1cad5096f935..b34d2fe6bf7c 100644 --- a/sdks/python/client/docs/WorkflowTemplateServiceApi.md +++ b/sdks/python/client/docs/WorkflowTemplateServiceApi.md @@ -20,6 +20,7 @@ Method | HTTP request | Description ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10621,6 +10622,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10636,6 +10638,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10719,6 +10722,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10734,6 +10738,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -10806,6 +10811,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -10821,6 +10827,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21422,6 +21429,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21437,6 +21445,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -21523,6 +21532,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | @@ -21538,6 +21548,7 @@ Name | Type | Description | Notes ### Example * Api Key Authentication (BearerToken): + ```python import time import argo_workflows @@ -32135,6 +32146,7 @@ Name | Type | Description | Notes ### HTTP response details + | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | diff --git a/sdks/python/tests/client_unittest.py b/sdks/python/tests/client_unittest.py index 0ba5748f66d2..0e70f6cb1aa5 100644 --- a/sdks/python/tests/client_unittest.py +++ b/sdks/python/tests/client_unittest.py @@ -37,7 +37,11 @@ def test_create_workflow(self): body=IoArgoprojWorkflowV1alpha1WorkflowCreateRequest(workflow=manifest), _check_return_type=False) pprint(api_response) - + api_response = api_instance.list_workflows( + namespace='argo', + _check_return_type=False + ) + pprint(api_response) if __name__ == '__main__': unittest.main() diff --git a/server/apiserver/argoserver.go b/server/apiserver/argoserver.go index c7d90a021eb6..147e902967e4 100644 --- a/server/apiserver/argoserver.go +++ b/server/apiserver/argoserver.go @@ -118,7 +118,7 @@ func init() { var err error MaxGRPCMessageSize, err = env.GetInt("GRPC_MESSAGE_SIZE", 100*1024*1024) if err != nil { - log.Fatalf("GRPC_MESSAGE_SIZE environment variable must be set as an integer: %v", err) + log.WithError(err).Fatal("GRPC_MESSAGE_SIZE environment variable must be set as an integer") } } @@ -212,7 +212,7 @@ func (as *argoServer) Run(ctx context.Context, port int, browserOpenFunc func(st // like and the controller won't offload newly created workflows, but you can still read them offloadRepo, err = sqldb.NewOffloadNodeStatusRepo(session, persistence.GetClusterName(), tableName) if err != nil { - log.Fatal(err) + log.WithError(err).Fatal(err.Error()) } // we always enable the archive for the Argo Server, as the Argo Server does not write records, so you can // disable the archiving - and still read old records @@ -232,7 +232,7 @@ func (as *argoServer) Run(ctx context.Context, port int, browserOpenFunc func(st err = wait.ExponentialBackoff(backoff, func() (bool, error) { conn, listerErr = net.Listen("tcp", address) if listerErr != nil { - log.Warnf("failed to listen: %v", listerErr) + log.WithError(err).Warn("failed to listen") return false, nil } return true, nil @@ -262,7 +262,7 @@ func (as *argoServer) Run(ctx context.Context, port int, browserOpenFunc func(st log.WithFields(log.Fields{ "GRPC_MESSAGE_SIZE": MaxGRPCMessageSize, }).Info("GRPC Server Max Message Size, MaxGRPCMessageSize, is set") - log.Infof("Argo Server started successfully on %s", url) + log.WithFields(log.Fields{"url": url}).Infof("Argo Server started successfully on %s", url) browserOpenFunc(url) <-as.stopCh @@ -334,10 +334,7 @@ func (as *argoServer) newHTTPServer(ctx context.Context, port int, artifactServe grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(MaxGRPCMessageSize)), } if as.tlsConfig != nil { - tlsConfig := as.tlsConfig - tlsConfig.InsecureSkipVerify = true - dCreds := credentials.NewTLS(tlsConfig) - dialOpts = append(dialOpts, grpc.WithTransportCredentials(dCreds)) + dialOpts = append(dialOpts, grpc.WithTransportCredentials(credentials.NewTLS(as.tlsConfig))) } else { dialOpts = append(dialOpts, grpc.WithTransportCredentials(insecure.NewCredentials())) } @@ -416,14 +413,15 @@ func mustRegisterGWHandler(register registerFunc, ctx context.Context, mux *runt // checkServeErr checks the error from a .Serve() call to decide if it was a graceful shutdown func (as *argoServer) checkServeErr(name string, err error) { + nameField := log.Fields{"name": name} if err != nil { if as.stopCh == nil { // a nil stopCh indicates a graceful shutdown - log.Infof("graceful shutdown %s: %v", name, err) + log.WithFields(nameField).WithError(err).Info("graceful shutdown with error") } else { - log.Fatalf("%s: %v", name, err) + log.WithFields(nameField).WithError(err).Fatalf("%s: %v", name, err) } } else { - log.Infof("graceful shutdown %s", name) + log.WithFields(nameField).Info("graceful shutdown") } } diff --git a/server/artifacts/artifact_server.go b/server/artifacts/artifact_server.go index fbe9f2ae2791..473b794c1398 100644 --- a/server/artifacts/artifact_server.go +++ b/server/artifacts/artifact_server.go @@ -392,16 +392,20 @@ func (a *ArtifactServer) getArtifactAndDriver(ctx context.Context, nodeId, artif // 2. Defined by Controller configmap // 3. Workflow spec defines artifactRepositoryRef which is a ConfigMap which defines the location // 4. Template defines ArchiveLocation + // 5. Inline Template + var archiveLocation *wfv1.ArtifactLocation templateName := util.GetTemplateFromNode(wf.Status.Nodes[nodeId]) - template := wf.GetTemplateByName(templateName) - if template == nil { - return nil, nil, fmt.Errorf("no template found by the name of '%s' (which is the template associated with nodeId '%s'??", templateName, nodeId) + if templateName != "" { + template := wf.GetTemplateByName(templateName) + if template == nil { + return nil, nil, fmt.Errorf("no template found by the name of '%s' (which is the template associated with nodeId '%s'??", templateName, nodeId) + } + archiveLocation = template.ArchiveLocation // this is case 4 } - archiveLocation := template.ArchiveLocation // this is case 4 - if !archiveLocation.HasLocation() { - ar, err := a.artifactRepositories.Get(ctx, wf.Status.ArtifactRepositoryRef) // this should handle cases 2 and 3 + if templateName == "" || !archiveLocation.HasLocation() { + ar, err := a.artifactRepositories.Get(ctx, wf.Status.ArtifactRepositoryRef) // this should handle cases 2, 3 and 5 if err != nil { return art, nil, err } @@ -437,7 +441,7 @@ func (a *ArtifactServer) returnArtifact(w http.ResponseWriter, art *wfv1.Artifac defer func() { if err := stream.Close(); err != nil { - log.Warningf("Error closing stream[%s]: %v", stream, err) + log.WithFields(log.Fields{"stream": stream}).WithError(err).Warning("Error closing stream") } }() diff --git a/server/artifacts/artifact_server_test.go b/server/artifacts/artifact_server_test.go index 686224bb417e..9aa2ea9ca908 100644 --- a/server/artifacts/artifact_server_test.go +++ b/server/artifacts/artifact_server_test.go @@ -63,6 +63,7 @@ var bucketsOfKeys = map[string][]string{ "my-wf/my-node-1/my-gcs-artifact.tgz", "my-wf/my-node-1/my-oss-artifact.zip", "my-wf/my-node-1/my-s3-artifact.tgz", + "my-wf/my-node-inline/main.log", }, "my-bucket-2": { "my-wf/my-node-2/my-s3-artifact-bucket-2", @@ -305,6 +306,22 @@ func newServer() *ArtifactServer { }, }, }, + "my-node-inline": wfv1.NodeStatus{ + TemplateName: "", + Outputs: &wfv1.Outputs{ + Artifacts: wfv1.Artifacts{ + { + Name: "my-s3-artifact-inline", + ArtifactLocation: wfv1.ArtifactLocation{ + S3: &wfv1.S3Artifact{ + // S3 is a configured artifact repo, so does not need key + Key: "my-wf/my-node-inline/main.log", + }, + }, + }, + }, + }, + }, // a node without input/output artifacts "my-node-no-artifacts": wfv1.NodeStatus{}, }, @@ -520,6 +537,38 @@ func TestArtifactServer_GetOutputArtifactWithTemplate(t *testing.T) { } } +func TestArtifactServer_GetOutputArtifactWithInlineTemplate(t *testing.T) { + s := newServer() + + tests := []struct { + fileName string + artifactName string + }{ + { + fileName: "main.log", + artifactName: "my-s3-artifact-inline", + }, + } + + for _, tt := range tests { + t.Run(tt.artifactName, func(t *testing.T) { + r := &http.Request{} + r.URL = mustParse(fmt.Sprintf("/artifacts/my-ns/my-wf/my-node-inline/%s", tt.artifactName)) + recorder := httptest.NewRecorder() + + s.GetOutputArtifact(recorder, r) + if assert.Equal(t, 200, recorder.Result().StatusCode) { + assert.Equal(t, fmt.Sprintf(`filename="%s"`, tt.fileName), recorder.Header().Get("Content-Disposition")) + all, err := io.ReadAll(recorder.Result().Body) + if err != nil { + panic(fmt.Sprintf("failed to read http body: %v", err)) + } + assert.Equal(t, "my-data", string(all)) + } + }) + } +} + func TestArtifactServer_GetInputArtifact(t *testing.T) { s := newServer() diff --git a/server/auth/gatekeeper.go b/server/auth/gatekeeper.go index 588ae4fef78c..193676303b47 100644 --- a/server/auth/gatekeeper.go +++ b/server/auth/gatekeeper.go @@ -8,6 +8,8 @@ import ( "sort" "strconv" + "github.com/argoproj/argo-workflows/v3/util/secrets" + eventsource "github.com/argoproj/argo-events/pkg/client/eventsource/clientset/versioned" sensor "github.com/argoproj/argo-events/pkg/client/sensor/clientset/versioned" log "github.com/sirupsen/logrus" @@ -316,10 +318,8 @@ func (s *gatekeeper) rbacAuthorization(ctx context.Context, claims *types.Claims } func (s *gatekeeper) authorizationForServiceAccount(ctx context.Context, serviceAccount *corev1.ServiceAccount) (string, error) { - if len(serviceAccount.Secrets) == 0 { - return "", fmt.Errorf("expected at least one secret for SSO RBAC service account: %s", serviceAccount.GetName()) - } - secret, err := s.cache.GetSecret(ctx, serviceAccount.GetNamespace(), serviceAccount.Secrets[0].Name) + secretName := secrets.TokenNameForServiceAccount(serviceAccount) + secret, err := s.cache.GetSecret(ctx, serviceAccount.GetNamespace(), secretName) if err != nil { return "", fmt.Errorf("failed to get service account secret: %w", err) } diff --git a/server/auth/sso/sso.go b/server/auth/sso/sso.go index ea6acc5e3233..9cf338f9cd18 100644 --- a/server/auth/sso/sso.go +++ b/server/auth/sso/sso.go @@ -79,7 +79,8 @@ type providerInterface interface { type providerFactory func(ctx context.Context, issuer string) (providerInterface, error) func providerFactoryOIDC(ctx context.Context, issuer string) (providerInterface, error) { - return oidc.NewProvider(ctx, issuer) + oidcCtx := oidc.ClientContext(ctx, &http.Client{}) + return oidc.NewProvider(oidcCtx, issuer) } func New(c Config, secretsIf corev1.SecretInterface, baseHRef string, secure bool) (Interface, error) { diff --git a/server/auth/webhook/interceptor.go b/server/auth/webhook/interceptor.go index 6b88fab93745..551dbf2e9b1c 100644 --- a/server/auth/webhook/interceptor.go +++ b/server/auth/webhook/interceptor.go @@ -7,6 +7,8 @@ import ( "net/http" "strings" + "github.com/argoproj/argo-workflows/v3/util/secrets" + log "github.com/sirupsen/logrus" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" @@ -84,10 +86,7 @@ func addWebhookAuthorization(r *http.Request, kube kubernetes.Interface) error { if err != nil { return fmt.Errorf("failed to get service account \"%s\": %w", serviceAccountName, err) } - if len(serviceAccount.Secrets) == 0 { - return fmt.Errorf("failed to get secret for service account \"%s\": no secrets", serviceAccountName) - } - tokenSecret, err := secretsInterface.Get(ctx, serviceAccount.Secrets[0].Name, metav1.GetOptions{}) + tokenSecret, err := secretsInterface.Get(ctx, secrets.TokenNameForServiceAccount(serviceAccount), metav1.GetOptions{}) if err != nil { return fmt.Errorf("failed to get token secret \"%s\": %w", tokenSecret, err) } diff --git a/server/workflow/workflow_server.go b/server/workflow/workflow_server.go index ca5ad1e0665b..d6dad191dd2d 100644 --- a/server/workflow/workflow_server.go +++ b/server/workflow/workflow_server.go @@ -80,10 +80,10 @@ func (s *workflowServer) CreateWorkflow(ctx context.Context, req *workflowpkg.Wo if err != nil { if apierr.IsServerTimeout(err) && req.Workflow.GenerateName != "" && req.Workflow.Name != "" { errWithHint := fmt.Errorf(`create request failed due to timeout, but it's possible that workflow "%s" already exists. Original error: %w`, req.Workflow.Name, err) - log.Error(errWithHint) + log.WithError(errWithHint).Error(errWithHint.Error()) return nil, errWithHint } - log.Errorf("Create request failed: %s", err) + log.WithError(err).Error("Create request failed") return nil, err } @@ -395,7 +395,7 @@ func (s *workflowServer) ResumeWorkflow(ctx context.Context, req *workflowpkg.Wo err = util.ResumeWorkflow(ctx, wfClient.ArgoprojV1alpha1().Workflows(req.Namespace), s.hydrator, wf.Name, req.NodeFieldSelector) if err != nil { - log.Warnf("Failed to resume %s: %+v", wf.Name, err) + log.WithFields(log.Fields{"name": wf.Name}).WithError(err).Warn("Failed to resume") return nil, err } diff --git a/test/e2e/agent_test.go b/test/e2e/agent_test.go index 83dda64d3bee..7c3f06cb486d 100644 --- a/test/e2e/agent_test.go +++ b/test/e2e/agent_test.go @@ -110,15 +110,15 @@ spec: - - name: http-status-is-201-fails template: http-status-is-201 arguments: - parameters: [{name: url, value: "https://httpstat.us/200"}] + parameters: [{name: url, value: "http://httpbin:9100/status/200"}] - name: http-status-is-201-succeeds template: http-status-is-201 arguments: - parameters: [{name: url, value: "https://httpstat.us/201"}] + parameters: [{name: url, value: "http://httpbin:9100/status/201"}] - name: http-body-contains-google-fails template: http-body-contains-google arguments: - parameters: [{name: url, value: "https://httpstat.us/200"}] + parameters: [{name: url, value: "http://httpbin:9100/status/200"}] - name: http-body-contains-google-succeeds template: http-body-contains-google arguments: diff --git a/test/e2e/argo_server_test.go b/test/e2e/argo_server_test.go index b5ba97751ece..5f328d47e00f 100644 --- a/test/e2e/argo_server_test.go +++ b/test/e2e/argo_server_test.go @@ -14,6 +14,8 @@ import ( "testing" "time" + "github.com/argoproj/argo-workflows/v3/util/secrets" + "github.com/gavv/httpexpect/v2" log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" @@ -377,31 +379,25 @@ func (s *ArgoServerSuite) TestMultiCookieAuth() { Status(200) } -func (s *ArgoServerSuite) TestPermission() { - nsName := fixtures.Namespace - // Create good serviceaccount - goodSaName := "argotestgood" - goodSa := &corev1.ServiceAccount{ObjectMeta: metav1.ObjectMeta{Name: goodSaName}} +func (s *ArgoServerSuite) createServiceAccount(name string) { ctx := context.Background() - s.Run("CreateGoodSA", func() { - _, err := s.KubeClient.CoreV1().ServiceAccounts(nsName).Create(ctx, goodSa, metav1.CreateOptions{}) - assert.NoError(s.T(), err) + _, err := s.KubeClient.CoreV1().ServiceAccounts(fixtures.Namespace).Create(ctx, &corev1.ServiceAccount{ObjectMeta: metav1.ObjectMeta{Name: name}}, metav1.CreateOptions{}) + assert.NoError(s.T(), err) + secret, err := s.KubeClient.CoreV1().Secrets(fixtures.Namespace).Create(ctx, secrets.NewTokenSecret(name), metav1.CreateOptions{}) + assert.NoError(s.T(), err) + s.T().Cleanup(func() { + _ = s.KubeClient.CoreV1().Secrets(fixtures.Namespace).Delete(ctx, secret.Name, metav1.DeleteOptions{}) + _ = s.KubeClient.CoreV1().ServiceAccounts(fixtures.Namespace).Delete(ctx, name, metav1.DeleteOptions{}) }) - defer func() { - // Clean up created sa - _ = s.KubeClient.CoreV1().ServiceAccounts(nsName).Delete(ctx, goodSaName, metav1.DeleteOptions{}) - }() +} - // Create bad serviceaccount +func (s *ArgoServerSuite) TestPermission() { + ctx := context.Background() + nsName := fixtures.Namespace + goodSaName := "argotestgood" + s.createServiceAccount(goodSaName) badSaName := "argotestbad" - badSa := &corev1.ServiceAccount{ObjectMeta: metav1.ObjectMeta{Name: badSaName}} - s.Run("CreateBadSA", func() { - _, err := s.KubeClient.CoreV1().ServiceAccounts(nsName).Create(ctx, badSa, metav1.CreateOptions{}) - assert.NoError(s.T(), err) - }) - defer func() { - _ = s.KubeClient.CoreV1().ServiceAccounts(nsName).Delete(ctx, badSaName, metav1.DeleteOptions{}) - }() + s.createServiceAccount(badSaName) // Create RBAC Role var roleName string @@ -445,7 +441,7 @@ func (s *ArgoServerSuite) TestPermission() { s.Run("GetGoodSAToken", func() { sAccount, err := s.KubeClient.CoreV1().ServiceAccounts(nsName).Get(ctx, goodSaName, metav1.GetOptions{}) if assert.NoError(s.T(), err) { - secretName := sAccount.Secrets[0].Name + secretName := secrets.TokenNameForServiceAccount(sAccount) secret, err := s.KubeClient.CoreV1().Secrets(nsName).Get(ctx, secretName, metav1.GetOptions{}) assert.NoError(s.T(), err) goodToken = string(secret.Data["token"]) @@ -457,7 +453,7 @@ func (s *ArgoServerSuite) TestPermission() { s.Run("GetBadSAToken", func() { sAccount, err := s.KubeClient.CoreV1().ServiceAccounts(nsName).Get(ctx, badSaName, metav1.GetOptions{}) assert.NoError(s.T(), err) - secretName := sAccount.Secrets[0].Name + secretName := secrets.TokenNameForServiceAccount(sAccount) secret, err := s.KubeClient.CoreV1().Secrets(nsName).Get(ctx, secretName, metav1.GetOptions{}) assert.NoError(s.T(), err) badToken = string(secret.Data["token"]) @@ -1060,26 +1056,6 @@ func (s *ArgoServerSuite) TestArtifactServer() { s.artifactServerRetrievalTests(name, uid) } -func (s *ArgoServerSuite) TestArtifactServerAzure() { - if os.Getenv("AZURE") != "true" { - s.T().Skip("AZURE must be true to run Azure Storage e2e tests") - } - var uid types.UID - var name string - s.Given(). - Workflow(`@testdata/artifact-workflow-azure.yaml`). - When(). - SubmitWorkflow(). - WaitForWorkflow(fixtures.ToBeArchived). - Then(). - ExpectWorkflow(func(t *testing.T, metadata *metav1.ObjectMeta, status *wfv1.WorkflowStatus) { - name = metadata.Name - uid = metadata.UID - }) - - s.artifactServerRetrievalTests(name, uid) -} - func (s *ArgoServerSuite) artifactServerRetrievalTests(name string, uid types.UID) { s.Run("GetArtifact", func() { resp := s.e().GET("/artifacts/argo/" + name + "/" + name + "/main-file"). diff --git a/test/e2e/artifacts_test.go b/test/e2e/artifacts_test.go index dd5390f98289..bdc64be927f5 100644 --- a/test/e2e/artifacts_test.go +++ b/test/e2e/artifacts_test.go @@ -143,7 +143,7 @@ func (s *ArtifactsSuite) TestArtifactGC() { } else { fmt.Printf("verifying artifact %s is not deleted at completion time\n", expectedArtifact.key) then.ExpectArtifactByKey(expectedArtifact.key, expectedArtifact.bucketName, func(t *testing.T, object minio.ObjectInfo, err error) { - assert.Nil(t, err) + assert.NoError(t, err) }) } } diff --git a/test/e2e/cli_test.go b/test/e2e/cli_test.go index 4a67ce57861e..cb4449642f03 100644 --- a/test/e2e/cli_test.go +++ b/test/e2e/cli_test.go @@ -1359,14 +1359,6 @@ func (s *CLISuite) TestWorkflowCopyArtifact() { s.workflowCopyArtifactTests("basic-artifact-workflow.yaml") } -func (s *CLISuite) TestWorkflowCopyArtifactAzure() { - if os.Getenv("AZURE") != "true" { - s.T().Skip("AZURE must be true to run Azure Storage e2e tests") - } - - s.workflowCopyArtifactTests("basic-artifact-workflow-azure.yaml") -} - func (s *CLISuite) workflowCopyArtifactTests(workflowFileName string) { s.Given(). Workflow(fmt.Sprintf("@testdata/%s", workflowFileName)). diff --git a/test/e2e/fixtures/e2e_suite.go b/test/e2e/fixtures/e2e_suite.go index e1435fed1add..e189c918df96 100644 --- a/test/e2e/fixtures/e2e_suite.go +++ b/test/e2e/fixtures/e2e_suite.go @@ -5,9 +5,10 @@ import ( "encoding/base64" "fmt" "os" - "strings" "time" + "github.com/argoproj/argo-workflows/v3/util/secrets" + "github.com/TwiN/go-color" "github.com/stretchr/testify/suite" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -189,16 +190,11 @@ func (s *E2ESuite) GetServiceAccountToken() (string, error) { } ctx := context.Background() - secretList, err := clientset.CoreV1().Secrets("argo").List(ctx, metav1.ListOptions{}) + sec, err := clientset.CoreV1().Secrets(Namespace).Get(ctx, secrets.TokenName("argo-server"), metav1.GetOptions{}) if err != nil { return "", err } - for _, sec := range secretList.Items { - if strings.HasPrefix(sec.Name, "argo-server-token") { - return string(sec.Data["token"]), nil - } - } - return "", nil + return string(sec.Data["token"]), nil } func (s *E2ESuite) Given() *Given { diff --git a/test/e2e/functional_test.go b/test/e2e/functional_test.go index defac6d78af7..11918cc9fbbe 100644 --- a/test/e2e/functional_test.go +++ b/test/e2e/functional_test.go @@ -89,6 +89,44 @@ spec: }) } +func (s *FunctionalSuite) TestWhenExpressions() { + s.Given(). + Workflow("@functional/conditionals.yaml"). + When(). + SubmitWorkflow(). + WaitForWorkflow(fixtures.ToBeSucceeded, 2*time.Minute). + Then(). + ExpectWorkflowNode(wfv1.NodeWithDisplayName("print-hello-govaluate"), func(t *testing.T, n *wfv1.NodeStatus, p *apiv1.Pod) { + assert.NotEqual(t, wfv1.NodeTypeSkipped, n.Type) + }). + ExpectWorkflowNode(wfv1.NodeWithDisplayName("print-hello-expr"), func(t *testing.T, n *wfv1.NodeStatus, p *apiv1.Pod) { + assert.NotEqual(t, wfv1.NodeTypeSkipped, n.Type) + }). + ExpectWorkflowNode(wfv1.NodeWithDisplayName("print-hello-expr-json"), func(t *testing.T, n *wfv1.NodeStatus, p *apiv1.Pod) { + assert.NotEqual(t, wfv1.NodeTypeSkipped, n.Type) + }) +} + +func (s *FunctionalSuite) TestJSONVariables() { + + s.Given(). + Workflow("@testdata/json-variables.yaml"). + When(). + SubmitWorkflow(). + WaitForWorkflow(). + Then(). + ExpectWorkflowNode(wfv1.SucceededPodNode, func(t *testing.T, n *wfv1.NodeStatus, p *apiv1.Pod) { + for _, c := range p.Spec.Containers { + if c.Name == "main" { + assert.Equal(t, 3, len(c.Args)) + assert.Equal(t, "myLabelValue", c.Args[0]) + assert.Equal(t, "myAnnotationValue", c.Args[1]) + assert.Equal(t, "myParamValue", c.Args[2]) + } + } + }) +} + func (s *FunctionalSuite) TestWorkflowTTL() { s.Given(). Workflow(` @@ -675,13 +713,13 @@ spec: `). When(). SubmitWorkflow(). - WaitForWorkflow(10 * time.Second). + WaitForWorkflow(10*time.Second). Then(). ExpectWorkflow(func(t *testing.T, md *metav1.ObjectMeta, status *wfv1.WorkflowStatus) { assert.Equal(t, wfv1.WorkflowFailed, status.Phase) - if node := status.Nodes.FindByDisplayName(md.Name); assert.NotNil(t, node) { - assert.Contains(t, node.Message, "Pod was active on the node longer than the specified deadline") - } + }). + ExpectWorkflowNode(wfv1.FailedPodNode, func(t *testing.T, n *wfv1.NodeStatus, p *apiv1.Pod) { + assert.Equal(t, *p.Spec.ActiveDeadlineSeconds, int64(5)) }) } diff --git a/test/e2e/http_artifacts_test.go b/test/e2e/http_artifacts_test.go index dc63ff8edab8..fe5fb829bb23 100644 --- a/test/e2e/http_artifacts_test.go +++ b/test/e2e/http_artifacts_test.go @@ -55,6 +55,14 @@ func (s *HttpArtifactsSuite) TestClientCertAuthArtifactHttp() { WaitForWorkflow(fixtures.ToBeSucceeded) } +func (s *HttpArtifactsSuite) TestArtifactoryArtifacts() { + s.Given(). + Workflow("@testdata/http/artifactory-artifact.yaml"). + When(). + SubmitWorkflow(). + WaitForWorkflow(fixtures.ToBeSucceeded) +} + func TestHttpArtifactsSuite(t *testing.T) { suite.Run(t, new(HttpArtifactsSuite)) } diff --git a/test/e2e/manifests/minimal/kustomization.yaml b/test/e2e/manifests/minimal/kustomization.yaml index e29f4ca34dcc..b1a5e2110728 100644 --- a/test/e2e/manifests/minimal/kustomization.yaml +++ b/test/e2e/manifests/minimal/kustomization.yaml @@ -7,6 +7,7 @@ resources: - https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/base/crds/argoproj.io_eventsources.yaml - https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/base/crds/argoproj.io_sensors.yaml - ../mixins/argo-workflows-agent-ca-certificates.yaml +- ../mixins/argo-server.service-account-token-secret.yaml patchesStrategicMerge: - ../mixins/argo-server-deployment.yaml diff --git a/test/e2e/manifests/mixins/argo-server.service-account-token-secret.yaml b/test/e2e/manifests/mixins/argo-server.service-account-token-secret.yaml new file mode 100644 index 000000000000..6a92851b419f --- /dev/null +++ b/test/e2e/manifests/mixins/argo-server.service-account-token-secret.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Secret +metadata: + name: argo-server.service-account-token + annotations: + kubernetes.io/service-account.name: argo-server +type: kubernetes.io/service-account-token \ No newline at end of file diff --git a/test/e2e/manifests/mysql/kustomization.yaml b/test/e2e/manifests/mysql/kustomization.yaml index 032ae2248a3f..37e04d03591c 100644 --- a/test/e2e/manifests/mysql/kustomization.yaml +++ b/test/e2e/manifests/mysql/kustomization.yaml @@ -6,6 +6,7 @@ resources: - https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/base/crds/argoproj.io_eventbus.yaml - https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/base/crds/argoproj.io_eventsources.yaml - https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/base/crds/argoproj.io_sensors.yaml +- ../mixins/argo-server.service-account-token-secret.yaml patchesStrategicMerge: - ../mixins/argo-server-deployment.yaml diff --git a/test/e2e/manifests/plugins/hello-executor-plugin.service-account-token-secret.yaml b/test/e2e/manifests/plugins/hello-executor-plugin.service-account-token-secret.yaml new file mode 100644 index 000000000000..391fa7086c99 --- /dev/null +++ b/test/e2e/manifests/plugins/hello-executor-plugin.service-account-token-secret.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Secret +metadata: + name: hello-executor-plugin.service-account-token + annotations: + kubernetes.io/service-account.name: hello-executor-plugin +type: kubernetes.io/service-account-token \ No newline at end of file diff --git a/test/e2e/manifests/plugins/kustomization.yaml b/test/e2e/manifests/plugins/kustomization.yaml index d47461ea77b9..83d9d8ec06fc 100644 --- a/test/e2e/manifests/plugins/kustomization.yaml +++ b/test/e2e/manifests/plugins/kustomization.yaml @@ -4,6 +4,7 @@ kind: Kustomization resources: - ../minimal - hello-executor-plugin-serviceaccount.yaml + - hello-executor-plugin.service-account-token-secret.yaml - hello-executor-plugin-configmap.yaml commonLabels: diff --git a/test/e2e/testdata/http/artifactory-artifact.yaml b/test/e2e/testdata/http/artifactory-artifact.yaml new file mode 100644 index 000000000000..bc9fc04a8835 --- /dev/null +++ b/test/e2e/testdata/http/artifactory-artifact.yaml @@ -0,0 +1,35 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Workflow +metadata: + generateName: artifactory-artifact-http- +spec: + entrypoint: main + templates: + - name: main + inputs: + artifacts: + - name: my-art + path: /my-artifact + artifactory: + url: http://httpbin:9100/basic-auth/admin/password + usernameSecret: + name: my-httpbin-cred + key: user + passwordSecret: + name: my-httpbin-cred + key: pass + outputs: + artifacts: + - name: my-art + path: /my-artifact + artifactory: + url: http://httpbin:9100/put + usernameSecret: + name: my-httpbin-cred + key: user + passwordSecret: + name: my-httpbin-cred + key: pass + container: + image: argoproj/argosay:v2 + command: [cat, "/my-artifact"] diff --git a/test/e2e/testdata/json-variables.yaml b/test/e2e/testdata/json-variables.yaml new file mode 100644 index 000000000000..1312aed84422 --- /dev/null +++ b/test/e2e/testdata/json-variables.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Workflow + +metadata: + generateName: json-variables- + + labels: + myLabel: myLabelValue + annotations: + myAnnotation: myAnnotationValue +spec: + entrypoint: argosay1 + arguments: + parameters: + - name: myParam + value: myParamValue + + templates: + - name: argosay1 + container: + image: argoproj/argosay:v1 + command: [echo] + args: + - "{{=jsonpath(workflow.labels.json, '$.myLabel')}}" + - "{{=jsonpath(workflow.annotations.json, '$.myAnnotation')}}" + - "{{=jsonpath(workflow.parameters.json, '$[0].value')}}" \ No newline at end of file diff --git a/test/e2e/workflow_configmap_substitution_test.go b/test/e2e/workflow_configmap_substitution_test.go index e6f652fb398e..2b9e7a16d5c5 100644 --- a/test/e2e/workflow_configmap_substitution_test.go +++ b/test/e2e/workflow_configmap_substitution_test.go @@ -182,6 +182,47 @@ spec: }) } +func (s *WorkflowConfigMapSelectorSubstitutionSuite) TestGlobalArgDefaultCMParamValueWhenNotFound() { + s.Given(). + Workflow(`apiVersion: argoproj.io/v1alpha1 +kind: Workflow +metadata: + generateName: workflow-template-cmkeyselector-wf-global-arg-default-param- + label: + workflows.argoproj.io/test: "true" +spec: + serviceAccountName: argo + entrypoint: whalesay + arguments: + parameters: + - name: simple-global-param + valueFrom: + default: "default value" + configMapKeyRef: + name: not-existing-cm + key: not-existing-key + templates: + - name: whalesay + container: + image: argoproj/argosay:v2 + command: [sh, -c] + args: ["sleep 1; echo -n {{workflow.parameters.simple-global-param}} > /tmp/message.txt"] + outputs: + parameters: + - name: message + valueFrom: + path: /tmp/message.txt +`). + When(). + SubmitWorkflow(). + WaitForWorkflow(fixtures.ToBeSucceeded). + Then(). + ExpectWorkflow(func(t *testing.T, metadata *metav1.ObjectMeta, status *wfv1.WorkflowStatus) { + assert.Equal(t, "default value", status.Nodes[metadata.Name].Outputs.Parameters[0].Value.String()) + assert.Equal(t, wfv1.WorkflowSucceeded, status.Phase) + }) +} + func TestConfigMapKeySelectorSubstitutionSuite(t *testing.T) { suite.Run(t, new(WorkflowConfigMapSelectorSubstitutionSuite)) } diff --git a/test/util/serviceaccount.go b/test/util/serviceaccount.go index 799b6cb3d0e1..950a2376eb69 100644 --- a/test/util/serviceaccount.go +++ b/test/util/serviceaccount.go @@ -3,6 +3,8 @@ package util import ( "context" + "github.com/argoproj/argo-workflows/v3/util/secrets" + corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" @@ -10,24 +12,12 @@ import ( // CreateServiceAccountWithToken creates a service account with a given name with a service account token. // Need to use this function to simulate the actual behavior of Kubernetes API server with the fake client. -func CreateServiceAccountWithToken(ctx context.Context, clientset kubernetes.Interface, namespace, name, tokenName string) (*corev1.ServiceAccount, error) { +func CreateServiceAccountWithToken(ctx context.Context, clientset kubernetes.Interface, namespace, name string) (*corev1.ServiceAccount, error) { sa, err := clientset.CoreV1().ServiceAccounts(namespace).Create(ctx, &corev1.ServiceAccount{ObjectMeta: metav1.ObjectMeta{Name: name}}, metav1.CreateOptions{}) if err != nil { return nil, err } - token, err := clientset.CoreV1().Secrets(namespace).Create(ctx, &corev1.Secret{ - ObjectMeta: metav1.ObjectMeta{ - Name: tokenName, - Annotations: map[string]string{ - corev1.ServiceAccountNameKey: sa.Name, - corev1.ServiceAccountUIDKey: string(sa.UID), - }, - }, Type: corev1.SecretTypeServiceAccountToken, - }, + _, err = clientset.CoreV1().Secrets(namespace).Create(ctx, secrets.NewTokenSecret(name), metav1.CreateOptions{}) - if err != nil { - return nil, err - } - sa.Secrets = []corev1.ObjectReference{{Name: token.Name}} - return clientset.CoreV1().ServiceAccounts(namespace).Update(ctx, sa, metav1.UpdateOptions{}) + return sa, err } diff --git a/ui/package.json b/ui/package.json index 77d26d9759b1..c8b022dbfc4b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -20,7 +20,7 @@ "chartjs-plugin-annotation": "^0.5.7", "classnames": "^2.3.2", "cron-parser": "^4.6.0", - "cronstrue": "^2.11.0", + "cronstrue": "^2.14.0", "dagre": "^0.8.5", "history": "^4.10.1", "js-yaml": "^4.1.0", @@ -40,8 +40,8 @@ "swagger-ui-react": "^4.12.0" }, "devDependencies": { - "@babel/core": "^7.19.1", - "@babel/preset-env": "^7.19.1", + "@babel/core": "^7.19.3", + "@babel/preset-env": "^7.19.4", "@fortawesome/fontawesome-free": "^6.2.0", "@types/chart.js": "^2.9.24", "@types/classnames": "^2.3.1", @@ -59,7 +59,7 @@ "@types/react-router-dom": "^4.2.3", "@types/superagent": "^4.1.15", "@types/swagger-ui-react": "^4.11.0", - "babel-jest": "^29.0.3", + "babel-jest": "^29.2.0", "babel-loader": "^8.2.5", "copy-webpack-plugin": "^5.1.2", "copyfiles": "^2.4.1", diff --git a/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx b/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx index 43f8415209d9..65ef99dbb2e9 100644 --- a/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx +++ b/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx @@ -165,7 +165,7 @@ export const CronWorkflowDetails = ({match, location, history}: RouteComponentPr if (cronWorkflow?.spec?.workflowSpec?.workflowTemplateRef) { const templateName = cronWorkflow.spec.workflowSpec.workflowTemplateRef.name; const clusterScope = cronWorkflow.spec.workflowSpec.workflowTemplateRef.clusterScope; - const url: string = clusterScope ? `/cluster-workflow-templates/${templateName}` : `/workflow-templates/${cronWorkflow.metadata.namespace}/${templateName}`; + const url: string = clusterScope ? uiUrl(`cluster-workflow-templates/${templateName}`) : uiUrl(`workflow-templates/${cronWorkflow.metadata.namespace}/${templateName}`); const icon: string = clusterScope ? 'fa fa-window-restore' : 'fa fa-window-maximize'; const templateLink: Link = { diff --git a/ui/src/app/modals/new-version/new-version-modal.tsx b/ui/src/app/modals/new-version/new-version-modal.tsx index 43587466df6a..a65462edb87d 100644 --- a/ui/src/app/modals/new-version/new-version-modal.tsx +++ b/ui/src/app/modals/new-version/new-version-modal.tsx @@ -15,6 +15,33 @@ export const NewVersionModal = ({version, dismiss}: {version: string; dismiss: (

It looks like {version} has just been installed!

+
v3.4
+ +

+ + Learn more + +

v3.3
  • diff --git a/ui/src/app/shared/components/links.tsx b/ui/src/app/shared/components/links.tsx index bd59d4155ff7..c6d1092ebd3f 100644 --- a/ui/src/app/shared/components/links.tsx +++ b/ui/src/app/shared/components/links.tsx @@ -47,7 +47,7 @@ export const Links = ({scope, object, button}: {scope: string; object: {metadata }, []); const formatUrl = (url: string) => { - return ProcessURL(url, object); + return encodeURI(ProcessURL(decodeURI(url), object)); }; const openLink = (url: string) => { diff --git a/ui/src/app/workflows/components/workflow-details/workflow-details.tsx b/ui/src/app/workflows/components/workflow-details/workflow-details.tsx index 90da893d8baa..ae046d7877a8 100644 --- a/ui/src/app/workflows/components/workflow-details/workflow-details.tsx +++ b/ui/src/app/workflows/components/workflow-details/workflow-details.tsx @@ -110,7 +110,11 @@ export const WorkflowDetails = ({history, location, match}: RouteComponentProps< // (Note that individual Artifacts may also override whatever this gets set to) if (workflow && workflow.status && workflow.status.nodes && selectedArtifact) { const template = getResolvedTemplates(workflow, workflow.status.nodes[selectedArtifact.nodeId]); - const artifactRepo = template.archiveLocation; + let artifactRepo; + if (template) { + artifactRepo = template.archiveLocation; + } + if (artifactRepo && artifactRepoHasLocation(artifactRepo)) { setSelectedTemplateArtifactRepo(artifactRepo); } else { @@ -211,7 +215,7 @@ export const WorkflowDetails = ({history, location, match}: RouteComponentProps< if (workflow?.spec?.workflowTemplateRef) { const templateName: string = workflow.spec.workflowTemplateRef.name; const clusterScope: boolean = workflow.spec.workflowTemplateRef.clusterScope; - const url: string = clusterScope ? `/cluster-workflow-templates/${templateName}` : `/workflow-templates/${workflow.metadata.namespace}/${templateName}`; + const url: string = clusterScope ? uiUrl(`cluster-workflow-templates/${templateName}`) : uiUrl(`workflow-templates/${workflow.metadata.namespace}/${templateName}`); const icon: string = clusterScope ? 'fa fa-window-restore' : 'fa fa-window-maximize'; const templateLink: Link = { diff --git a/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx b/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx index 4dc921063529..0653cbb3f0d8 100644 --- a/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx +++ b/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx @@ -79,6 +79,24 @@ const AttributeRows = (props: {attributes: {title: string; value: any}[]}) => ( ); +const DisplayWorkflowTime = (props: {date: Date | string | number}) => { + const {date} = props; + const getLocalDateTime = (utc: Date | string | number) => { + return new Date(utc.toString()).toLocaleString(); + }; + return ( +
    + {date === null || date === undefined ? ( + '-' + ) : ( + + {getLocalDateTime(date)} () + + )} +
    + ); +}; + const WorkflowNodeSummary = (props: Props) => { const {workflow, node} = props; @@ -107,8 +125,8 @@ const WorkflowNodeSummary = (props: Props) => { } ] : []), - {title: 'START TIME', value: }, - {title: 'END TIME', value: }, + {title: 'START TIME', value: }, + {title: 'END TIME', value: }, { title: 'DURATION', value: {now => } @@ -191,7 +209,16 @@ const WorkflowNodeSummary = (props: Props) => { )}{' '} {props.node.type === 'Container' && props.onShowContainerLogs && ( - )}{' '} @@ -201,7 +228,7 @@ const WorkflowNodeSummary = (props: Props) => { object={{ metadata: { namespace: props.workflow.metadata.namespace, - name: props.node.id + name: podName }, workflow: props.workflow, status: { diff --git a/ui/src/app/workflows/components/workflow-yaml-viewer/workflow-yaml-viewer.tsx b/ui/src/app/workflows/components/workflow-yaml-viewer/workflow-yaml-viewer.tsx index 7bcd5ebbb754..1202f5cc369f 100644 --- a/ui/src/app/workflows/components/workflow-yaml-viewer/workflow-yaml-viewer.tsx +++ b/ui/src/app/workflows/components/workflow-yaml-viewer/workflow-yaml-viewer.tsx @@ -25,12 +25,15 @@ export class WorkflowYamlViewer extends React.Component ); } - contents.push( -
    -

    {this.props.selectedNode.name}

    - -
    - ); + const currentNodeTemplate = getResolvedTemplates(this.props.workflow, this.props.selectedNode); + if (currentNodeTemplate) { + contents.push( +
    +

    {this.props.selectedNode.name}

    + +
    + ); + } } const templates = this.props.workflow.spec.templates; if (templates && Object.keys(templates).length) { diff --git a/ui/src/app/workflows/components/workflows-list/workflows-list.tsx b/ui/src/app/workflows/components/workflows-list/workflows-list.tsx index e97ca59d6033..83530db9e52f 100644 --- a/ui/src/app/workflows/components/workflows-list/workflows-list.tsx +++ b/ui/src/app/workflows/components/workflows-list/workflows-list.tsx @@ -24,6 +24,7 @@ import * as Actions from '../../../shared/workflow-operations-map'; import {WorkflowCreator} from '../workflow-creator'; import {WorkflowFilters} from '../workflow-filters/workflow-filters'; import {WorkflowsRow} from '../workflows-row/workflows-row'; +import {WorkflowsSummaryContainer} from '../workflows-summary-container/workflows-summary-container'; import {WorkflowsToolbar} from '../workflows-toolbar/workflows-toolbar'; require('./workflows-list.scss'); @@ -193,6 +194,7 @@ export class WorkflowsList extends BasePage, State> { />
    +
    ; + +export const WorkflowsSummaryContainer = (props: {workflows: Workflow[]}) => { + const [wfSummary, setWfSummary] = useState(null); + useEffect(() => { + if (props.workflows) { + const summary = props.workflows.reduce((acc, curr) => { + return {...acc, [curr.status.phase]: acc[curr.status.phase] ? ++acc[curr.status.phase] : 1}; + }, {}); + setWfSummary(summary); + } + }, [props.workflows]); + + return ( +
    +

    + Workflows Summary{' '} + + + +

    +
    +
    + Running workflows   + {wfSummary && wfSummary.Running ? wfSummary.Running : 0} +
    +
    +
    +
    + Pending   + {wfSummary && wfSummary.Pending ? wfSummary.Pending : 0} +
    +
    + Succeeded   + {wfSummary && wfSummary.Succeeded ? wfSummary.Succeeded : 0} +
    +
    +
    +
    + Failed   + {wfSummary && wfSummary.Failed ? wfSummary.Failed : 0} +
    +
    + Error   + {wfSummary && wfSummary.Error ? wfSummary.Error : 0} +
    +
    +
    + ); +}; diff --git a/ui/yarn.lock b/ui/yarn.lock index c038b3e7233b..0455d91aa49f 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -51,38 +51,38 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.1.tgz#72d647b4ff6a4f82878d184613353af1dd0290f9" - integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.19.3", "@babel/compat-data@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" + integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== -"@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.19.1", "@babel/core@^7.7.5": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.1.tgz#c8fa615c5e88e272564ace3d42fbc8b17bfeb22b" - integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== +"@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.19.3", "@babel/core@^7.7.5": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" + integrity sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-compilation-targets" "^7.19.1" + "@babel/generator" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" "@babel/helper-module-transforms" "^7.19.0" "@babel/helpers" "^7.19.0" - "@babel/parser" "^7.19.1" + "@babel/parser" "^7.19.3" "@babel/template" "^7.18.10" - "@babel/traverse" "^7.19.1" - "@babel/types" "^7.19.0" + "@babel/traverse" "^7.19.3" + "@babel/types" "^7.19.3" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.1" semver "^6.3.0" -"@babel/generator@^7.19.0": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.0.tgz#785596c06425e59334df2ccee63ab166b738419a" - integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== +"@babel/generator@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" + integrity sha512-fqVZnmp1ncvZU757UzDheKZpfPgatqY59XtW2/j/18H7u76akb8xqvjw82f+i2UKd/ksYsSick/BCLQUUtJ/qQ== dependencies: - "@babel/types" "^7.19.0" + "@babel/types" "^7.19.3" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" @@ -101,12 +101,12 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.6" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz#7f630911d83b408b76fe584831c98e5395d7a17c" - integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" + integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== dependencies: - "@babel/compat-data" "^7.19.1" + "@babel/compat-data" "^7.19.3" "@babel/helper-validator-option" "^7.18.6" browserslist "^4.21.3" semver "^6.3.0" @@ -310,16 +310,21 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-string-parser@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" - integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== "@babel/helper-validator-identifier@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== +"@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + "@babel/helper-validator-option@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" @@ -363,10 +368,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.1.tgz#6f6d6c2e621aad19a92544cc217ed13f1aac5b4c" - integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.3.tgz#8dd36d17c53ff347f9e55c328710321b49479a9a" + integrity sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" @@ -459,14 +464,14 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" - integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== +"@babel/plugin-proposal-object-rest-spread@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.19.4.tgz#a8fc86e8180ff57290c91a75d83fe658189b642d" + integrity sha512-wHmj6LDxVDnL+3WhXteUBaoM1aVILZODAUjg11kHqG4cOlfgMQGxw6aCgvrXrmaJR3Bn14oZhImyCPZzRpC93Q== dependencies: - "@babel/compat-data" "^7.18.8" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/compat-data" "^7.19.4" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.18.8" @@ -655,12 +660,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoping@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz#f9b7e018ac3f373c81452d6ada8bd5a18928926d" - integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== +"@babel/plugin-transform-block-scoping@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.19.4.tgz#315d70f68ce64426db379a3d830e7ac30be02e9b" + integrity sha512-934S2VLLlt2hRJwPf4MczaOr4hYF0z+VKPwqTNxyKX7NthTiPfhuKFWQZHXRM0vh/wo/VyXB3s4bZUNA08l+tQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-transform-classes@^7.19.0": version "7.19.0" @@ -684,12 +689,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.18.13": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz#9e03bc4a94475d62b7f4114938e6c5c33372cbf5" - integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== +"@babel/plugin-transform-destructuring@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz#46890722687b9b89e1369ad0bd8dc6c5a3b4319d" + integrity sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": version "7.18.6" @@ -885,13 +890,13 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/preset-env@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.19.1.tgz#9f04c916f9c0205a48ebe5cc1be7768eb1983f67" - integrity sha512-c8B2c6D16Lp+Nt6HcD+nHl0VbPKVnNPTpszahuxJJnurfMtKeZ80A+qUv48Y7wqvS+dTFuLuaM9oYxyNHbCLWA== +"@babel/preset-env@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.19.4.tgz#4c91ce2e1f994f717efb4237891c3ad2d808c94b" + integrity sha512-5QVOTXUdqTCjQuh2GGtdd7YEhoRXBMVGROAtsBeLGIbIz3obCBIfRMT1I3ZKkMgNzwkyCkftDXSSkHxnfVf4qg== dependencies: - "@babel/compat-data" "^7.19.1" - "@babel/helper-compilation-targets" "^7.19.1" + "@babel/compat-data" "^7.19.4" + "@babel/helper-compilation-targets" "^7.19.3" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" @@ -905,7 +910,7 @@ "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" "@babel/plugin-proposal-numeric-separator" "^7.18.6" - "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-object-rest-spread" "^7.19.4" "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" "@babel/plugin-proposal-optional-chaining" "^7.18.9" "@babel/plugin-proposal-private-methods" "^7.18.6" @@ -929,10 +934,10 @@ "@babel/plugin-transform-arrow-functions" "^7.18.6" "@babel/plugin-transform-async-to-generator" "^7.18.6" "@babel/plugin-transform-block-scoped-functions" "^7.18.6" - "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-block-scoping" "^7.19.4" "@babel/plugin-transform-classes" "^7.19.0" "@babel/plugin-transform-computed-properties" "^7.18.9" - "@babel/plugin-transform-destructuring" "^7.18.13" + "@babel/plugin-transform-destructuring" "^7.19.4" "@babel/plugin-transform-dotall-regex" "^7.18.6" "@babel/plugin-transform-duplicate-keys" "^7.18.9" "@babel/plugin-transform-exponentiation-operator" "^7.18.6" @@ -959,7 +964,7 @@ "@babel/plugin-transform-unicode-escapes" "^7.18.10" "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.19.0" + "@babel/types" "^7.19.4" babel-plugin-polyfill-corejs2 "^0.3.3" babel-plugin-polyfill-corejs3 "^0.6.0" babel-plugin-polyfill-regenerator "^0.4.1" @@ -1023,29 +1028,29 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.18.11", "@babel/traverse@^7.18.6", "@babel/traverse@^7.18.9", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.1.tgz#0fafe100a8c2a603b4718b1d9bf2568d1d193347" - integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== +"@babel/traverse@^7.1.0", "@babel/traverse@^7.18.11", "@babel/traverse@^7.18.6", "@babel/traverse@^7.18.9", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" + integrity sha512-qh5yf6149zhq2sgIXmwjnsvmnNQC2iw70UFjp4olxucKrWd/dvlUsBI88VSLUsnMNF7/vnOiA+nk1+yLoCqROQ== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" + "@babel/generator" "^7.19.3" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.19.1" - "@babel/types" "^7.19.0" + "@babel/parser" "^7.19.3" + "@babel/types" "^7.19.3" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" - integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.19.3", "@babel/types@^7.19.4", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== dependencies: - "@babel/helper-string-parser" "^7.18.10" - "@babel/helper-validator-identifier" "^7.18.6" + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": @@ -1269,22 +1274,22 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/transform@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.0.3.tgz#9eb1fed2072a0354f190569807d1250572fb0970" - integrity sha512-C5ihFTRYaGDbi/xbRQRdbo5ddGtI4VSpmL6AIcZxdhwLbXMa7PcXxxqyI91vGOFHnn5aVM3WYnYKCHEqmLVGzg== +"@jest/transform@^29.2.0": + version "29.2.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.2.0.tgz#1c55ca549f64810351df999265a29f8ead51be15" + integrity sha512-NXMujGHy+B4DAj4dGnVPD0SIXlR2Z/N8Gp9h3mF66kcIRult1WWqY3/CEIrJcKviNWaFPYhZjCG2L3fteWzcUw== dependencies: "@babel/core" "^7.11.6" - "@jest/types" "^29.0.3" + "@jest/types" "^29.2.0" "@jridgewell/trace-mapping" "^0.3.15" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^29.0.3" - jest-regex-util "^29.0.0" - jest-util "^29.0.3" + jest-haste-map "^29.2.0" + jest-regex-util "^29.2.0" + jest-util "^29.2.0" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" @@ -1301,10 +1306,10 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@jest/types@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.0.3.tgz#0be78fdddb1a35aeb2041074e55b860561c8ef63" - integrity sha512-coBJmOQvurXjN1Hh5PzF7cmsod0zLIOXpP8KD161mqNlroMhLcwpODiEzi7ZsRl5Z/AIuxpeNm8DCl43F4kz8A== +"@jest/types@^29.2.0": + version "29.2.0" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.2.0.tgz#c0d1ef8bc1e4f4b358e7877e34157371e7881b0b" + integrity sha512-mfgpQz4Z2xGo37m6KD8xEpKelaVzvYVRijmLPePn9pxgaPEtX+SqIyPNzzoeCPXKYbB4L/wYSgXDL8o3Gop78Q== dependencies: "@jest/schemas" "^29.0.0" "@types/istanbul-lib-coverage" "^2.0.0" @@ -2412,15 +2417,15 @@ babel-jest@^26.6.3: graceful-fs "^4.2.4" slash "^3.0.0" -babel-jest@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.0.3.tgz#64e156a47a77588db6a669a88dedff27ed6e260f" - integrity sha512-ApPyHSOhS/sVzwUOQIWJmdvDhBsMG01HX9z7ogtkp1TToHGGUWFlnXJUIzCgKPSfiYLn3ibipCYzsKSURHEwLg== +babel-jest@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.2.0.tgz#088624f037da90e69a06073305276cbd111d68a8" + integrity sha512-c8FkrW1chgcbyBqOo7jFGpQYfVnb43JqjQGV+C2r94k2rZJOukYOZ6+csAqKE4ms+PHc+yevnONxs27jQIxylw== dependencies: - "@jest/transform" "^29.0.3" + "@jest/transform" "^29.2.0" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^29.0.2" + babel-preset-jest "^29.2.0" chalk "^4.0.0" graceful-fs "^4.2.9" slash "^3.0.0" @@ -2463,10 +2468,10 @@ babel-plugin-jest-hoist@^26.6.2: "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-plugin-jest-hoist@^29.0.2: - version "29.0.2" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.0.2.tgz#ae61483a829a021b146c016c6ad39b8bcc37c2c8" - integrity sha512-eBr2ynAEFjcebVvu8Ktx580BD1QKCrBG1XwEUTXJe285p9HA/4hOhfWCFRQhTKSyBV0VzjhG7H91Eifz9s29hg== +babel-plugin-jest-hoist@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.2.0.tgz#23ee99c37390a98cfddf3ef4a78674180d823094" + integrity sha512-TnspP2WNiR3GLfCsUNHqeXw0RoQ2f9U5hQ5L3XFpwuO8htQmSrhh8qsB6vi5Yi8+kuynN1yjDjQsPfkebmB6ZA== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -2523,12 +2528,12 @@ babel-preset-jest@^26.6.2: babel-plugin-jest-hoist "^26.6.2" babel-preset-current-node-syntax "^1.0.0" -babel-preset-jest@^29.0.2: - version "29.0.2" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.0.2.tgz#e14a7124e22b161551818d89e5bdcfb3b2b0eac7" - integrity sha512-BeVXp7rH5TK96ofyEnHjznjLMQ2nAeDJ+QzxKnHAAMs0RgrQsCywjAN8m4mOm5Di0pxU//3AoEeJJrerMH5UeA== +babel-preset-jest@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.2.0.tgz#3048bea3a1af222e3505e4a767a974c95a7620dc" + integrity sha512-z9JmMJppMxNv8N7fNRHvhMg9cvIkMxQBXgFkane3yKVEvEOP+kB50lk8DFRvF9PGqbyXxlmebKWhuDORO8RgdA== dependencies: - babel-plugin-jest-hoist "^29.0.2" + babel-plugin-jest-hoist "^29.2.0" babel-preset-current-node-syntax "^1.0.0" babel-runtime@^6.26.0: @@ -3421,10 +3426,10 @@ cron-parser@^4.6.0: dependencies: luxon "^3.0.1" -cronstrue@^2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/cronstrue/-/cronstrue-2.11.0.tgz#18ff1b95a836b9b4e06854f796db2dc8fa98ce41" - integrity sha512-iIBCSis5yqtFYWtJAmNOiwDveFWWIn+8uV5UYuPHYu/Aeu5CSSJepSbaHMyfc+pPFgnsCcGzfPQEo7LSGmWbTg== +cronstrue@^2.14.0: + version "2.14.0" + resolved "https://registry.yarnpkg.com/cronstrue/-/cronstrue-2.14.0.tgz#7dcbebc9befc6fbc584403cc9c52b10772308a1e" + integrity sha512-rUTXOwOYrw7o4iV+Wg7fUXjMXDuqAMnhU007LrvaGbfVx73aiZz2e5SYjsAt6Q7ML2/z7Gq3qTncy3GKO9MLSQ== cross-fetch@^3.1.5: version "3.1.5" @@ -5685,20 +5690,20 @@ jest-haste-map@^26.6.2: optionalDependencies: fsevents "^2.1.2" -jest-haste-map@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.0.3.tgz#d7f3f7180f558d760eacc5184aac5a67f20ef939" - integrity sha512-uMqR99+GuBHo0RjRhOE4iA6LmsxEwRdgiIAQgMU/wdT2XebsLDz5obIwLZm/Psj+GwSEQhw9AfAVKGYbh2G55A== +jest-haste-map@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.2.0.tgz#2410f2ec93958e0bd894818de6c8056eb1b4d6fc" + integrity sha512-qu9lGFi7qJ8v37egS1phZZUJYiMyWnKwu83NlNT1qs50TbedIX2hFl+9ztsJ7U/ENaHwk1/Bs8fqOIQsScIRwg== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.2.0" "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" - jest-regex-util "^29.0.0" - jest-util "^29.0.3" - jest-worker "^29.0.3" + jest-regex-util "^29.2.0" + jest-util "^29.2.0" + jest-worker "^29.2.0" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: @@ -5779,10 +5784,10 @@ jest-regex-util@^26.0.0: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A== -jest-regex-util@^29.0.0: - version "29.0.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.0.0.tgz#b442987f688289df8eb6c16fa8df488b4cd007de" - integrity sha512-BV7VW7Sy0fInHWN93MMPtlClweYv2qrSCwfeFWmpribGZtQPWNvRSq9XOVgOEjU1iBGRKXUZil0o2AH7Iy9Lug== +jest-regex-util@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.2.0.tgz#82ef3b587e8c303357728d0322d48bbfd2971f7b" + integrity sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA== jest-resolve-dependencies@^26.6.3: version "26.6.3" @@ -5908,12 +5913,12 @@ jest-util@^26.1.0, jest-util@^26.6.2: is-ci "^2.0.0" micromatch "^4.0.2" -jest-util@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.0.3.tgz#06d1d77f9a1bea380f121897d78695902959fbc0" - integrity sha512-Q0xaG3YRG8QiTC4R6fHjHQPaPpz9pJBEi0AeOE4mQh/FuWOijFjGXMMOfQEaU9i3z76cNR7FobZZUQnL6IyfdQ== +jest-util@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.2.0.tgz#797935697e83a5722aeba401ed6cd01264295566" + integrity sha512-8M1dx12ujkBbnhwytrezWY0Ut79hbflwodE+qZKjxSRz5qt4xDp6dQQJaOCFvCmE0QJqp9KyEK33lpPNjnhevw== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.2.0" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" @@ -5954,12 +5959,13 @@ jest-worker@^26.6.2: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.0.3.tgz#c2ba0aa7e41eec9eb0be8e8a322ae6518df72647" - integrity sha512-Tl/YWUugQOjoTYwjKdfJWkSOfhufJHO5LhXTSZC3TRoQKO+fuXnZAdoXXBlpLXKGODBL3OvdUasfDD4PcMe6ng== +jest-worker@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.2.0.tgz#b2bd1a81fc7a1ae79a500b05f5feb0d1c0b1a19e" + integrity sha512-mluOlMbRX1H59vGVzPcVg2ALfCausbBpxC8a2KWOzInhYHZibbHH8CB0C1JkmkpfurrkOYgF7FPmypuom1OM9A== dependencies: "@types/node" "*" + jest-util "^29.2.0" merge-stream "^2.0.0" supports-color "^8.0.0" diff --git a/util/logs/workflow-logger.go b/util/logs/workflow-logger.go index 2cc93acfe2f6..753f378082e2 100644 --- a/util/logs/workflow-logger.go +++ b/util/logs/workflow-logger.go @@ -41,6 +41,27 @@ type sender interface { Send(entry *workflowpkg.LogEntry) error } +const maxTokenLength = 1024 * 1024 +const startBufSize = 16 * 1024 + +func scanLinesOrGiveLong(data []byte, atEOF bool) (advance int, token []byte, err error) { + advance, token, err = bufio.ScanLines(data, atEOF) + if advance > 0 || token != nil || err != nil { + // bufio.ScanLines found something, use it + return + } + + // bufio.ScanLines found nothing + // if our buffer is still a reasonable size, continue scanning for regular lines + if len(data) < maxTokenLength { + return + } + + // our buffer is getting massive, stop waiting for line breaks and return data now + // this avoids bufio.ErrTooLong + return maxTokenLength, data[0:maxTokenLength], nil +} + func WorkflowLogs(ctx context.Context, wfClient versioned.Interface, kubeClient kubernetes.Interface, req request, sender sender) error { wfInterface := wfClient.ArgoprojV1alpha1().Workflows(req.GetNamespace()) _, err := wfInterface.Get(ctx, req.GetName(), metav1.GetOptions{}) @@ -111,7 +132,12 @@ func WorkflowLogs(ctx context.Context, wfClient versioned.Interface, kubeClient logCtx.Error(err) return } + scanner := bufio.NewScanner(stream) + //give it more space for long line + scanner.Buffer(make([]byte, startBufSize), maxTokenLength) + //avoid bufio.ErrTooLong error when encounters a very very long line + scanner.Split(scanLinesOrGiveLong) for scanner.Scan() { select { case <-ctx.Done(): @@ -119,7 +145,11 @@ func WorkflowLogs(ctx context.Context, wfClient versioned.Interface, kubeClient default: line := scanner.Text() parts := strings.SplitN(line, " ", 2) - content := parts[1] + //on old version k8s, the line may contains no space, hence len(parts) would equal to 1 + content := "" + if len(parts) > 1 { + content = parts[1] + } timestamp, err := time.Parse(time.RFC3339, parts[0]) if err != nil { logCtx.Errorf("unable to decode or infer timestamp from log line: %s", err) diff --git a/util/secrets/secret_name.go b/util/secrets/secret_name.go new file mode 100644 index 000000000000..dc8730a40572 --- /dev/null +++ b/util/secrets/secret_name.go @@ -0,0 +1,24 @@ +package secrets + +import ( + "fmt" + + "github.com/argoproj/argo-workflows/v3/workflow/common" + + corev1 "k8s.io/api/core/v1" +) + +// TokenNameForServiceAccount returns the name of the secret container the access token for the service account +func TokenNameForServiceAccount(sa *corev1.ServiceAccount) string { + if len(sa.Secrets) > 0 { + return sa.Secrets[0].Name + } + if v, ok := sa.Annotations[common.AnnotationKeyServiceAccountTokenName]; ok { + return v + } + return TokenName(sa.Name) +} + +func TokenName(name string) string { + return fmt.Sprintf("%s.service-account-token", name) +} diff --git a/util/secrets/secret_name_test.go b/util/secrets/secret_name_test.go new file mode 100644 index 000000000000..9a81214dda10 --- /dev/null +++ b/util/secrets/secret_name_test.go @@ -0,0 +1,46 @@ +package secrets + +import ( + "testing" + + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +func TestServiceAccountTokenName(t *testing.T) { + type args struct { + sa *corev1.ServiceAccount + } + tests := []struct { + name string + args args + want string + }{ + { + "discovery by secret (Kubernetes =v1.24)", + args{&corev1.ServiceAccount{ + ObjectMeta: metav1.ObjectMeta{Annotations: map[string]string{"workflows.argoproj.io/service-account-token.name": "my-token"}}, + }}, + "my-token", + }, + { + "discovery by name (Kubernetes >=v1.24)", + args{&corev1.ServiceAccount{ + ObjectMeta: metav1.ObjectMeta{Name: "my-name"}, + }}, + "my-name.service-account-token", + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if got := TokenNameForServiceAccount(tt.args.sa); got != tt.want { + t.Errorf("ServiceAccountTokenName() = %v, want %v", got, tt.want) + } + }) + } +} diff --git a/util/secrets/secrets.go b/util/secrets/secrets.go new file mode 100644 index 000000000000..1009b6087767 --- /dev/null +++ b/util/secrets/secrets.go @@ -0,0 +1,17 @@ +package secrets + +import ( + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// NewTokenSecret creates a new secret struct. +func NewTokenSecret(name string) *corev1.Secret { + return &corev1.Secret{ + ObjectMeta: metav1.ObjectMeta{ + Name: TokenName(name), + Annotations: map[string]string{corev1.ServiceAccountNameKey: name}, + }, + Type: corev1.SecretTypeServiceAccountToken, + } +} diff --git a/workflow/artifacts/artifacts.go b/workflow/artifacts/artifacts.go index f06695a6256a..b143a7b03617 100644 --- a/workflow/artifacts/artifacts.go +++ b/workflow/artifacts/artifacts.go @@ -181,6 +181,7 @@ func newDriver(ctx context.Context, art *wfv1.Artifact, ri resource.Interface) ( driver := http.ArtifactDriver{ Username: usernameBytes, Password: passwordBytes, + Client: &gohttp.Client{}, } return &driver, nil diff --git a/workflow/common/common.go b/workflow/common/common.go index 9647e162e2a2..72d61279e041 100644 --- a/workflow/common/common.go +++ b/workflow/common/common.go @@ -15,6 +15,10 @@ const ( // AnnotationKeyDefaultContainer is the annotation that specify container that will be used by default in case of kubectl commands for example AnnotationKeyDefaultContainer = "kubectl.kubernetes.io/default-container" + // AnnotationKeyServiceAccountTokenName is used to name the secret that containers the service account token name. + // It is intentially named similar to ` `kubernetes.io/service-account.name`. + AnnotationKeyServiceAccountTokenName = workflow.WorkflowFullName + "/service-account-token.name" + // AnnotationKeyNodeID is the ID of the node. // Historically, the pod name was the same as the node ID. // Therefore, if it does not exist, then the node ID is the pod name. @@ -119,6 +123,8 @@ const ( EnvVarInstanceID = "ARGO_INSTANCE_ID" // EnvVarWorkflowName is the name of the workflow for which the an agent is responsible for EnvVarWorkflowName = "ARGO_WORKFLOW_NAME" + // EnvVarWorkflowUID is the workflow UUID + EnvVarWorkflowUID = "ARGO_WORKFLOW_UID" // EnvVarNodeID is the node ID of the node. EnvVarNodeID = "ARGO_NODE_ID" // EnvVarPluginAddresses is a list of plugin addresses @@ -175,12 +181,18 @@ const ( GlobalVarWorkflowFailures = "workflow.failures" // GlobalVarWorkflowDuration is the current duration of this workflow GlobalVarWorkflowDuration = "workflow.duration" - // GlobalVarWorkflowAnnotations is a JSON string containing all workflow annotations + // GlobalVarWorkflowAnnotations is a JSON string containing all workflow annotations - which will be deprecated in favor of GlobalVarWorkflowAnnotationsJSON GlobalVarWorkflowAnnotations = "workflow.annotations" - // GlobalVarWorkflowLabels is a JSON string containing all workflow labels + // GlobalVarWorkflowAnnotationsJSON is a JSON string containing all workflow annotations + GlobalVarWorkflowAnnotationsJSON = "workflow.annotations.json" + // GlobalVarWorkflowLabels is a JSON string containing all workflow labels - which will be deprecated in favor of GlobalVarWorkflowLabelsJSON GlobalVarWorkflowLabels = "workflow.labels" - // GlobalVarWorkflowParameters is a JSON string containing all workflow parameters + // GlobalVarWorkflowLabelsJSON is a JSON string containing all workflow labels + GlobalVarWorkflowLabelsJSON = "workflow.labels.json" + // GlobalVarWorkflowParameters is a JSON string containing all workflow parameters - which will be deprecated in favor of GlobalVarWorkflowParametersJSON GlobalVarWorkflowParameters = "workflow.parameters" + // GlobalVarWorkflowParametersJSON is a JSON string containing all workflow parameters + GlobalVarWorkflowParametersJSON = "workflow.parameters.json" // GlobalVarWorkflowCronScheduleTime is the scheduled timestamp of a Workflow started by a CronWorkflow GlobalVarWorkflowCronScheduleTime = "workflow.scheduledTime" diff --git a/workflow/controller/agent.go b/workflow/controller/agent.go index c4c205b53419..6cc90c4f9d48 100644 --- a/workflow/controller/agent.go +++ b/workflow/controller/agent.go @@ -135,6 +135,7 @@ func (woc *wfOperationCtx) createAgentPod(ctx context.Context) (*apiv1.Pod, erro envVars := []apiv1.EnvVar{ {Name: common.EnvVarWorkflowName, Value: woc.wf.Name}, + {Name: common.EnvVarWorkflowUID, Value: string(woc.wf.UID)}, {Name: common.EnvAgentPatchRate, Value: env.LookupEnvStringOr(common.EnvAgentPatchRate, GetRequeueTime().String())}, {Name: common.EnvVarPluginAddresses, Value: wfv1.MustMarshallJSON(addresses(pluginSidecars))}, {Name: common.EnvVarPluginNames, Value: wfv1.MustMarshallJSON(names(pluginSidecars))}, @@ -238,6 +239,8 @@ func (woc *wfOperationCtx) createAgentPod(ctx context.Context) (*apiv1.Pod, erro }, } + addSchedulingConstraints(pod, woc.execWf.Spec.DeepCopy(), &wfv1.Template{}) + if woc.controller.Config.InstanceID != "" { pod.ObjectMeta.Labels[common.LabelKeyControllerInstanceID] = woc.controller.Config.InstanceID } diff --git a/workflow/controller/controller.go b/workflow/controller/controller.go index 1902c0250ceb..66b66f9f5c5f 100644 --- a/workflow/controller/controller.go +++ b/workflow/controller/controller.go @@ -85,7 +85,6 @@ type WorkflowController struct { // cliExecutorImagePullPolicy is the executor imagePullPolicy as specified from the command line cliExecutorImagePullPolicy string - containerRuntimeExecutor string // cliExecutorLogFormat is the format in which argoexec will log // possible options are json/text @@ -160,7 +159,7 @@ func init() { } // NewWorkflowController instantiates a new WorkflowController -func NewWorkflowController(ctx context.Context, restConfig *rest.Config, kubeclientset kubernetes.Interface, wfclientset wfclientset.Interface, namespace, managedNamespace, executorImage, executorImagePullPolicy, executorLogFormat, containerRuntimeExecutor, configMap string, executorPlugins bool) (*WorkflowController, error) { +func NewWorkflowController(ctx context.Context, restConfig *rest.Config, kubeclientset kubernetes.Interface, wfclientset wfclientset.Interface, namespace, managedNamespace, executorImage, executorImagePullPolicy, executorLogFormat, configMap string, executorPlugins bool) (*WorkflowController, error) { dynamicInterface, err := dynamic.NewForConfig(restConfig) if err != nil { return nil, err @@ -176,7 +175,6 @@ func NewWorkflowController(ctx context.Context, restConfig *rest.Config, kubecli cliExecutorImage: executorImage, cliExecutorImagePullPolicy: executorImagePullPolicy, cliExecutorLogFormat: executorLogFormat, - containerRuntimeExecutor: containerRuntimeExecutor, configController: config.NewController(namespace, configMap, kubeclientset), workflowKeyLock: syncpkg.NewKeyLock(), cacheFactory: controllercache.NewCacheFactory(kubeclientset, namespace), diff --git a/workflow/controller/operator.go b/workflow/controller/operator.go index f8722a46d118..db6031509dca 100644 --- a/workflow/controller/operator.go +++ b/workflow/controller/operator.go @@ -15,6 +15,8 @@ import ( "sync" "time" + "github.com/argoproj/argo-workflows/v3/util/secrets" + "github.com/antonmedv/expr" "github.com/argoproj/pkg/humanize" argokubeerr "github.com/argoproj/pkg/kube/errors" @@ -570,20 +572,25 @@ func (woc *wfOperationCtx) setGlobalParameters(executionParameters wfv1.Argument if workflowParameters, err := json.Marshal(woc.execWf.Spec.Arguments.Parameters); err == nil { woc.globalParams[common.GlobalVarWorkflowParameters] = string(workflowParameters) + woc.globalParams[common.GlobalVarWorkflowParametersJSON] = string(workflowParameters) } for _, param := range executionParameters.Parameters { - if param.Value == nil && param.ValueFrom == nil { - return fmt.Errorf("either value or valueFrom must be specified in order to set global parameter %s", param.Name) - } if param.ValueFrom != nil && param.ValueFrom.ConfigMapKeyRef != nil { cmValue, err := common.GetConfigMapValue(woc.controller.configMapInformer, woc.wf.ObjectMeta.Namespace, param.ValueFrom.ConfigMapKeyRef.Name, param.ValueFrom.ConfigMapKeyRef.Key) if err != nil { - return fmt.Errorf("failed to set global parameter %s from configmap with name %s and key %s: %w", - param.Name, param.ValueFrom.ConfigMapKeyRef.Name, param.ValueFrom.ConfigMapKeyRef.Key, err) + if param.ValueFrom.Default != nil { + woc.globalParams["workflow.parameters."+param.Name] = param.ValueFrom.Default.String() + } else { + return fmt.Errorf("failed to set global parameter %s from configmap with name %s and key %s: %w", + param.Name, param.ValueFrom.ConfigMapKeyRef.Name, param.ValueFrom.ConfigMapKeyRef.Key, err) + } + } else { + woc.globalParams["workflow.parameters."+param.Name] = cmValue } - woc.globalParams["workflow.parameters."+param.Name] = cmValue - } else { + } else if param.Value != nil { woc.globalParams["workflow.parameters."+param.Name] = param.Value.String() + } else { + return fmt.Errorf("either value or valueFrom must be specified in order to set global parameter %s", param.Name) } } if woc.wf.Status.Outputs != nil { @@ -605,12 +612,14 @@ func (woc *wfOperationCtx) setGlobalParameters(executionParameters wfv1.Argument if workflowAnnotations, err := json.Marshal(woc.wf.ObjectMeta.Annotations); err == nil { woc.globalParams[common.GlobalVarWorkflowAnnotations] = string(workflowAnnotations) + woc.globalParams[common.GlobalVarWorkflowAnnotationsJSON] = string(workflowAnnotations) } for k, v := range woc.wf.ObjectMeta.Annotations { woc.globalParams["workflow.annotations."+k] = v } if workflowLabels, err := json.Marshal(woc.wf.ObjectMeta.Labels); err == nil { woc.globalParams[common.GlobalVarWorkflowLabels] = string(workflowLabels) + woc.globalParams[common.GlobalVarWorkflowLabelsJSON] = string(workflowLabels) } for k, v := range woc.wf.ObjectMeta.Labels { // if the Label will get overridden by a LabelsFrom expression later, don't set it now @@ -3422,7 +3431,7 @@ func (woc *wfOperationCtx) createPDBResource(ctx context.Context) error { return nil } - pdb, err := woc.controller.kubeclientset.PolicyV1beta1().PodDisruptionBudgets(woc.wf.Namespace).Get( + pdb, err := woc.controller.kubeclientset.PolicyV1().PodDisruptionBudgets(woc.wf.Namespace).Get( ctx, woc.wf.Name, metav1.GetOptions{}, @@ -3735,10 +3744,7 @@ func (woc *wfOperationCtx) getServiceAccountTokenName(ctx context.Context, name if err != nil { return "", err } - if len(account.Secrets) == 0 { - return "", fmt.Errorf("service account %s/%s does not have any secrets", account.Namespace, account.Name) - } - return account.Secrets[0].Name, nil + return secrets.TokenNameForServiceAccount(account), nil } // setWfPodNamesAnnotation sets an annotation on a workflow with the pod naming diff --git a/workflow/controller/workflowpod_test.go b/workflow/controller/workflowpod_test.go index a109b853e837..128808b005bb 100644 --- a/workflow/controller/workflowpod_test.go +++ b/workflow/controller/workflowpod_test.go @@ -224,7 +224,7 @@ func TestTmplServiceAccount(t *testing.T) { func TestWFLevelAutomountServiceAccountToken(t *testing.T) { woc := newWoc() ctx := context.Background() - _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo", "foo-token") + _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo") assert.NoError(t, err) falseValue := false @@ -246,7 +246,7 @@ func TestWFLevelAutomountServiceAccountToken(t *testing.T) { func TestTmplLevelAutomountServiceAccountToken(t *testing.T) { woc := newWoc() ctx := context.Background() - _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo", "foo-token") + _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo") assert.NoError(t, err) trueValue := true @@ -280,7 +280,7 @@ func verifyServiceAccountTokenVolumeMount(t *testing.T, ctr apiv1.Container, vol func TestWFLevelExecutorServiceAccountName(t *testing.T) { woc := newWoc() ctx := context.Background() - _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo", "foo-token") + _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo") assert.NoError(t, err) woc.execWf.Spec.Executor = &wfv1.ExecutorConfig{ServiceAccountName: "foo"} @@ -294,7 +294,6 @@ func TestWFLevelExecutorServiceAccountName(t *testing.T) { assert.Len(t, pods.Items, 1) pod := pods.Items[0] assert.Equal(t, "exec-sa-token", pod.Spec.Volumes[2].Name) - assert.Equal(t, "foo-token", pod.Spec.Volumes[2].VolumeSource.Secret.SecretName) waitCtr := pod.Spec.Containers[0] verifyServiceAccountTokenVolumeMount(t, waitCtr, "exec-sa-token", "/var/run/secrets/kubernetes.io/serviceaccount") @@ -304,9 +303,9 @@ func TestWFLevelExecutorServiceAccountName(t *testing.T) { func TestTmplLevelExecutorServiceAccountName(t *testing.T) { woc := newWoc() ctx := context.Background() - _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo", "foo-token") + _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo") assert.NoError(t, err) - _, err = util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "tmpl", "tmpl-token") + _, err = util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "tmpl") assert.NoError(t, err) woc.execWf.Spec.Executor = &wfv1.ExecutorConfig{ServiceAccountName: "foo"} @@ -321,7 +320,6 @@ func TestTmplLevelExecutorServiceAccountName(t *testing.T) { assert.Len(t, pods.Items, 1) pod := pods.Items[0] assert.Equal(t, "exec-sa-token", pod.Spec.Volumes[2].Name) - assert.Equal(t, "tmpl-token", pod.Spec.Volumes[2].VolumeSource.Secret.SecretName) waitCtr := pod.Spec.Containers[0] verifyServiceAccountTokenVolumeMount(t, waitCtr, "exec-sa-token", "/var/run/secrets/kubernetes.io/serviceaccount") @@ -332,9 +330,9 @@ func TestTmplLevelExecutorSecurityContext(t *testing.T) { var user int64 = 1000 ctx := context.Background() woc := newWoc() - _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo", "foo-token") + _, err := util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "foo") assert.NoError(t, err) - _, err = util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "tmpl", "tmpl-token") + _, err = util.CreateServiceAccountWithToken(ctx, woc.controller.kubeclientset, "", "tmpl") assert.NoError(t, err) woc.controller.Config.Executor = &apiv1.Container{SecurityContext: &apiv1.SecurityContext{RunAsUser: &user}} diff --git a/workflow/executor/agent.go b/workflow/executor/agent.go index 110df0b4f281..66fc94edb5f9 100644 --- a/workflow/executor/agent.go +++ b/workflow/executor/agent.go @@ -8,6 +8,7 @@ import ( "fmt" "io/ioutil" "net/http" + "sync" "time" log "github.com/sirupsen/logrus" @@ -36,25 +37,27 @@ import ( type AgentExecutor struct { log *log.Entry WorkflowName string + workflowUID string ClientSet kubernetes.Interface WorkflowInterface workflow.Interface RESTClient rest.Interface Namespace string - consideredTasks map[string]bool + consideredTasks *sync.Map plugins []executorplugins.TemplateExecutor } type templateExecutor = func(ctx context.Context, tmpl wfv1.Template, result *wfv1.NodeResult) (time.Duration, error) -func NewAgentExecutor(clientSet kubernetes.Interface, restClient rest.Interface, config *rest.Config, namespace, workflowName string, plugins []executorplugins.TemplateExecutor) *AgentExecutor { +func NewAgentExecutor(clientSet kubernetes.Interface, restClient rest.Interface, config *rest.Config, namespace, workflowName, workflowUID string, plugins []executorplugins.TemplateExecutor) *AgentExecutor { return &AgentExecutor{ log: log.WithField("workflow", workflowName), ClientSet: clientSet, RESTClient: restClient, Namespace: namespace, WorkflowName: workflowName, + workflowUID: workflowUID, WorkflowInterface: workflow.NewForConfigOrDie(config), - consideredTasks: make(map[string]bool), + consideredTasks: &sync.Map{}, plugins: plugins, } } @@ -126,13 +129,11 @@ func (ae *AgentExecutor) taskWorker(ctx context.Context, taskQueue chan task, re // Do not work on tasks that have already been considered once, to prevent calling an endpoint more // than once unintentionally. - if _, ok := ae.consideredTasks[nodeID]; ok { + if _, ok := ae.consideredTasks.LoadOrStore(nodeID, true); ok { log.Info("Task is already considered") continue } - ae.consideredTasks[nodeID] = true - log.Info("Processing task") result, requeue, err := ae.processTask(ctx, tmpl) if err != nil { @@ -155,7 +156,8 @@ func (ae *AgentExecutor) taskWorker(ctx context.Context, taskQueue chan task, re } if requeue > 0 { time.AfterFunc(requeue, func() { - delete(ae.consideredTasks, nodeID) + ae.consideredTasks.Delete(nodeID) + taskQueue <- task }) } @@ -352,7 +354,11 @@ func (ae *AgentExecutor) executeHTTPTemplateRequest(ctx context.Context, httpTem func (ae *AgentExecutor) executePluginTemplate(ctx context.Context, tmpl wfv1.Template, result *wfv1.NodeResult) (time.Duration, error) { args := executorplugins.ExecuteTemplateArgs{ Workflow: &executorplugins.Workflow{ - ObjectMeta: executorplugins.ObjectMeta{Name: ae.WorkflowName}, + ObjectMeta: executorplugins.ObjectMeta{ + Name: ae.WorkflowName, + Namespace: ae.Namespace, + Uid: ae.workflowUID, + }, }, Template: &tmpl, } diff --git a/workflow/executor/agent_test.go b/workflow/executor/agent_test.go index 13b61205c895..54074cb98b38 100644 --- a/workflow/executor/agent_test.go +++ b/workflow/executor/agent_test.go @@ -2,6 +2,7 @@ package executor import ( "context" + "sync" "testing" "github.com/stretchr/testify/assert" @@ -11,7 +12,7 @@ import ( func TestUnsupportedTemplateTaskWorker(t *testing.T) { ae := &AgentExecutor{ - consideredTasks: map[string]bool{}, + consideredTasks: &sync.Map{}, } taskQueue := make(chan task) defer close(taskQueue) diff --git a/workflow/executor/os-specific/signal_windows.go b/workflow/executor/os-specific/signal_windows.go index 8f8354e9b133..5129bd02106c 100644 --- a/workflow/executor/os-specific/signal_windows.go +++ b/workflow/executor/os-specific/signal_windows.go @@ -1,6 +1,7 @@ package os_specific import ( + "fmt" "os" "syscall" ) @@ -25,6 +26,16 @@ func Setpgid(a *syscall.SysProcAttr) { } func Wait(process *os.Process) error { - _, err := process.Wait() + stat, err := process.Wait() + if stat.ExitCode() != 0 { + var errStr string + if err != nil { + errStr = err.Error() + } else { + errStr = "" + } + + return fmt.Errorf("exit with non-zero code. exit-code: %d, error:%s", stat.ExitCode(), errStr) + } return err } diff --git a/workflow/validate/validate.go b/workflow/validate/validate.go index a36c09542666..f525339970c0 100644 --- a/workflow/validate/validate.go +++ b/workflow/validate/validate.go @@ -161,6 +161,7 @@ func ValidateWorkflow(wftmplGetter templateresolution.WorkflowTemplateNamespaced } if len(wfArgs.Parameters) > 0 { ctx.globalParams[common.GlobalVarWorkflowParameters] = placeholderGenerator.NextPlaceholder() + ctx.globalParams[common.GlobalVarWorkflowParametersJSON] = placeholderGenerator.NextPlaceholder() } for _, param := range wfArgs.Parameters { @@ -190,11 +191,13 @@ func ValidateWorkflow(wftmplGetter templateresolution.WorkflowTemplateNamespaced ctx.globalParams["workflow.annotations."+k] = placeholderGenerator.NextPlaceholder() } ctx.globalParams[common.GlobalVarWorkflowAnnotations] = placeholderGenerator.NextPlaceholder() + ctx.globalParams[common.GlobalVarWorkflowAnnotationsJSON] = placeholderGenerator.NextPlaceholder() for k := range mergedLabels { ctx.globalParams["workflow.labels."+k] = placeholderGenerator.NextPlaceholder() } ctx.globalParams[common.GlobalVarWorkflowLabels] = placeholderGenerator.NextPlaceholder() + ctx.globalParams[common.GlobalVarWorkflowLabelsJSON] = placeholderGenerator.NextPlaceholder() if wf.Spec.Priority != nil { ctx.globalParams[common.GlobalVarWorkflowPriority] = strconv.Itoa(int(*wf.Spec.Priority)) @@ -215,14 +218,14 @@ func ValidateWorkflow(wftmplGetter templateresolution.WorkflowTemplateNamespaced if hasWorkflowTemplateRef { tmpl = &wfv1.WorkflowStep{TemplateRef: wfTmplRef} } - _, err = ctx.validateTemplateHolder(tmpl, tmplCtx, args) + _, err = ctx.validateTemplateHolder(tmpl, tmplCtx, args, opts.WorkflowTemplateValidation) if err != nil { return err } } if wf.Spec.OnExit != "" { ctx.globalParams[common.GlobalVarWorkflowFailures] = placeholderGenerator.NextPlaceholder() - _, err = ctx.validateTemplateHolder(&wfv1.WorkflowStep{Template: wf.Spec.OnExit}, tmplCtx, &wf.Spec.Arguments) + _, err = ctx.validateTemplateHolder(&wfv1.WorkflowStep{Template: wf.Spec.OnExit}, tmplCtx, &wf.Spec.Arguments, opts.WorkflowTemplateValidation) if err != nil { return err } @@ -237,7 +240,7 @@ func ValidateWorkflow(wftmplGetter templateresolution.WorkflowTemplateNamespaced // Check if all templates can be resolved. for _, template := range wf.Spec.Templates { - _, err := ctx.validateTemplateHolder(&wfv1.WorkflowStep{Template: template.Name}, tmplCtx, &FakeArguments{}) + _, err := ctx.validateTemplateHolder(&wfv1.WorkflowStep{Template: template.Name}, tmplCtx, &FakeArguments{}, opts.WorkflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s %s", template.Name, err.Error()) } @@ -341,7 +344,7 @@ func (ctx *templateValidationCtx) validateInitContainers(containers []wfv1.UserC return nil } -func (ctx *templateValidationCtx) validateTemplate(tmpl *wfv1.Template, tmplCtx *templateresolution.Context, args wfv1.ArgumentsProvider) error { +func (ctx *templateValidationCtx) validateTemplate(tmpl *wfv1.Template, tmplCtx *templateresolution.Context, args wfv1.ArgumentsProvider, workflowTemplateValidation bool) error { if err := validateTemplateType(tmpl); err != nil { return err } @@ -413,16 +416,16 @@ func (ctx *templateValidationCtx) validateTemplate(tmpl *wfv1.Template, tmplCtx } switch newTmpl.GetType() { case wfv1.TemplateTypeSteps: - err = ctx.validateSteps(scope, tmplCtx, newTmpl) + err = ctx.validateSteps(scope, tmplCtx, newTmpl, workflowTemplateValidation) case wfv1.TemplateTypeDAG: - err = ctx.validateDAG(scope, tmplCtx, newTmpl) + err = ctx.validateDAG(scope, tmplCtx, newTmpl, workflowTemplateValidation) default: - err = ctx.validateLeaf(scope, newTmpl) + err = ctx.validateLeaf(scope, newTmpl, workflowTemplateValidation) } if err != nil { return err } - err = validateOutputs(scope, ctx.globalParams, newTmpl) + err = validateOutputs(scope, ctx.globalParams, newTmpl, workflowTemplateValidation) if err != nil { return err } @@ -453,7 +456,7 @@ func (ctx *templateValidationCtx) validateTemplate(tmpl *wfv1.Template, tmplCtx } // validateTemplateHolder validates a template holder and returns the validated template. -func (ctx *templateValidationCtx) validateTemplateHolder(tmplHolder wfv1.TemplateReferenceHolder, tmplCtx *templateresolution.Context, args wfv1.ArgumentsProvider) (*wfv1.Template, error) { +func (ctx *templateValidationCtx) validateTemplateHolder(tmplHolder wfv1.TemplateReferenceHolder, tmplCtx *templateresolution.Context, args wfv1.ArgumentsProvider, workflowTemplateValidation bool) (*wfv1.Template, error) { tmplRef := tmplHolder.GetTemplateRef() tmplName := tmplHolder.GetTemplateName() if tmplRef != nil { @@ -498,7 +501,7 @@ func (ctx *templateValidationCtx) validateTemplateHolder(tmplHolder wfv1.Templat } } - return resolvedTmpl, ctx.validateTemplate(resolvedTmpl, tmplCtx, args) + return resolvedTmpl, ctx.validateTemplate(resolvedTmpl, tmplCtx, args, workflowTemplateValidation) } // validateTemplateType validates that only one template type is defined @@ -580,7 +583,7 @@ func validateArtifactLocation(errPrefix string, art wfv1.ArtifactLocation) error } // resolveAllVariables is a helper to ensure all {{variables}} are resolvable from current scope -func resolveAllVariables(scope map[string]interface{}, globalParams map[string]string, tmplStr string) error { +func resolveAllVariables(scope map[string]interface{}, globalParams map[string]string, tmplStr string, workflowTemplateValidation bool) error { _, allowAllItemRefs := scope[anyItemMagicValue] // 'item.*' is a magic placeholder value set by addItemsToScope _, allowAllWorkflowOutputParameterRefs := scope[anyWorkflowOutputParameterMagicValue] _, allowAllWorkflowOutputArtifactRefs := scope[anyWorkflowOutputArtifactMagicValue] @@ -607,6 +610,8 @@ func resolveAllVariables(scope map[string]interface{}, globalParams map[string]s } else if strings.HasPrefix(tag, common.GlobalVarWorkflowDuration) { } else if strings.HasPrefix(tag, "tasks.name") { } else if strings.HasPrefix(tag, "steps.name") { + } else if strings.HasPrefix(tag, "workflow.parameters") && workflowTemplateValidation { + // If we are simply validating a WorkflowTemplate in isolation, some of the parameters may come from the Workflow that uses it } else { return fmt.Errorf("failed to resolve {{%s}}", tag) } @@ -632,12 +637,12 @@ func validateNonLeaf(tmpl *wfv1.Template) error { return nil } -func (ctx *templateValidationCtx) validateLeaf(scope map[string]interface{}, tmpl *wfv1.Template) error { +func (ctx *templateValidationCtx) validateLeaf(scope map[string]interface{}, tmpl *wfv1.Template, workflowTemplateValidation bool) error { tmplBytes, err := json.Marshal(tmpl) if err != nil { return errors.InternalWrapError(err) } - err = resolveAllVariables(scope, ctx.globalParams, string(tmplBytes)) + err = resolveAllVariables(scope, ctx.globalParams, string(tmplBytes), workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s: %s", tmpl.Name, err.Error()) } @@ -764,6 +769,9 @@ func validateArgumentsValues(prefix string, arguments wfv1.Arguments, allowEmpty if len(param.Enum) == 0 { return errors.Errorf(errors.CodeBadRequest, "%s%s.enum should contain at least one value", prefix, param.Name) } + if param.Value == nil { + return errors.Errorf(errors.CodeBadRequest, "%s%s.value is required", prefix, param.Name) + } valueSpecifiedInEnumList := false for _, enum := range param.Enum { if enum == *param.Value { @@ -787,7 +795,7 @@ func validateArgumentsValues(prefix string, arguments wfv1.Arguments, allowEmpty return nil } -func (ctx *templateValidationCtx) validateSteps(scope map[string]interface{}, tmplCtx *templateresolution.Context, tmpl *wfv1.Template) error { +func (ctx *templateValidationCtx) validateSteps(scope map[string]interface{}, tmplCtx *templateresolution.Context, tmpl *wfv1.Template, workflowTemplateValidation bool) error { err := validateNonLeaf(tmpl) if err != nil { return err @@ -817,15 +825,11 @@ func (ctx *templateValidationCtx) validateSteps(scope map[string]interface{}, tm if err != nil { return err } - resolvedTmpl, err := ctx.validateTemplateHolder(&step, tmplCtx, &FakeArguments{}) + resolvedTmpl, err := ctx.validateTemplateHolder(&step, tmplCtx, &FakeArguments{}, workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.steps[%d].%s %s", tmpl.Name, i, step.Name, err.Error()) } - if !validateWhenExpression(step.When) { - return errors.Errorf(errors.CodeBadRequest, "templates.%s when expression doesn't support 'expr' format '{{='. 'When' expression is only support govaluate format {{", tmpl.Name) - } - if step.HasExitHook() { ctx.addOutputsToScope(resolvedTmpl, fmt.Sprintf("steps.%s", step.Name), scope, false, false) } @@ -836,7 +840,7 @@ func (ctx *templateValidationCtx) validateSteps(scope map[string]interface{}, tm if err != nil { return errors.InternalWrapError(err) } - err = resolveAllVariables(scope, ctx.globalParams, string(stepBytes)) + err = resolveAllVariables(scope, ctx.globalParams, string(stepBytes), workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.steps %s", tmpl.Name, err.Error()) } @@ -847,7 +851,7 @@ func (ctx *templateValidationCtx) validateSteps(scope map[string]interface{}, tm ctx.addOutputsToScope(resolvedTmpl, fmt.Sprintf("steps.%s", step.Name), scope, aggregate, false) // Validate the template again with actual arguments. - _, err = ctx.validateTemplateHolder(&step, tmplCtx, &step.Arguments) + _, err = ctx.validateTemplateHolder(&step, tmplCtx, &step.Arguments, workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.steps[%d].%s %s", tmpl.Name, i, step.Name, err.Error()) } @@ -956,7 +960,7 @@ func (ctx *templateValidationCtx) addOutputsToScope(tmpl *wfv1.Template, prefix } } -func validateOutputs(scope map[string]interface{}, globalParams map[string]string, tmpl *wfv1.Template) error { +func validateOutputs(scope map[string]interface{}, globalParams map[string]string, tmpl *wfv1.Template, workflowTemplateValidation bool) error { err := validateWorkflowFieldNames(tmpl.Outputs.Parameters) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.outputs.parameters %s", tmpl.Name, err.Error()) @@ -969,7 +973,7 @@ func validateOutputs(scope map[string]interface{}, globalParams map[string]strin if err != nil { return errors.InternalWrapError(err) } - err = resolveAllVariables(scope, globalParams, string(outputBytes)) + err = resolveAllVariables(scope, globalParams, string(outputBytes), workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.outputs %s", tmpl.Name, err.Error()) } @@ -1147,11 +1151,7 @@ func (d *dagValidationContext) GetTaskFinishedAtTime(taskName string) time.Time return time.Now() } -func validateWhenExpression(when string) bool { - return !strings.HasPrefix(when, "{{=") -} - -func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmplCtx *templateresolution.Context, tmpl *wfv1.Template) error { +func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmplCtx *templateresolution.Context, tmpl *wfv1.Template, workflowTemplateValidation bool) error { err := validateNonLeaf(tmpl) if err != nil { return err @@ -1199,11 +1199,8 @@ func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmpl return errors.Errorf(errors.CodeBadRequest, "templates.%s cannot use 'continueOn' when using 'depends'. Instead use 'dep-task.Failed'/'dep-task.Errored'", tmpl.Name) } - if !validateWhenExpression(task.When) { - return errors.Errorf(errors.CodeBadRequest, "templates.%s when doesn't support 'expr' expression '{{='. 'When' expression is only support govaluate format {{", tmpl.Name) - } + resolvedTmpl, err := ctx.validateTemplateHolder(&task, tmplCtx, &FakeArguments{}, workflowTemplateValidation) - resolvedTmpl, err := ctx.validateTemplateHolder(&task, tmplCtx, &FakeArguments{}) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error()) } @@ -1236,7 +1233,7 @@ func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmpl if err = verifyNoCycles(tmpl, dagValidationCtx); err != nil { return err } - err = resolveAllVariables(scope, ctx.globalParams, tmpl.DAG.Target) + err = resolveAllVariables(scope, ctx.globalParams, tmpl.DAG.Target, workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.targets %s", tmpl.Name, err.Error()) } @@ -1282,7 +1279,7 @@ func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmpl if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error()) } - err = resolveAllVariables(taskScope, ctx.globalParams, string(taskBytes)) + err = resolveAllVariables(taskScope, ctx.globalParams, string(taskBytes), workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error()) } @@ -1295,7 +1292,7 @@ func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmpl return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error()) } // Validate the template again with actual arguments. - _, err = ctx.validateTemplateHolder(&task, tmplCtx, &task.Arguments) + _, err = ctx.validateTemplateHolder(&task, tmplCtx, &task.Arguments, workflowTemplateValidation) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error()) } diff --git a/workflow/validate/validate_test.go b/workflow/validate/validate_test.go index ab3a672760db..5b6c89b762a9 100644 --- a/workflow/validate/validate_test.go +++ b/workflow/validate/validate_test.go @@ -1518,6 +1518,24 @@ func TestWorkflowTemplate(t *testing.T) { assert.NoError(t, err) } +var templateWithGlobalParams = ` +apiVersion: argoproj.io/v1alpha1 +kind: WorkflowTemplate +metadata: + name: template-ref-target +spec: + templates: + - name: A + container: + image: alpine:latest + command: [echo, "{{workflow.parameters.something}}"] +` + +func TestWorkflowTemplateWithGlobalParams(t *testing.T) { + err := validateWorkflowTemplate(templateWithGlobalParams, ValidateOpts{}) + assert.NoError(t, err) +} + var templateRefNestedTarget = ` apiVersion: argoproj.io/v1alpha1 kind: WorkflowTemplate @@ -2493,6 +2511,37 @@ spec: - echo - '{{inputs.parameters.message}}' ` +var workflowTeamplateWithEnumValuesWithoutValue = ` +apiVersion: argoproj.io/v1alpha1 +kind: WorkflowTemplate +metadata: + generateName: test-enum-1- + labels: + testLabel: foobar +spec: + entrypoint: argosay + arguments: + parameters: + - name: message + enum: + - one + - two + - three + templates: + - name: argosay + inputs: + parameters: + - name: message + value: '{{workflow.parameters.message}}' + container: + name: main + image: 'argoproj/argosay:v2' + command: + - /argosay + args: + - echo + - '{{inputs.parameters.message}}' +` func TestWorkflowTemplateWithEnumValue(t *testing.T) { err := validateWorkflowTemplate(workflowTeamplateWithEnumValues, ValidateOpts{}) @@ -2521,6 +2570,15 @@ func TestWorkflowTemplateWithArgumentValueNotFromEnumList(t *testing.T) { assert.EqualError(t, err, "spec.arguments.message.value should be present in spec.arguments.message.enum list") } +func TestWorkflowTemplateWithEnumValueWithoutValue(t *testing.T) { + err := validateWorkflowTemplate(workflowTeamplateWithEnumValuesWithoutValue, ValidateOpts{}) + assert.EqualError(t, err, "spec.arguments.message.value is required") + err = validateWorkflowTemplate(workflowTeamplateWithEnumValuesWithoutValue, ValidateOpts{Lint: true}) + assert.EqualError(t, err, "spec.arguments.message.value is required") + err = validateWorkflowTemplate(workflowTeamplateWithEnumValuesWithoutValue, ValidateOpts{Submit: true}) + assert.EqualError(t, err, "spec.arguments.message.value is required") +} + var validActiveDeadlineSecondsArgoVariable = ` apiVersion: argoproj.io/v1alpha1 kind: Workflow