@codiac.io/codiac-cli 1.2.174 → 1.2.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4696 -4634
- package/bin/dev +16 -16
- package/bin/dev.cmd +2 -2
- package/bin/run +3 -3
- package/bin/run.cmd +3 -3
- package/codiac.json +1 -1
- package/dist/apis/codiac-api/common/api-client-base.d.ts +165 -0
- package/dist/apis/codiac-api/common/api-client-base.js +548 -0
- package/dist/apis/codiac-api/common/api-client-base.js.map +1 -0
- package/dist/apis/codiac-api/common/api-user-creds.d.ts +7 -0
- package/dist/apis/codiac-api/common/api-user-creds.js +19 -0
- package/dist/apis/codiac-api/common/api-user-creds.js.map +1 -0
- package/dist/apis/codiac-api/common/config-loader.d.ts +6 -0
- package/dist/apis/codiac-api/common/config-loader.js +19 -0
- package/dist/apis/codiac-api/common/endpoint-spec.d.ts +17 -0
- package/dist/apis/codiac-api/common/endpoint-spec.js +28 -0
- package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.d.ts +87 -0
- package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.js +368 -0
- package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.js.map +1 -0
- package/dist/apis/codiac-api/common/security/auth-constants.d.ts +15 -0
- package/dist/apis/codiac-api/common/security/auth-constants.js +22 -0
- package/dist/apis/codiac-api/common/security/i-auth-client.d.ts +44 -0
- package/dist/apis/codiac-api/common/security/i-auth-client.js +3 -0
- package/dist/apis/codiac-api/common/security/token-holder.d.ts +13 -0
- package/dist/apis/codiac-api/common/security/token-holder.js +18 -0
- package/dist/apis/codiac-api/common/utils.d.ts +23 -0
- package/dist/apis/codiac-api/common/utils.js +83 -0
- package/dist/apis/codiac-api/contracts/index.d.ts +1 -0
- package/dist/apis/codiac-api/contracts/index.js +5 -0
- package/dist/apis/codiac-api/gen/client-config.d.ts +10 -0
- package/dist/apis/codiac-api/gen/client-config.js +29 -0
- package/dist/apis/codiac-api/gen/client-config.js.map +1 -0
- package/dist/apis/codiac-api/gen/client.d.ts +1663 -0
- package/dist/apis/codiac-api/gen/client.js +15630 -0
- package/dist/apis/codiac-api/gen/client.js.map +1 -0
- package/dist/apis/codiac-api/gen/contracts.d.ts +2722 -0
- package/dist/apis/codiac-api/gen/contracts.js +403 -0
- package/dist/apis/codiac-api/index.d.ts +3 -0
- package/dist/apis/codiac-api/index.js +9 -0
- package/dist/apis/codiac-relay/common/api-client-base.d.ts +165 -0
- package/dist/apis/codiac-relay/common/api-client-base.js +548 -0
- package/dist/apis/codiac-relay/common/api-client-base.js.map +1 -0
- package/dist/apis/codiac-relay/common/api-user-creds.d.ts +7 -0
- package/dist/apis/codiac-relay/common/api-user-creds.js +19 -0
- package/dist/apis/codiac-relay/common/api-user-creds.js.map +1 -0
- package/dist/apis/codiac-relay/common/config-loader.d.ts +6 -0
- package/dist/apis/codiac-relay/common/config-loader.js +19 -0
- package/dist/apis/codiac-relay/common/endpoint-spec.d.ts +17 -0
- package/dist/apis/codiac-relay/common/endpoint-spec.js +28 -0
- package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.d.ts +87 -0
- package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js +368 -0
- package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +1 -0
- package/dist/apis/codiac-relay/common/security/auth-constants.d.ts +15 -0
- package/dist/apis/codiac-relay/common/security/auth-constants.js +22 -0
- package/dist/apis/codiac-relay/common/security/i-auth-client.d.ts +44 -0
- package/dist/apis/codiac-relay/common/security/i-auth-client.js +3 -0
- package/dist/apis/codiac-relay/common/security/token-holder.d.ts +13 -0
- package/dist/apis/codiac-relay/common/security/token-holder.js +18 -0
- package/dist/apis/codiac-relay/common/utils.d.ts +23 -0
- package/dist/apis/codiac-relay/common/utils.js +83 -0
- package/dist/apis/codiac-relay/contracts/index.d.ts +1 -0
- package/dist/apis/codiac-relay/contracts/index.js +5 -0
- package/dist/apis/codiac-relay/gen/client-config.d.ts +10 -0
- package/dist/apis/codiac-relay/gen/client-config.js +29 -0
- package/dist/apis/codiac-relay/gen/client-config.js.map +1 -0
- package/dist/apis/codiac-relay/gen/client.d.ts +244 -0
- package/dist/apis/codiac-relay/gen/client.js +1863 -0
- package/dist/apis/codiac-relay/gen/client.js.map +1 -0
- package/dist/apis/codiac-relay/gen/contracts.d.ts +3111 -0
- package/dist/apis/codiac-relay/gen/contracts.js +435 -0
- package/dist/apis/codiac-relay/index.d.ts +3 -0
- package/dist/apis/codiac-relay/index.js +9 -0
- package/dist/cli-common/ImagesList.js +67 -0
- package/dist/cli-common/argument-manager.d.ts +28 -0
- package/dist/cli-common/argument-manager.js +195 -0
- package/dist/cli-common/built-in-cli-user-input.d.ts +18 -0
- package/dist/cli-common/built-in-cli-user-input.js +310 -0
- package/dist/cli-common/built-in-cli-user-input.js.map +1 -0
- package/dist/cli-common/cli-interfaces.js +7 -0
- package/dist/cli-common/command-base.d.ts +72 -0
- package/dist/cli-common/command-base.js +182 -0
- package/dist/cli-common/entities/index.d.ts +1 -0
- package/dist/cli-common/entities/index.js +5 -0
- package/dist/cli-common/entities/prompt-choice.d.ts +7 -0
- package/dist/cli-common/entities/prompt-choice.js +3 -0
- package/dist/cli-common/file-selector.d.ts +48 -0
- package/dist/cli-common/file-selector.js +187 -0
- package/dist/cli-common/i-user-input-provider.js +19 -0
- package/dist/cli-common/index.d.ts +4 -0
- package/dist/cli-common/index.js +11 -0
- package/dist/cli-common/mock-ui.d.ts +27 -0
- package/dist/cli-common/mock-ui.js +83 -0
- package/dist/cli-common/prompt-select-fuzzy.d.ts +19 -0
- package/dist/cli-common/prompt-select-fuzzy.js +119 -0
- package/dist/cli-common/prompt-select-fuzzy.js.map +1 -0
- package/dist/cli-common/tenant-contextualizer.js +436 -0
- package/dist/cli-common/test/tenant-contextualizer.spec.js +143 -0
- package/dist/cli-entities/output-format-enum.d.ts +7 -0
- package/dist/cli-entities/output-format-enum.js +12 -0
- package/dist/cli-entities/prompt-choice.js +6 -0
- package/dist/codiac-constants.d.ts +35 -0
- package/dist/codiac-constants.js +41 -0
- package/dist/codiac-entities/asset-binding.d.ts +12 -0
- package/dist/codiac-entities/asset-binding.js +18 -0
- package/dist/codiac-entities/azure-container-registry.d.ts +4 -0
- package/dist/codiac-entities/azure-container-registry.js +3 -0
- package/dist/codiac-entities/azure-service-principal.d.ts +23 -0
- package/dist/codiac-entities/azure-service-principal.js +24 -0
- package/dist/codiac-entities/cloud-account-ref.d.ts +28 -0
- package/dist/codiac-entities/cloud-account-ref.js +37 -0
- package/dist/codiac-entities/deployment-temp.js +133 -0
- package/dist/codiac-entities/i-cloud-account-ref.d.ts +5 -0
- package/dist/codiac-entities/i-cloud-account-ref.js +3 -0
- package/dist/command-base-enterprise.d.ts +121 -0
- package/dist/command-base-enterprise.js +524 -0
- package/dist/command-base-tenantless.d.ts +44 -0
- package/dist/command-base-tenantless.js +180 -0
- package/dist/commands/asset/create.d.ts +42 -0
- package/dist/commands/asset/create.js +467 -0
- package/dist/commands/asset/destroy.d.ts +20 -0
- package/dist/commands/asset/destroy.js +129 -0
- package/dist/commands/asset/helm.d.ts +23 -0
- package/dist/commands/asset/helm.js +153 -0
- package/dist/commands/asset/list.d.ts +28 -0
- package/dist/commands/asset/list.js +172 -0
- package/dist/commands/asset/probe/create.d.ts +38 -0
- package/dist/commands/asset/probe/create.js +187 -0
- package/dist/commands/asset/recycle.d.ts +23 -0
- package/dist/commands/asset/recycle.js +175 -0
- package/dist/commands/asset/view.d.ts +188 -0
- package/dist/commands/asset/view.js +1365 -0
- package/dist/commands/asset/volume/create.d.ts +23 -0
- package/dist/commands/asset/volume/create.js +176 -0
- package/dist/commands/asset/volume/delete.d.ts +19 -0
- package/dist/commands/asset/volume/delete.js +112 -0
- package/dist/commands/asset/volume/list.d.ts +19 -0
- package/dist/commands/asset/volume/list.js +70 -0
- package/dist/commands/branch/current.d.ts +10 -0
- package/dist/commands/branch/current.js +34 -0
- package/dist/commands/branch/list.d.ts +15 -0
- package/dist/commands/branch/list.js +56 -0
- package/dist/commands/branch.d.ts +12 -0
- package/dist/commands/branch.js +42 -0
- package/dist/commands/build.d.ts +38 -0
- package/dist/commands/build.js +120 -0
- package/dist/commands/cabinet/create.d.ts +21 -0
- package/dist/commands/cabinet/create.js +108 -0
- package/dist/commands/cabinet/list.d.ts +23 -0
- package/dist/commands/cabinet/list.js +134 -0
- package/dist/commands/cabinet/obliterate.d.ts +20 -0
- package/dist/commands/cabinet/obliterate.js +83 -0
- package/dist/commands/cli.d.ts +10 -0
- package/dist/commands/cli.js +100 -0
- package/dist/commands/commit.d.ts +11 -0
- package/dist/commands/commit.js +40 -0
- package/dist/commands/config/add.d.ts +78 -0
- package/dist/commands/config/add.js +560 -0
- package/dist/commands/config/delete.d.ts +18 -0
- package/dist/commands/config/delete.js +119 -0
- package/dist/commands/config/deploy.d.ts +22 -0
- package/dist/commands/config/deploy.js +125 -0
- package/dist/commands/config/import.d.ts +27 -0
- package/dist/commands/config/import.js +196 -0
- package/dist/commands/config/view.d.ts +25 -0
- package/dist/commands/config/view.js +121 -0
- package/dist/commands/csp/login.d.ts +18 -0
- package/dist/commands/csp/login.js +123 -0
- package/dist/commands/csp/login.js.map +1 -0
- package/dist/commands/csp/logout.d.ts +15 -0
- package/dist/commands/csp/logout.js +74 -0
- package/dist/commands/dep/create.d.ts +13 -0
- package/dist/commands/dep/create.js +41 -0
- package/dist/commands/dep/install.d.ts +9 -0
- package/dist/commands/dep/install.js +30 -0
- package/dist/commands/dep/list.d.ts +55 -0
- package/dist/commands/dep/list.js +98 -0
- package/dist/commands/dep/remove.d.ts +12 -0
- package/dist/commands/dep/remove.js +62 -0
- package/dist/commands/dep/source.d.ts +13 -0
- package/dist/commands/dep/source.js +83 -0
- package/dist/commands/dep/syncup.d.ts +11 -0
- package/dist/commands/dep/syncup.js +54 -0
- package/dist/commands/dep/unsource.d.ts +14 -0
- package/dist/commands/dep/unsource.js +68 -0
- package/dist/commands/dep/upgrade.d.ts +44 -0
- package/dist/commands/dep/upgrade.js +244 -0
- package/dist/commands/dep.d.ts +12 -0
- package/dist/commands/dep.js +51 -0
- package/dist/commands/deploy.d.ts +38 -0
- package/dist/commands/deploy.js +386 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/enterprise/create.d.ts +20 -0
- package/dist/commands/enterprise/create.js +98 -0
- package/dist/commands/enterprise/list.d.ts +14 -0
- package/dist/commands/enterprise/list.js +84 -0
- package/dist/commands/env/add.d.ts +22 -0
- package/dist/commands/env/add.js +200 -0
- package/dist/commands/environment/create.d.ts +19 -0
- package/dist/commands/environment/create.js +89 -0
- package/dist/commands/environment/list.d.ts +25 -0
- package/dist/commands/environment/list.js +158 -0
- package/dist/commands/filestore/capture.d.ts +31 -0
- package/dist/commands/filestore/capture.js +342 -0
- package/dist/commands/host/map.d.ts +33 -0
- package/dist/commands/host/map.js +347 -0
- package/dist/commands/identity/delete.d.ts +15 -0
- package/dist/commands/identity/delete.js +83 -0
- package/dist/commands/identity/list.d.ts +11 -0
- package/dist/commands/identity/list.js +43 -0
- package/dist/commands/identity.d.ts +22 -0
- package/dist/commands/identity.js +77 -0
- package/dist/commands/imageRegistry/capture.d.ts +27 -0
- package/dist/commands/imageRegistry/capture.js +160 -0
- package/dist/commands/imageRegistry/forget.d.ts +23 -0
- package/dist/commands/imageRegistry/forget.js +161 -0
- package/dist/commands/imageRegistry/pullSecret/set.d.ts +27 -0
- package/dist/commands/imageRegistry/pullSecret/set.js +300 -0
- package/dist/commands/imageRegistry/pullSecret/unset.d.ts +24 -0
- package/dist/commands/imageRegistry/pullSecret/unset.js +243 -0
- package/dist/commands/images/add.d.ts +25 -0
- package/dist/commands/images/add.js +76 -0
- package/dist/commands/images/list.d.ts +14 -0
- package/dist/commands/images/list.js +72 -0
- package/dist/commands/images/patch.d.ts +14 -0
- package/dist/commands/images/patch.js +93 -0
- package/dist/commands/images/remove.d.ts +12 -0
- package/dist/commands/images/remove.js +38 -0
- package/dist/commands/images/version/bump.d.ts +18 -0
- package/dist/commands/images/version/bump.js +61 -0
- package/dist/commands/images/version.d.ts +16 -0
- package/dist/commands/images/version.js +65 -0
- package/dist/commands/init.d.ts +17 -0
- package/dist/commands/init.js +131 -0
- package/dist/commands/kit/create.d.ts +25 -0
- package/dist/commands/kit/create.js +142 -0
- package/dist/commands/login.d.ts +22 -0
- package/dist/commands/login.js +93 -0
- package/dist/commands/logout.d.ts +8 -0
- package/dist/commands/logout.js +37 -0
- package/dist/commands/merge.d.ts +12 -0
- package/dist/commands/merge.js +43 -0
- package/dist/commands/noc/cluster/create.d.ts +28 -0
- package/dist/commands/noc/cluster/create.js +133 -0
- package/dist/commands/noc/cluster/deinit.d.ts +17 -0
- package/dist/commands/noc/cluster/deinit.js +117 -0
- package/dist/commands/noc/cluster/destroy.d.ts +20 -0
- package/dist/commands/noc/cluster/destroy.js +138 -0
- package/dist/commands/noc/cluster/forget.d.ts +16 -0
- package/dist/commands/noc/cluster/forget.js +137 -0
- package/dist/commands/noc/cluster/grant.d.ts +24 -0
- package/dist/commands/noc/cluster/grant.js +160 -0
- package/dist/commands/noc/cluster/init.d.ts +17 -0
- package/dist/commands/noc/cluster/init.js +117 -0
- package/dist/commands/noc/cluster/list.d.ts +21 -0
- package/dist/commands/noc/cluster/list.js +84 -0
- package/dist/commands/noc/cluster/recreate.d.ts +28 -0
- package/dist/commands/noc/cluster/recreate.js +186 -0
- package/dist/commands/pkg/add.d.ts +15 -0
- package/dist/commands/pkg/add.js +43 -0
- package/dist/commands/pkg/list.d.ts +9 -0
- package/dist/commands/pkg/list.js +33 -0
- package/dist/commands/pkg/patch.d.ts +13 -0
- package/dist/commands/pkg/patch.js +79 -0
- package/dist/commands/pkg/remove.d.ts +12 -0
- package/dist/commands/pkg/remove.js +70 -0
- package/dist/commands/portal.d.ts +11 -0
- package/dist/commands/portal.js +82 -0
- package/dist/commands/publish.d.ts +21 -0
- package/dist/commands/publish.js +52 -0
- package/dist/commands/pull.d.ts +13 -0
- package/dist/commands/pull.js +30 -0
- package/dist/commands/push.d.ts +13 -0
- package/dist/commands/push.js +30 -0
- package/dist/commands/run.d.ts +35 -0
- package/dist/commands/run.js +194 -0
- package/dist/commands/secretStore/capture.d.ts +27 -0
- package/dist/commands/secretStore/capture.js +175 -0
- package/dist/commands/secretStore/forget.d.ts +20 -0
- package/dist/commands/secretStore/forget.js +147 -0
- package/dist/commands/stage.d.ts +13 -0
- package/dist/commands/stage.js +65 -0
- package/dist/commands/stash.d.ts +13 -0
- package/dist/commands/stash.js +31 -0
- package/dist/commands/status.d.ts +12 -0
- package/dist/commands/status.js +49 -0
- package/dist/commands/stop.d.ts +10 -0
- package/dist/commands/stop.js +52 -0
- package/dist/commands/switch.d.ts +11 -0
- package/dist/commands/switch.js +42 -0
- package/dist/commands/sync.d.ts +14 -0
- package/dist/commands/sync.js +21 -0
- package/dist/commands/tenant/create.d.ts +27 -0
- package/dist/commands/tenant/create.js +120 -0
- package/dist/commands/tenant/switch.d.ts +24 -0
- package/dist/commands/tenant/switch.js +109 -0
- package/dist/commands/test.d.ts +13 -0
- package/dist/commands/test.js +32 -0
- package/dist/commands/test.js.map +1 -0
- package/dist/commands/testent.d.ts +13 -0
- package/dist/commands/testent.js +33 -0
- package/dist/commands/testent.js.map +1 -0
- package/dist/commands/unstage.d.ts +12 -0
- package/dist/commands/unstage.js +58 -0
- package/dist/commands/whereami.d.ts +15 -0
- package/dist/commands/whereami.js +123 -0
- package/dist/commands/whoami.d.ts +8 -0
- package/dist/commands/whoami.js +40 -0
- package/dist/errors/NoMembershipError.d.ts +8 -0
- package/dist/errors/NoMembershipError.js +15 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -0
- package/dist/log-update-wrapper.d.ts +24 -0
- package/dist/log-update-wrapper.js +29 -0
- package/dist/log4js-logger.d.ts +26 -0
- package/dist/log4js-logger.js +138 -0
- package/dist/log4js-logger.js.map +1 -0
- package/dist/ops/INTERFACES_CLI.d.ts +3 -0
- package/dist/ops/INTERFACES_CLI.js +8 -0
- package/dist/ops/LocalOps.d.ts +417 -0
- package/dist/ops/LocalOps.js +3122 -0
- package/dist/ops/LocalOps.js.map +1 -0
- package/dist/ops/azure-container-registry-client/azure-container-registry-client.js +148 -0
- package/dist/ops/cli-path-walker.js +55 -0
- package/dist/ops/codiac-entities/dependency.d.ts +5 -0
- package/dist/ops/codiac-entities/dependency.js +11 -0
- package/dist/ops/codiac-entities/index.d.ts +1 -0
- package/dist/ops/codiac-entities/index.js +5 -0
- package/dist/ops/composite-image-registry-client.js +74 -0
- package/dist/ops/data/cli-context-repo.d.ts +61 -0
- package/dist/ops/data/cli-context-repo.js +270 -0
- package/dist/ops/data/cli-context-repo.js.map +1 -0
- package/dist/ops/data/index.d.ts +2 -0
- package/dist/ops/data/index.js +6 -0
- package/dist/ops/data/npm-config-repo.d.ts +13 -0
- package/dist/ops/data/npm-config-repo.js +65 -0
- package/dist/ops/docker-config.js +131 -0
- package/dist/ops/docker-constants.js +22 -0
- package/dist/ops/docker-credentials-store.js +238 -0
- package/dist/ops/docker-registry-api-client/docker-registry-api-client.js +289 -0
- package/dist/ops/docker-registry-api-client/entities/blob-sum.d.ts +7 -0
- package/dist/ops/docker-registry-api-client/entities/blob-sum.js +13 -0
- package/dist/ops/docker-registry-api-client/entities/docker-access-actions-enum.d.ts +5 -0
- package/dist/ops/docker-registry-api-client/entities/docker-access-actions-enum.js +10 -0
- package/dist/ops/docker-registry-api-client/entities/docker-auth-token-criteria.d.ts +30 -0
- package/dist/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js +36 -0
- package/dist/ops/docker-registry-api-client/entities/i-docker-error-response.d.ts +55 -0
- package/dist/ops/docker-registry-api-client/entities/i-docker-error-response.js +52 -0
- package/dist/ops/docker-registry-api-client/entities/i-docker-list-response.d.ts +7 -0
- package/dist/ops/docker-registry-api-client/entities/i-docker-list-response.js +3 -0
- package/dist/ops/docker-registry-api-client/entities/image-repository.d.ts +31 -0
- package/dist/ops/docker-registry-api-client/entities/image-repository.js +30 -0
- package/dist/ops/docker-registry-api-client/entities/image-tag-criteria.d.ts +8 -0
- package/dist/ops/docker-registry-api-client/entities/image-tag-criteria.js +14 -0
- package/dist/ops/docker-registry-api-client/entities/image-tag-list.d.ts +7 -0
- package/dist/ops/docker-registry-api-client/entities/image-tag-list.js +13 -0
- package/dist/ops/docker-registry-api-client/entities/manifest-criteria.d.ts +9 -0
- package/dist/ops/docker-registry-api-client/entities/manifest-criteria.js +15 -0
- package/dist/ops/docker-registry-api-client/entities/manifest.d.ts +15 -0
- package/dist/ops/docker-registry-api-client/entities/manifest.js +21 -0
- package/dist/ops/docker-registry-api-client/entities/repository-criteria.d.ts +16 -0
- package/dist/ops/docker-registry-api-client/entities/repository-criteria.js +24 -0
- package/dist/ops/docker-registry-api-client/entities/token-response.d.ts +15 -0
- package/dist/ops/docker-registry-api-client/entities/token-response.js +15 -0
- package/dist/ops/docker-registry-api-client/entities/token.d.ts +17 -0
- package/dist/ops/docker-registry-api-client/entities/token.js +22 -0
- package/dist/ops/docker-registry-api-client/entities/version-check-criteria.d.ts +4 -0
- package/dist/ops/docker-registry-api-client/entities/version-check-criteria.js +10 -0
- package/dist/ops/dx-constants.d.ts +26 -0
- package/dist/ops/dx-constants.js +43 -0
- package/dist/ops/entities/ImageBuildContext.d.ts +12 -0
- package/dist/ops/entities/ImageBuildContext.js +19 -0
- package/dist/ops/entities/PipelineContext.d.ts +21 -0
- package/dist/ops/entities/PipelineContext.js +23 -0
- package/dist/ops/entities/TenantContext.d.ts +10 -0
- package/dist/ops/entities/TenantContext.js +16 -0
- package/dist/ops/entities/ThaulConfig.js +30 -0
- package/dist/ops/entities/azure-service-principal.d.ts +23 -0
- package/dist/ops/entities/azure-service-principal.js +24 -0
- package/dist/ops/entities/better-logger.js +2 -0
- package/dist/ops/entities/branch.d.ts +13 -0
- package/dist/ops/entities/branch.js +16 -0
- package/dist/ops/entities/cli-config.d.ts +48 -0
- package/dist/ops/entities/cli-config.js +61 -0
- package/dist/ops/entities/cli-config.js.map +1 -0
- package/dist/ops/entities/docker-image.d.ts +60 -0
- package/dist/ops/entities/docker-image.js +3 -0
- package/dist/ops/entities/helm-spec.d.ts +15 -0
- package/dist/ops/entities/helm-spec.js +23 -0
- package/dist/ops/entities/index.d.ts +4 -0
- package/dist/ops/entities/index.js +12 -0
- package/dist/ops/entities/operation-meta.d.ts +8 -0
- package/dist/ops/entities/operation-meta.js +19 -0
- package/dist/ops/entities/operation-meta.js.map +1 -0
- package/dist/ops/entities/scaffolding.d.ts +19 -0
- package/dist/ops/entities/scaffolding.js +21 -0
- package/dist/ops/extensions/azart-identity-adapter.d.ts +19 -0
- package/dist/ops/extensions/azart-identity-adapter.js +97 -0
- package/dist/ops/extensions/npm-identity-adapter-base.d.ts +13 -0
- package/dist/ops/extensions/npm-identity-adapter-base.js +3 -0
- package/dist/ops/extensions/npmjs-identity-adapter.d.ts +13 -0
- package/dist/ops/extensions/npmjs-identity-adapter.js +64 -0
- package/dist/ops/git-ops.d.ts +8 -0
- package/dist/ops/git-ops.js +14 -0
- package/dist/ops/i-client-for-image-registry.js +17 -0
- package/dist/ops/i-identity-handler.d.ts +33 -0
- package/dist/ops/i-identity-handler.js +165 -0
- package/dist/ops/i-output-styler.js +17 -0
- package/dist/ops/index.d.ts +12 -0
- package/dist/ops/index.js +15 -0
- package/dist/ops/json-utils.js +59 -0
- package/dist/ops/no-style-output-styler.js +30 -0
- package/dist/ops/oauth2-client.ts/oauth2-client.d.ts +23 -0
- package/dist/ops/oauth2-client.ts/oauth2-client.js +64 -0
- package/dist/ops/oauth2-client.ts/oauth2-client.js.map +1 -0
- package/dist/ops/project-initializer.d.ts +36 -0
- package/dist/ops/project-initializer.js +219 -0
- package/dist/ops/scaffolding/base-scaffolding.d.ts +7 -0
- package/dist/ops/scaffolding/base-scaffolding.js +21 -0
- package/dist/ops/scaffolding/base-scaffolding.js.map +1 -0
- package/dist/ops/scaffolding/codiac-api-scaffolding.d.ts +7 -0
- package/dist/ops/scaffolding/codiac-api-scaffolding.js +64 -0
- package/dist/ops/scaffolding/codiac-api-scaffolding.js.map +1 -0
- package/dist/ops/scaffolding/typescript-scaffolding.d.ts +15 -0
- package/dist/ops/scaffolding/typescript-scaffolding.js +163 -0
- package/dist/ops/scaffolding/typescript-scaffolding.js.map +1 -0
- package/dist/ops/test/mock-ui.d.ts +26 -0
- package/dist/ops/test/mock-ui.js +88 -0
- package/dist/ops/test/test-extensions.d.ts +13 -0
- package/dist/ops/test/test-extensions.js +71 -0
- package/dist/ops/test/when-a-recursive-file-search-is-run.spec.d.ts +2 -0
- package/dist/ops/test/when-a-recursive-file-search-is-run.spec.js +55 -0
- package/dist/ops/test/when-git-branchline-is-attempted.spec.d.ts +2 -0
- package/dist/ops/test/when-git-branchline-is-attempted.spec.js +38 -0
- package/dist/ops/test/when-versions-are-parsed.spec.d.ts +2 -0
- package/dist/ops/test/when-versions-are-parsed.spec.js +62 -0
- package/dist/ops/throwing-user-input-provider.js +37 -0
- package/dist/ops/workspace-versioner.d.ts +122 -0
- package/dist/ops/workspace-versioner.js +292 -0
- package/dist/ops/workspace-versioner.js.map +1 -0
- package/dist/prettify.d.ts +7 -0
- package/dist/prettify.js +24 -0
- package/dist/read-stdin.d.ts +2 -0
- package/dist/read-stdin.js +29 -0
- package/dist/relay/contracts/contracts.d.ts +207 -0
- package/dist/relay/contracts/contracts.js +230 -0
- package/dist/relay/extended-relay-client.d.ts +27 -0
- package/dist/relay/extended-relay-client.js +28 -0
- package/dist/relay/relay-container.d.ts +41 -0
- package/dist/relay/relay-container.js +298 -0
- package/dist/relay/relay-container.js.map +1 -0
- package/dist/relay/wsclient/relay-socket-listener.d.ts +68 -0
- package/dist/relay/wsclient/relay-socket-listener.js +165 -0
- package/dist/relay/wsclient/relay-socket-listener.js.map +1 -0
- package/dist/relay/wsclient/relay-websocket-client.d.ts +33 -0
- package/dist/relay/wsclient/relay-websocket-client.js +179 -0
- package/dist/relay/wsclient/relay-websocket-client.js.map +1 -0
- package/dist/relay/wsclient/rx-websocket-subject.d.ts +25 -0
- package/dist/relay/wsclient/rx-websocket-subject.js +134 -0
- package/dist/relay/wsclient/rx-websocket-subject.js.map +1 -0
- package/dist/relay/wsclient/socket-contracts.d.ts +22 -0
- package/dist/relay/wsclient/socket-contracts.js +3 -0
- package/dist/standard-probes.d.ts +5 -0
- package/dist/standard-probes.js +22 -0
- package/dist/uilogic/build-configurator.d.ts +21 -0
- package/dist/uilogic/build-configurator.js +111 -0
- package/dist/uilogic/cloud-provider-contextualizer.d.ts +46 -0
- package/dist/uilogic/cloud-provider-contextualizer.js +194 -0
- package/dist/uilogic/cloud-provider-contextualizer.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurator-factory.d.ts +41 -0
- package/dist/uilogic/cloud-resource-configurator-factory.js +158 -0
- package/dist/uilogic/cloud-resource-configurator-factory.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.d.ts +38 -0
- package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.js +348 -0
- package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +78 -0
- package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.d.ts +42 -0
- package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js +248 -0
- package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.d.ts +110 -0
- package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js +782 -0
- package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurators/azure-types.js +10 -0
- package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +24 -0
- package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +106 -0
- package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.d.ts +16 -0
- package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.js +45 -0
- package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +1 -0
- package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +18 -0
- package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +62 -0
- package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +1 -0
- package/dist/uilogic/enterprise-contextualizer.d.ts +76 -0
- package/dist/uilogic/enterprise-contextualizer.js +671 -0
- package/dist/uilogic/environment-contextualizer.d.ts +15 -0
- package/dist/uilogic/environment-contextualizer.js +43 -0
- package/dist/uilogic/i-cluster-configurator.d.ts +9 -0
- package/dist/uilogic/i-cluster-configurator.js +3 -0
- package/dist/uilogic/i-login-configurator.d.ts +6 -0
- package/dist/uilogic/i-login-configurator.js +3 -0
- package/dist/uilogic/i-registry-configurator.d.ts +6 -0
- package/dist/uilogic/i-registry-configurator.js +3 -0
- package/dist/uilogic/i-secret-store-configurator.d.ts +7 -0
- package/dist/uilogic/i-secret-store-configurator.js +3 -0
- package/dist/uilogic/image-configurator.d.ts +133 -0
- package/dist/uilogic/image-configurator.js +578 -0
- package/dist/uilogic/image-configurator.js.map +1 -0
- package/dist/uilogic/image-contextualizer.d.ts +24 -0
- package/dist/uilogic/image-contextualizer.js +90 -0
- package/dist/uilogic/image-contextualizer.js.map +1 -0
- package/dist/uilogic/image-registry-contextualizer.d.ts +28 -0
- package/dist/uilogic/image-registry-contextualizer.js +127 -0
- package/dist/uilogic/image-registry-contextualizer.js.map +1 -0
- package/dist/uilogic/index.d.ts +9 -0
- package/dist/uilogic/index.js +14 -0
- package/dist/uilogic/prompt-select-fuzzy.js +139 -0
- package/dist/uilogic/render-methods.d.ts +12 -0
- package/dist/uilogic/render-methods.js +65 -0
- package/dist/uilogic/tenant-contextualizer.d.ts +79 -0
- package/dist/uilogic/tenant-contextualizer.js +578 -0
- package/dist/user-context-loader.d.ts +60 -0
- package/dist/user-context-loader.js +184 -0
- package/oclif.manifest.json +67 -1
- package/package.json +149 -150
- package/scaffolding/api/.gitignore-scaffolding +68 -68
- package/scaffolding/api/.vscode/launch.json +16 -16
- package/scaffolding/api/.vscode/settings.json +7 -7
- package/scaffolding/api/.vscode/tasks.json +15 -15
- package/scaffolding/api/src/app-config.json +2 -2
- package/scaffolding/api/src/index.ts-scaffolding +13 -13
- package/scaffolding/api/src/myApiDef.ts-scaffolding +25 -25
- package/scaffolding/default/.gitignore-scaffolding +2 -2
- package/scaffolding/typescript/.gitignore-scaffolding +69 -69
- package/scaffolding/typescript/.vscode/launch.json +16 -16
- package/scaffolding/typescript/.vscode/settings.json +7 -7
- package/scaffolding/typescript/.vscode/tasks.json +15 -15
- package/lib/apis/codiac-api/common/api-client-base.d.ts +0 -165
- package/lib/apis/codiac-api/common/api-client-base.js +0 -548
- package/lib/apis/codiac-api/common/api-client-base.js.map +0 -1
- package/lib/apis/codiac-api/common/api-user-creds.d.ts +0 -7
- package/lib/apis/codiac-api/common/api-user-creds.js +0 -19
- package/lib/apis/codiac-api/common/api-user-creds.js.map +0 -1
- package/lib/apis/codiac-api/common/config-loader.d.ts +0 -6
- package/lib/apis/codiac-api/common/config-loader.js +0 -19
- package/lib/apis/codiac-api/common/endpoint-spec.d.ts +0 -17
- package/lib/apis/codiac-api/common/endpoint-spec.js +0 -28
- package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.d.ts +0 -87
- package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.js +0 -368
- package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.js.map +0 -1
- package/lib/apis/codiac-api/common/security/auth-constants.d.ts +0 -15
- package/lib/apis/codiac-api/common/security/auth-constants.js +0 -22
- package/lib/apis/codiac-api/common/security/i-auth-client.d.ts +0 -44
- package/lib/apis/codiac-api/common/security/i-auth-client.js +0 -3
- package/lib/apis/codiac-api/common/security/token-holder.d.ts +0 -13
- package/lib/apis/codiac-api/common/security/token-holder.js +0 -18
- package/lib/apis/codiac-api/common/utils.d.ts +0 -23
- package/lib/apis/codiac-api/common/utils.js +0 -83
- package/lib/apis/codiac-api/contracts/index.d.ts +0 -1
- package/lib/apis/codiac-api/contracts/index.js +0 -5
- package/lib/apis/codiac-api/gen/client-config.d.ts +0 -10
- package/lib/apis/codiac-api/gen/client-config.js +0 -29
- package/lib/apis/codiac-api/gen/client-config.js.map +0 -1
- package/lib/apis/codiac-api/gen/client.d.ts +0 -1663
- package/lib/apis/codiac-api/gen/client.js +0 -15630
- package/lib/apis/codiac-api/gen/client.js.map +0 -1
- package/lib/apis/codiac-api/gen/contracts.d.ts +0 -2722
- package/lib/apis/codiac-api/gen/contracts.js +0 -403
- package/lib/apis/codiac-api/index.d.ts +0 -3
- package/lib/apis/codiac-api/index.js +0 -9
- package/lib/apis/codiac-relay/common/api-client-base.d.ts +0 -165
- package/lib/apis/codiac-relay/common/api-client-base.js +0 -548
- package/lib/apis/codiac-relay/common/api-client-base.js.map +0 -1
- package/lib/apis/codiac-relay/common/api-user-creds.d.ts +0 -7
- package/lib/apis/codiac-relay/common/api-user-creds.js +0 -19
- package/lib/apis/codiac-relay/common/api-user-creds.js.map +0 -1
- package/lib/apis/codiac-relay/common/config-loader.d.ts +0 -6
- package/lib/apis/codiac-relay/common/config-loader.js +0 -19
- package/lib/apis/codiac-relay/common/endpoint-spec.d.ts +0 -17
- package/lib/apis/codiac-relay/common/endpoint-spec.js +0 -28
- package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.d.ts +0 -87
- package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.js +0 -368
- package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +0 -1
- package/lib/apis/codiac-relay/common/security/auth-constants.d.ts +0 -15
- package/lib/apis/codiac-relay/common/security/auth-constants.js +0 -22
- package/lib/apis/codiac-relay/common/security/i-auth-client.d.ts +0 -44
- package/lib/apis/codiac-relay/common/security/i-auth-client.js +0 -3
- package/lib/apis/codiac-relay/common/security/token-holder.d.ts +0 -13
- package/lib/apis/codiac-relay/common/security/token-holder.js +0 -18
- package/lib/apis/codiac-relay/common/utils.d.ts +0 -23
- package/lib/apis/codiac-relay/common/utils.js +0 -83
- package/lib/apis/codiac-relay/contracts/index.d.ts +0 -1
- package/lib/apis/codiac-relay/contracts/index.js +0 -5
- package/lib/apis/codiac-relay/gen/client-config.d.ts +0 -10
- package/lib/apis/codiac-relay/gen/client-config.js +0 -29
- package/lib/apis/codiac-relay/gen/client-config.js.map +0 -1
- package/lib/apis/codiac-relay/gen/client.d.ts +0 -244
- package/lib/apis/codiac-relay/gen/client.js +0 -1863
- package/lib/apis/codiac-relay/gen/client.js.map +0 -1
- package/lib/apis/codiac-relay/gen/contracts.d.ts +0 -3111
- package/lib/apis/codiac-relay/gen/contracts.js +0 -435
- package/lib/apis/codiac-relay/index.d.ts +0 -3
- package/lib/apis/codiac-relay/index.js +0 -9
- package/lib/cli-common/ImagesList.js +0 -67
- package/lib/cli-common/argument-manager.d.ts +0 -28
- package/lib/cli-common/argument-manager.js +0 -195
- package/lib/cli-common/built-in-cli-user-input.d.ts +0 -18
- package/lib/cli-common/built-in-cli-user-input.js +0 -310
- package/lib/cli-common/built-in-cli-user-input.js.map +0 -1
- package/lib/cli-common/cli-interfaces.js +0 -7
- package/lib/cli-common/command-base.d.ts +0 -72
- package/lib/cli-common/command-base.js +0 -182
- package/lib/cli-common/entities/index.d.ts +0 -1
- package/lib/cli-common/entities/index.js +0 -5
- package/lib/cli-common/entities/prompt-choice.d.ts +0 -7
- package/lib/cli-common/entities/prompt-choice.js +0 -3
- package/lib/cli-common/file-selector.d.ts +0 -48
- package/lib/cli-common/file-selector.js +0 -187
- package/lib/cli-common/i-user-input-provider.js +0 -19
- package/lib/cli-common/index.d.ts +0 -4
- package/lib/cli-common/index.js +0 -11
- package/lib/cli-common/mock-ui.d.ts +0 -27
- package/lib/cli-common/mock-ui.js +0 -83
- package/lib/cli-common/prompt-select-fuzzy.d.ts +0 -19
- package/lib/cli-common/prompt-select-fuzzy.js +0 -119
- package/lib/cli-common/prompt-select-fuzzy.js.map +0 -1
- package/lib/cli-common/tenant-contextualizer.js +0 -436
- package/lib/cli-common/test/tenant-contextualizer.spec.js +0 -143
- package/lib/cli-entities/output-format-enum.d.ts +0 -7
- package/lib/cli-entities/output-format-enum.js +0 -12
- package/lib/cli-entities/prompt-choice.js +0 -6
- package/lib/codiac-constants.d.ts +0 -35
- package/lib/codiac-constants.js +0 -41
- package/lib/codiac-entities/asset-binding.d.ts +0 -12
- package/lib/codiac-entities/asset-binding.js +0 -18
- package/lib/codiac-entities/azure-container-registry.d.ts +0 -4
- package/lib/codiac-entities/azure-container-registry.js +0 -3
- package/lib/codiac-entities/azure-service-principal.d.ts +0 -23
- package/lib/codiac-entities/azure-service-principal.js +0 -24
- package/lib/codiac-entities/cloud-account-ref.d.ts +0 -28
- package/lib/codiac-entities/cloud-account-ref.js +0 -37
- package/lib/codiac-entities/deployment-temp.js +0 -133
- package/lib/codiac-entities/i-cloud-account-ref.d.ts +0 -5
- package/lib/codiac-entities/i-cloud-account-ref.js +0 -3
- package/lib/command-base-enterprise.d.ts +0 -121
- package/lib/command-base-enterprise.js +0 -524
- package/lib/command-base-tenantless.d.ts +0 -44
- package/lib/command-base-tenantless.js +0 -180
- package/lib/commands/asset/create.d.ts +0 -42
- package/lib/commands/asset/create.js +0 -467
- package/lib/commands/asset/destroy.d.ts +0 -20
- package/lib/commands/asset/destroy.js +0 -129
- package/lib/commands/asset/helm.d.ts +0 -23
- package/lib/commands/asset/helm.js +0 -153
- package/lib/commands/asset/list.d.ts +0 -28
- package/lib/commands/asset/list.js +0 -172
- package/lib/commands/asset/probe/create.d.ts +0 -38
- package/lib/commands/asset/probe/create.js +0 -187
- package/lib/commands/asset/recycle.d.ts +0 -23
- package/lib/commands/asset/recycle.js +0 -175
- package/lib/commands/asset/view.d.ts +0 -188
- package/lib/commands/asset/view.js +0 -1365
- package/lib/commands/asset/volume/create.d.ts +0 -23
- package/lib/commands/asset/volume/create.js +0 -176
- package/lib/commands/asset/volume/delete.d.ts +0 -19
- package/lib/commands/asset/volume/delete.js +0 -112
- package/lib/commands/asset/volume/list.d.ts +0 -19
- package/lib/commands/asset/volume/list.js +0 -70
- package/lib/commands/branch/current.d.ts +0 -10
- package/lib/commands/branch/current.js +0 -34
- package/lib/commands/branch/list.d.ts +0 -15
- package/lib/commands/branch/list.js +0 -56
- package/lib/commands/branch.d.ts +0 -12
- package/lib/commands/branch.js +0 -42
- package/lib/commands/build.d.ts +0 -38
- package/lib/commands/build.js +0 -120
- package/lib/commands/cabinet/create.d.ts +0 -21
- package/lib/commands/cabinet/create.js +0 -108
- package/lib/commands/cabinet/list.d.ts +0 -23
- package/lib/commands/cabinet/list.js +0 -134
- package/lib/commands/cabinet/obliterate.d.ts +0 -20
- package/lib/commands/cabinet/obliterate.js +0 -83
- package/lib/commands/cli.d.ts +0 -10
- package/lib/commands/cli.js +0 -100
- package/lib/commands/commit.d.ts +0 -11
- package/lib/commands/commit.js +0 -40
- package/lib/commands/config/add.d.ts +0 -78
- package/lib/commands/config/add.js +0 -560
- package/lib/commands/config/delete.d.ts +0 -18
- package/lib/commands/config/delete.js +0 -119
- package/lib/commands/config/deploy.d.ts +0 -22
- package/lib/commands/config/deploy.js +0 -125
- package/lib/commands/config/import.d.ts +0 -27
- package/lib/commands/config/import.js +0 -196
- package/lib/commands/config/view.d.ts +0 -25
- package/lib/commands/config/view.js +0 -121
- package/lib/commands/csp/login.d.ts +0 -18
- package/lib/commands/csp/login.js +0 -120
- package/lib/commands/csp/login.js.map +0 -1
- package/lib/commands/csp/logout.d.ts +0 -15
- package/lib/commands/csp/logout.js +0 -74
- package/lib/commands/dep/create.d.ts +0 -13
- package/lib/commands/dep/create.js +0 -41
- package/lib/commands/dep/install.d.ts +0 -9
- package/lib/commands/dep/install.js +0 -30
- package/lib/commands/dep/list.d.ts +0 -55
- package/lib/commands/dep/list.js +0 -98
- package/lib/commands/dep/remove.d.ts +0 -12
- package/lib/commands/dep/remove.js +0 -62
- package/lib/commands/dep/source.d.ts +0 -13
- package/lib/commands/dep/source.js +0 -83
- package/lib/commands/dep/syncup.d.ts +0 -11
- package/lib/commands/dep/syncup.js +0 -54
- package/lib/commands/dep/unsource.d.ts +0 -14
- package/lib/commands/dep/unsource.js +0 -68
- package/lib/commands/dep/upgrade.d.ts +0 -44
- package/lib/commands/dep/upgrade.js +0 -244
- package/lib/commands/dep.d.ts +0 -12
- package/lib/commands/dep.js +0 -51
- package/lib/commands/deploy.d.ts +0 -38
- package/lib/commands/deploy.js +0 -383
- package/lib/commands/deploy.js.map +0 -1
- package/lib/commands/enterprise/create.d.ts +0 -20
- package/lib/commands/enterprise/create.js +0 -98
- package/lib/commands/enterprise/list.d.ts +0 -14
- package/lib/commands/enterprise/list.js +0 -84
- package/lib/commands/env/add.d.ts +0 -22
- package/lib/commands/env/add.js +0 -200
- package/lib/commands/environment/create.d.ts +0 -19
- package/lib/commands/environment/create.js +0 -89
- package/lib/commands/environment/list.d.ts +0 -25
- package/lib/commands/environment/list.js +0 -158
- package/lib/commands/filestore/capture.d.ts +0 -31
- package/lib/commands/filestore/capture.js +0 -342
- package/lib/commands/host/map.d.ts +0 -33
- package/lib/commands/host/map.js +0 -347
- package/lib/commands/identity/delete.d.ts +0 -15
- package/lib/commands/identity/delete.js +0 -83
- package/lib/commands/identity/list.d.ts +0 -11
- package/lib/commands/identity/list.js +0 -43
- package/lib/commands/identity.d.ts +0 -22
- package/lib/commands/identity.js +0 -77
- package/lib/commands/imageRegistry/capture.d.ts +0 -27
- package/lib/commands/imageRegistry/capture.js +0 -160
- package/lib/commands/imageRegistry/forget.d.ts +0 -23
- package/lib/commands/imageRegistry/forget.js +0 -161
- package/lib/commands/imageRegistry/pullSecret/set.d.ts +0 -27
- package/lib/commands/imageRegistry/pullSecret/set.js +0 -300
- package/lib/commands/imageRegistry/pullSecret/unset.d.ts +0 -24
- package/lib/commands/imageRegistry/pullSecret/unset.js +0 -243
- package/lib/commands/images/add.d.ts +0 -25
- package/lib/commands/images/add.js +0 -76
- package/lib/commands/images/list.d.ts +0 -14
- package/lib/commands/images/list.js +0 -72
- package/lib/commands/images/patch.d.ts +0 -14
- package/lib/commands/images/patch.js +0 -93
- package/lib/commands/images/remove.d.ts +0 -12
- package/lib/commands/images/remove.js +0 -38
- package/lib/commands/images/version/bump.d.ts +0 -18
- package/lib/commands/images/version/bump.js +0 -61
- package/lib/commands/images/version.d.ts +0 -16
- package/lib/commands/images/version.js +0 -65
- package/lib/commands/init.d.ts +0 -17
- package/lib/commands/init.js +0 -131
- package/lib/commands/kit/create.d.ts +0 -25
- package/lib/commands/kit/create.js +0 -142
- package/lib/commands/login.d.ts +0 -22
- package/lib/commands/login.js +0 -93
- package/lib/commands/logout.d.ts +0 -8
- package/lib/commands/logout.js +0 -37
- package/lib/commands/merge.d.ts +0 -12
- package/lib/commands/merge.js +0 -43
- package/lib/commands/noc/cluster/create.d.ts +0 -28
- package/lib/commands/noc/cluster/create.js +0 -133
- package/lib/commands/noc/cluster/deinit.d.ts +0 -17
- package/lib/commands/noc/cluster/deinit.js +0 -117
- package/lib/commands/noc/cluster/destroy.d.ts +0 -20
- package/lib/commands/noc/cluster/destroy.js +0 -138
- package/lib/commands/noc/cluster/forget.d.ts +0 -16
- package/lib/commands/noc/cluster/forget.js +0 -137
- package/lib/commands/noc/cluster/grant.d.ts +0 -24
- package/lib/commands/noc/cluster/grant.js +0 -160
- package/lib/commands/noc/cluster/init.d.ts +0 -17
- package/lib/commands/noc/cluster/init.js +0 -117
- package/lib/commands/noc/cluster/list.d.ts +0 -21
- package/lib/commands/noc/cluster/list.js +0 -84
- package/lib/commands/noc/cluster/recreate.d.ts +0 -28
- package/lib/commands/noc/cluster/recreate.js +0 -186
- package/lib/commands/pkg/add.d.ts +0 -15
- package/lib/commands/pkg/add.js +0 -43
- package/lib/commands/pkg/list.d.ts +0 -9
- package/lib/commands/pkg/list.js +0 -33
- package/lib/commands/pkg/patch.d.ts +0 -13
- package/lib/commands/pkg/patch.js +0 -79
- package/lib/commands/pkg/remove.d.ts +0 -12
- package/lib/commands/pkg/remove.js +0 -70
- package/lib/commands/portal.d.ts +0 -11
- package/lib/commands/portal.js +0 -82
- package/lib/commands/publish.d.ts +0 -21
- package/lib/commands/publish.js +0 -52
- package/lib/commands/pull.d.ts +0 -13
- package/lib/commands/pull.js +0 -30
- package/lib/commands/push.d.ts +0 -13
- package/lib/commands/push.js +0 -30
- package/lib/commands/run.d.ts +0 -35
- package/lib/commands/run.js +0 -194
- package/lib/commands/secretStore/capture.d.ts +0 -27
- package/lib/commands/secretStore/capture.js +0 -175
- package/lib/commands/secretStore/forget.d.ts +0 -20
- package/lib/commands/secretStore/forget.js +0 -147
- package/lib/commands/stage.d.ts +0 -13
- package/lib/commands/stage.js +0 -65
- package/lib/commands/stash.d.ts +0 -13
- package/lib/commands/stash.js +0 -31
- package/lib/commands/status.d.ts +0 -12
- package/lib/commands/status.js +0 -49
- package/lib/commands/stop.d.ts +0 -10
- package/lib/commands/stop.js +0 -52
- package/lib/commands/switch.d.ts +0 -11
- package/lib/commands/switch.js +0 -42
- package/lib/commands/sync.d.ts +0 -14
- package/lib/commands/sync.js +0 -21
- package/lib/commands/tenant/create.d.ts +0 -27
- package/lib/commands/tenant/create.js +0 -120
- package/lib/commands/tenant/switch.d.ts +0 -24
- package/lib/commands/tenant/switch.js +0 -109
- package/lib/commands/unstage.d.ts +0 -12
- package/lib/commands/unstage.js +0 -58
- package/lib/commands/whereami.d.ts +0 -15
- package/lib/commands/whereami.js +0 -123
- package/lib/commands/whoami.d.ts +0 -8
- package/lib/commands/whoami.js +0 -40
- package/lib/errors/NoMembershipError.d.ts +0 -8
- package/lib/errors/NoMembershipError.js +0 -15
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -17
- package/lib/log-update-wrapper.d.ts +0 -24
- package/lib/log-update-wrapper.js +0 -29
- package/lib/log4js-logger.d.ts +0 -26
- package/lib/log4js-logger.js +0 -138
- package/lib/log4js-logger.js.map +0 -1
- package/lib/ops/INTERFACES_CLI.d.ts +0 -3
- package/lib/ops/INTERFACES_CLI.js +0 -8
- package/lib/ops/LocalOps.d.ts +0 -417
- package/lib/ops/LocalOps.js +0 -3122
- package/lib/ops/LocalOps.js.map +0 -1
- package/lib/ops/azure-container-registry-client/azure-container-registry-client.js +0 -148
- package/lib/ops/cli-path-walker.js +0 -55
- package/lib/ops/codiac-entities/dependency.d.ts +0 -5
- package/lib/ops/codiac-entities/dependency.js +0 -11
- package/lib/ops/codiac-entities/index.d.ts +0 -1
- package/lib/ops/codiac-entities/index.js +0 -5
- package/lib/ops/composite-image-registry-client.js +0 -74
- package/lib/ops/data/cli-context-repo.d.ts +0 -61
- package/lib/ops/data/cli-context-repo.js +0 -270
- package/lib/ops/data/cli-context-repo.js.map +0 -1
- package/lib/ops/data/index.d.ts +0 -2
- package/lib/ops/data/index.js +0 -6
- package/lib/ops/data/npm-config-repo.d.ts +0 -13
- package/lib/ops/data/npm-config-repo.js +0 -65
- package/lib/ops/docker-config.js +0 -131
- package/lib/ops/docker-constants.js +0 -22
- package/lib/ops/docker-credentials-store.js +0 -238
- package/lib/ops/docker-registry-api-client/docker-registry-api-client.js +0 -289
- package/lib/ops/docker-registry-api-client/entities/blob-sum.d.ts +0 -7
- package/lib/ops/docker-registry-api-client/entities/blob-sum.js +0 -13
- package/lib/ops/docker-registry-api-client/entities/docker-access-actions-enum.d.ts +0 -5
- package/lib/ops/docker-registry-api-client/entities/docker-access-actions-enum.js +0 -10
- package/lib/ops/docker-registry-api-client/entities/docker-auth-token-criteria.d.ts +0 -30
- package/lib/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js +0 -36
- package/lib/ops/docker-registry-api-client/entities/i-docker-error-response.d.ts +0 -55
- package/lib/ops/docker-registry-api-client/entities/i-docker-error-response.js +0 -52
- package/lib/ops/docker-registry-api-client/entities/i-docker-list-response.d.ts +0 -7
- package/lib/ops/docker-registry-api-client/entities/i-docker-list-response.js +0 -3
- package/lib/ops/docker-registry-api-client/entities/image-repository.d.ts +0 -31
- package/lib/ops/docker-registry-api-client/entities/image-repository.js +0 -30
- package/lib/ops/docker-registry-api-client/entities/image-tag-criteria.d.ts +0 -8
- package/lib/ops/docker-registry-api-client/entities/image-tag-criteria.js +0 -14
- package/lib/ops/docker-registry-api-client/entities/image-tag-list.d.ts +0 -7
- package/lib/ops/docker-registry-api-client/entities/image-tag-list.js +0 -13
- package/lib/ops/docker-registry-api-client/entities/manifest-criteria.d.ts +0 -9
- package/lib/ops/docker-registry-api-client/entities/manifest-criteria.js +0 -15
- package/lib/ops/docker-registry-api-client/entities/manifest.d.ts +0 -15
- package/lib/ops/docker-registry-api-client/entities/manifest.js +0 -21
- package/lib/ops/docker-registry-api-client/entities/repository-criteria.d.ts +0 -16
- package/lib/ops/docker-registry-api-client/entities/repository-criteria.js +0 -24
- package/lib/ops/docker-registry-api-client/entities/token-response.d.ts +0 -15
- package/lib/ops/docker-registry-api-client/entities/token-response.js +0 -15
- package/lib/ops/docker-registry-api-client/entities/token.d.ts +0 -17
- package/lib/ops/docker-registry-api-client/entities/token.js +0 -22
- package/lib/ops/docker-registry-api-client/entities/version-check-criteria.d.ts +0 -4
- package/lib/ops/docker-registry-api-client/entities/version-check-criteria.js +0 -10
- package/lib/ops/dx-constants.d.ts +0 -26
- package/lib/ops/dx-constants.js +0 -43
- package/lib/ops/entities/ImageBuildContext.d.ts +0 -12
- package/lib/ops/entities/ImageBuildContext.js +0 -19
- package/lib/ops/entities/PipelineContext.d.ts +0 -21
- package/lib/ops/entities/PipelineContext.js +0 -23
- package/lib/ops/entities/TenantContext.d.ts +0 -10
- package/lib/ops/entities/TenantContext.js +0 -16
- package/lib/ops/entities/ThaulConfig.js +0 -30
- package/lib/ops/entities/azure-service-principal.d.ts +0 -23
- package/lib/ops/entities/azure-service-principal.js +0 -24
- package/lib/ops/entities/better-logger.js +0 -2
- package/lib/ops/entities/branch.d.ts +0 -13
- package/lib/ops/entities/branch.js +0 -16
- package/lib/ops/entities/cli-config.d.ts +0 -48
- package/lib/ops/entities/cli-config.js +0 -61
- package/lib/ops/entities/cli-config.js.map +0 -1
- package/lib/ops/entities/docker-image.d.ts +0 -60
- package/lib/ops/entities/docker-image.js +0 -3
- package/lib/ops/entities/helm-spec.d.ts +0 -15
- package/lib/ops/entities/helm-spec.js +0 -23
- package/lib/ops/entities/index.d.ts +0 -4
- package/lib/ops/entities/index.js +0 -12
- package/lib/ops/entities/operation-meta.d.ts +0 -8
- package/lib/ops/entities/operation-meta.js +0 -19
- package/lib/ops/entities/operation-meta.js.map +0 -1
- package/lib/ops/entities/scaffolding.d.ts +0 -19
- package/lib/ops/entities/scaffolding.js +0 -21
- package/lib/ops/extensions/azart-identity-adapter.d.ts +0 -19
- package/lib/ops/extensions/azart-identity-adapter.js +0 -97
- package/lib/ops/extensions/npm-identity-adapter-base.d.ts +0 -13
- package/lib/ops/extensions/npm-identity-adapter-base.js +0 -3
- package/lib/ops/extensions/npmjs-identity-adapter.d.ts +0 -13
- package/lib/ops/extensions/npmjs-identity-adapter.js +0 -64
- package/lib/ops/git-ops.d.ts +0 -8
- package/lib/ops/git-ops.js +0 -14
- package/lib/ops/i-client-for-image-registry.js +0 -17
- package/lib/ops/i-identity-handler.d.ts +0 -33
- package/lib/ops/i-identity-handler.js +0 -165
- package/lib/ops/i-output-styler.js +0 -17
- package/lib/ops/index.d.ts +0 -12
- package/lib/ops/index.js +0 -15
- package/lib/ops/json-utils.js +0 -59
- package/lib/ops/no-style-output-styler.js +0 -30
- package/lib/ops/oauth2-client.ts/oauth2-client.d.ts +0 -23
- package/lib/ops/oauth2-client.ts/oauth2-client.js +0 -64
- package/lib/ops/oauth2-client.ts/oauth2-client.js.map +0 -1
- package/lib/ops/project-initializer.d.ts +0 -36
- package/lib/ops/project-initializer.js +0 -219
- package/lib/ops/scaffolding/base-scaffolding.d.ts +0 -7
- package/lib/ops/scaffolding/base-scaffolding.js +0 -21
- package/lib/ops/scaffolding/base-scaffolding.js.map +0 -1
- package/lib/ops/scaffolding/codiac-api-scaffolding.d.ts +0 -7
- package/lib/ops/scaffolding/codiac-api-scaffolding.js +0 -64
- package/lib/ops/scaffolding/codiac-api-scaffolding.js.map +0 -1
- package/lib/ops/scaffolding/typescript-scaffolding.d.ts +0 -15
- package/lib/ops/scaffolding/typescript-scaffolding.js +0 -163
- package/lib/ops/scaffolding/typescript-scaffolding.js.map +0 -1
- package/lib/ops/test/mock-ui.d.ts +0 -26
- package/lib/ops/test/mock-ui.js +0 -88
- package/lib/ops/test/test-extensions.d.ts +0 -13
- package/lib/ops/test/test-extensions.js +0 -71
- package/lib/ops/test/when-a-recursive-file-search-is-run.spec.d.ts +0 -2
- package/lib/ops/test/when-a-recursive-file-search-is-run.spec.js +0 -55
- package/lib/ops/test/when-git-branchline-is-attempted.spec.d.ts +0 -2
- package/lib/ops/test/when-git-branchline-is-attempted.spec.js +0 -38
- package/lib/ops/test/when-versions-are-parsed.spec.d.ts +0 -2
- package/lib/ops/test/when-versions-are-parsed.spec.js +0 -62
- package/lib/ops/throwing-user-input-provider.js +0 -37
- package/lib/ops/workspace-versioner.d.ts +0 -122
- package/lib/ops/workspace-versioner.js +0 -292
- package/lib/ops/workspace-versioner.js.map +0 -1
- package/lib/prettify.d.ts +0 -7
- package/lib/prettify.js +0 -24
- package/lib/read-stdin.d.ts +0 -2
- package/lib/read-stdin.js +0 -29
- package/lib/relay/contracts/contracts.d.ts +0 -207
- package/lib/relay/contracts/contracts.js +0 -230
- package/lib/relay/extended-relay-client.d.ts +0 -27
- package/lib/relay/extended-relay-client.js +0 -28
- package/lib/relay/relay-container.d.ts +0 -41
- package/lib/relay/relay-container.js +0 -298
- package/lib/relay/relay-container.js.map +0 -1
- package/lib/relay/wsclient/relay-socket-listener.d.ts +0 -68
- package/lib/relay/wsclient/relay-socket-listener.js +0 -165
- package/lib/relay/wsclient/relay-socket-listener.js.map +0 -1
- package/lib/relay/wsclient/relay-websocket-client.d.ts +0 -33
- package/lib/relay/wsclient/relay-websocket-client.js +0 -179
- package/lib/relay/wsclient/relay-websocket-client.js.map +0 -1
- package/lib/relay/wsclient/rx-websocket-subject.d.ts +0 -25
- package/lib/relay/wsclient/rx-websocket-subject.js +0 -134
- package/lib/relay/wsclient/rx-websocket-subject.js.map +0 -1
- package/lib/relay/wsclient/socket-contracts.d.ts +0 -22
- package/lib/relay/wsclient/socket-contracts.js +0 -3
- package/lib/standard-probes.d.ts +0 -5
- package/lib/standard-probes.js +0 -22
- package/lib/uilogic/build-configurator.d.ts +0 -21
- package/lib/uilogic/build-configurator.js +0 -111
- package/lib/uilogic/cloud-provider-contextualizer.d.ts +0 -46
- package/lib/uilogic/cloud-provider-contextualizer.js +0 -194
- package/lib/uilogic/cloud-provider-contextualizer.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurator-factory.d.ts +0 -41
- package/lib/uilogic/cloud-resource-configurator-factory.js +0 -158
- package/lib/uilogic/cloud-resource-configurator-factory.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.d.ts +0 -38
- package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js +0 -348
- package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +0 -78
- package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.d.ts +0 -42
- package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js +0 -248
- package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.d.ts +0 -110
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js +0 -782
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurators/azure-types.js +0 -10
- package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +0 -24
- package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +0 -106
- package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.d.ts +0 -16
- package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js +0 -45
- package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +0 -1
- package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +0 -18
- package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +0 -62
- package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +0 -1
- package/lib/uilogic/enterprise-contextualizer.d.ts +0 -76
- package/lib/uilogic/enterprise-contextualizer.js +0 -671
- package/lib/uilogic/environment-contextualizer.d.ts +0 -15
- package/lib/uilogic/environment-contextualizer.js +0 -43
- package/lib/uilogic/i-cluster-configurator.d.ts +0 -9
- package/lib/uilogic/i-cluster-configurator.js +0 -3
- package/lib/uilogic/i-login-configurator.d.ts +0 -6
- package/lib/uilogic/i-login-configurator.js +0 -3
- package/lib/uilogic/i-registry-configurator.d.ts +0 -6
- package/lib/uilogic/i-registry-configurator.js +0 -3
- package/lib/uilogic/i-secret-store-configurator.d.ts +0 -7
- package/lib/uilogic/i-secret-store-configurator.js +0 -3
- package/lib/uilogic/image-configurator.d.ts +0 -133
- package/lib/uilogic/image-configurator.js +0 -578
- package/lib/uilogic/image-configurator.js.map +0 -1
- package/lib/uilogic/image-contextualizer.d.ts +0 -24
- package/lib/uilogic/image-contextualizer.js +0 -90
- package/lib/uilogic/image-contextualizer.js.map +0 -1
- package/lib/uilogic/image-registry-contextualizer.d.ts +0 -28
- package/lib/uilogic/image-registry-contextualizer.js +0 -127
- package/lib/uilogic/image-registry-contextualizer.js.map +0 -1
- package/lib/uilogic/index.d.ts +0 -9
- package/lib/uilogic/index.js +0 -14
- package/lib/uilogic/prompt-select-fuzzy.js +0 -139
- package/lib/uilogic/render-methods.d.ts +0 -12
- package/lib/uilogic/render-methods.js +0 -65
- package/lib/uilogic/tenant-contextualizer.d.ts +0 -79
- package/lib/uilogic/tenant-contextualizer.js +0 -578
- package/lib/user-context-loader.d.ts +0 -60
- package/lib/user-context-loader.js +0 -184
- /package/{lib → dist}/apis/codiac-api/common/config-loader.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/common/endpoint-spec.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/common/security/auth-constants.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/common/security/i-auth-client.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/common/security/token-holder.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/common/utils.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/contracts/index.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/gen/contracts.js.map +0 -0
- /package/{lib → dist}/apis/codiac-api/index.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/common/config-loader.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/common/endpoint-spec.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/common/security/auth-constants.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/common/security/i-auth-client.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/common/security/token-holder.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/common/utils.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/contracts/index.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/gen/contracts.js.map +0 -0
- /package/{lib → dist}/apis/codiac-relay/index.js.map +0 -0
- /package/{lib → dist}/cli-common/ImagesList.d.ts +0 -0
- /package/{lib → dist}/cli-common/ImagesList.js.map +0 -0
- /package/{lib → dist}/cli-common/argument-manager.js.map +0 -0
- /package/{lib → dist}/cli-common/cli-interfaces.d.ts +0 -0
- /package/{lib → dist}/cli-common/cli-interfaces.js.map +0 -0
- /package/{lib → dist}/cli-common/command-base.js.map +0 -0
- /package/{lib → dist}/cli-common/entities/index.js.map +0 -0
- /package/{lib → dist}/cli-common/entities/prompt-choice.js.map +0 -0
- /package/{lib → dist}/cli-common/file-selector.js.map +0 -0
- /package/{lib → dist}/cli-common/i-user-input-provider.d.ts +0 -0
- /package/{lib → dist}/cli-common/i-user-input-provider.js.map +0 -0
- /package/{lib → dist}/cli-common/index.js.map +0 -0
- /package/{lib → dist}/cli-common/mock-ui.js.map +0 -0
- /package/{lib → dist}/cli-common/tenant-contextualizer.d.ts +0 -0
- /package/{lib → dist}/cli-common/tenant-contextualizer.js.map +0 -0
- /package/{lib → dist}/cli-common/test/tenant-contextualizer.spec.d.ts +0 -0
- /package/{lib → dist}/cli-common/test/tenant-contextualizer.spec.js.map +0 -0
- /package/{lib → dist}/cli-entities/output-format-enum.js.map +0 -0
- /package/{lib → dist}/cli-entities/prompt-choice.d.ts +0 -0
- /package/{lib → dist}/cli-entities/prompt-choice.js.map +0 -0
- /package/{lib → dist}/codiac-constants.js.map +0 -0
- /package/{lib → dist}/codiac-entities/asset-binding.js.map +0 -0
- /package/{lib → dist}/codiac-entities/azure-container-registry.js.map +0 -0
- /package/{lib → dist}/codiac-entities/azure-service-principal.js.map +0 -0
- /package/{lib → dist}/codiac-entities/cloud-account-ref.js.map +0 -0
- /package/{lib → dist}/codiac-entities/deployment-temp.d.ts +0 -0
- /package/{lib → dist}/codiac-entities/deployment-temp.js.map +0 -0
- /package/{lib → dist}/codiac-entities/i-cloud-account-ref.js.map +0 -0
- /package/{lib → dist}/command-base-enterprise.js.map +0 -0
- /package/{lib → dist}/command-base-tenantless.js.map +0 -0
- /package/{lib → dist}/commands/asset/create.js.map +0 -0
- /package/{lib → dist}/commands/asset/destroy.js.map +0 -0
- /package/{lib → dist}/commands/asset/helm.js.map +0 -0
- /package/{lib → dist}/commands/asset/list.js.map +0 -0
- /package/{lib → dist}/commands/asset/probe/create.js.map +0 -0
- /package/{lib → dist}/commands/asset/recycle.js.map +0 -0
- /package/{lib → dist}/commands/asset/view.js.map +0 -0
- /package/{lib → dist}/commands/asset/volume/create.js.map +0 -0
- /package/{lib → dist}/commands/asset/volume/delete.js.map +0 -0
- /package/{lib → dist}/commands/asset/volume/list.js.map +0 -0
- /package/{lib → dist}/commands/branch/current.js.map +0 -0
- /package/{lib → dist}/commands/branch/list.js.map +0 -0
- /package/{lib → dist}/commands/branch.js.map +0 -0
- /package/{lib → dist}/commands/build.js.map +0 -0
- /package/{lib → dist}/commands/cabinet/create.js.map +0 -0
- /package/{lib → dist}/commands/cabinet/list.js.map +0 -0
- /package/{lib → dist}/commands/cabinet/obliterate.js.map +0 -0
- /package/{lib → dist}/commands/cli.js.map +0 -0
- /package/{lib → dist}/commands/commit.js.map +0 -0
- /package/{lib → dist}/commands/config/add.js.map +0 -0
- /package/{lib → dist}/commands/config/delete.js.map +0 -0
- /package/{lib → dist}/commands/config/deploy.js.map +0 -0
- /package/{lib → dist}/commands/config/import.js.map +0 -0
- /package/{lib → dist}/commands/config/view.js.map +0 -0
- /package/{lib → dist}/commands/csp/logout.js.map +0 -0
- /package/{lib → dist}/commands/dep/create.js.map +0 -0
- /package/{lib → dist}/commands/dep/install.js.map +0 -0
- /package/{lib → dist}/commands/dep/list.js.map +0 -0
- /package/{lib → dist}/commands/dep/remove.js.map +0 -0
- /package/{lib → dist}/commands/dep/source.js.map +0 -0
- /package/{lib → dist}/commands/dep/syncup.js.map +0 -0
- /package/{lib → dist}/commands/dep/unsource.js.map +0 -0
- /package/{lib → dist}/commands/dep/upgrade.js.map +0 -0
- /package/{lib → dist}/commands/dep.js.map +0 -0
- /package/{lib → dist}/commands/enterprise/create.js.map +0 -0
- /package/{lib → dist}/commands/enterprise/list.js.map +0 -0
- /package/{lib → dist}/commands/env/add.js.map +0 -0
- /package/{lib → dist}/commands/environment/create.js.map +0 -0
- /package/{lib → dist}/commands/environment/list.js.map +0 -0
- /package/{lib → dist}/commands/filestore/capture.js.map +0 -0
- /package/{lib → dist}/commands/host/map.js.map +0 -0
- /package/{lib → dist}/commands/identity/delete.js.map +0 -0
- /package/{lib → dist}/commands/identity/list.js.map +0 -0
- /package/{lib → dist}/commands/identity.js.map +0 -0
- /package/{lib → dist}/commands/imageRegistry/capture.js.map +0 -0
- /package/{lib → dist}/commands/imageRegistry/forget.js.map +0 -0
- /package/{lib → dist}/commands/imageRegistry/pullSecret/set.js.map +0 -0
- /package/{lib → dist}/commands/imageRegistry/pullSecret/unset.js.map +0 -0
- /package/{lib → dist}/commands/images/add.js.map +0 -0
- /package/{lib → dist}/commands/images/list.js.map +0 -0
- /package/{lib → dist}/commands/images/patch.js.map +0 -0
- /package/{lib → dist}/commands/images/remove.js.map +0 -0
- /package/{lib → dist}/commands/images/version/bump.js.map +0 -0
- /package/{lib → dist}/commands/images/version.js.map +0 -0
- /package/{lib → dist}/commands/init.js.map +0 -0
- /package/{lib → dist}/commands/kit/create.js.map +0 -0
- /package/{lib → dist}/commands/login.js.map +0 -0
- /package/{lib → dist}/commands/logout.js.map +0 -0
- /package/{lib → dist}/commands/merge.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/create.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/deinit.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/destroy.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/forget.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/grant.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/init.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/list.js.map +0 -0
- /package/{lib → dist}/commands/noc/cluster/recreate.js.map +0 -0
- /package/{lib → dist}/commands/pkg/add.js.map +0 -0
- /package/{lib → dist}/commands/pkg/list.js.map +0 -0
- /package/{lib → dist}/commands/pkg/patch.js.map +0 -0
- /package/{lib → dist}/commands/pkg/remove.js.map +0 -0
- /package/{lib → dist}/commands/portal.js.map +0 -0
- /package/{lib → dist}/commands/publish.js.map +0 -0
- /package/{lib → dist}/commands/pull.js.map +0 -0
- /package/{lib → dist}/commands/push.js.map +0 -0
- /package/{lib → dist}/commands/run.js.map +0 -0
- /package/{lib → dist}/commands/secretStore/capture.js.map +0 -0
- /package/{lib → dist}/commands/secretStore/forget.js.map +0 -0
- /package/{lib → dist}/commands/stage.js.map +0 -0
- /package/{lib → dist}/commands/stash.js.map +0 -0
- /package/{lib → dist}/commands/status.js.map +0 -0
- /package/{lib → dist}/commands/stop.js.map +0 -0
- /package/{lib → dist}/commands/switch.js.map +0 -0
- /package/{lib → dist}/commands/sync.js.map +0 -0
- /package/{lib → dist}/commands/tenant/create.js.map +0 -0
- /package/{lib → dist}/commands/tenant/switch.js.map +0 -0
- /package/{lib → dist}/commands/unstage.js.map +0 -0
- /package/{lib → dist}/commands/whereami.js.map +0 -0
- /package/{lib → dist}/commands/whoami.js.map +0 -0
- /package/{lib → dist}/errors/NoMembershipError.js.map +0 -0
- /package/{lib → dist}/index.js.map +0 -0
- /package/{lib → dist}/log-update-wrapper.js.map +0 -0
- /package/{lib → dist}/ops/INTERFACES_CLI.js.map +0 -0
- /package/{lib → dist}/ops/azure-container-registry-client/azure-container-registry-client.d.ts +0 -0
- /package/{lib → dist}/ops/azure-container-registry-client/azure-container-registry-client.js.map +0 -0
- /package/{lib → dist}/ops/cli-path-walker.d.ts +0 -0
- /package/{lib → dist}/ops/cli-path-walker.js.map +0 -0
- /package/{lib → dist}/ops/codiac-entities/dependency.js.map +0 -0
- /package/{lib → dist}/ops/codiac-entities/index.js.map +0 -0
- /package/{lib → dist}/ops/composite-image-registry-client.d.ts +0 -0
- /package/{lib → dist}/ops/composite-image-registry-client.js.map +0 -0
- /package/{lib → dist}/ops/data/index.js.map +0 -0
- /package/{lib → dist}/ops/data/npm-config-repo.js.map +0 -0
- /package/{lib → dist}/ops/docker-config.d.ts +0 -0
- /package/{lib → dist}/ops/docker-config.js.map +0 -0
- /package/{lib → dist}/ops/docker-constants.d.ts +0 -0
- /package/{lib → dist}/ops/docker-constants.js.map +0 -0
- /package/{lib → dist}/ops/docker-credentials-store.d.ts +0 -0
- /package/{lib → dist}/ops/docker-credentials-store.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/docker-registry-api-client.d.ts +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/docker-registry-api-client.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/blob-sum.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/docker-access-actions-enum.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/i-docker-error-response.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/i-docker-list-response.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/image-repository.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/image-tag-criteria.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/image-tag-list.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/manifest-criteria.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/manifest.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/repository-criteria.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/token-response.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/token.js.map +0 -0
- /package/{lib → dist}/ops/docker-registry-api-client/entities/version-check-criteria.js.map +0 -0
- /package/{lib → dist}/ops/dx-constants.js.map +0 -0
- /package/{lib → dist}/ops/entities/ImageBuildContext.js.map +0 -0
- /package/{lib → dist}/ops/entities/PipelineContext.js.map +0 -0
- /package/{lib → dist}/ops/entities/TenantContext.js.map +0 -0
- /package/{lib → dist}/ops/entities/ThaulConfig.d.ts +0 -0
- /package/{lib → dist}/ops/entities/ThaulConfig.js.map +0 -0
- /package/{lib → dist}/ops/entities/azure-service-principal.js.map +0 -0
- /package/{lib → dist}/ops/entities/better-logger.d.ts +0 -0
- /package/{lib → dist}/ops/entities/better-logger.js.map +0 -0
- /package/{lib → dist}/ops/entities/branch.js.map +0 -0
- /package/{lib → dist}/ops/entities/docker-image.js.map +0 -0
- /package/{lib → dist}/ops/entities/helm-spec.js.map +0 -0
- /package/{lib → dist}/ops/entities/index.js.map +0 -0
- /package/{lib → dist}/ops/entities/scaffolding.js.map +0 -0
- /package/{lib → dist}/ops/extensions/azart-identity-adapter.js.map +0 -0
- /package/{lib → dist}/ops/extensions/npm-identity-adapter-base.js.map +0 -0
- /package/{lib → dist}/ops/extensions/npmjs-identity-adapter.js.map +0 -0
- /package/{lib → dist}/ops/git-ops.js.map +0 -0
- /package/{lib → dist}/ops/i-client-for-image-registry.d.ts +0 -0
- /package/{lib → dist}/ops/i-client-for-image-registry.js.map +0 -0
- /package/{lib → dist}/ops/i-identity-handler.js.map +0 -0
- /package/{lib → dist}/ops/i-output-styler.d.ts +0 -0
- /package/{lib → dist}/ops/i-output-styler.js.map +0 -0
- /package/{lib → dist}/ops/index.js.map +0 -0
- /package/{lib → dist}/ops/json-utils.d.ts +0 -0
- /package/{lib → dist}/ops/json-utils.js.map +0 -0
- /package/{lib → dist}/ops/no-style-output-styler.d.ts +0 -0
- /package/{lib → dist}/ops/no-style-output-styler.js.map +0 -0
- /package/{lib → dist}/ops/project-initializer.js.map +0 -0
- /package/{lib → dist}/ops/test/mock-ui.js.map +0 -0
- /package/{lib → dist}/ops/test/test-extensions.js.map +0 -0
- /package/{lib → dist}/ops/test/when-a-recursive-file-search-is-run.spec.js.map +0 -0
- /package/{lib → dist}/ops/test/when-git-branchline-is-attempted.spec.js.map +0 -0
- /package/{lib → dist}/ops/test/when-versions-are-parsed.spec.js.map +0 -0
- /package/{lib → dist}/ops/throwing-user-input-provider.d.ts +0 -0
- /package/{lib → dist}/ops/throwing-user-input-provider.js.map +0 -0
- /package/{lib → dist}/prettify.js.map +0 -0
- /package/{lib → dist}/read-stdin.js.map +0 -0
- /package/{lib → dist}/relay/contracts/contracts.js.map +0 -0
- /package/{lib → dist}/relay/extended-relay-client.js.map +0 -0
- /package/{lib → dist}/relay/wsclient/socket-contracts.js.map +0 -0
- /package/{lib → dist}/standard-probes.js.map +0 -0
- /package/{lib → dist}/uilogic/build-configurator.js.map +0 -0
- /package/{lib → dist}/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.d.ts +0 -0
- /package/{lib → dist}/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js.map +0 -0
- /package/{lib → dist}/uilogic/cloud-resource-configurators/azure-types.d.ts +0 -0
- /package/{lib → dist}/uilogic/cloud-resource-configurators/azure-types.js.map +0 -0
- /package/{lib → dist}/uilogic/enterprise-contextualizer.js.map +0 -0
- /package/{lib → dist}/uilogic/environment-contextualizer.js.map +0 -0
- /package/{lib → dist}/uilogic/i-cluster-configurator.js.map +0 -0
- /package/{lib → dist}/uilogic/i-login-configurator.js.map +0 -0
- /package/{lib → dist}/uilogic/i-registry-configurator.js.map +0 -0
- /package/{lib → dist}/uilogic/i-secret-store-configurator.js.map +0 -0
- /package/{lib → dist}/uilogic/index.js.map +0 -0
- /package/{lib → dist}/uilogic/prompt-select-fuzzy.d.ts +0 -0
- /package/{lib → dist}/uilogic/prompt-select-fuzzy.js.map +0 -0
- /package/{lib → dist}/uilogic/render-methods.js.map +0 -0
- /package/{lib → dist}/uilogic/tenant-contextualizer.js.map +0 -0
- /package/{lib → dist}/user-context-loader.js.map +0 -0
|
@@ -0,0 +1,3111 @@
|
|
|
1
|
+
export interface AccessGrant {
|
|
2
|
+
userId: string;
|
|
3
|
+
level?: string | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface ActivateBusListenerRequest {
|
|
6
|
+
authToken: string;
|
|
7
|
+
correlationId?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/** Boolean logic for string values. Useful for querying on tags */
|
|
10
|
+
export interface AndOrNot {
|
|
11
|
+
and?: string[] | undefined;
|
|
12
|
+
or?: string[] | undefined;
|
|
13
|
+
not?: string[] | undefined;
|
|
14
|
+
}
|
|
15
|
+
/** An expiring token scoped for a specific repository and actions within it. */
|
|
16
|
+
export interface ApiAuthToken {
|
|
17
|
+
token: string;
|
|
18
|
+
actionScope: string;
|
|
19
|
+
permissions: string[];
|
|
20
|
+
expirationUtc: Date;
|
|
21
|
+
}
|
|
22
|
+
export interface ApiReadyState {
|
|
23
|
+
currentState: ApiReadyStateEnum;
|
|
24
|
+
}
|
|
25
|
+
export declare enum ApiReadyStateEnum {
|
|
26
|
+
bootstrapping = "bootstrapping",
|
|
27
|
+
initializingPlugins = "initializingPlugins",
|
|
28
|
+
instantiated = "instantiated",
|
|
29
|
+
ready = "ready",
|
|
30
|
+
reflecting = "reflecting"
|
|
31
|
+
}
|
|
32
|
+
/** Abstract declarations of folder paths inside the image
|
|
33
|
+
* that are to be later mapped (at configuration time) to file store definitions. */
|
|
34
|
+
export interface AssetFolderReservation {
|
|
35
|
+
/** Fully qualified path, inside the container, of the folder being mapped as a volume. Must be unique for the asset. */
|
|
36
|
+
path: string;
|
|
37
|
+
/** Moniker for identifying, retrieving, and accessing this folder mapping. Must be unique for the asset. */
|
|
38
|
+
name: string;
|
|
39
|
+
/** Any notes or other information to help clarify the intended purpose of this folder,
|
|
40
|
+
* to assist during the configuration phase
|
|
41
|
+
* when assigning an actual physical file store to it. */
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
/** (Optional) The name of an existing FileStoreDef in the enterprise
|
|
44
|
+
* to which this folder will get mapped, unless configured otherwise. */
|
|
45
|
+
defaultFileStore?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
/** Identifies a single asset replica (in Codiac terms). */
|
|
48
|
+
export interface AssetReplicaContext {
|
|
49
|
+
asset: string;
|
|
50
|
+
enterprise: string;
|
|
51
|
+
environment: string;
|
|
52
|
+
cabinet: string;
|
|
53
|
+
/** Name of one specific instance of the asset (among potentially many) running in a cabinet. */
|
|
54
|
+
replica: string;
|
|
55
|
+
}
|
|
56
|
+
export interface AssetReplicaLogRequest {
|
|
57
|
+
logOptions?: LogOptions | undefined;
|
|
58
|
+
asset: string;
|
|
59
|
+
enterprise: string;
|
|
60
|
+
environment: string;
|
|
61
|
+
cabinet: string;
|
|
62
|
+
/** Name of one specific instance of the asset (among potentially many) running in a cabinet. */
|
|
63
|
+
replica: string;
|
|
64
|
+
}
|
|
65
|
+
/** Declaration of the resources declared for a given asset instance. */
|
|
66
|
+
export interface AssetResourcesSpec {
|
|
67
|
+
replicas: number;
|
|
68
|
+
cpu: object;
|
|
69
|
+
mem: object;
|
|
70
|
+
}
|
|
71
|
+
/** Live status summary for a given asset (aggregates all instances). */
|
|
72
|
+
export interface AssetResourcesUsage {
|
|
73
|
+
timestamp: Date;
|
|
74
|
+
/** The number of replicas currently operating and receiving requests. */
|
|
75
|
+
available: number;
|
|
76
|
+
/** The number of replicas in place but without regard to whether they have passed readiness probes. */
|
|
77
|
+
running: number;
|
|
78
|
+
/** CPU average across all replicas. */
|
|
79
|
+
cpuAvg: number;
|
|
80
|
+
/** Memory average across all replicas. Units are indicated by the memUnits property. */
|
|
81
|
+
memAvg: number;
|
|
82
|
+
/** (undefined infers straight byte count) Unit of measure for the memory usage in the memAvg property. */
|
|
83
|
+
memUnits?: "E" | "Ei" | "G" | "Gi" | "Ki" | "M" | "Mi" | "P" | "Pi" | "T" | "Ti" | "k" | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface AssetStatus {
|
|
86
|
+
name: string;
|
|
87
|
+
enterprise: string;
|
|
88
|
+
currentVersion: AssetVersionState;
|
|
89
|
+
loading?: AssetVersionState | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface AssetStatusRequest {
|
|
92
|
+
enterpriseCode: string;
|
|
93
|
+
assetName: string[] | string;
|
|
94
|
+
environment: string;
|
|
95
|
+
cabinetName: string;
|
|
96
|
+
correlationId?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
/** Base class for specifying details for the creation of a specific type of asset. */
|
|
99
|
+
export interface AssetTemplate {
|
|
100
|
+
}
|
|
101
|
+
export declare enum AssetTypesEnum {
|
|
102
|
+
helm = "helm",
|
|
103
|
+
job = "job",
|
|
104
|
+
service = "service"
|
|
105
|
+
}
|
|
106
|
+
export interface AssetVersion {
|
|
107
|
+
/** Asset name. */
|
|
108
|
+
a: string;
|
|
109
|
+
/** Asset version. */
|
|
110
|
+
v?: string | undefined;
|
|
111
|
+
/** Tags to apply to the asset version. */
|
|
112
|
+
t?: string[] | undefined;
|
|
113
|
+
/** Labels to apply to the asset version. */
|
|
114
|
+
l?: {
|
|
115
|
+
[name: string]: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
}
|
|
118
|
+
/** Status info for a specific asset version running. */
|
|
119
|
+
export interface AssetVersionState {
|
|
120
|
+
version: string;
|
|
121
|
+
deployed: Date;
|
|
122
|
+
pods: V1Pod[];
|
|
123
|
+
footprint: object;
|
|
124
|
+
}
|
|
125
|
+
export interface AuthRole {
|
|
126
|
+
name: string;
|
|
127
|
+
id?: string | undefined;
|
|
128
|
+
/** Standard, reliable, expedient way to identify an entity to a human in a single property
|
|
129
|
+
* with more pertinent identifying information than its system id.
|
|
130
|
+
* For use in logs, quick lists, and abstracted framework components. */
|
|
131
|
+
descriptor: string;
|
|
132
|
+
/** Enables a hierarchy of roles */
|
|
133
|
+
parent?: AuthRole | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface AuthRoleCriteria {
|
|
136
|
+
ids?: string[] | undefined;
|
|
137
|
+
all?: boolean | undefined;
|
|
138
|
+
name?: StringFilter | undefined;
|
|
139
|
+
descriptor?: StringFilter | undefined;
|
|
140
|
+
/** Selects Principals that have a tenant profile
|
|
141
|
+
* for the given tenantCode. */
|
|
142
|
+
parent?: AuthRoleParentFilter | undefined;
|
|
143
|
+
}
|
|
144
|
+
/** Selects Principals that have a tenant profile
|
|
145
|
+
* for the given tenantCode. */
|
|
146
|
+
export interface AuthRoleParentFilter {
|
|
147
|
+
role: string;
|
|
148
|
+
property?: string | undefined;
|
|
149
|
+
$not?: AuthRoleParentFilter | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface AvailableK8sVersion {
|
|
152
|
+
k8sVersion: string;
|
|
153
|
+
}
|
|
154
|
+
export interface AwsIdentity {
|
|
155
|
+
accountId: string;
|
|
156
|
+
arn: string;
|
|
157
|
+
username: string;
|
|
158
|
+
id: string;
|
|
159
|
+
}
|
|
160
|
+
export interface AwsNodeType {
|
|
161
|
+
name: string;
|
|
162
|
+
}
|
|
163
|
+
/** Friendly AWS region name and its human-readable code. */
|
|
164
|
+
export interface AwsRegion {
|
|
165
|
+
group: string;
|
|
166
|
+
name: string;
|
|
167
|
+
code: string;
|
|
168
|
+
}
|
|
169
|
+
/** A reference to an Azure Container Registry (ACR). */
|
|
170
|
+
export interface AzureAcr {
|
|
171
|
+
name: string;
|
|
172
|
+
resourceGroup: string;
|
|
173
|
+
id: string;
|
|
174
|
+
location: string;
|
|
175
|
+
loginServer: string;
|
|
176
|
+
}
|
|
177
|
+
/** Use the `name` property as the human readable identifier to declare a location in a contract.
|
|
178
|
+
*
|
|
179
|
+
* EXAMPLE:
|
|
180
|
+
* ```
|
|
181
|
+
* {
|
|
182
|
+
* "displayName": "Jio India West",
|
|
183
|
+
* "id": "/subscriptions/37dbb924-5ee5-470b-b2a3-187e9dea7008/locations/jioindiawest",
|
|
184
|
+
* "metadata": {
|
|
185
|
+
* "geographyGroup": "Asia Pacific",
|
|
186
|
+
* "latitude": "22.470701",
|
|
187
|
+
* "longitude": "70.05773",
|
|
188
|
+
* "pairedRegion": [
|
|
189
|
+
* {
|
|
190
|
+
* "id": "/subscriptions/37dbb924-5ee5-470b-b2a3-187e9dea7008/locations/jioindiacentral",
|
|
191
|
+
* "name": "jioindiacentral",
|
|
192
|
+
* "subscriptionId": null
|
|
193
|
+
* }
|
|
194
|
+
* ],
|
|
195
|
+
* "physicalLocation": "Jamnagar",
|
|
196
|
+
* "regionCategory": "Other",
|
|
197
|
+
* "regionType": "Physical"
|
|
198
|
+
* },
|
|
199
|
+
* "name": "jioindiawest",
|
|
200
|
+
* "regionalDisplayName": "(Asia Pacific) Jio India West",
|
|
201
|
+
* "subscriptionId": null
|
|
202
|
+
* }
|
|
203
|
+
* ```
|
|
204
|
+
* EXAMPLE 2:
|
|
205
|
+
* ```
|
|
206
|
+
* {
|
|
207
|
+
* "displayName": "East US",
|
|
208
|
+
* "id": "/subscriptions/37dbb924-5ee5-470b-b2a3-187e9dea7008/locations/eastus",
|
|
209
|
+
* "metadata": {
|
|
210
|
+
* "geographyGroup": "US",
|
|
211
|
+
* "latitude": "37.3719",
|
|
212
|
+
* "longitude": "-79.8164",
|
|
213
|
+
* "pairedRegion": [
|
|
214
|
+
* {
|
|
215
|
+
* "id": "/subscriptions/37dbb924-5ee5-470b-b2a3-187e9dea7008/locations/westus",
|
|
216
|
+
* "name": "westus",
|
|
217
|
+
* "subscriptionId": null
|
|
218
|
+
* }
|
|
219
|
+
* ],
|
|
220
|
+
* "physicalLocation": "Virginia",
|
|
221
|
+
* "regionCategory": "Recommended",
|
|
222
|
+
* "regionType": "Physical"
|
|
223
|
+
* },
|
|
224
|
+
* "name": "eastus",
|
|
225
|
+
* "regionalDisplayName": "(US) East US",
|
|
226
|
+
* "subscriptionId": null
|
|
227
|
+
* }
|
|
228
|
+
* ```
|
|
229
|
+
* EXAMPLE 3:
|
|
230
|
+
* ```
|
|
231
|
+
* {
|
|
232
|
+
* "displayName": "Canada",
|
|
233
|
+
* "id": "/subscriptions/37dbb924-5ee5-470b-b2a3-187e9dea7008/locations/canada",
|
|
234
|
+
* "metadata": {
|
|
235
|
+
* "geographyGroup": null,
|
|
236
|
+
* "latitude": null,
|
|
237
|
+
* "longitude": null,
|
|
238
|
+
* "pairedRegion": null,
|
|
239
|
+
* "physicalLocation": null,
|
|
240
|
+
* "regionCategory": "Other",
|
|
241
|
+
* "regionType": "Logical"
|
|
242
|
+
* },
|
|
243
|
+
* "name": "canada",
|
|
244
|
+
* "regionalDisplayName": "Canada",
|
|
245
|
+
* "subscriptionId": null
|
|
246
|
+
* }
|
|
247
|
+
* ``` */
|
|
248
|
+
export interface AzureLocation {
|
|
249
|
+
displayName: string;
|
|
250
|
+
id: string;
|
|
251
|
+
metadata: AzureLocationMeta;
|
|
252
|
+
name: string;
|
|
253
|
+
regionalDisplayName: string;
|
|
254
|
+
subscriptionId: null | string;
|
|
255
|
+
}
|
|
256
|
+
export interface AzureLocationMeta {
|
|
257
|
+
geographyGroup: null | string;
|
|
258
|
+
latitude: null | number;
|
|
259
|
+
longitude: null | number;
|
|
260
|
+
pairedRegion: AzureRegion[] | null;
|
|
261
|
+
physicalLocation: string;
|
|
262
|
+
regionCategory: string;
|
|
263
|
+
regionType: string;
|
|
264
|
+
}
|
|
265
|
+
/** The mem, disk, and cpu specs for a given type of vm, for use as nodes in k8s.
|
|
266
|
+
* Pricing is NOT part of this class. */
|
|
267
|
+
export interface AzureNodeType {
|
|
268
|
+
maxDataDiskCount: number;
|
|
269
|
+
memoryInMb: number;
|
|
270
|
+
name: string;
|
|
271
|
+
numberOfCores: number;
|
|
272
|
+
osDiskSizeInMb: number;
|
|
273
|
+
resourceDiskSizeInMb: number;
|
|
274
|
+
}
|
|
275
|
+
export interface AzureRegion {
|
|
276
|
+
id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
subscriptionId: string;
|
|
279
|
+
}
|
|
280
|
+
export interface AzureSubnet {
|
|
281
|
+
name: string;
|
|
282
|
+
addressPrefix: string;
|
|
283
|
+
}
|
|
284
|
+
export interface AzureUserSubscription {
|
|
285
|
+
environmentName: string;
|
|
286
|
+
id: string;
|
|
287
|
+
isDefault: boolean;
|
|
288
|
+
name: string;
|
|
289
|
+
state: string;
|
|
290
|
+
tenantId: string;
|
|
291
|
+
user: AzUser;
|
|
292
|
+
}
|
|
293
|
+
export interface AzureVNet {
|
|
294
|
+
location: string;
|
|
295
|
+
name: string;
|
|
296
|
+
resourceGroup: string;
|
|
297
|
+
resourceGuid: string;
|
|
298
|
+
subnets: AzureSubnet[];
|
|
299
|
+
}
|
|
300
|
+
export interface AzUser {
|
|
301
|
+
name: string;
|
|
302
|
+
type: string;
|
|
303
|
+
}
|
|
304
|
+
export interface Boolean {
|
|
305
|
+
}
|
|
306
|
+
/** Raw data is stored in instances of the Buffer class.
|
|
307
|
+
* A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized.
|
|
308
|
+
* Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' */
|
|
309
|
+
export interface Buffer {
|
|
310
|
+
}
|
|
311
|
+
/** A placeholder configuring an isolated instance of a fully functional,
|
|
312
|
+
* independent implementation of the customer's service inventory.
|
|
313
|
+
* A Cabinet declares the target environment and cluster
|
|
314
|
+
* to which that inventory instance will be deployed
|
|
315
|
+
* and the namespace by which it will be isolated.
|
|
316
|
+
* They can come and go as customers' admin users define them. */
|
|
317
|
+
export interface Cabinet {
|
|
318
|
+
enterpriseCode: string;
|
|
319
|
+
environment: string;
|
|
320
|
+
name: string;
|
|
321
|
+
id?: string | undefined;
|
|
322
|
+
/** The name of the branch that targets this cabinet.
|
|
323
|
+
* NOTE: This is a NAMESAKE: it applies to ANY REPO.
|
|
324
|
+
* NOTE: Child branches may also deploy to this cabinet if they do not have
|
|
325
|
+
* another cabinet binding that is closer in their lineage. */
|
|
326
|
+
branch?: string | undefined;
|
|
327
|
+
/** Name of the target cluster into which the cabinet will be deployed. */
|
|
328
|
+
cluster?: string | undefined;
|
|
329
|
+
/** A list of this cabinet's deployment specs for each service/component in the customer's service inventory. */
|
|
330
|
+
footprints: Partial<ContainerFootprint>[];
|
|
331
|
+
/** (Optional) The default resource allocation spec to apply to containers in this cabinet. (compositional?) */
|
|
332
|
+
defaultFootprint?: Partial<ContainerFootprint> | undefined;
|
|
333
|
+
/** **DEPRECATED: Use hostNaming instead!!!**
|
|
334
|
+
*
|
|
335
|
+
* Domain names that route ONLY to this cabinet. */
|
|
336
|
+
domains?: HostNameConfig[] | undefined;
|
|
337
|
+
/** All of the applicable domain names and their strategies for routing assets.
|
|
338
|
+
*
|
|
339
|
+
* This list is the end result of a smash-merge of all ScopedHostNameConfigs that apply to this cabinet,
|
|
340
|
+
* and it is able to be kept in sync by embedding and cascading. */
|
|
341
|
+
hostNaming?: SingleHostNameStrategyForCabinet[] | undefined;
|
|
342
|
+
/** Details of the actual physical implementation of this cabinet. */
|
|
343
|
+
infrx?: CabinetInfrastructure | undefined;
|
|
344
|
+
/** The enterprise version number that is to be deployed to this cabinet.
|
|
345
|
+
* NOTE: The assignment of this version number does not mean that this version IS intact in this cabinet;
|
|
346
|
+
* only that it is intended to be. Look to the EnterpriseRunState for which of the assets of this version are actually deployed. */
|
|
347
|
+
version?: string | undefined;
|
|
348
|
+
/** Selection requirements for AssetVersionConfigs
|
|
349
|
+
* when assembling a new EnterpriseVersionConfig for this cabinet,
|
|
350
|
+
* or for selecting an EnterpriseVersionConfig to assign to this cabinet. */
|
|
351
|
+
tagFilter?: AndOrNot | undefined;
|
|
352
|
+
/** The prefix to apply to all port numbers within this cabinet,
|
|
353
|
+
* in order to avoid collisions on a single cluster node (or machine). */
|
|
354
|
+
portPrefix?: number | undefined;
|
|
355
|
+
createdBy: string;
|
|
356
|
+
modifiedBy: string;
|
|
357
|
+
created: Date;
|
|
358
|
+
modified: Date;
|
|
359
|
+
}
|
|
360
|
+
/** Simple reference to several assets scoped to a single cabinet. */
|
|
361
|
+
export interface CabinetAssetList {
|
|
362
|
+
enterpriseCode: string;
|
|
363
|
+
environment: string;
|
|
364
|
+
cabinetName: string;
|
|
365
|
+
assetNames: string[];
|
|
366
|
+
}
|
|
367
|
+
/** Attributes for referencing and creating actual running resources that comprise the infrastructure for a cabinet.
|
|
368
|
+
* That is, this is the pertinent information required to manage an actual physical implementation of a cabinet. */
|
|
369
|
+
export interface CabinetInfrastructure {
|
|
370
|
+
enterpriseCode: string;
|
|
371
|
+
cabinetName: string;
|
|
372
|
+
namespace: string;
|
|
373
|
+
ingressSpec: CabinetIngressDef;
|
|
374
|
+
ingressResourceProperties?: CabinetIngressResourceAttributes | undefined;
|
|
375
|
+
}
|
|
376
|
+
/** Specifications for ingress controllers and request routing.
|
|
377
|
+
* Based on an ingress controller deployed as a Helm chart. */
|
|
378
|
+
export interface CabinetIngressDef {
|
|
379
|
+
enterpriseCode: string;
|
|
380
|
+
cabinet: string;
|
|
381
|
+
ingress_default_ruleset_name: string;
|
|
382
|
+
cert_secret_name: string;
|
|
383
|
+
cert_name: string;
|
|
384
|
+
cert_issuer: "prod" | "staging";
|
|
385
|
+
id?: string | undefined;
|
|
386
|
+
createdBy: string;
|
|
387
|
+
modifiedBy: string;
|
|
388
|
+
created: Date;
|
|
389
|
+
modified: Date;
|
|
390
|
+
}
|
|
391
|
+
/** Typically hydrated by the cloud platform provider during creation of the infrastructure resources;
|
|
392
|
+
* the properties of the running ingress infrastructure
|
|
393
|
+
* that are NOT part of the spec and are unique to the actual instances of the physical resources
|
|
394
|
+
* (eg: unique resource IDs given by the cloud platform). */
|
|
395
|
+
export interface CabinetIngressResourceAttributes {
|
|
396
|
+
enterpriseCode: string;
|
|
397
|
+
cabinetName: string;
|
|
398
|
+
}
|
|
399
|
+
/** Fully qualified deployment scope definition for a cabinet. */
|
|
400
|
+
export interface CabinetScope {
|
|
401
|
+
enterprise: string;
|
|
402
|
+
environment: string;
|
|
403
|
+
cabinet: string;
|
|
404
|
+
}
|
|
405
|
+
/** Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials. */
|
|
406
|
+
export declare enum CloudProviderEnum {
|
|
407
|
+
aws = "aws",
|
|
408
|
+
azure = "azure",
|
|
409
|
+
dockerHub = "dockerHub",
|
|
410
|
+
other = "other"
|
|
411
|
+
}
|
|
412
|
+
export interface Cluster {
|
|
413
|
+
name: string;
|
|
414
|
+
location: string;
|
|
415
|
+
providerSubscription: string;
|
|
416
|
+
resourceGroupName: string;
|
|
417
|
+
managedResourceGroupName: string;
|
|
418
|
+
resourceId: string;
|
|
419
|
+
ingressIp?: string | undefined;
|
|
420
|
+
serverUrl?: string | undefined;
|
|
421
|
+
/** This is the system id for the cluster instance entity,
|
|
422
|
+
* NOT the identifier of the concrete cluster instance given by the cloud provider. */
|
|
423
|
+
id?: string | undefined;
|
|
424
|
+
/** The version of Kubernetes to use as the cluster. */
|
|
425
|
+
k8sVersion?: string | undefined;
|
|
426
|
+
createdBy: string;
|
|
427
|
+
modifiedBy: string;
|
|
428
|
+
created: Date;
|
|
429
|
+
modified: Date;
|
|
430
|
+
}
|
|
431
|
+
export interface ClusterAccessGrantRequest {
|
|
432
|
+
clusterName: string;
|
|
433
|
+
users: AccessGrant | string[];
|
|
434
|
+
}
|
|
435
|
+
export interface ClusterConnectionRequest {
|
|
436
|
+
enterprise: string;
|
|
437
|
+
environment: string;
|
|
438
|
+
cabinet: string;
|
|
439
|
+
}
|
|
440
|
+
/** The specs for a kubernetes cluster to be managed by the Codiac team.
|
|
441
|
+
* This class is used to programmatically put up and take down clusters. */
|
|
442
|
+
export interface ClusterDef {
|
|
443
|
+
name: string;
|
|
444
|
+
provider: CloudProviderEnum;
|
|
445
|
+
providerSubscription: string;
|
|
446
|
+
locationName: string;
|
|
447
|
+
providerGroup: string;
|
|
448
|
+
nodeCount?: number | undefined;
|
|
449
|
+
ingressDef?: IngressDef | undefined;
|
|
450
|
+
privateOwner?: string | undefined;
|
|
451
|
+
/** This is the system id for the cluster definition, NOT the identifier of the concrete cluster instance given by the cloud provider. */
|
|
452
|
+
id?: string | undefined;
|
|
453
|
+
/** The code recognized by the cloud provider for identifying which virtual machine configuration to use as cluster nodes.
|
|
454
|
+
* NOTE: There can only be one, and this cannot be changed after the cluster is created. */
|
|
455
|
+
nodeSpec: string;
|
|
456
|
+
/** The quantity of nodes with which to initialize the cluster. */
|
|
457
|
+
startingNodeCount: number;
|
|
458
|
+
/** The human-readable name to use for the cloud provider security account
|
|
459
|
+
* that will identify the cluster itself. */
|
|
460
|
+
identitySpec: object;
|
|
461
|
+
/** The actual resource details of the security identity of the cluster itself.
|
|
462
|
+
* (In Azure this is either a Service Principal or a Managed Identity). */
|
|
463
|
+
identityInstance?: SecurityAccount | undefined;
|
|
464
|
+
/** (byref) A reference to the most recent concrete cluster implementation of this def.
|
|
465
|
+
* Contains only identifying information; to get actual node counts etc,
|
|
466
|
+
* you would have to take a snapshot via azaks/kubectl. */
|
|
467
|
+
instance?: Cluster | undefined;
|
|
468
|
+
/** (Optional) The default resource allocation spec to apply to containers in this cluster. */
|
|
469
|
+
defaultFootprint?: ContainerFootprint | undefined;
|
|
470
|
+
/** Node pools in addition to thw default node pool created with the cluster. */
|
|
471
|
+
nodePools?: NodePoolDef[] | undefined;
|
|
472
|
+
/** User account credentials with which to create new Windows nodes in the cluster.
|
|
473
|
+
*
|
|
474
|
+
* A Windows node is required to run a windows image,
|
|
475
|
+
* a backward compatibility for a legacy image format called "Windows",
|
|
476
|
+
* which is required to run outdated Microsoft proprietary software
|
|
477
|
+
* such as Microsoft WCF and classic .Net Framework applications.
|
|
478
|
+
* This profile must be applied at cluster creation,
|
|
479
|
+
* because a cluster cannot be later updated to support windows node pools. */
|
|
480
|
+
windowsAdmin?: WindowsAdminProfile | undefined;
|
|
481
|
+
/** The resourceId of the subnet in which the cluster resides. */
|
|
482
|
+
subnet?: string | undefined;
|
|
483
|
+
/** The version of Kubernetes to use as the cluster. */
|
|
484
|
+
k8sVersion?: string | undefined;
|
|
485
|
+
createdBy: string;
|
|
486
|
+
modifiedBy: string;
|
|
487
|
+
created: Date;
|
|
488
|
+
modified: Date;
|
|
489
|
+
}
|
|
490
|
+
export interface ClusterDefaults {
|
|
491
|
+
provider: CloudProviderEnum;
|
|
492
|
+
k8sVersion: string;
|
|
493
|
+
nodeSpec: string;
|
|
494
|
+
nodeCount: number;
|
|
495
|
+
nodePools: NodePoolDef[];
|
|
496
|
+
}
|
|
497
|
+
export interface ClusterTillerInstallRequest {
|
|
498
|
+
clusterName?: string | undefined;
|
|
499
|
+
userContext?: UserContext | undefined;
|
|
500
|
+
codiacAPiUrl?: string | undefined;
|
|
501
|
+
}
|
|
502
|
+
export interface ClusterTillerInstallResponse {
|
|
503
|
+
success: boolean;
|
|
504
|
+
message?: string | undefined;
|
|
505
|
+
error?: Error | undefined;
|
|
506
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
507
|
+
validation?: IValidationStatus | undefined;
|
|
508
|
+
}
|
|
509
|
+
/** Specs describing an available WebSocket on which the client and server
|
|
510
|
+
* can exchange messages related to a given transaction. */
|
|
511
|
+
export interface CommChannelRef {
|
|
512
|
+
socketId: string;
|
|
513
|
+
}
|
|
514
|
+
/** Structure of settings and their data types supported by an Asset.
|
|
515
|
+
* (ie: structure of a config file, environment variable list, Asset attributes, etc.) */
|
|
516
|
+
export interface ConfigSchema {
|
|
517
|
+
definitions: object;
|
|
518
|
+
/** All properties declared here are required.
|
|
519
|
+
* NOTE: Property names cannot overlap with optionalProperties. */
|
|
520
|
+
properties: object;
|
|
521
|
+
/** NOTE: Property names cannot overlap with optionalProperties. */
|
|
522
|
+
optionalProperties: object;
|
|
523
|
+
/** Indicates that properties may be added that are not defined in the schema. */
|
|
524
|
+
additionalProperties?: boolean | undefined;
|
|
525
|
+
nullable?: boolean | undefined;
|
|
526
|
+
metadata?: any | undefined;
|
|
527
|
+
}
|
|
528
|
+
/** The resource allocation profile that will be assigned
|
|
529
|
+
* to a given app/service/component container in the customer's inventory.
|
|
530
|
+
* Declares requested and maximum memory, cpu, and replicas.
|
|
531
|
+
* Future: This class is where we would declare container affinity. */
|
|
532
|
+
export interface ContainerFootprint {
|
|
533
|
+
assetName: string;
|
|
534
|
+
replicas: number;
|
|
535
|
+
cpuRequest?: string | undefined;
|
|
536
|
+
cpuLimit?: string | undefined;
|
|
537
|
+
memRequest?: string | undefined;
|
|
538
|
+
memLimit?: string | undefined;
|
|
539
|
+
id?: string | undefined;
|
|
540
|
+
createdBy: string;
|
|
541
|
+
modifiedBy: string;
|
|
542
|
+
created: Date;
|
|
543
|
+
modified: Date;
|
|
544
|
+
}
|
|
545
|
+
export interface CreateClusterRequest {
|
|
546
|
+
spec?: ClusterDef | undefined;
|
|
547
|
+
acrs?: object[] | undefined;
|
|
548
|
+
userContext?: UserContext | undefined;
|
|
549
|
+
codiacAPiUrl?: string | undefined;
|
|
550
|
+
skipInit?: Boolean | undefined;
|
|
551
|
+
}
|
|
552
|
+
export interface CreateClusterResponse {
|
|
553
|
+
clusterDef?: ClusterDef | undefined;
|
|
554
|
+
success: boolean;
|
|
555
|
+
message?: string | undefined;
|
|
556
|
+
error?: Error | undefined;
|
|
557
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
558
|
+
validation?: IValidationStatus | undefined;
|
|
559
|
+
}
|
|
560
|
+
/** This is actually the result returned (via querystring params on a redirect)
|
|
561
|
+
* by the external csp login service,
|
|
562
|
+
* in response to an interactive authorization code request
|
|
563
|
+
* (within the sequence of an interactive OAuth 2.0 authorization code flow).
|
|
564
|
+
*
|
|
565
|
+
* These properties were ripped straight out of M$ docs: https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#successful-response */
|
|
566
|
+
export interface CspLoginAuthCodeCatcherRequest {
|
|
567
|
+
/** (Successful scenario) The authorization_code that the app requested.
|
|
568
|
+
* The app can use the authorization code to request an access token for the target resource.Authorization codes are short lived.
|
|
569
|
+
* Typically, they expire after about 10 minutes. */
|
|
570
|
+
code?: string | undefined;
|
|
571
|
+
/** (Successful scenario) If a state parameter is included in the request, the same value should appear in the response.
|
|
572
|
+
* The app should verify that the state values in the request and response are identical. */
|
|
573
|
+
state?: string | undefined;
|
|
574
|
+
/** (Common Error scenario) An error code string that can be used to classify types of errors, and to react to errors.
|
|
575
|
+
* This part of the error is provided so that the app can react appropriately to the error, but does not explain in depth why an error occurred. */
|
|
576
|
+
error?: "access_denied" | "interaction_required" | "invalid_request" | "invalid_resource" | "login_required" | "server_error" | "temporarily_unavailable" | "unauthorized_client" | "unsupported_response_type" | undefined;
|
|
577
|
+
/** (Common Error scenario) A specific error message that can help a developer identify the cause of an authentication error.
|
|
578
|
+
* This part of the error contains most of the useful information about why the error occurred. */
|
|
579
|
+
error_description?: string | undefined;
|
|
580
|
+
/** (Access Token Success Scenario) The requested access token. The app can use this token to authenticate to the secured resource,
|
|
581
|
+
* such as a web API. */
|
|
582
|
+
access_token?: string | undefined;
|
|
583
|
+
/** (Access Token Success Scenario) Indicates the token type value. The only type that Azure AD supports is Bearer. */
|
|
584
|
+
token_type?: string | undefined;
|
|
585
|
+
/** (Access Token Success Scenario) How long the access token is valid, in seconds. */
|
|
586
|
+
expires_in?: number | undefined;
|
|
587
|
+
/** (Access Token Success Scenario) The scopes that the access_token is valid for. Optional. This parameter is non-standard
|
|
588
|
+
* and, if omitted, the token is for the scopes requested on the initial leg of the flow. */
|
|
589
|
+
scope?: string | undefined;
|
|
590
|
+
/** (Access Token Success Scenario) An OAuth 2.0 refresh token. The app can use this token to acquire other access tokens after the current access token expires.
|
|
591
|
+
* Refresh tokens are long-lived. They can maintain access to resources for extended periods.
|
|
592
|
+
* For more detail on refreshing an access token, refer to Refresh the access token later in this article.
|
|
593
|
+
*
|
|
594
|
+
* Note: Only provided if offline_access scope was requested. */
|
|
595
|
+
refresh_token?: string | undefined;
|
|
596
|
+
/** (Access Token Success Scenario) A JSON Web Token. The app can decode the segments of this token to request information about the user who signed in.
|
|
597
|
+
* The app can cache the values and display them, and confidential clients can use this token for authorization.
|
|
598
|
+
* For more information about id_tokens, see the id_token reference.
|
|
599
|
+
*
|
|
600
|
+
* Note: Only provided if openid scope was requested. */
|
|
601
|
+
id_token?: string | undefined;
|
|
602
|
+
/** (Successful scenario) */
|
|
603
|
+
session_state?: string | undefined;
|
|
604
|
+
/** Cloud Service Provider (CSP) code. eg: `azure`, `aws`, etc. */
|
|
605
|
+
providerCode?: "aws" | "azure" | "dockerHub" | "other" | undefined;
|
|
606
|
+
/** (Access Token Error scenario) A list of STS-specific error codes that can help in diagnostics. */
|
|
607
|
+
error_codes?: string[] | undefined;
|
|
608
|
+
/** (Access Token Error scenario) The time at which the error occurred. */
|
|
609
|
+
timestamp?: string | undefined;
|
|
610
|
+
/** (Access Token Error scenario) A unique identifier for the request that can help in diagnostics. */
|
|
611
|
+
trace_id?: string | undefined;
|
|
612
|
+
/** (Access Token Error scenario) A unique identifier for the request that can help in diagnostics across components. */
|
|
613
|
+
correlation_id?: string | undefined;
|
|
614
|
+
}
|
|
615
|
+
export interface CspLoginAuthCodeCatcherResponse {
|
|
616
|
+
}
|
|
617
|
+
/** Invokes the OAuth 2.0 interactive login sequence for the given cloud service provider. */
|
|
618
|
+
export interface CspLoginInteractiveRequest {
|
|
619
|
+
providerCode: CloudProviderEnum;
|
|
620
|
+
correlationId: string;
|
|
621
|
+
commChannel: CommChannelRef;
|
|
622
|
+
}
|
|
623
|
+
export interface CspLoginInteractiveResponse {
|
|
624
|
+
correlationId: string;
|
|
625
|
+
loginUrl: string;
|
|
626
|
+
}
|
|
627
|
+
/** This is actually the result returned (via querystring params on a redirect)
|
|
628
|
+
* by the external csp login service,
|
|
629
|
+
* in response to an interactive sign-out request
|
|
630
|
+
* (within the sequence of an interactive OAuth 2.0 logout flow). */
|
|
631
|
+
export interface CspLogoutCatcherRequest {
|
|
632
|
+
socketId: string;
|
|
633
|
+
correlationId: string;
|
|
634
|
+
providerCode: CloudProviderEnum;
|
|
635
|
+
codiacUserName: string;
|
|
636
|
+
codiacTenantCode: string;
|
|
637
|
+
}
|
|
638
|
+
/** Invokes the OAuth 2.0 interactive logout sequence for the given cloud service provider. */
|
|
639
|
+
export interface CspLogoutInteractiveRequest {
|
|
640
|
+
providerCode: CloudProviderEnum;
|
|
641
|
+
correlationId: string;
|
|
642
|
+
commChannel: CommChannelRef;
|
|
643
|
+
}
|
|
644
|
+
export interface CspLogoutInteractiveResponse {
|
|
645
|
+
correlationId: string;
|
|
646
|
+
logoutUrl: string;
|
|
647
|
+
tokensPurged: boolean;
|
|
648
|
+
/** Will be undefined if we have no tokens or credentials cached. */
|
|
649
|
+
cspUserName?: string | undefined;
|
|
650
|
+
}
|
|
651
|
+
export interface DeleteClusterInstanceRequest {
|
|
652
|
+
name?: string | undefined;
|
|
653
|
+
deleteIdentity?: boolean | undefined;
|
|
654
|
+
userContext?: UserContext | undefined;
|
|
655
|
+
codiacAPiUrl?: string | undefined;
|
|
656
|
+
}
|
|
657
|
+
export interface DeleteClusterInstanceResponse {
|
|
658
|
+
clusterDef?: ClusterDef | undefined;
|
|
659
|
+
success: boolean;
|
|
660
|
+
message?: string | undefined;
|
|
661
|
+
error?: Error | undefined;
|
|
662
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
663
|
+
validation?: IValidationStatus | undefined;
|
|
664
|
+
}
|
|
665
|
+
/** Envelope for the contents of a ConfigDoc
|
|
666
|
+
* compiled into its specific content format (eg: json, yaml, ini, etc). */
|
|
667
|
+
export interface DeployedConfig {
|
|
668
|
+
enterprise: string;
|
|
669
|
+
asset: string;
|
|
670
|
+
cabinet: string;
|
|
671
|
+
targetFile: string;
|
|
672
|
+
contents: string;
|
|
673
|
+
/** Date this config content for this asset was applied to this cabinet.
|
|
674
|
+
* NOTE: This is NOT the date that the asset version was deployed, nor is it the date any pods picked it up. */
|
|
675
|
+
deployed: Date;
|
|
676
|
+
}
|
|
677
|
+
export interface DeployedConfigCriteria {
|
|
678
|
+
enterprise: string;
|
|
679
|
+
asset?: string | undefined;
|
|
680
|
+
environment?: string | undefined;
|
|
681
|
+
cabinet?: string | undefined;
|
|
682
|
+
targetFile?: string | undefined;
|
|
683
|
+
ids?: string[] | undefined;
|
|
684
|
+
all?: boolean | undefined;
|
|
685
|
+
/** Specification for the sort order of a query.
|
|
686
|
+
*
|
|
687
|
+
* Example: ```{ "color": "asc", size: OrderEnum.desc }```
|
|
688
|
+
*
|
|
689
|
+
* Example: ```"color"```
|
|
690
|
+
*
|
|
691
|
+
* Example: ```[ "color", "lastName" ]``` */
|
|
692
|
+
sort?: string[] | object | string | undefined;
|
|
693
|
+
}
|
|
694
|
+
export interface DeployRequest {
|
|
695
|
+
target: CabinetScope;
|
|
696
|
+
assets: AssetVersion[];
|
|
697
|
+
}
|
|
698
|
+
/** Defines a discriminated (tagged) union of different record types.
|
|
699
|
+
*
|
|
700
|
+
* "Discriminator" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
701
|
+
export interface DiscriminatorTypeDef {
|
|
702
|
+
/** name of the data member that is the tag of the union. */
|
|
703
|
+
discriminator: string;
|
|
704
|
+
/** the dictionary of schemas that are applied according to the value of the tag member in the data. */
|
|
705
|
+
mapping: object;
|
|
706
|
+
nullable?: boolean | undefined;
|
|
707
|
+
metadata?: any | undefined;
|
|
708
|
+
}
|
|
709
|
+
/** Defines a homogenous array of any size (possibly empty) with the elements that satisfy a given schema.
|
|
710
|
+
*
|
|
711
|
+
* "Elements" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
712
|
+
export interface ElementsTypeDef {
|
|
713
|
+
elements: NativeTypeDef;
|
|
714
|
+
nullable?: boolean | undefined;
|
|
715
|
+
metadata?: any | undefined;
|
|
716
|
+
}
|
|
717
|
+
/** Defines a data instance that can be of any type, including JSON null.
|
|
718
|
+
*
|
|
719
|
+
* "Empty" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
720
|
+
export interface EmptyTypeDef {
|
|
721
|
+
nullable?: boolean | undefined;
|
|
722
|
+
metadata?: any | undefined;
|
|
723
|
+
}
|
|
724
|
+
/** A reference to a specific enterprise scope,
|
|
725
|
+
* with optional properties so it can be useful as a state-keeper. */
|
|
726
|
+
export interface EnterprisePointer {
|
|
727
|
+
enterprise: string;
|
|
728
|
+
asset?: string | undefined;
|
|
729
|
+
cabinet?: string | undefined;
|
|
730
|
+
}
|
|
731
|
+
/** Access Control List (ACL) for a single securable object.
|
|
732
|
+
* A list of permissions declared on a single, identifiable concrete entity. */
|
|
733
|
+
export interface EntityAcl {
|
|
734
|
+
entityType: string;
|
|
735
|
+
entityId: string;
|
|
736
|
+
Permissions: Permission[];
|
|
737
|
+
/** This is a composite key enforcing uniqueness on a single instance of the entity type. (ie: there can be only one of these per entity id) */
|
|
738
|
+
id: string;
|
|
739
|
+
createdBy: string;
|
|
740
|
+
modifiedBy: string;
|
|
741
|
+
created: Date;
|
|
742
|
+
modified: Date;
|
|
743
|
+
}
|
|
744
|
+
export interface EntityAclCriteria {
|
|
745
|
+
ids?: string[] | undefined;
|
|
746
|
+
all?: boolean | undefined;
|
|
747
|
+
entityType?: string | undefined;
|
|
748
|
+
entityId?: string | undefined;
|
|
749
|
+
/** Selects Principals that have a tenant profile
|
|
750
|
+
* for the given tenantCode. */
|
|
751
|
+
role?: EntityAclRoleFilter | undefined;
|
|
752
|
+
}
|
|
753
|
+
/** Selects Principals that have a tenant profile
|
|
754
|
+
* for the given tenantCode. */
|
|
755
|
+
export interface EntityAclRoleFilter {
|
|
756
|
+
role: string;
|
|
757
|
+
property?: string | undefined;
|
|
758
|
+
$not?: EntityAclRoleFilter | undefined;
|
|
759
|
+
}
|
|
760
|
+
/** Overrides the startup command for a container. */
|
|
761
|
+
export interface EntryPoint {
|
|
762
|
+
enterprise: string;
|
|
763
|
+
asset: string;
|
|
764
|
+
/** The command to run. Not executed within a shell. */
|
|
765
|
+
command: string;
|
|
766
|
+
/** Agruments for the command. The container image's CMD is used if this is not provided. */
|
|
767
|
+
args: string[];
|
|
768
|
+
/** (optional) Folder path within the image from which to execute the command.
|
|
769
|
+
* Overrides the default working directory specified by the container image. */
|
|
770
|
+
workingDir?: string | undefined;
|
|
771
|
+
/** Semantic version range in which this entrypoint definition is applicable. */
|
|
772
|
+
versionRange?: string | undefined;
|
|
773
|
+
disabled?: boolean | undefined;
|
|
774
|
+
id?: string | undefined;
|
|
775
|
+
createdBy: string;
|
|
776
|
+
modifiedBy: string;
|
|
777
|
+
created: Date;
|
|
778
|
+
modified: Date;
|
|
779
|
+
}
|
|
780
|
+
/** "Enum" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
781
|
+
export interface EnumTypeDef {
|
|
782
|
+
enumValue: string[];
|
|
783
|
+
nullable?: boolean | undefined;
|
|
784
|
+
metadata?: any | undefined;
|
|
785
|
+
}
|
|
786
|
+
export interface Error {
|
|
787
|
+
name: string;
|
|
788
|
+
message: string;
|
|
789
|
+
stack?: string | undefined;
|
|
790
|
+
}
|
|
791
|
+
export interface ExecuteCabinetKillerRequest {
|
|
792
|
+
target?: CabinetScope | undefined;
|
|
793
|
+
deleteIpAddress: boolean;
|
|
794
|
+
userContext?: UserContext | undefined;
|
|
795
|
+
codiacAPiUrl?: string | undefined;
|
|
796
|
+
}
|
|
797
|
+
export interface ExecuteCabinetMakerResponse {
|
|
798
|
+
/** Attributes for referencing and creating actual running resources that comprise the infrastructure for a cabinet.
|
|
799
|
+
* That is, this is the pertinent information required to manage an actual physical implementation of a cabinet. */
|
|
800
|
+
cabinet?: CabinetInfrastructure | undefined;
|
|
801
|
+
k8sService?: Cabinet | undefined;
|
|
802
|
+
success: boolean;
|
|
803
|
+
message?: string | undefined;
|
|
804
|
+
error?: Error | undefined;
|
|
805
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
806
|
+
validation?: IValidationStatus | undefined;
|
|
807
|
+
}
|
|
808
|
+
export interface ExecuteClusterIngressCreateRequest {
|
|
809
|
+
clusterName?: string | undefined;
|
|
810
|
+
cabinetUniqueDomains?: HostNameConfig[] | undefined;
|
|
811
|
+
userContext?: UserContext | undefined;
|
|
812
|
+
codiacAPiUrl?: string | undefined;
|
|
813
|
+
}
|
|
814
|
+
export interface ExecuteClusterIngressCreateResponse {
|
|
815
|
+
/** Specifications for ingress controllers and request routing.
|
|
816
|
+
* Based on an ingress controller deployed as a Helm chart. */
|
|
817
|
+
ingressDef?: IngressDef | undefined;
|
|
818
|
+
success: boolean;
|
|
819
|
+
message?: string | undefined;
|
|
820
|
+
error?: Error | undefined;
|
|
821
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
822
|
+
validation?: IValidationStatus | undefined;
|
|
823
|
+
}
|
|
824
|
+
export interface ExecuteClusterIngressDeleteRequest {
|
|
825
|
+
clusterName?: string | undefined;
|
|
826
|
+
cabinetUniqueDomains?: HostNameConfig[] | undefined;
|
|
827
|
+
userContext?: UserContext | undefined;
|
|
828
|
+
codiacAPiUrl?: string | undefined;
|
|
829
|
+
}
|
|
830
|
+
export interface ExecuteClusterIngressDeleteResponse {
|
|
831
|
+
/** Specifications for ingress controllers and request routing.
|
|
832
|
+
* Based on an ingress controller deployed as a Helm chart. */
|
|
833
|
+
ingressDef?: IngressDef | undefined;
|
|
834
|
+
success: boolean;
|
|
835
|
+
message?: string | undefined;
|
|
836
|
+
error?: Error | undefined;
|
|
837
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
838
|
+
validation?: IValidationStatus | undefined;
|
|
839
|
+
}
|
|
840
|
+
export interface ExecuteCreateCabinetRequest {
|
|
841
|
+
targetCabinet?: CabinetScope | undefined;
|
|
842
|
+
targetClusterName?: string | undefined;
|
|
843
|
+
cabinetUniqueDomains?: HostNameConfig[] | undefined;
|
|
844
|
+
userContext?: UserContext | undefined;
|
|
845
|
+
codiacAPiUrl?: string | undefined;
|
|
846
|
+
}
|
|
847
|
+
export interface ExecuteDeployConfigsForRequest {
|
|
848
|
+
destination?: CabinetScope | undefined;
|
|
849
|
+
assets?: object[] | undefined;
|
|
850
|
+
userContext?: UserContext | undefined;
|
|
851
|
+
codiacAPiUrl?: string | undefined;
|
|
852
|
+
}
|
|
853
|
+
export interface ExecuteDeployConfigsForResponse {
|
|
854
|
+
success: boolean;
|
|
855
|
+
message?: string | undefined;
|
|
856
|
+
error?: Error | undefined;
|
|
857
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
858
|
+
validation?: IValidationStatus | undefined;
|
|
859
|
+
}
|
|
860
|
+
export interface ExecuteDeployIngressForAssetsRequest {
|
|
861
|
+
destination?: CabinetScope | undefined;
|
|
862
|
+
assets?: object[] | undefined;
|
|
863
|
+
userContext?: UserContext | undefined;
|
|
864
|
+
codiacAPiUrl?: string | undefined;
|
|
865
|
+
}
|
|
866
|
+
export interface ExecuteDeployIngressForAssetsResponse {
|
|
867
|
+
success: boolean;
|
|
868
|
+
message?: string | undefined;
|
|
869
|
+
error?: Error | undefined;
|
|
870
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
871
|
+
validation?: IValidationStatus | undefined;
|
|
872
|
+
}
|
|
873
|
+
export interface ExecuteDestroyAssetsRequest {
|
|
874
|
+
target?: CabinetScope | undefined;
|
|
875
|
+
assetsNames?: string[] | undefined;
|
|
876
|
+
userContext?: UserContext | undefined;
|
|
877
|
+
codiacAPiUrl?: string | undefined;
|
|
878
|
+
}
|
|
879
|
+
export interface ExecuteDestroyAssetsResponse {
|
|
880
|
+
success: boolean;
|
|
881
|
+
message?: string | undefined;
|
|
882
|
+
error?: Error | undefined;
|
|
883
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
884
|
+
validation?: IValidationStatus | undefined;
|
|
885
|
+
}
|
|
886
|
+
export interface ExecuteDomainUpsertRequest {
|
|
887
|
+
domain: string;
|
|
888
|
+
namingStrategy: HostNameStrategyEnum;
|
|
889
|
+
scope: string;
|
|
890
|
+
target: string;
|
|
891
|
+
governs?: boolean | undefined;
|
|
892
|
+
enterprise?: string | undefined;
|
|
893
|
+
id?: string | undefined;
|
|
894
|
+
}
|
|
895
|
+
export interface FetchAssetVersionsRequest {
|
|
896
|
+
image: Image;
|
|
897
|
+
assetType?: "helm" | "job" | "service" | undefined;
|
|
898
|
+
versionSearch?: string | undefined;
|
|
899
|
+
}
|
|
900
|
+
export interface FileRequest {
|
|
901
|
+
path: string;
|
|
902
|
+
}
|
|
903
|
+
/** Abstraction and specification for a share on a file store,
|
|
904
|
+
* to be mapped to a reserved folder on an asset.
|
|
905
|
+
*
|
|
906
|
+
* This class can be used as the specification
|
|
907
|
+
* to programmatically put up and take down concrete file stores.
|
|
908
|
+
* As such, it outlives the actual entity described by its "instance" property. */
|
|
909
|
+
export interface FileStoreDef {
|
|
910
|
+
name: string;
|
|
911
|
+
type: FileStoreTypeEnum;
|
|
912
|
+
storageAccount: string;
|
|
913
|
+
shareName: string;
|
|
914
|
+
providerSubscriptionId: string;
|
|
915
|
+
resourceGroup: string;
|
|
916
|
+
instance?: FileStoreInfrx | undefined;
|
|
917
|
+
id?: string | undefined;
|
|
918
|
+
createdBy: string;
|
|
919
|
+
modifiedBy: string;
|
|
920
|
+
created: Date;
|
|
921
|
+
modified: Date;
|
|
922
|
+
}
|
|
923
|
+
/** Metadata describing an existing concrete instance
|
|
924
|
+
* of a FileStoreDef resource within a cloud provider. */
|
|
925
|
+
export interface FileStoreInfrx {
|
|
926
|
+
providerSubscriptionId: string;
|
|
927
|
+
resourceGroup: string;
|
|
928
|
+
resourceId: string;
|
|
929
|
+
accessKey: string;
|
|
930
|
+
}
|
|
931
|
+
/** Supported file store adapters that can be mapped to a reserved folder on an asset. */
|
|
932
|
+
export declare enum FileStoreTypeEnum {
|
|
933
|
+
AzureBlobStorage = "AzureBlobStorage",
|
|
934
|
+
AzureDisk = "AzureDisk",
|
|
935
|
+
AzureFileStorage = "AzureFileStorage",
|
|
936
|
+
HostMachineFolder = "HostMachineFolder"
|
|
937
|
+
}
|
|
938
|
+
export interface GenerateAssetFromKitRequest {
|
|
939
|
+
kitName: string;
|
|
940
|
+
targetEnterprise: string;
|
|
941
|
+
kitLibrary?: string | undefined;
|
|
942
|
+
}
|
|
943
|
+
export interface GenerateKitRequest {
|
|
944
|
+
assetName: string;
|
|
945
|
+
enterprise: string;
|
|
946
|
+
}
|
|
947
|
+
export interface GetAllSecretProvidersRequest {
|
|
948
|
+
}
|
|
949
|
+
export interface GetAvailableK8sVersionsRequest {
|
|
950
|
+
provider: CloudProviderEnum;
|
|
951
|
+
location: string;
|
|
952
|
+
}
|
|
953
|
+
export interface GetAwsNodeTypesRequest {
|
|
954
|
+
}
|
|
955
|
+
export interface GetAwsRegionsRequest {
|
|
956
|
+
}
|
|
957
|
+
export interface GetAwsUserRequest {
|
|
958
|
+
accessKeyId?: string | undefined;
|
|
959
|
+
secretAccessKey?: string | undefined;
|
|
960
|
+
}
|
|
961
|
+
export interface GetAzureContainerRegistriesRequest {
|
|
962
|
+
subscriptionId: string;
|
|
963
|
+
}
|
|
964
|
+
export interface GetAzureLocationsRequest {
|
|
965
|
+
}
|
|
966
|
+
export interface GetAzureNodeTypesRequest {
|
|
967
|
+
location: string;
|
|
968
|
+
}
|
|
969
|
+
export interface GetAzureResourceGroupsRequest {
|
|
970
|
+
location: string;
|
|
971
|
+
subscriptionId: string;
|
|
972
|
+
}
|
|
973
|
+
export interface GetAzureSubscriptionsRequest {
|
|
974
|
+
azUser: string;
|
|
975
|
+
}
|
|
976
|
+
export interface GetAzureVnetsRequest {
|
|
977
|
+
location: string;
|
|
978
|
+
subscriptionId: string;
|
|
979
|
+
}
|
|
980
|
+
export interface GetCloudProviderUserRequest {
|
|
981
|
+
providerCode: CloudProviderEnum;
|
|
982
|
+
}
|
|
983
|
+
export interface GetClusterDefaultsRequest {
|
|
984
|
+
provider: CloudProviderEnum;
|
|
985
|
+
}
|
|
986
|
+
export interface GetFileStoresRequest {
|
|
987
|
+
providerSubscriptionId: string;
|
|
988
|
+
storageAccount: StorageAccount;
|
|
989
|
+
resourceGroup: string;
|
|
990
|
+
accountKey: string;
|
|
991
|
+
}
|
|
992
|
+
export interface GetKnownPortNumbersRequest {
|
|
993
|
+
}
|
|
994
|
+
export interface GetRegistryProvidersRequest {
|
|
995
|
+
}
|
|
996
|
+
export interface GetRegistryTypeRequest {
|
|
997
|
+
registryUrl: string;
|
|
998
|
+
}
|
|
999
|
+
export interface GetRenderedCabinetConfigRequest {
|
|
1000
|
+
configName: string;
|
|
1001
|
+
enterprise: string;
|
|
1002
|
+
cabinetName: string;
|
|
1003
|
+
assetName: string;
|
|
1004
|
+
/** Declaration of how to render an object. */
|
|
1005
|
+
outputFormat?: "auto" | "json" | "pretty" | "yaml" | undefined;
|
|
1006
|
+
}
|
|
1007
|
+
export interface GetSecretStoresRequest {
|
|
1008
|
+
provider: CloudProviderEnum;
|
|
1009
|
+
spec: Partial<SecretStore>;
|
|
1010
|
+
}
|
|
1011
|
+
export interface HelmAssetTemplate {
|
|
1012
|
+
/** Maps a port number to the associated setting (full dot path name) in the chart config. */
|
|
1013
|
+
portMappings: object;
|
|
1014
|
+
chart: HelmChartSpec;
|
|
1015
|
+
assetType: AssetTypesEnum;
|
|
1016
|
+
defaultName: string;
|
|
1017
|
+
defaultCode: string;
|
|
1018
|
+
hasIngress?: boolean | undefined;
|
|
1019
|
+
/** List of fileStores required by the asset. Each one requires capture. */
|
|
1020
|
+
fileStores?: object[] | undefined;
|
|
1021
|
+
/** List of secretStores required by the asset. Each one requires capture. */
|
|
1022
|
+
secretStores?: object[] | undefined;
|
|
1023
|
+
/** Declaration-time attributes of the Asset itself
|
|
1024
|
+
* (used for managing the asset before deploying, not at runtime) */
|
|
1025
|
+
properties?: ConfigSchema | undefined;
|
|
1026
|
+
/** Config files supported by the asset and their structures.
|
|
1027
|
+
*
|
|
1028
|
+
* TODO: Need to specify which settings should be secrets. Might need to define that in the metadata or extend the typedefs */
|
|
1029
|
+
configs?: object | undefined;
|
|
1030
|
+
/** Environment variables supported by the asset. */
|
|
1031
|
+
envs?: object | undefined;
|
|
1032
|
+
/** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
|
|
1033
|
+
* that belong to this asset among all the other pods in a namespace.
|
|
1034
|
+
* This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas. */
|
|
1035
|
+
customPodFilters?: object[] | undefined;
|
|
1036
|
+
/** Abstract declarations of folder paths inside the image
|
|
1037
|
+
* that are to be later mapped (at configuration time) to file store definitions. */
|
|
1038
|
+
reservedFolders?: AssetFolderReservation[] | undefined;
|
|
1039
|
+
}
|
|
1040
|
+
/** An unversioned identification of a particular Helm chart. */
|
|
1041
|
+
export interface HelmChartSpec {
|
|
1042
|
+
chartName: string;
|
|
1043
|
+
chartRepoCode: string;
|
|
1044
|
+
chartRepoUrl: string;
|
|
1045
|
+
chartScope?: string | undefined;
|
|
1046
|
+
defaultChartVersion?: string | undefined;
|
|
1047
|
+
helmConfig?: ConfigSchema | undefined;
|
|
1048
|
+
}
|
|
1049
|
+
/** Declaration of a domain name to use and the specification
|
|
1050
|
+
* for how host names will be created for services and cabinets.
|
|
1051
|
+
*
|
|
1052
|
+
* NOTE: This entity is the RESULT of a smash-merge of the applicable ScopedHostNameConfig instances. */
|
|
1053
|
+
export interface HostNameConfig {
|
|
1054
|
+
domainName: string;
|
|
1055
|
+
strategy: object | "cab_dot_cluster_dot_domain_slash_service" | "cab_dot_cluster_dot_enterprise_dot_domain_slash_service" | "cab_dot_domain_slash_service" | "domain_slash_service" | "globally_shared_domain_slash_service" | "service_dot_domain" | "shared_ingress_ip" | "svc_dot_cab_dot_domain"[];
|
|
1056
|
+
}
|
|
1057
|
+
export declare enum HostNameStrategyEnum {
|
|
1058
|
+
cab_dot_cluster_dot_domain_slash_service = "cab_dot_cluster_dot_domain_slash_service",
|
|
1059
|
+
cab_dot_cluster_dot_enterprise_dot_domain_slash_service = "cab_dot_cluster_dot_enterprise_dot_domain_slash_service",
|
|
1060
|
+
cab_dot_domain_slash_service = "cab_dot_domain_slash_service",
|
|
1061
|
+
domain_slash_service = "domain_slash_service",
|
|
1062
|
+
globally_shared_domain_slash_service = "globally_shared_domain_slash_service",
|
|
1063
|
+
service_dot_domain = "service_dot_domain",
|
|
1064
|
+
shared_ingress_ip = "shared_ingress_ip",
|
|
1065
|
+
svc_dot_cab_dot_domain = "svc_dot_cab_dot_domain"
|
|
1066
|
+
}
|
|
1067
|
+
export interface IAssetLog {
|
|
1068
|
+
assetName: string;
|
|
1069
|
+
logs: object[];
|
|
1070
|
+
}
|
|
1071
|
+
export interface ICommandLineProbeAction {
|
|
1072
|
+
/** The command line to execute inside the container.
|
|
1073
|
+
*
|
|
1074
|
+
* The working directory for the command is root ('/') in the container's filesystem.
|
|
1075
|
+
* The command is simply exec'd, it is not run inside a shell,
|
|
1076
|
+
* so traditional shell instructions ('|', etc) won't work.
|
|
1077
|
+
* To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. */
|
|
1078
|
+
command: string[];
|
|
1079
|
+
actionType: ProbeActionTypesEnum;
|
|
1080
|
+
}
|
|
1081
|
+
export interface IGrpcProbeAction {
|
|
1082
|
+
/** Port number of the gRPC service. Number must be in the range 1 to 65535. */
|
|
1083
|
+
port: number;
|
|
1084
|
+
/** Service is the name of the service to place in the gRPC HealthCheckRequest
|
|
1085
|
+
* (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
|
1086
|
+
* If this is not specified, the default behavior is defined by gRPC. */
|
|
1087
|
+
service: string;
|
|
1088
|
+
actionType: ProbeActionTypesEnum;
|
|
1089
|
+
}
|
|
1090
|
+
export interface IHttpProbeAction {
|
|
1091
|
+
/** Scheme to use for connecting to the host. */
|
|
1092
|
+
scheme: "http" | "https";
|
|
1093
|
+
/** Host name to connect to, defaults to the pod IP. */
|
|
1094
|
+
host: string;
|
|
1095
|
+
/** Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. */
|
|
1096
|
+
port: string | number;
|
|
1097
|
+
/** Relative url to access on the HTTP server. */
|
|
1098
|
+
path: string;
|
|
1099
|
+
/** Custom headers to set in the request. HTTP allows repeated headers. */
|
|
1100
|
+
httpHeaders?: object[] | undefined;
|
|
1101
|
+
actionType: ProbeActionTypesEnum;
|
|
1102
|
+
}
|
|
1103
|
+
/** An unversioned reference to an image repository. */
|
|
1104
|
+
export interface Image {
|
|
1105
|
+
registry: ImageRegistry;
|
|
1106
|
+
id?: string | undefined;
|
|
1107
|
+
createdBy: string;
|
|
1108
|
+
modifiedBy: string;
|
|
1109
|
+
created: Date;
|
|
1110
|
+
modified: Date;
|
|
1111
|
+
name: string;
|
|
1112
|
+
scope?: string | undefined;
|
|
1113
|
+
os?: "Linux" | "Windows" | undefined;
|
|
1114
|
+
architecture?: "amd64" | "arm32v6" | "arm32v7" | "arm64v8" | "windows-amd64" | undefined;
|
|
1115
|
+
}
|
|
1116
|
+
export interface ImageRegistry {
|
|
1117
|
+
id?: string | undefined;
|
|
1118
|
+
/** The token to be used by the cluster to authenticate when pulling images from this registry.
|
|
1119
|
+
* This property references a secret record in a SecretStore. */
|
|
1120
|
+
pullSecret?: PullSecretRef | undefined;
|
|
1121
|
+
/** The backup token to be used by the cluster to authenticate when pulling images from this registry.
|
|
1122
|
+
* This property references a secret record in a SecretStore.
|
|
1123
|
+
*
|
|
1124
|
+
* NOTE: The secondary pull secret is available for seamless transitions when replacing the primary.
|
|
1125
|
+
* The primary and secondary should never have the same expiration dates. */
|
|
1126
|
+
pullSecretSecondary?: PullSecretRef | undefined;
|
|
1127
|
+
createdBy: string;
|
|
1128
|
+
modifiedBy: string;
|
|
1129
|
+
created: Date;
|
|
1130
|
+
modified: Date;
|
|
1131
|
+
code: string;
|
|
1132
|
+
url: string;
|
|
1133
|
+
provider: CloudProviderEnum;
|
|
1134
|
+
type: ImageRegistryTypes;
|
|
1135
|
+
pullRequiresAuth?: boolean | undefined;
|
|
1136
|
+
infoUrl?: string | undefined;
|
|
1137
|
+
useRemoteFiltering?: boolean | undefined;
|
|
1138
|
+
}
|
|
1139
|
+
/** Matches an ImageRegistry entity, just isnt a domain entity or auditable.
|
|
1140
|
+
* This class is for use as a request: it is NOT A DOMAIN ENTITY. */
|
|
1141
|
+
export interface ImageRegistrySpec {
|
|
1142
|
+
code: string;
|
|
1143
|
+
url: string;
|
|
1144
|
+
provider: CloudProviderEnum;
|
|
1145
|
+
type: ImageRegistryTypes;
|
|
1146
|
+
pullRequiresAuth?: boolean | undefined;
|
|
1147
|
+
infoUrl?: string | undefined;
|
|
1148
|
+
useRemoteFiltering?: boolean | undefined;
|
|
1149
|
+
}
|
|
1150
|
+
export declare enum ImageRegistryTypes {
|
|
1151
|
+
AmazonEcr = "AmazonEcr",
|
|
1152
|
+
AzureCr = "AzureCr",
|
|
1153
|
+
DockerHub = "DockerHub",
|
|
1154
|
+
Other = "Other",
|
|
1155
|
+
helm = "helm"
|
|
1156
|
+
}
|
|
1157
|
+
export interface ImageRepository {
|
|
1158
|
+
name: string;
|
|
1159
|
+
}
|
|
1160
|
+
/** An unversioned reference to an image repository.
|
|
1161
|
+
* Matches an Image entity. This class is for use as a request: it is NOT A DOMAIN ENTITY. */
|
|
1162
|
+
export interface ImageSpec {
|
|
1163
|
+
name: string;
|
|
1164
|
+
registry: ImageRegistrySpec;
|
|
1165
|
+
scope?: string | undefined;
|
|
1166
|
+
os?: "Linux" | "Windows" | undefined;
|
|
1167
|
+
architecture?: "amd64" | "arm32v6" | "arm32v7" | "arm64v8" | "windows-amd64" | undefined;
|
|
1168
|
+
}
|
|
1169
|
+
export interface ImportConfigRequest {
|
|
1170
|
+
fileContents: string;
|
|
1171
|
+
relativePathName: string;
|
|
1172
|
+
owner: object;
|
|
1173
|
+
appRootPathInContainer: string;
|
|
1174
|
+
scope: object;
|
|
1175
|
+
}
|
|
1176
|
+
/** Specifications for ingress controllers and request routing.
|
|
1177
|
+
* Based on an ingress controller deployed as a Helm chart. */
|
|
1178
|
+
export interface IngressDef {
|
|
1179
|
+
chart_name: string;
|
|
1180
|
+
service_name: string;
|
|
1181
|
+
service_namespace: string;
|
|
1182
|
+
replicas: number;
|
|
1183
|
+
ip_name: string;
|
|
1184
|
+
cert_secret_name: string;
|
|
1185
|
+
cert_name: string;
|
|
1186
|
+
id?: string | undefined;
|
|
1187
|
+
createdBy: string;
|
|
1188
|
+
modifiedBy: string;
|
|
1189
|
+
created: Date;
|
|
1190
|
+
modified: Date;
|
|
1191
|
+
}
|
|
1192
|
+
export interface IntOrString {
|
|
1193
|
+
}
|
|
1194
|
+
export interface IPartialAsset {
|
|
1195
|
+
enterprise?: string | undefined;
|
|
1196
|
+
code?: string | undefined;
|
|
1197
|
+
name?: string | undefined;
|
|
1198
|
+
/** An unversioned reference to an image repository. */
|
|
1199
|
+
image?: Image | undefined;
|
|
1200
|
+
port?: number | undefined;
|
|
1201
|
+
hasIngress?: boolean | undefined;
|
|
1202
|
+
routedWithoutName?: boolean | undefined;
|
|
1203
|
+
id?: string | undefined;
|
|
1204
|
+
/** An asset may be a constituent of only one product.
|
|
1205
|
+
* NOTE: This setting applies to product versions moving forward,
|
|
1206
|
+
* and historical product versions remain intact with whatever assets the product included at the time. */
|
|
1207
|
+
product?: string | undefined;
|
|
1208
|
+
/** (Optional: defaults to "service") Differentiator for various asset behaviors (eg: "job" or "helm"). */
|
|
1209
|
+
type?: "helm" | "job" | "service" | undefined;
|
|
1210
|
+
/** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
|
|
1211
|
+
* that belong to this asset among all the other pods in a namespace.
|
|
1212
|
+
* This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas.
|
|
1213
|
+
*
|
|
1214
|
+
* eg: a simple asset just looks for...
|
|
1215
|
+
* ```
|
|
1216
|
+
* (p,a) => x.metadata?labels["AssetName"] == a
|
|
1217
|
+
* ```
|
|
1218
|
+
*
|
|
1219
|
+
* eg: an asset, such as cert manager, with multiple kinds of pods, would have multiple custom pod filters, such as...
|
|
1220
|
+
* ```
|
|
1221
|
+
* (p,a) => p.metadata?labels["app.kubernetes.io/component"] == "cainjector" && p.metadata?labels["app.kubernetes.io/name"] == "cert-manager"
|
|
1222
|
+
* (p,a) => p.metadata?labels["app.kubernetes.io/component"] == "webhook" && p.metadata?labels["app.kubernetes.io/name"] == "cert-manager"
|
|
1223
|
+
* (p,a) => p.metadata?labels["app.kubernetes.io/component"] == "controller" && p.metadata?labels["app.kubernetes.io/name"] == "cert-manager"
|
|
1224
|
+
* ``` */
|
|
1225
|
+
customPodFilters?: object[] | undefined;
|
|
1226
|
+
/** Abstract declarations of folder paths inside the image
|
|
1227
|
+
* that are to be later mapped (at configuration time) to file store definitions.
|
|
1228
|
+
*
|
|
1229
|
+
* NOTE: These reservations only OPTIONALLY reference existing file stores;
|
|
1230
|
+
* they merely declare a folder path for a file store to be mapped
|
|
1231
|
+
* later, when the asset gets configured for use in various cabinets. */
|
|
1232
|
+
reservedFolders?: AssetFolderReservation[] | undefined;
|
|
1233
|
+
/** Declares means by which the container platform can check health and readiness of the assets at runtime. */
|
|
1234
|
+
probes?: Probe[] | undefined;
|
|
1235
|
+
/** Overrides for the the container startup command. */
|
|
1236
|
+
entryPoints?: EntryPoint[] | undefined;
|
|
1237
|
+
createdBy?: string | undefined;
|
|
1238
|
+
modifiedBy?: string | undefined;
|
|
1239
|
+
created?: Date | undefined;
|
|
1240
|
+
modified?: Date | undefined;
|
|
1241
|
+
}
|
|
1242
|
+
export interface ISocketProbeAction {
|
|
1243
|
+
/** Host name to connect to, defaults to the pod IP. */
|
|
1244
|
+
host: string;
|
|
1245
|
+
/** Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. */
|
|
1246
|
+
port: string | number;
|
|
1247
|
+
actionType: ProbeActionTypesEnum;
|
|
1248
|
+
}
|
|
1249
|
+
/** Limited details of a Storage Account. */
|
|
1250
|
+
export interface IStorageAccountEndpointUrls {
|
|
1251
|
+
web?: string | undefined;
|
|
1252
|
+
dfs?: string | undefined;
|
|
1253
|
+
blob?: string | undefined;
|
|
1254
|
+
file?: string | undefined;
|
|
1255
|
+
queue?: string | undefined;
|
|
1256
|
+
table?: string | undefined;
|
|
1257
|
+
}
|
|
1258
|
+
/** Describes the outcome of an attempt to validate an entity, property or value.
|
|
1259
|
+
* The overall status is determined by whether or not its "failure" property is undefined. */
|
|
1260
|
+
export interface IValidationStatus {
|
|
1261
|
+
/** Descriptor for the entity/property/value that was validated */
|
|
1262
|
+
candidate: string;
|
|
1263
|
+
/** Description of why the candidate entity failed validation (undefined for successful validations). */
|
|
1264
|
+
failure?: string | undefined;
|
|
1265
|
+
/** Additional user instructions that may apply despite a successful validation. */
|
|
1266
|
+
warning?: string | undefined;
|
|
1267
|
+
/** Additional layer of granularity on a validation failure.
|
|
1268
|
+
* eg: if the status describes an entity validation failure, the details are the individual property failures.
|
|
1269
|
+
* eg: if the status describes a property validation failure, the details may be the various constraints it failed to meet. */
|
|
1270
|
+
details?: IValidationStatus[] | undefined;
|
|
1271
|
+
}
|
|
1272
|
+
export interface JobAssetTemplate {
|
|
1273
|
+
image: ImageSpec;
|
|
1274
|
+
defaultPort: number;
|
|
1275
|
+
defaultImageVersion?: string | undefined;
|
|
1276
|
+
assetType: AssetTypesEnum;
|
|
1277
|
+
defaultName: string;
|
|
1278
|
+
defaultCode: string;
|
|
1279
|
+
hasIngress?: boolean | undefined;
|
|
1280
|
+
/** List of fileStores required by the asset. Each one requires capture. */
|
|
1281
|
+
fileStores?: object[] | undefined;
|
|
1282
|
+
/** List of secretStores required by the asset. Each one requires capture. */
|
|
1283
|
+
secretStores?: object[] | undefined;
|
|
1284
|
+
/** Declaration-time attributes of the Asset itself
|
|
1285
|
+
* (used for managing the asset before deploying, not at runtime) */
|
|
1286
|
+
properties?: ConfigSchema | undefined;
|
|
1287
|
+
/** Config files supported by the asset and their structures.
|
|
1288
|
+
*
|
|
1289
|
+
* TODO: Need to specify which settings should be secrets. Might need to define that in the metadata or extend the typedefs */
|
|
1290
|
+
configs?: object | undefined;
|
|
1291
|
+
/** Environment variables supported by the asset. */
|
|
1292
|
+
envs?: object | undefined;
|
|
1293
|
+
/** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
|
|
1294
|
+
* that belong to this asset among all the other pods in a namespace.
|
|
1295
|
+
* This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas. */
|
|
1296
|
+
customPodFilters?: object[] | undefined;
|
|
1297
|
+
/** Abstract declarations of folder paths inside the image
|
|
1298
|
+
* that are to be later mapped (at configuration time) to file store definitions. */
|
|
1299
|
+
reservedFolders?: AssetFolderReservation[] | undefined;
|
|
1300
|
+
}
|
|
1301
|
+
/** Identifies a container, in a pod, in a namespace, in a cluster. */
|
|
1302
|
+
export interface K8sContainerRef {
|
|
1303
|
+
/** An proprietary input string for the KubeConfig object to load (from npm pkg: @kubernetes/client-node)
|
|
1304
|
+
* containing kube config data.
|
|
1305
|
+
*
|
|
1306
|
+
* NOTE: This is a proprietary object state, it is NOT a kubeconfig file just serialized to JSON!
|
|
1307
|
+
*
|
|
1308
|
+
* It MUST ONLY be used with:
|
|
1309
|
+
* ```
|
|
1310
|
+
* import { KubeConfig } from "@kubernetes/client-node"
|
|
1311
|
+
* let k8sConfig = new KubeConfig();
|
|
1312
|
+
* k8sConfig.loadFromString(yourObject.kubeString);
|
|
1313
|
+
* ``` */
|
|
1314
|
+
kubeString: string;
|
|
1315
|
+
namespace: string;
|
|
1316
|
+
podName: string;
|
|
1317
|
+
containerName: string;
|
|
1318
|
+
}
|
|
1319
|
+
/** A marketplace entity.
|
|
1320
|
+
*
|
|
1321
|
+
* An abstract specification for an asset,
|
|
1322
|
+
* to be used as the instructions for the creation
|
|
1323
|
+
* of a concrete asset in an enterprise.
|
|
1324
|
+
*
|
|
1325
|
+
* Allows the avilability to reuse an asset
|
|
1326
|
+
* in separate enterprises (and tenants). */
|
|
1327
|
+
export interface Kit {
|
|
1328
|
+
name: string;
|
|
1329
|
+
library: string;
|
|
1330
|
+
version: string;
|
|
1331
|
+
tenantCode: string;
|
|
1332
|
+
accessibleBy: KitAccessibilityEnum;
|
|
1333
|
+
description?: string | undefined;
|
|
1334
|
+
disabled?: boolean | undefined;
|
|
1335
|
+
assetType: AssetTypesEnum;
|
|
1336
|
+
id?: string | undefined;
|
|
1337
|
+
template?: AssetTemplate | undefined;
|
|
1338
|
+
tags: string[];
|
|
1339
|
+
createdBy: string;
|
|
1340
|
+
modifiedBy: string;
|
|
1341
|
+
created: Date;
|
|
1342
|
+
modified: Date;
|
|
1343
|
+
}
|
|
1344
|
+
/** Indicates who in the Codiac universe is allowed to view and use a Kit. */
|
|
1345
|
+
export declare enum KitAccessibilityEnum {
|
|
1346
|
+
friends = "friends",
|
|
1347
|
+
private = "private",
|
|
1348
|
+
public = "public"
|
|
1349
|
+
}
|
|
1350
|
+
/** A shorthand view of the IanaPortNumber class.
|
|
1351
|
+
* AKA: an association of a service with a single or range of port numbers.
|
|
1352
|
+
* the IANA registry of port numbers:
|
|
1353
|
+
* "Service Name and Transport Protocol Port Number Registry" (ref: RFC6335)... */
|
|
1354
|
+
export interface KnownPortNumberAssignment {
|
|
1355
|
+
port: NumericRange | number;
|
|
1356
|
+
reservedFor: string;
|
|
1357
|
+
group?: "privateUse" | "registered" | "wellknown" | undefined;
|
|
1358
|
+
}
|
|
1359
|
+
/** The specs for a key value store to be managed by the codiac system.
|
|
1360
|
+
* This class is used to programmatically put up and take down concrete key value stores. */
|
|
1361
|
+
export interface KvpStoreDef {
|
|
1362
|
+
/** The friendly identifying name under which the key value store resource is registered within an enterprise.
|
|
1363
|
+
* The concrete instance that gets created will use this name
|
|
1364
|
+
* (if the instance exists already, this property
|
|
1365
|
+
* must match the name of the concrete instance). */
|
|
1366
|
+
name: string;
|
|
1367
|
+
/** The third party cloud provider service that is hosting this resource. */
|
|
1368
|
+
provider: CloudProviderEnum;
|
|
1369
|
+
/** Differentiator for key value store resources (eg: KeyVault, etcd, mongo, etc)
|
|
1370
|
+
* and their various implementations. */
|
|
1371
|
+
type: KvpStoreTypesEnum;
|
|
1372
|
+
/** Info describing the concrete instance of this kvp store
|
|
1373
|
+
* actually living within a cloud provider subscription. */
|
|
1374
|
+
instance?: KvpStoreInfrx | undefined;
|
|
1375
|
+
id?: string | undefined;
|
|
1376
|
+
createdBy: string;
|
|
1377
|
+
modifiedBy: string;
|
|
1378
|
+
created: Date;
|
|
1379
|
+
modified: Date;
|
|
1380
|
+
}
|
|
1381
|
+
export interface KvpStoreInfrx {
|
|
1382
|
+
type: KvpStoreTypesEnum;
|
|
1383
|
+
/** The friendly, human-readable identifier of this resource,
|
|
1384
|
+
* as it is known by the cloud provider.
|
|
1385
|
+
* Its name is unique only within the resource group containing the instance,
|
|
1386
|
+
* and it necessarily matches the name of the definition from which it was spawned. */
|
|
1387
|
+
name: string;
|
|
1388
|
+
/** The third party cloud service provider that is hosting this resource. */
|
|
1389
|
+
provider: CloudProviderEnum;
|
|
1390
|
+
/** The Id given by the csp. */
|
|
1391
|
+
resourceId: string;
|
|
1392
|
+
id?: string | undefined;
|
|
1393
|
+
createdBy: string;
|
|
1394
|
+
modifiedBy: string;
|
|
1395
|
+
created: Date;
|
|
1396
|
+
modified: Date;
|
|
1397
|
+
}
|
|
1398
|
+
/** List of codenames for supported KeyValue stores.
|
|
1399
|
+
* eg: Clients for these types of stores are registered under these values. */
|
|
1400
|
+
export declare enum KvpStoreTypesEnum {
|
|
1401
|
+
awsKeyVault = "awsKeyVault",
|
|
1402
|
+
azBlob = "azBlob",
|
|
1403
|
+
azKeyVault = "azKeyVault",
|
|
1404
|
+
etcd = "etcd",
|
|
1405
|
+
mongoCollection = "mongoCollection",
|
|
1406
|
+
mongoDocument = "mongoDocument"
|
|
1407
|
+
}
|
|
1408
|
+
/** Indicates which authentication flow is to be used with the given credentials. */
|
|
1409
|
+
export declare type CredentialType = "client_credentials" | "username_password" | "refresh_token";
|
|
1410
|
+
export interface LogintoCloudProviderRequest {
|
|
1411
|
+
providerCode: CloudProviderEnum;
|
|
1412
|
+
username?: string | undefined;
|
|
1413
|
+
secret?: string | undefined;
|
|
1414
|
+
credsType?: CredentialType | undefined;
|
|
1415
|
+
}
|
|
1416
|
+
export interface LogOptions {
|
|
1417
|
+
/** Follow the log stream of the pod. Defaults to false. */
|
|
1418
|
+
follow?: boolean | undefined;
|
|
1419
|
+
/** If set, the number of bytes to read from the server before terminating the log output. This may not display a
|
|
1420
|
+
* complete final line of logging, and may return slightly more or slightly less than the specified limit. */
|
|
1421
|
+
limitBytes?: number | undefined;
|
|
1422
|
+
/** If true, then the output is pretty printed. */
|
|
1423
|
+
pretty?: boolean | undefined;
|
|
1424
|
+
/** Return previous terminated container logs. Defaults to false. */
|
|
1425
|
+
previous?: boolean | undefined;
|
|
1426
|
+
/** A relative time in seconds before the current time from which to show logs. If this value precedes the time a
|
|
1427
|
+
* pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will
|
|
1428
|
+
* be returned. Only one of sinceSeconds or sinceTime may be specified. */
|
|
1429
|
+
sinceSeconds?: number | undefined;
|
|
1430
|
+
/** If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation
|
|
1431
|
+
* of the container or sinceSeconds or sinceTime */
|
|
1432
|
+
tailLines?: number | undefined;
|
|
1433
|
+
/** If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. */
|
|
1434
|
+
timestamps?: boolean | undefined;
|
|
1435
|
+
}
|
|
1436
|
+
export declare enum NativeDataTypeEnum {
|
|
1437
|
+
boolean = "boolean",
|
|
1438
|
+
float32 = "float32",
|
|
1439
|
+
float64 = "float64",
|
|
1440
|
+
int16 = "int16",
|
|
1441
|
+
int32 = "int32",
|
|
1442
|
+
int8 = "int8",
|
|
1443
|
+
string = "string",
|
|
1444
|
+
timestamp = "timestamp",
|
|
1445
|
+
uint16 = "uint16",
|
|
1446
|
+
uint32 = "uint32",
|
|
1447
|
+
uint8 = "uint8"
|
|
1448
|
+
}
|
|
1449
|
+
/** "Type" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
1450
|
+
export interface NativeTypeDef {
|
|
1451
|
+
type: NativeDataTypeEnum;
|
|
1452
|
+
nullable?: boolean | undefined;
|
|
1453
|
+
metadata?: any | undefined;
|
|
1454
|
+
}
|
|
1455
|
+
/** An arbitrary grouping of OS-specific cluster nodes.
|
|
1456
|
+
* All nodes in a pool are of the same vm type. */
|
|
1457
|
+
export interface NodePoolDef {
|
|
1458
|
+
clusterName: string;
|
|
1459
|
+
name: string;
|
|
1460
|
+
nodeSpec: string;
|
|
1461
|
+
startingNodeCount: number;
|
|
1462
|
+
isWindows?: boolean | undefined;
|
|
1463
|
+
id?: string | undefined;
|
|
1464
|
+
createdBy: string;
|
|
1465
|
+
modifiedBy: string;
|
|
1466
|
+
created: Date;
|
|
1467
|
+
modified: Date;
|
|
1468
|
+
}
|
|
1469
|
+
export interface NumericRange {
|
|
1470
|
+
min: number;
|
|
1471
|
+
max: number;
|
|
1472
|
+
}
|
|
1473
|
+
/** Specifies the direction that a single property should be sorted. */
|
|
1474
|
+
export declare enum OrderEnum {
|
|
1475
|
+
asc = "asc",
|
|
1476
|
+
desc = "desc"
|
|
1477
|
+
}
|
|
1478
|
+
export interface patchOperation {
|
|
1479
|
+
op: patchOperationType;
|
|
1480
|
+
path: string;
|
|
1481
|
+
value: any;
|
|
1482
|
+
}
|
|
1483
|
+
export declare enum patchOperationType {
|
|
1484
|
+
add = "add",
|
|
1485
|
+
copy = "copy",
|
|
1486
|
+
move = "move",
|
|
1487
|
+
remove = "remove",
|
|
1488
|
+
replace = "replace",
|
|
1489
|
+
test = "test"
|
|
1490
|
+
}
|
|
1491
|
+
/** The granting of priveleges to a given Role. */
|
|
1492
|
+
export interface Permission {
|
|
1493
|
+
role: AuthRole;
|
|
1494
|
+
priveleges: Privelege[];
|
|
1495
|
+
}
|
|
1496
|
+
/** A type of operation that a given Role is allowed to perform on a securable object. */
|
|
1497
|
+
export declare enum Privelege {
|
|
1498
|
+
"value0" = 0,
|
|
1499
|
+
"value1" = 1,
|
|
1500
|
+
"value2" = 2,
|
|
1501
|
+
"value3" = 3,
|
|
1502
|
+
"value4" = 4
|
|
1503
|
+
}
|
|
1504
|
+
/** Declares a probe action and when to run it against an asset. */
|
|
1505
|
+
export interface Probe {
|
|
1506
|
+
enterprise: string;
|
|
1507
|
+
asset: string;
|
|
1508
|
+
type: ProbeUsageTypesEnum;
|
|
1509
|
+
/** EITHER: Immutable unique human-readable identifier for a standard or otherwise predefined probe action.
|
|
1510
|
+
*
|
|
1511
|
+
* OR: an inline probe action declaration. */
|
|
1512
|
+
action: ICommandLineProbeAction | IHttpProbeAction | IGrpcProbeAction | ISocketProbeAction | string;
|
|
1513
|
+
/** Semantic version range in which this probe is applicable. */
|
|
1514
|
+
versionRange?: string | undefined;
|
|
1515
|
+
initialDelaySeconds?: number | undefined;
|
|
1516
|
+
periodSeconds?: number | undefined;
|
|
1517
|
+
disabled?: boolean | undefined;
|
|
1518
|
+
id?: string | undefined;
|
|
1519
|
+
createdBy: string;
|
|
1520
|
+
modifiedBy: string;
|
|
1521
|
+
created: Date;
|
|
1522
|
+
modified: Date;
|
|
1523
|
+
}
|
|
1524
|
+
/** Type declaration for the Probe sub-class, determining the nature of its behavior and handling. */
|
|
1525
|
+
export declare enum ProbeActionTypesEnum {
|
|
1526
|
+
exec = "exec",
|
|
1527
|
+
grpc = "grpc",
|
|
1528
|
+
http = "http",
|
|
1529
|
+
socket = "socket"
|
|
1530
|
+
}
|
|
1531
|
+
/** Declaration of what purpose the probe serves,
|
|
1532
|
+
* ie: where a probe is fired in the runtime lifecycle of an asset. */
|
|
1533
|
+
export declare enum ProbeUsageTypesEnum {
|
|
1534
|
+
liveness = "liveness",
|
|
1535
|
+
readiness = "readiness",
|
|
1536
|
+
startup = "startup"
|
|
1537
|
+
}
|
|
1538
|
+
/** Defines an object with required and optional properties
|
|
1539
|
+
*
|
|
1540
|
+
* "Properties" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
1541
|
+
export interface PropertiesTypeDef {
|
|
1542
|
+
/** All properties declared here are required.
|
|
1543
|
+
* NOTE: Property names cannot overlap with optionalProperties. */
|
|
1544
|
+
properties: object;
|
|
1545
|
+
/** NOTE: Property names cannot overlap with optionalProperties. */
|
|
1546
|
+
optionalProperties: object;
|
|
1547
|
+
/** Indicates that properties may be added that are not defined in the schema. */
|
|
1548
|
+
additionalProperties?: boolean | undefined;
|
|
1549
|
+
nullable?: boolean | undefined;
|
|
1550
|
+
metadata?: any | undefined;
|
|
1551
|
+
}
|
|
1552
|
+
export interface PublishServiceRequest {
|
|
1553
|
+
serviceName: string;
|
|
1554
|
+
toyboxName: string;
|
|
1555
|
+
}
|
|
1556
|
+
export interface PublishServiceResponse {
|
|
1557
|
+
correlationId: string;
|
|
1558
|
+
success: boolean;
|
|
1559
|
+
message?: string | undefined;
|
|
1560
|
+
error?: Error | undefined;
|
|
1561
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
1562
|
+
validation?: IValidationStatus | undefined;
|
|
1563
|
+
}
|
|
1564
|
+
/** Metadata for the credentials that a cluster will use when pulling images from an image registry.
|
|
1565
|
+
* This class points to a a specific secret record in a known secret store. */
|
|
1566
|
+
export interface PullSecretRef {
|
|
1567
|
+
expiresOn: Date;
|
|
1568
|
+
/** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
|
|
1569
|
+
created: Date;
|
|
1570
|
+
/** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
|
|
1571
|
+
createdBy: string;
|
|
1572
|
+
/** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
|
|
1573
|
+
modified: Date;
|
|
1574
|
+
/** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
|
|
1575
|
+
modifiedBy: string;
|
|
1576
|
+
type: KvpStoreTypesEnum;
|
|
1577
|
+
name: string;
|
|
1578
|
+
key: any;
|
|
1579
|
+
}
|
|
1580
|
+
export interface ReadAssetLogsForCabinetRequest {
|
|
1581
|
+
assetName?: string | undefined;
|
|
1582
|
+
targetCabinet?: CabinetScope | undefined;
|
|
1583
|
+
userContext?: UserContext | undefined;
|
|
1584
|
+
codiacAPiUrl?: string | undefined;
|
|
1585
|
+
to?: Date | undefined;
|
|
1586
|
+
from?: Date | undefined;
|
|
1587
|
+
}
|
|
1588
|
+
export interface ReadAssetLogsForCabinetResponse {
|
|
1589
|
+
assetLogs?: IAssetLog | undefined;
|
|
1590
|
+
success: boolean;
|
|
1591
|
+
message?: string | undefined;
|
|
1592
|
+
error?: Error | undefined;
|
|
1593
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
1594
|
+
validation?: IValidationStatus | undefined;
|
|
1595
|
+
}
|
|
1596
|
+
export interface ReadImageTagsRequest {
|
|
1597
|
+
registryUrl: string;
|
|
1598
|
+
/** The name of the container image repository within the given registry. */
|
|
1599
|
+
scopedImageName: string;
|
|
1600
|
+
skip?: number | undefined;
|
|
1601
|
+
take?: number | undefined;
|
|
1602
|
+
}
|
|
1603
|
+
export interface ReadKeysFromStoreContactRequest {
|
|
1604
|
+
kvpStoreDef?: KvpStoreDef | undefined;
|
|
1605
|
+
}
|
|
1606
|
+
export interface ReadKeysFromStoreContactResponse {
|
|
1607
|
+
vaultKeys?: string[] | undefined;
|
|
1608
|
+
success: boolean;
|
|
1609
|
+
message?: string | undefined;
|
|
1610
|
+
error?: Error | undefined;
|
|
1611
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
1612
|
+
validation?: IValidationStatus | undefined;
|
|
1613
|
+
}
|
|
1614
|
+
export interface ReadyStateRequest {
|
|
1615
|
+
}
|
|
1616
|
+
/** defines a reference to the schema that is present in the corresponding key
|
|
1617
|
+
* in the definitions member of the root schema.
|
|
1618
|
+
*
|
|
1619
|
+
* "Ref" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
1620
|
+
export interface RefTypeDef {
|
|
1621
|
+
ref: string;
|
|
1622
|
+
nullable?: boolean | undefined;
|
|
1623
|
+
metadata?: any | undefined;
|
|
1624
|
+
}
|
|
1625
|
+
export interface RegistrySearchRequest {
|
|
1626
|
+
registry: ImageRegistrySpec;
|
|
1627
|
+
searchString: string;
|
|
1628
|
+
}
|
|
1629
|
+
/** Info that can be recognized from a registry url for a known registry. */
|
|
1630
|
+
export interface RegistryTypeInfo {
|
|
1631
|
+
type: ImageRegistryTypes;
|
|
1632
|
+
provider: CloudProviderEnum;
|
|
1633
|
+
url: string;
|
|
1634
|
+
}
|
|
1635
|
+
export interface Result {
|
|
1636
|
+
success: boolean;
|
|
1637
|
+
message?: string | undefined;
|
|
1638
|
+
error?: Error | undefined;
|
|
1639
|
+
/** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
|
|
1640
|
+
validation?: IValidationStatus | undefined;
|
|
1641
|
+
}
|
|
1642
|
+
export interface ScaleAssetRequest {
|
|
1643
|
+
enterprise: string;
|
|
1644
|
+
asset: string;
|
|
1645
|
+
environment: string;
|
|
1646
|
+
cabinet: string;
|
|
1647
|
+
replicas?: number | undefined;
|
|
1648
|
+
cpu?: object | undefined;
|
|
1649
|
+
mem?: object | undefined;
|
|
1650
|
+
}
|
|
1651
|
+
export declare enum ScopeLevel {
|
|
1652
|
+
cabinet = "cabinet",
|
|
1653
|
+
enterprise = "enterprise",
|
|
1654
|
+
environment = "environment"
|
|
1655
|
+
}
|
|
1656
|
+
export interface SecretStore {
|
|
1657
|
+
type: KvpStoreTypesEnum;
|
|
1658
|
+
/** The friendly, human-readable identifier of this resource,
|
|
1659
|
+
* as it is known by the cloud provider.
|
|
1660
|
+
* Its name is unique only within the resource group containing the instance,
|
|
1661
|
+
* and it necessarily matches the name of the definition from which it was spawned. */
|
|
1662
|
+
name: string;
|
|
1663
|
+
/** The third party cloud service provider that is hosting this resource. */
|
|
1664
|
+
provider: CloudProviderEnum;
|
|
1665
|
+
/** The Id given by the csp. */
|
|
1666
|
+
resourceId: string;
|
|
1667
|
+
id?: string | undefined;
|
|
1668
|
+
createdBy: string;
|
|
1669
|
+
modifiedBy: string;
|
|
1670
|
+
created: Date;
|
|
1671
|
+
modified: Date;
|
|
1672
|
+
}
|
|
1673
|
+
/** A cloud provider account for an individual user or application. */
|
|
1674
|
+
export interface SecurityAccount {
|
|
1675
|
+
/** (guid) The id of the service principal, used when assigining permissions. eg: "bf52a5ea-3663-476c-bb54-aacf9a1b39db", */
|
|
1676
|
+
id: string;
|
|
1677
|
+
/** The human readable name we give to the service principal. eg: "svc-princ-devcluster1", */
|
|
1678
|
+
name: string;
|
|
1679
|
+
/** full url by which Azure identifies the service principal. eg: "http://svc-princ-devcluster1", */
|
|
1680
|
+
systemName: string;
|
|
1681
|
+
/** (guid) NOT PERSISTED WITH THIS ENTITY.
|
|
1682
|
+
* This password is typically generated on creation
|
|
1683
|
+
* and thus needs to be persisted in a separate secret store for future use
|
|
1684
|
+
* (eg: needed when creating a cluster). */
|
|
1685
|
+
password?: string | undefined;
|
|
1686
|
+
}
|
|
1687
|
+
/** The security strategy employed on the cluster,
|
|
1688
|
+
* indictating which type of security account
|
|
1689
|
+
* will be used to identify the cluster and enforce its authorizations. */
|
|
1690
|
+
export declare enum SecurityAccountTypeEnum {
|
|
1691
|
+
managedIdentity = "managedIdentity",
|
|
1692
|
+
servicePrincipal = "servicePrincipal"
|
|
1693
|
+
}
|
|
1694
|
+
/** An asset consisting of a k8s service
|
|
1695
|
+
* backed by a pod replica set (generated via a k8s Deployment entity). */
|
|
1696
|
+
export interface ServiceAssetTemplate {
|
|
1697
|
+
defaultPort: number;
|
|
1698
|
+
image: ImageSpec;
|
|
1699
|
+
defaultImageVersion?: string | undefined;
|
|
1700
|
+
assetType: AssetTypesEnum;
|
|
1701
|
+
defaultName: string;
|
|
1702
|
+
defaultCode: string;
|
|
1703
|
+
hasIngress?: boolean | undefined;
|
|
1704
|
+
/** List of fileStores required by the asset. Each one requires capture. */
|
|
1705
|
+
fileStores?: object[] | undefined;
|
|
1706
|
+
/** List of secretStores required by the asset. Each one requires capture. */
|
|
1707
|
+
secretStores?: object[] | undefined;
|
|
1708
|
+
/** Declaration-time attributes of the Asset itself
|
|
1709
|
+
* (used for managing the asset before deploying, not at runtime) */
|
|
1710
|
+
properties?: ConfigSchema | undefined;
|
|
1711
|
+
/** Config files supported by the asset and their structures.
|
|
1712
|
+
*
|
|
1713
|
+
* TODO: Need to specify which settings should be secrets. Might need to define that in the metadata or extend the typedefs */
|
|
1714
|
+
configs?: object | undefined;
|
|
1715
|
+
/** Environment variables supported by the asset. */
|
|
1716
|
+
envs?: object | undefined;
|
|
1717
|
+
/** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
|
|
1718
|
+
* that belong to this asset among all the other pods in a namespace.
|
|
1719
|
+
* This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas. */
|
|
1720
|
+
customPodFilters?: object[] | undefined;
|
|
1721
|
+
/** Abstract declarations of folder paths inside the image
|
|
1722
|
+
* that are to be later mapped (at configuration time) to file store definitions. */
|
|
1723
|
+
reservedFolders?: AssetFolderReservation[] | undefined;
|
|
1724
|
+
}
|
|
1725
|
+
/** A concrete declaration of a single host naming strategy for a single domain, for a single cabinet.
|
|
1726
|
+
*
|
|
1727
|
+
* DEV NOTE: We have this entity type so that we can utilize embedding and cascading
|
|
1728
|
+
* to affix host naming strategies to concrete cabinet records.
|
|
1729
|
+
* This class allows us to surgically update one at a time in a post handler for a ScopedHostNameConfig crud. */
|
|
1730
|
+
export interface SingleHostNameStrategyForCabinet {
|
|
1731
|
+
isCabinetScoped: boolean;
|
|
1732
|
+
domainName: string;
|
|
1733
|
+
strategy: HostNameStrategyEnum;
|
|
1734
|
+
enterprise: string;
|
|
1735
|
+
cabinet: string;
|
|
1736
|
+
forAsset?: string[] | string | undefined;
|
|
1737
|
+
id?: string | undefined;
|
|
1738
|
+
}
|
|
1739
|
+
export interface StorageAccount {
|
|
1740
|
+
name: string;
|
|
1741
|
+
location: string;
|
|
1742
|
+
primaryEndpoints: IStorageAccountEndpointUrls;
|
|
1743
|
+
id?: string | undefined;
|
|
1744
|
+
}
|
|
1745
|
+
export interface String {
|
|
1746
|
+
}
|
|
1747
|
+
export interface StringFilter {
|
|
1748
|
+
/** property of the target object to compare (conventional default to the name of the criteria property) */
|
|
1749
|
+
property?: string | undefined;
|
|
1750
|
+
$eq?: string | undefined;
|
|
1751
|
+
$contains?: string | undefined;
|
|
1752
|
+
$startsWith?: string | undefined;
|
|
1753
|
+
$endsWith?: string | undefined;
|
|
1754
|
+
$pattern?: string | undefined;
|
|
1755
|
+
$in?: string[] | undefined;
|
|
1756
|
+
$not?: StringFilter | undefined;
|
|
1757
|
+
}
|
|
1758
|
+
/** Type definition for config objects
|
|
1759
|
+
* (eg: config files, environment variables, Asset properties, etc)
|
|
1760
|
+
*
|
|
1761
|
+
* (TBD: Duck-typeable/convertible to a Json Type Definition (JTD) or a JsonSchema) */
|
|
1762
|
+
export interface TypeDefBase {
|
|
1763
|
+
}
|
|
1764
|
+
/** Archived identifier for a Toyhauler user and their accumulated tenant tokens.
|
|
1765
|
+
* NOTE: This data is simply archived and is likely to be stale,
|
|
1766
|
+
* so it should be refreshed frequently.
|
|
1767
|
+
*
|
|
1768
|
+
* TODO: Crud the stored tenant contexts */
|
|
1769
|
+
export interface UserContext {
|
|
1770
|
+
currentTenantCode?: string | undefined;
|
|
1771
|
+
currentToken?: string | undefined;
|
|
1772
|
+
/** the full login id for the user on the Toyhauler system (defaults to anonymous). */
|
|
1773
|
+
userName: string;
|
|
1774
|
+
/** Dictionary of user-tenant tokens, mapped by tenant code. */
|
|
1775
|
+
tokens: object;
|
|
1776
|
+
/** The full date and time (in UTC) when the token will no longer be valid. */
|
|
1777
|
+
tokenExpiration?: Date | undefined;
|
|
1778
|
+
/** The enterprise, cabinet and asset bindings the user is currently operating with.
|
|
1779
|
+
* Having this here allows state to be maintained without a project context. */
|
|
1780
|
+
currentEnterprise?: EnterprisePointer | undefined;
|
|
1781
|
+
/** Dictionary of default enterprise context objects, mapped by tenant code. */
|
|
1782
|
+
enterpriseContexts: object;
|
|
1783
|
+
}
|
|
1784
|
+
/** Affinity is a group of affinity scheduling rules. */
|
|
1785
|
+
export interface V1Affinity {
|
|
1786
|
+
/** Node affinity is a group of node affinity scheduling rules. */
|
|
1787
|
+
nodeAffinity?: V1NodeAffinity | undefined;
|
|
1788
|
+
/** Pod affinity is a group of inter pod affinity scheduling rules. */
|
|
1789
|
+
podAffinity?: V1PodAffinity | undefined;
|
|
1790
|
+
/** Pod anti affinity is a group of inter pod anti affinity scheduling rules. */
|
|
1791
|
+
podAntiAffinity?: V1PodAntiAffinity | undefined;
|
|
1792
|
+
}
|
|
1793
|
+
/** Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. */
|
|
1794
|
+
export interface V1AWSElasticBlockStoreVolumeSource {
|
|
1795
|
+
/** fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore */
|
|
1796
|
+
fsType?: string | undefined;
|
|
1797
|
+
/** partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). */
|
|
1798
|
+
partition?: number | undefined;
|
|
1799
|
+
/** readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore */
|
|
1800
|
+
readOnly?: boolean | undefined;
|
|
1801
|
+
/** volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore */
|
|
1802
|
+
volumeID: string;
|
|
1803
|
+
}
|
|
1804
|
+
/** AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. */
|
|
1805
|
+
export interface V1AzureDiskVolumeSource {
|
|
1806
|
+
/** cachingMode is the Host Caching mode: None, Read Only, Read Write. */
|
|
1807
|
+
cachingMode?: string | undefined;
|
|
1808
|
+
/** diskName is the Name of the data disk in the blob storage */
|
|
1809
|
+
diskName: string;
|
|
1810
|
+
/** diskURI is the URI of data disk in the blob storage */
|
|
1811
|
+
diskURI: string;
|
|
1812
|
+
/** fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. */
|
|
1813
|
+
fsType?: string | undefined;
|
|
1814
|
+
/** kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared */
|
|
1815
|
+
kind?: string | undefined;
|
|
1816
|
+
/** readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
1817
|
+
readOnly?: boolean | undefined;
|
|
1818
|
+
}
|
|
1819
|
+
/** AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */
|
|
1820
|
+
export interface V1AzureFileVolumeSource {
|
|
1821
|
+
/** readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
1822
|
+
readOnly?: boolean | undefined;
|
|
1823
|
+
/** secretName is the name of secret that contains Azure Storage Account Name and Key */
|
|
1824
|
+
secretName: string;
|
|
1825
|
+
/** shareName is the azure share Name */
|
|
1826
|
+
shareName: string;
|
|
1827
|
+
}
|
|
1828
|
+
/** Adds and removes POSIX capabilities from running containers. */
|
|
1829
|
+
export interface V1Capabilities {
|
|
1830
|
+
/** Added capabilities */
|
|
1831
|
+
add?: string[] | undefined;
|
|
1832
|
+
/** Removed capabilities */
|
|
1833
|
+
drop?: string[] | undefined;
|
|
1834
|
+
}
|
|
1835
|
+
/** Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */
|
|
1836
|
+
export interface V1CephFSVolumeSource {
|
|
1837
|
+
/** monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it */
|
|
1838
|
+
monitors: string[];
|
|
1839
|
+
/** path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / */
|
|
1840
|
+
path?: string | undefined;
|
|
1841
|
+
/** readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it */
|
|
1842
|
+
readOnly?: boolean | undefined;
|
|
1843
|
+
/** secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it */
|
|
1844
|
+
secretFile?: string | undefined;
|
|
1845
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
1846
|
+
secretRef?: V1LocalObjectReference | undefined;
|
|
1847
|
+
/** user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it */
|
|
1848
|
+
user?: string | undefined;
|
|
1849
|
+
}
|
|
1850
|
+
/** Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */
|
|
1851
|
+
export interface V1CinderVolumeSource {
|
|
1852
|
+
/** fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md */
|
|
1853
|
+
fsType?: string | undefined;
|
|
1854
|
+
/** readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md */
|
|
1855
|
+
readOnly?: boolean | undefined;
|
|
1856
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
1857
|
+
secretRef?: V1LocalObjectReference | undefined;
|
|
1858
|
+
/** volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md */
|
|
1859
|
+
volumeID: string;
|
|
1860
|
+
}
|
|
1861
|
+
/** ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap\'s Data field will represent the key-value pairs as environment variables. */
|
|
1862
|
+
export interface V1ConfigMapEnvSource {
|
|
1863
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
1864
|
+
name?: string | undefined;
|
|
1865
|
+
/** Specify whether the ConfigMap must be defined */
|
|
1866
|
+
optional?: boolean | undefined;
|
|
1867
|
+
}
|
|
1868
|
+
/** Selects a key from a ConfigMap. */
|
|
1869
|
+
export interface V1ConfigMapKeySelector {
|
|
1870
|
+
/** The key to select. */
|
|
1871
|
+
key: string;
|
|
1872
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
1873
|
+
name?: string | undefined;
|
|
1874
|
+
/** Specify whether the ConfigMap or its key must be defined */
|
|
1875
|
+
optional?: boolean | undefined;
|
|
1876
|
+
}
|
|
1877
|
+
/** Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. */
|
|
1878
|
+
export interface V1ConfigMapProjection {
|
|
1879
|
+
/** items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the \'..\' path or start with \'..\'. */
|
|
1880
|
+
items?: V1KeyToPath[] | undefined;
|
|
1881
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
1882
|
+
name?: string | undefined;
|
|
1883
|
+
/** optional specify whether the ConfigMap or its keys must be defined */
|
|
1884
|
+
optional?: boolean | undefined;
|
|
1885
|
+
}
|
|
1886
|
+
/** Adapts a ConfigMap into a volume. The contents of the target ConfigMap\'s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. */
|
|
1887
|
+
export interface V1ConfigMapVolumeSource {
|
|
1888
|
+
/** defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */
|
|
1889
|
+
defaultMode?: number | undefined;
|
|
1890
|
+
/** items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the \'..\' path or start with \'..\'. */
|
|
1891
|
+
items?: V1KeyToPath[] | undefined;
|
|
1892
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
1893
|
+
name?: string | undefined;
|
|
1894
|
+
/** optional specify whether the ConfigMap or its keys must be defined */
|
|
1895
|
+
optional?: boolean | undefined;
|
|
1896
|
+
}
|
|
1897
|
+
/** A single application container that you want to run within a pod. */
|
|
1898
|
+
export interface V1Container {
|
|
1899
|
+
/** Arguments to the entrypoint. The container image\'s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container\'s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell */
|
|
1900
|
+
args?: string[] | undefined;
|
|
1901
|
+
/** Entrypoint array. Not executed within a shell. The container image\'s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container\'s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell */
|
|
1902
|
+
command?: string[] | undefined;
|
|
1903
|
+
/** List of environment variables to set in the container. Cannot be updated. */
|
|
1904
|
+
env?: V1EnvVar[] | undefined;
|
|
1905
|
+
/** List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. */
|
|
1906
|
+
envFrom?: V1EnvFromSource[] | undefined;
|
|
1907
|
+
/** Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. */
|
|
1908
|
+
image?: string | undefined;
|
|
1909
|
+
/** Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images */
|
|
1910
|
+
imagePullPolicy?: string | undefined;
|
|
1911
|
+
/** Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */
|
|
1912
|
+
lifecycle?: V1Lifecycle | undefined;
|
|
1913
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
1914
|
+
livenessProbe?: V1Probe | undefined;
|
|
1915
|
+
/** Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. */
|
|
1916
|
+
name: string;
|
|
1917
|
+
/** List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. */
|
|
1918
|
+
ports?: V1ContainerPort[] | undefined;
|
|
1919
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
1920
|
+
readinessProbe?: V1Probe | undefined;
|
|
1921
|
+
/** ResourceRequirements describes the compute resource requirements. */
|
|
1922
|
+
resources?: V1ResourceRequirements | undefined;
|
|
1923
|
+
/** SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */
|
|
1924
|
+
securityContext?: V1SecurityContext | undefined;
|
|
1925
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
1926
|
+
startupProbe?: V1Probe | undefined;
|
|
1927
|
+
/** Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. */
|
|
1928
|
+
stdin?: boolean | undefined;
|
|
1929
|
+
/** Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false */
|
|
1930
|
+
stdinOnce?: boolean | undefined;
|
|
1931
|
+
/** Optional: Path at which the file to which the container\'s termination message will be written is mounted into the container\'s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. */
|
|
1932
|
+
terminationMessagePath?: string | undefined;
|
|
1933
|
+
/** Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. */
|
|
1934
|
+
terminationMessagePolicy?: string | undefined;
|
|
1935
|
+
/** Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. */
|
|
1936
|
+
tty?: boolean | undefined;
|
|
1937
|
+
/** volumeDevices is the list of block devices to be used by the container. */
|
|
1938
|
+
volumeDevices?: V1VolumeDevice[] | undefined;
|
|
1939
|
+
/** Pod volumes to mount into the container\'s filesystem. Cannot be updated. */
|
|
1940
|
+
volumeMounts?: V1VolumeMount[] | undefined;
|
|
1941
|
+
/** Container\'s working directory. If not specified, the container runtime\'s default will be used, which might be configured in the container image. Cannot be updated. */
|
|
1942
|
+
workingDir?: string | undefined;
|
|
1943
|
+
}
|
|
1944
|
+
/** ContainerPort represents a network port in a single container. */
|
|
1945
|
+
export interface V1ContainerPort {
|
|
1946
|
+
/** Number of port to expose on the pod\'s IP address. This must be a valid port number, 0 < x < 65536. */
|
|
1947
|
+
containerPort: number;
|
|
1948
|
+
/** What host IP to bind the external port to. */
|
|
1949
|
+
hostIP?: string | undefined;
|
|
1950
|
+
/** Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. */
|
|
1951
|
+
hostPort?: number | undefined;
|
|
1952
|
+
/** If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. */
|
|
1953
|
+
name?: string | undefined;
|
|
1954
|
+
/** Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". */
|
|
1955
|
+
protocol?: string | undefined;
|
|
1956
|
+
}
|
|
1957
|
+
/** ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. */
|
|
1958
|
+
export interface V1ContainerState {
|
|
1959
|
+
/** ContainerStateRunning is a running state of a container. */
|
|
1960
|
+
running?: V1ContainerStateRunning | undefined;
|
|
1961
|
+
/** ContainerStateTerminated is a terminated state of a container. */
|
|
1962
|
+
terminated?: V1ContainerStateTerminated | undefined;
|
|
1963
|
+
/** ContainerStateWaiting is a waiting state of a container. */
|
|
1964
|
+
waiting?: V1ContainerStateWaiting | undefined;
|
|
1965
|
+
}
|
|
1966
|
+
/** ContainerStateRunning is a running state of a container. */
|
|
1967
|
+
export interface V1ContainerStateRunning {
|
|
1968
|
+
/** Time at which the container was last (re-)started */
|
|
1969
|
+
startedAt?: Date | undefined;
|
|
1970
|
+
}
|
|
1971
|
+
/** ContainerStateTerminated is a terminated state of a container. */
|
|
1972
|
+
export interface V1ContainerStateTerminated {
|
|
1973
|
+
/** Container\'s ID in the format \'<type>://<container_id>\' */
|
|
1974
|
+
containerID?: string | undefined;
|
|
1975
|
+
/** Exit status from the last termination of the container */
|
|
1976
|
+
exitCode: number;
|
|
1977
|
+
/** Time at which the container last terminated */
|
|
1978
|
+
finishedAt?: Date | undefined;
|
|
1979
|
+
/** Message regarding the last termination of the container */
|
|
1980
|
+
message?: string | undefined;
|
|
1981
|
+
/** (brief) reason from the last termination of the container */
|
|
1982
|
+
reason?: string | undefined;
|
|
1983
|
+
/** Signal from the last termination of the container */
|
|
1984
|
+
signal?: number | undefined;
|
|
1985
|
+
/** Time at which previous execution of the container started */
|
|
1986
|
+
startedAt?: Date | undefined;
|
|
1987
|
+
}
|
|
1988
|
+
/** ContainerStateWaiting is a waiting state of a container. */
|
|
1989
|
+
export interface V1ContainerStateWaiting {
|
|
1990
|
+
/** Message regarding why the container is not yet running. */
|
|
1991
|
+
message?: string | undefined;
|
|
1992
|
+
/** (brief) reason the container is not yet running. */
|
|
1993
|
+
reason?: string | undefined;
|
|
1994
|
+
}
|
|
1995
|
+
/** ContainerStatus contains details for the current status of this container. */
|
|
1996
|
+
export interface V1ContainerStatus {
|
|
1997
|
+
/** Container\'s ID in the format \'<type>://<container_id>\'. */
|
|
1998
|
+
containerID?: string | undefined;
|
|
1999
|
+
/** The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images. */
|
|
2000
|
+
image: string;
|
|
2001
|
+
/** ImageID of the container\'s image. */
|
|
2002
|
+
imageID: string;
|
|
2003
|
+
/** ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. */
|
|
2004
|
+
lastState?: V1ContainerState | undefined;
|
|
2005
|
+
/** This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. */
|
|
2006
|
+
name: string;
|
|
2007
|
+
/** Specifies whether the container has passed its readiness probe. */
|
|
2008
|
+
ready: boolean;
|
|
2009
|
+
/** The number of times the container has been restarted. */
|
|
2010
|
+
restartCount: number;
|
|
2011
|
+
/** Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined. */
|
|
2012
|
+
started?: boolean | undefined;
|
|
2013
|
+
/** ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. */
|
|
2014
|
+
state?: V1ContainerState | undefined;
|
|
2015
|
+
}
|
|
2016
|
+
/** Represents a source location of a volume to mount, managed by an external CSI driver */
|
|
2017
|
+
export interface V1CSIVolumeSource {
|
|
2018
|
+
/** driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. */
|
|
2019
|
+
driver: string;
|
|
2020
|
+
/** fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. */
|
|
2021
|
+
fsType?: string | undefined;
|
|
2022
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
2023
|
+
nodePublishSecretRef?: V1LocalObjectReference | undefined;
|
|
2024
|
+
/** readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). */
|
|
2025
|
+
readOnly?: boolean | undefined;
|
|
2026
|
+
/** volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver\'s documentation for supported values. */
|
|
2027
|
+
volumeAttributes?: object | undefined;
|
|
2028
|
+
}
|
|
2029
|
+
/** Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. */
|
|
2030
|
+
export interface V1DownwardAPIProjection {
|
|
2031
|
+
/** Items is a list of DownwardAPIVolume file */
|
|
2032
|
+
items?: V1DownwardAPIVolumeFile[] | undefined;
|
|
2033
|
+
}
|
|
2034
|
+
/** DownwardAPIVolumeFile represents information to create the file containing the pod field */
|
|
2035
|
+
export interface V1DownwardAPIVolumeFile {
|
|
2036
|
+
/** ObjectFieldSelector selects an APIVersioned field of an object. */
|
|
2037
|
+
fieldRef?: V1ObjectFieldSelector | undefined;
|
|
2038
|
+
/** Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */
|
|
2039
|
+
mode?: number | undefined;
|
|
2040
|
+
/** Required: Path is the relative path name of the file to be created. Must not be absolute or contain the \'..\' path. Must be utf-8 encoded. The first item of the relative path must not start with \'..\' */
|
|
2041
|
+
path: string;
|
|
2042
|
+
/** ResourceFieldSelector represents container resources (cpu, memory) and their output format */
|
|
2043
|
+
resourceFieldRef?: V1ResourceFieldSelector | undefined;
|
|
2044
|
+
}
|
|
2045
|
+
/** DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. */
|
|
2046
|
+
export interface V1DownwardAPIVolumeSource {
|
|
2047
|
+
/** Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */
|
|
2048
|
+
defaultMode?: number | undefined;
|
|
2049
|
+
/** Items is a list of downward API volume file */
|
|
2050
|
+
items?: V1DownwardAPIVolumeFile[] | undefined;
|
|
2051
|
+
}
|
|
2052
|
+
/** Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. */
|
|
2053
|
+
export interface V1EmptyDirVolumeSource {
|
|
2054
|
+
/** medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node\'s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir */
|
|
2055
|
+
medium?: string | undefined;
|
|
2056
|
+
/** sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir */
|
|
2057
|
+
sizeLimit?: string | undefined;
|
|
2058
|
+
}
|
|
2059
|
+
/** EnvFromSource represents the source of a set of ConfigMaps */
|
|
2060
|
+
export interface V1EnvFromSource {
|
|
2061
|
+
/** ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap\'s Data field will represent the key-value pairs as environment variables. */
|
|
2062
|
+
configMapRef?: V1ConfigMapEnvSource | undefined;
|
|
2063
|
+
/** An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. */
|
|
2064
|
+
prefix?: string | undefined;
|
|
2065
|
+
/** SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret\'s Data field will represent the key-value pairs as environment variables. */
|
|
2066
|
+
secretRef?: V1SecretEnvSource | undefined;
|
|
2067
|
+
}
|
|
2068
|
+
/** EnvVar represents an environment variable present in a Container. */
|
|
2069
|
+
export interface V1EnvVar {
|
|
2070
|
+
/** Name of the environment variable. Must be a C_IDENTIFIER. */
|
|
2071
|
+
name: string;
|
|
2072
|
+
/** Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". */
|
|
2073
|
+
value?: string | undefined;
|
|
2074
|
+
/** EnvVarSource represents a source for the value of an EnvVar. */
|
|
2075
|
+
valueFrom?: V1EnvVarSource | undefined;
|
|
2076
|
+
}
|
|
2077
|
+
/** EnvVarSource represents a source for the value of an EnvVar. */
|
|
2078
|
+
export interface V1EnvVarSource {
|
|
2079
|
+
/** Selects a key from a ConfigMap. */
|
|
2080
|
+
configMapKeyRef?: V1ConfigMapKeySelector | undefined;
|
|
2081
|
+
/** ObjectFieldSelector selects an APIVersioned field of an object. */
|
|
2082
|
+
fieldRef?: V1ObjectFieldSelector | undefined;
|
|
2083
|
+
/** ResourceFieldSelector represents container resources (cpu, memory) and their output format */
|
|
2084
|
+
resourceFieldRef?: V1ResourceFieldSelector | undefined;
|
|
2085
|
+
/** SecretKeySelector selects a key of a Secret. */
|
|
2086
|
+
secretKeyRef?: V1SecretKeySelector | undefined;
|
|
2087
|
+
}
|
|
2088
|
+
/** An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. This is a beta feature available on clusters that haven\'t disabled the EphemeralContainers feature gate. */
|
|
2089
|
+
export interface V1EphemeralContainer {
|
|
2090
|
+
/** Arguments to the entrypoint. The image\'s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container\'s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell */
|
|
2091
|
+
args?: string[] | undefined;
|
|
2092
|
+
/** Entrypoint array. Not executed within a shell. The image\'s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container\'s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell */
|
|
2093
|
+
command?: string[] | undefined;
|
|
2094
|
+
/** List of environment variables to set in the container. Cannot be updated. */
|
|
2095
|
+
env?: V1EnvVar[] | undefined;
|
|
2096
|
+
/** List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. */
|
|
2097
|
+
envFrom?: V1EnvFromSource[] | undefined;
|
|
2098
|
+
/** Container image name. More info: https://kubernetes.io/docs/concepts/containers/images */
|
|
2099
|
+
image?: string | undefined;
|
|
2100
|
+
/** Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images */
|
|
2101
|
+
imagePullPolicy?: string | undefined;
|
|
2102
|
+
/** Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */
|
|
2103
|
+
lifecycle?: V1Lifecycle | undefined;
|
|
2104
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
2105
|
+
livenessProbe?: V1Probe | undefined;
|
|
2106
|
+
/** Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers. */
|
|
2107
|
+
name: string;
|
|
2108
|
+
/** Ports are not allowed for ephemeral containers. */
|
|
2109
|
+
ports?: V1ContainerPort[] | undefined;
|
|
2110
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
2111
|
+
readinessProbe?: V1Probe | undefined;
|
|
2112
|
+
/** ResourceRequirements describes the compute resource requirements. */
|
|
2113
|
+
resources?: V1ResourceRequirements | undefined;
|
|
2114
|
+
/** SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */
|
|
2115
|
+
securityContext?: V1SecurityContext | undefined;
|
|
2116
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
2117
|
+
startupProbe?: V1Probe | undefined;
|
|
2118
|
+
/** Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. */
|
|
2119
|
+
stdin?: boolean | undefined;
|
|
2120
|
+
/** Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false */
|
|
2121
|
+
stdinOnce?: boolean | undefined;
|
|
2122
|
+
/** If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined. */
|
|
2123
|
+
targetContainerName?: string | undefined;
|
|
2124
|
+
/** Optional: Path at which the file to which the container\'s termination message will be written is mounted into the container\'s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. */
|
|
2125
|
+
terminationMessagePath?: string | undefined;
|
|
2126
|
+
/** Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. */
|
|
2127
|
+
terminationMessagePolicy?: string | undefined;
|
|
2128
|
+
/** Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. */
|
|
2129
|
+
tty?: boolean | undefined;
|
|
2130
|
+
/** volumeDevices is the list of block devices to be used by the container. */
|
|
2131
|
+
volumeDevices?: V1VolumeDevice[] | undefined;
|
|
2132
|
+
/** Pod volumes to mount into the container\'s filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. */
|
|
2133
|
+
volumeMounts?: V1VolumeMount[] | undefined;
|
|
2134
|
+
/** Container\'s working directory. If not specified, the container runtime\'s default will be used, which might be configured in the container image. Cannot be updated. */
|
|
2135
|
+
workingDir?: string | undefined;
|
|
2136
|
+
}
|
|
2137
|
+
/** Represents an ephemeral volume that is handled by a normal storage driver. */
|
|
2138
|
+
export interface V1EphemeralVolumeSource {
|
|
2139
|
+
/** PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. */
|
|
2140
|
+
volumeClaimTemplate?: V1PersistentVolumeClaimTemplate | undefined;
|
|
2141
|
+
}
|
|
2142
|
+
/** ExecAction describes a \"run in container\" action. */
|
|
2143
|
+
export interface V1ExecAction {
|
|
2144
|
+
/** Command is the command line to execute inside the container, the working directory for the command is root (\'/\') in the container\'s filesystem. The command is simply exec\'d, it is not run inside a shell, so traditional shell instructions (\'|\', etc) won\'t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. */
|
|
2145
|
+
command?: string[] | undefined;
|
|
2146
|
+
}
|
|
2147
|
+
/** Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. */
|
|
2148
|
+
export interface V1FCVolumeSource {
|
|
2149
|
+
/** fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. */
|
|
2150
|
+
fsType?: string | undefined;
|
|
2151
|
+
/** lun is Optional: FC target lun number */
|
|
2152
|
+
lun?: number | undefined;
|
|
2153
|
+
/** readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
2154
|
+
readOnly?: boolean | undefined;
|
|
2155
|
+
/** targetWWNs is Optional: FC target worldwide names (WWNs) */
|
|
2156
|
+
targetWWNs?: string[] | undefined;
|
|
2157
|
+
/** wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. */
|
|
2158
|
+
wwids?: string[] | undefined;
|
|
2159
|
+
}
|
|
2160
|
+
/** FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. */
|
|
2161
|
+
export interface V1FlexVolumeSource {
|
|
2162
|
+
/** driver is the name of the driver to use for this volume. */
|
|
2163
|
+
driver: string;
|
|
2164
|
+
/** fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. */
|
|
2165
|
+
fsType?: string | undefined;
|
|
2166
|
+
/** options is Optional: this field holds extra command options if any. */
|
|
2167
|
+
options?: object | undefined;
|
|
2168
|
+
/** readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
2169
|
+
readOnly?: boolean | undefined;
|
|
2170
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
2171
|
+
secretRef?: V1LocalObjectReference | undefined;
|
|
2172
|
+
}
|
|
2173
|
+
/** Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. */
|
|
2174
|
+
export interface V1FlockerVolumeSource {
|
|
2175
|
+
/** datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated */
|
|
2176
|
+
datasetName?: string | undefined;
|
|
2177
|
+
/** datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset */
|
|
2178
|
+
datasetUUID?: string | undefined;
|
|
2179
|
+
}
|
|
2180
|
+
/** Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. */
|
|
2181
|
+
export interface V1GCEPersistentDiskVolumeSource {
|
|
2182
|
+
/** fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk */
|
|
2183
|
+
fsType?: string | undefined;
|
|
2184
|
+
/** partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk */
|
|
2185
|
+
partition?: number | undefined;
|
|
2186
|
+
/** pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk */
|
|
2187
|
+
pdName: string;
|
|
2188
|
+
/** readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk */
|
|
2189
|
+
readOnly?: boolean | undefined;
|
|
2190
|
+
}
|
|
2191
|
+
/** Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod\'s container. */
|
|
2192
|
+
export interface V1GitRepoVolumeSource {
|
|
2193
|
+
/** directory is the target directory name. Must not contain or start with \'..\'. If \'.\' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. */
|
|
2194
|
+
directory?: string | undefined;
|
|
2195
|
+
/** repository is the URL */
|
|
2196
|
+
repository: string;
|
|
2197
|
+
/** revision is the commit hash for the specified revision. */
|
|
2198
|
+
revision?: string | undefined;
|
|
2199
|
+
}
|
|
2200
|
+
/** Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */
|
|
2201
|
+
export interface V1GlusterfsVolumeSource {
|
|
2202
|
+
/** endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod */
|
|
2203
|
+
endpoints: string;
|
|
2204
|
+
/** path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod */
|
|
2205
|
+
path: string;
|
|
2206
|
+
/** readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod */
|
|
2207
|
+
readOnly?: boolean | undefined;
|
|
2208
|
+
}
|
|
2209
|
+
/** Kubernetes
|
|
2210
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2211
|
+
*
|
|
2212
|
+
* The version of the OpenAPI document: release-1.24
|
|
2213
|
+
*
|
|
2214
|
+
*
|
|
2215
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2216
|
+
* https://openapi-generator.tech
|
|
2217
|
+
* Do not edit the class manually. */
|
|
2218
|
+
export interface V1GRPCAction {
|
|
2219
|
+
/** Port number of the gRPC service. Number must be in the range 1 to 65535. */
|
|
2220
|
+
port: number;
|
|
2221
|
+
/** Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. */
|
|
2222
|
+
service?: string | undefined;
|
|
2223
|
+
}
|
|
2224
|
+
/** HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod\'s hosts file. */
|
|
2225
|
+
export interface V1HostAlias {
|
|
2226
|
+
/** Hostnames for the above IP address. */
|
|
2227
|
+
hostnames?: string[] | undefined;
|
|
2228
|
+
/** IP address of the host file entry. */
|
|
2229
|
+
ip?: string | undefined;
|
|
2230
|
+
}
|
|
2231
|
+
/** Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. */
|
|
2232
|
+
export interface V1HostPathVolumeSource {
|
|
2233
|
+
/** path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath */
|
|
2234
|
+
path: string;
|
|
2235
|
+
/** type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath */
|
|
2236
|
+
type?: string | undefined;
|
|
2237
|
+
}
|
|
2238
|
+
/** HTTPGetAction describes an action based on HTTP Get requests. */
|
|
2239
|
+
export interface V1HTTPGetAction {
|
|
2240
|
+
/** Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. */
|
|
2241
|
+
host?: string | undefined;
|
|
2242
|
+
/** Custom headers to set in the request. HTTP allows repeated headers. */
|
|
2243
|
+
httpHeaders?: V1HTTPHeader[] | undefined;
|
|
2244
|
+
/** Path to access on the HTTP server. */
|
|
2245
|
+
path?: string | undefined;
|
|
2246
|
+
/** IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. */
|
|
2247
|
+
port: IntOrString;
|
|
2248
|
+
/** Scheme to use for connecting to the host. Defaults to HTTP. */
|
|
2249
|
+
scheme?: string | undefined;
|
|
2250
|
+
}
|
|
2251
|
+
/** HTTPHeader describes a custom header to be used in HTTP probes */
|
|
2252
|
+
export interface V1HTTPHeader {
|
|
2253
|
+
/** The header field name */
|
|
2254
|
+
name: string;
|
|
2255
|
+
/** The header field value */
|
|
2256
|
+
value: string;
|
|
2257
|
+
}
|
|
2258
|
+
/** Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */
|
|
2259
|
+
export interface V1ISCSIVolumeSource {
|
|
2260
|
+
/** chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication */
|
|
2261
|
+
chapAuthDiscovery?: boolean | undefined;
|
|
2262
|
+
/** chapAuthSession defines whether support iSCSI Session CHAP authentication */
|
|
2263
|
+
chapAuthSession?: boolean | undefined;
|
|
2264
|
+
/** fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi */
|
|
2265
|
+
fsType?: string | undefined;
|
|
2266
|
+
/** initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. */
|
|
2267
|
+
initiatorName?: string | undefined;
|
|
2268
|
+
/** iqn is the target iSCSI Qualified Name. */
|
|
2269
|
+
iqn: string;
|
|
2270
|
+
/** iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to \'default\' (tcp). */
|
|
2271
|
+
iscsiInterface?: string | undefined;
|
|
2272
|
+
/** lun represents iSCSI Target Lun number. */
|
|
2273
|
+
lun: number;
|
|
2274
|
+
/** portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). */
|
|
2275
|
+
portals?: string[] | undefined;
|
|
2276
|
+
/** readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. */
|
|
2277
|
+
readOnly?: boolean | undefined;
|
|
2278
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
2279
|
+
secretRef?: V1LocalObjectReference | undefined;
|
|
2280
|
+
/** targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). */
|
|
2281
|
+
targetPortal: string;
|
|
2282
|
+
}
|
|
2283
|
+
/** Maps a string key to a path within a volume. */
|
|
2284
|
+
export interface V1KeyToPath {
|
|
2285
|
+
/** key is the key to project. */
|
|
2286
|
+
key: string;
|
|
2287
|
+
/** mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */
|
|
2288
|
+
mode?: number | undefined;
|
|
2289
|
+
/** path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element \'..\'. May not start with the string \'..\'. */
|
|
2290
|
+
path: string;
|
|
2291
|
+
}
|
|
2292
|
+
/** A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */
|
|
2293
|
+
export interface V1LabelSelector {
|
|
2294
|
+
/** matchExpressions is a list of label selector requirements. The requirements are ANDed. */
|
|
2295
|
+
matchExpressions?: V1LabelSelectorRequirement[] | undefined;
|
|
2296
|
+
/** matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed. */
|
|
2297
|
+
matchLabels?: object | undefined;
|
|
2298
|
+
}
|
|
2299
|
+
/** A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */
|
|
2300
|
+
export interface V1LabelSelectorRequirement {
|
|
2301
|
+
/** key is the label key that the selector applies to. */
|
|
2302
|
+
key: string;
|
|
2303
|
+
/** operator represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */
|
|
2304
|
+
operator: string;
|
|
2305
|
+
/** values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. */
|
|
2306
|
+
values?: string[] | undefined;
|
|
2307
|
+
}
|
|
2308
|
+
/** Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */
|
|
2309
|
+
export interface V1Lifecycle {
|
|
2310
|
+
/** LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. */
|
|
2311
|
+
postStart?: V1LifecycleHandler | undefined;
|
|
2312
|
+
/** LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. */
|
|
2313
|
+
preStop?: V1LifecycleHandler | undefined;
|
|
2314
|
+
}
|
|
2315
|
+
/** LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. */
|
|
2316
|
+
export interface V1LifecycleHandler {
|
|
2317
|
+
/** ExecAction describes a \"run in container\" action. */
|
|
2318
|
+
exec?: V1ExecAction | undefined;
|
|
2319
|
+
/** HTTPGetAction describes an action based on HTTP Get requests. */
|
|
2320
|
+
httpGet?: V1HTTPGetAction | undefined;
|
|
2321
|
+
/** TCPSocketAction describes an action based on opening a socket */
|
|
2322
|
+
tcpSocket?: V1TCPSocketAction | undefined;
|
|
2323
|
+
}
|
|
2324
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
2325
|
+
export interface V1LocalObjectReference {
|
|
2326
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
2327
|
+
name?: string | undefined;
|
|
2328
|
+
}
|
|
2329
|
+
/** ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. */
|
|
2330
|
+
export interface V1ManagedFieldsEntry {
|
|
2331
|
+
/** APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted. */
|
|
2332
|
+
apiVersion?: string | undefined;
|
|
2333
|
+
/** FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\" */
|
|
2334
|
+
fieldsType?: string | undefined;
|
|
2335
|
+
/** FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type. */
|
|
2336
|
+
fieldsV1?: object | undefined;
|
|
2337
|
+
/** Manager is an identifier of the workflow managing these fields. */
|
|
2338
|
+
manager?: string | undefined;
|
|
2339
|
+
/** Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are \'Apply\' and \'Update\'. */
|
|
2340
|
+
operation?: string | undefined;
|
|
2341
|
+
/** Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource. */
|
|
2342
|
+
subresource?: string | undefined;
|
|
2343
|
+
/** Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over. */
|
|
2344
|
+
time?: Date | undefined;
|
|
2345
|
+
}
|
|
2346
|
+
/** Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. */
|
|
2347
|
+
export interface V1NFSVolumeSource {
|
|
2348
|
+
/** path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs */
|
|
2349
|
+
path: string;
|
|
2350
|
+
/** readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs */
|
|
2351
|
+
readOnly?: boolean | undefined;
|
|
2352
|
+
/** server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs */
|
|
2353
|
+
server: string;
|
|
2354
|
+
}
|
|
2355
|
+
/** Node affinity is a group of node affinity scheduling rules. */
|
|
2356
|
+
export interface V1NodeAffinity {
|
|
2357
|
+
/** The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. */
|
|
2358
|
+
preferredDuringSchedulingIgnoredDuringExecution?: V1PreferredSchedulingTerm[] | undefined;
|
|
2359
|
+
/** A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. */
|
|
2360
|
+
requiredDuringSchedulingIgnoredDuringExecution?: V1NodeSelector | undefined;
|
|
2361
|
+
}
|
|
2362
|
+
/** A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. */
|
|
2363
|
+
export interface V1NodeSelector {
|
|
2364
|
+
/** Required. A list of node selector terms. The terms are ORed. */
|
|
2365
|
+
nodeSelectorTerms: V1NodeSelectorTerm[];
|
|
2366
|
+
}
|
|
2367
|
+
/** A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */
|
|
2368
|
+
export interface V1NodeSelectorRequirement {
|
|
2369
|
+
/** The label key that the selector applies to. */
|
|
2370
|
+
key: string;
|
|
2371
|
+
/** Represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. */
|
|
2372
|
+
operator: string;
|
|
2373
|
+
/** An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. */
|
|
2374
|
+
values?: string[] | undefined;
|
|
2375
|
+
}
|
|
2376
|
+
/** A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. */
|
|
2377
|
+
export interface V1NodeSelectorTerm {
|
|
2378
|
+
/** A list of node selector requirements by node\'s labels. */
|
|
2379
|
+
matchExpressions?: V1NodeSelectorRequirement[] | undefined;
|
|
2380
|
+
/** A list of node selector requirements by node\'s fields. */
|
|
2381
|
+
matchFields?: V1NodeSelectorRequirement[] | undefined;
|
|
2382
|
+
}
|
|
2383
|
+
/** ObjectFieldSelector selects an APIVersioned field of an object. */
|
|
2384
|
+
export interface V1ObjectFieldSelector {
|
|
2385
|
+
/** Version of the schema the FieldPath is written in terms of, defaults to \"v1\". */
|
|
2386
|
+
apiVersion?: string | undefined;
|
|
2387
|
+
/** Path of the field to select in the specified API version. */
|
|
2388
|
+
fieldPath: string;
|
|
2389
|
+
}
|
|
2390
|
+
/** ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */
|
|
2391
|
+
export interface V1ObjectMeta {
|
|
2392
|
+
/** Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations */
|
|
2393
|
+
annotations?: object | undefined;
|
|
2394
|
+
/** Deprecated: ClusterName is a legacy field that was always cleared by the system and never used; it will be removed completely in 1.25. The name in the go struct is changed to help clients detect accidental use. */
|
|
2395
|
+
clusterName?: string | undefined;
|
|
2396
|
+
/** CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata */
|
|
2397
|
+
creationTimestamp?: Date | undefined;
|
|
2398
|
+
/** Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. */
|
|
2399
|
+
deletionGracePeriodSeconds?: number | undefined;
|
|
2400
|
+
/** DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata */
|
|
2401
|
+
deletionTimestamp?: Date | undefined;
|
|
2402
|
+
/** Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. */
|
|
2403
|
+
finalizers?: string[] | undefined;
|
|
2404
|
+
/** GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency */
|
|
2405
|
+
generateName?: string | undefined;
|
|
2406
|
+
/** A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. */
|
|
2407
|
+
generation?: number | undefined;
|
|
2408
|
+
/** Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels */
|
|
2409
|
+
labels?: object | undefined;
|
|
2410
|
+
/** ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn\'t need to set or understand this field. A workflow can be the user\'s name, a controller\'s name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object. */
|
|
2411
|
+
managedFields?: V1ManagedFieldsEntry[] | undefined;
|
|
2412
|
+
/** Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names */
|
|
2413
|
+
name?: string | undefined;
|
|
2414
|
+
/** Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces */
|
|
2415
|
+
namespace?: string | undefined;
|
|
2416
|
+
/** List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. */
|
|
2417
|
+
ownerReferences?: V1OwnerReference[] | undefined;
|
|
2418
|
+
/** An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency */
|
|
2419
|
+
resourceVersion?: string | undefined;
|
|
2420
|
+
/** Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. */
|
|
2421
|
+
selfLink?: string | undefined;
|
|
2422
|
+
/** UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids */
|
|
2423
|
+
uid?: string | undefined;
|
|
2424
|
+
}
|
|
2425
|
+
/** OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. */
|
|
2426
|
+
export interface V1OwnerReference {
|
|
2427
|
+
/** API version of the referent. */
|
|
2428
|
+
apiVersion: string;
|
|
2429
|
+
/** If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. */
|
|
2430
|
+
blockOwnerDeletion?: boolean | undefined;
|
|
2431
|
+
/** If true, this reference points to the managing controller. */
|
|
2432
|
+
controller?: boolean | undefined;
|
|
2433
|
+
/** Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds */
|
|
2434
|
+
kind: string;
|
|
2435
|
+
/** Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names */
|
|
2436
|
+
name: string;
|
|
2437
|
+
/** UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids */
|
|
2438
|
+
uid: string;
|
|
2439
|
+
}
|
|
2440
|
+
/** PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes */
|
|
2441
|
+
export interface V1PersistentVolumeClaimSpec {
|
|
2442
|
+
/** accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 */
|
|
2443
|
+
accessModes?: string[] | undefined;
|
|
2444
|
+
/** TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. */
|
|
2445
|
+
dataSource?: V1TypedLocalObjectReference | undefined;
|
|
2446
|
+
/** TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. */
|
|
2447
|
+
dataSourceRef?: V1TypedLocalObjectReference | undefined;
|
|
2448
|
+
/** ResourceRequirements describes the compute resource requirements. */
|
|
2449
|
+
resources?: V1ResourceRequirements | undefined;
|
|
2450
|
+
/** A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */
|
|
2451
|
+
selector?: V1LabelSelector | undefined;
|
|
2452
|
+
/** storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 */
|
|
2453
|
+
storageClassName?: string | undefined;
|
|
2454
|
+
/** volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. */
|
|
2455
|
+
volumeMode?: string | undefined;
|
|
2456
|
+
/** volumeName is the binding reference to the PersistentVolume backing this claim. */
|
|
2457
|
+
volumeName?: string | undefined;
|
|
2458
|
+
}
|
|
2459
|
+
/** PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. */
|
|
2460
|
+
export interface V1PersistentVolumeClaimTemplate {
|
|
2461
|
+
/** ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */
|
|
2462
|
+
metadata?: V1ObjectMeta | undefined;
|
|
2463
|
+
spec: V1PersistentVolumeClaimSpec;
|
|
2464
|
+
}
|
|
2465
|
+
/** PersistentVolumeClaimVolumeSource references the user\'s PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). */
|
|
2466
|
+
export interface V1PersistentVolumeClaimVolumeSource {
|
|
2467
|
+
/** claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims */
|
|
2468
|
+
claimName: string;
|
|
2469
|
+
/** readOnly Will force the ReadOnly setting in VolumeMounts. Default false. */
|
|
2470
|
+
readOnly?: boolean | undefined;
|
|
2471
|
+
}
|
|
2472
|
+
/** Represents a Photon Controller persistent disk resource. */
|
|
2473
|
+
export interface V1PhotonPersistentDiskVolumeSource {
|
|
2474
|
+
/** fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. */
|
|
2475
|
+
fsType?: string | undefined;
|
|
2476
|
+
/** pdID is the ID that identifies Photon Controller persistent disk */
|
|
2477
|
+
pdID: string;
|
|
2478
|
+
}
|
|
2479
|
+
/** Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. */
|
|
2480
|
+
export interface V1Pod {
|
|
2481
|
+
/** APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources */
|
|
2482
|
+
apiVersion?: string | undefined;
|
|
2483
|
+
/** Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds */
|
|
2484
|
+
kind?: string | undefined;
|
|
2485
|
+
/** ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */
|
|
2486
|
+
metadata?: V1ObjectMeta | undefined;
|
|
2487
|
+
/** PodSpec is a description of a pod. */
|
|
2488
|
+
spec?: V1PodSpec | undefined;
|
|
2489
|
+
/** PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. */
|
|
2490
|
+
status?: V1PodStatus | undefined;
|
|
2491
|
+
}
|
|
2492
|
+
/** Pod affinity is a group of inter pod affinity scheduling rules. */
|
|
2493
|
+
export interface V1PodAffinity {
|
|
2494
|
+
/** The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. */
|
|
2495
|
+
preferredDuringSchedulingIgnoredDuringExecution?: V1WeightedPodAffinityTerm[] | undefined;
|
|
2496
|
+
/** If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. */
|
|
2497
|
+
requiredDuringSchedulingIgnoredDuringExecution?: V1PodAffinityTerm[] | undefined;
|
|
2498
|
+
}
|
|
2499
|
+
/** Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running */
|
|
2500
|
+
export interface V1PodAffinityTerm {
|
|
2501
|
+
/** A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */
|
|
2502
|
+
labelSelector?: V1LabelSelector | undefined;
|
|
2503
|
+
/** A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */
|
|
2504
|
+
namespaceSelector?: V1LabelSelector | undefined;
|
|
2505
|
+
/** namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod\'s namespace\". */
|
|
2506
|
+
namespaces?: string[] | undefined;
|
|
2507
|
+
/** This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. */
|
|
2508
|
+
topologyKey: string;
|
|
2509
|
+
}
|
|
2510
|
+
/** Pod anti affinity is a group of inter pod anti affinity scheduling rules. */
|
|
2511
|
+
export interface V1PodAntiAffinity {
|
|
2512
|
+
/** The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. */
|
|
2513
|
+
preferredDuringSchedulingIgnoredDuringExecution?: V1WeightedPodAffinityTerm[] | undefined;
|
|
2514
|
+
/** If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. */
|
|
2515
|
+
requiredDuringSchedulingIgnoredDuringExecution?: V1PodAffinityTerm[] | undefined;
|
|
2516
|
+
}
|
|
2517
|
+
/** PodCondition contains details for the current condition of this pod. */
|
|
2518
|
+
export interface V1PodCondition {
|
|
2519
|
+
/** Last time we probed the condition. */
|
|
2520
|
+
lastProbeTime?: Date | undefined;
|
|
2521
|
+
/** Last time the condition transitioned from one status to another. */
|
|
2522
|
+
lastTransitionTime?: Date | undefined;
|
|
2523
|
+
/** Human-readable message indicating details about last transition. */
|
|
2524
|
+
message?: string | undefined;
|
|
2525
|
+
/** Unique, one-word, CamelCase reason for the condition\'s last transition. */
|
|
2526
|
+
reason?: string | undefined;
|
|
2527
|
+
/** Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions */
|
|
2528
|
+
status: string;
|
|
2529
|
+
/** Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions */
|
|
2530
|
+
type: string;
|
|
2531
|
+
}
|
|
2532
|
+
/** PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. */
|
|
2533
|
+
export interface V1PodDNSConfig {
|
|
2534
|
+
/** A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. */
|
|
2535
|
+
nameservers?: string[] | undefined;
|
|
2536
|
+
/** A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. */
|
|
2537
|
+
options?: V1PodDNSConfigOption[] | undefined;
|
|
2538
|
+
/** A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. */
|
|
2539
|
+
searches?: string[] | undefined;
|
|
2540
|
+
}
|
|
2541
|
+
/** PodDNSConfigOption defines DNS resolver options of a pod. */
|
|
2542
|
+
export interface V1PodDNSConfigOption {
|
|
2543
|
+
/** Required. */
|
|
2544
|
+
name?: string | undefined;
|
|
2545
|
+
value?: string | undefined;
|
|
2546
|
+
}
|
|
2547
|
+
/** IP address information for entries in the (plural) PodIPs field. Each entry includes: IP: An IP address allocated to the pod. Routable at least within the cluster. */
|
|
2548
|
+
export interface V1PodIP {
|
|
2549
|
+
/** ip is an IP address (IPv4 or IPv6) assigned to the pod */
|
|
2550
|
+
ip?: string | undefined;
|
|
2551
|
+
}
|
|
2552
|
+
/** PodOS defines the OS parameters of a pod. */
|
|
2553
|
+
export interface V1PodOS {
|
|
2554
|
+
/** Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null */
|
|
2555
|
+
name: string;
|
|
2556
|
+
}
|
|
2557
|
+
/** PodReadinessGate contains the reference to a pod condition */
|
|
2558
|
+
export interface V1PodReadinessGate {
|
|
2559
|
+
/** ConditionType refers to a condition in the pod\'s condition list with matching type. */
|
|
2560
|
+
conditionType: string;
|
|
2561
|
+
}
|
|
2562
|
+
/** PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. */
|
|
2563
|
+
export interface V1PodSecurityContext {
|
|
2564
|
+
/** A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR\'d with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. */
|
|
2565
|
+
fsGroup?: number | undefined;
|
|
2566
|
+
/** fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows. */
|
|
2567
|
+
fsGroupChangePolicy?: string | undefined;
|
|
2568
|
+
/** The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. */
|
|
2569
|
+
runAsGroup?: number | undefined;
|
|
2570
|
+
/** Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. */
|
|
2571
|
+
runAsNonRoot?: boolean | undefined;
|
|
2572
|
+
/** The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. */
|
|
2573
|
+
runAsUser?: number | undefined;
|
|
2574
|
+
/** SELinuxOptions are the labels to be applied to the container */
|
|
2575
|
+
seLinuxOptions?: V1SELinuxOptions | undefined;
|
|
2576
|
+
/** SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. */
|
|
2577
|
+
seccompProfile?: V1SeccompProfile | undefined;
|
|
2578
|
+
/** A list of groups applied to the first process run in each container, in addition to the container\'s primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows. */
|
|
2579
|
+
supplementalGroups?: number[] | undefined;
|
|
2580
|
+
/** Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. */
|
|
2581
|
+
sysctls?: V1Sysctl[] | undefined;
|
|
2582
|
+
/** WindowsSecurityContextOptions contain Windows-specific options and credentials. */
|
|
2583
|
+
windowsOptions?: V1WindowsSecurityContextOptions | undefined;
|
|
2584
|
+
}
|
|
2585
|
+
/** PodSpec is a description of a pod. */
|
|
2586
|
+
export interface V1PodSpec {
|
|
2587
|
+
/** Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. */
|
|
2588
|
+
activeDeadlineSeconds?: number | undefined;
|
|
2589
|
+
/** Affinity is a group of affinity scheduling rules. */
|
|
2590
|
+
affinity?: V1Affinity | undefined;
|
|
2591
|
+
/** AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. */
|
|
2592
|
+
automountServiceAccountToken?: boolean | undefined;
|
|
2593
|
+
/** List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. */
|
|
2594
|
+
containers: V1Container[];
|
|
2595
|
+
/** PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. */
|
|
2596
|
+
dnsConfig?: V1PodDNSConfig | undefined;
|
|
2597
|
+
/** Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are \'ClusterFirstWithHostNet\', \'ClusterFirst\', \'Default\' or \'None\'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to \'ClusterFirstWithHostNet\'. */
|
|
2598
|
+
dnsPolicy?: string | undefined;
|
|
2599
|
+
/** EnableServiceLinks indicates whether information about services should be injected into pod\'s environment variables, matching the syntax of Docker links. Optional: Defaults to true. */
|
|
2600
|
+
enableServiceLinks?: boolean | undefined;
|
|
2601
|
+
/** List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod\'s ephemeralcontainers subresource. This field is beta-level and available on clusters that haven\'t disabled the EphemeralContainers feature gate. */
|
|
2602
|
+
ephemeralContainers?: V1EphemeralContainer[] | undefined;
|
|
2603
|
+
/** HostAliases is an optional list of hosts and IPs that will be injected into the pod\'s hosts file if specified. This is only valid for non-hostNetwork pods. */
|
|
2604
|
+
hostAliases?: V1HostAlias[] | undefined;
|
|
2605
|
+
/** Use the host\'s ipc namespace. Optional: Default to false. */
|
|
2606
|
+
hostIPC?: boolean | undefined;
|
|
2607
|
+
/** Host networking requested for this pod. Use the host\'s network namespace. If this option is set, the ports that will be used must be specified. Default to false. */
|
|
2608
|
+
hostNetwork?: boolean | undefined;
|
|
2609
|
+
/** Use the host\'s pid namespace. Optional: Default to false. */
|
|
2610
|
+
hostPID?: boolean | undefined;
|
|
2611
|
+
/** Specifies the hostname of the Pod If not specified, the pod\'s hostname will be set to a system-defined value. */
|
|
2612
|
+
hostname?: string | undefined;
|
|
2613
|
+
/** ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod */
|
|
2614
|
+
imagePullSecrets?: V1LocalObjectReference[] | undefined;
|
|
2615
|
+
/** List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ */
|
|
2616
|
+
initContainers?: V1Container[] | undefined;
|
|
2617
|
+
/** NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. */
|
|
2618
|
+
nodeName?: string | undefined;
|
|
2619
|
+
/** NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node\'s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ */
|
|
2620
|
+
nodeSelector?: object | undefined;
|
|
2621
|
+
/** PodOS defines the OS parameters of a pod. */
|
|
2622
|
+
os?: V1PodOS | undefined;
|
|
2623
|
+
/** Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md */
|
|
2624
|
+
overhead?: object | undefined;
|
|
2625
|
+
/** PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. */
|
|
2626
|
+
preemptionPolicy?: string | undefined;
|
|
2627
|
+
/** The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. */
|
|
2628
|
+
priority?: number | undefined;
|
|
2629
|
+
/** If specified, indicates the pod\'s priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. */
|
|
2630
|
+
priorityClassName?: string | undefined;
|
|
2631
|
+
/** If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates */
|
|
2632
|
+
readinessGates?: V1PodReadinessGate[] | undefined;
|
|
2633
|
+
/** Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy */
|
|
2634
|
+
restartPolicy?: string | undefined;
|
|
2635
|
+
/** RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class */
|
|
2636
|
+
runtimeClassName?: string | undefined;
|
|
2637
|
+
/** If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. */
|
|
2638
|
+
schedulerName?: string | undefined;
|
|
2639
|
+
/** PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. */
|
|
2640
|
+
securityContext?: V1PodSecurityContext | undefined;
|
|
2641
|
+
/** DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. */
|
|
2642
|
+
serviceAccount?: string | undefined;
|
|
2643
|
+
/** ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ */
|
|
2644
|
+
serviceAccountName?: string | undefined;
|
|
2645
|
+
/** If true the pod\'s hostname will be configured as the pod\'s FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false. */
|
|
2646
|
+
setHostnameAsFQDN?: boolean | undefined;
|
|
2647
|
+
/** Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. */
|
|
2648
|
+
shareProcessNamespace?: boolean | undefined;
|
|
2649
|
+
/** If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. */
|
|
2650
|
+
subdomain?: string | undefined;
|
|
2651
|
+
/** Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. */
|
|
2652
|
+
terminationGracePeriodSeconds?: number | undefined;
|
|
2653
|
+
/** If specified, the pod\'s tolerations. */
|
|
2654
|
+
tolerations?: V1Toleration[] | undefined;
|
|
2655
|
+
/** TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed. */
|
|
2656
|
+
topologySpreadConstraints?: V1TopologySpreadConstraint[] | undefined;
|
|
2657
|
+
/** List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes */
|
|
2658
|
+
volumes?: V1Volume[] | undefined;
|
|
2659
|
+
}
|
|
2660
|
+
/** PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. */
|
|
2661
|
+
export interface V1PodStatus {
|
|
2662
|
+
/** Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions */
|
|
2663
|
+
conditions?: V1PodCondition[] | undefined;
|
|
2664
|
+
/** The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status */
|
|
2665
|
+
containerStatuses?: V1ContainerStatus[] | undefined;
|
|
2666
|
+
/** Status for any ephemeral containers that have run in this pod. This field is beta-level and available on clusters that haven\'t disabled the EphemeralContainers feature gate. */
|
|
2667
|
+
ephemeralContainerStatuses?: V1ContainerStatus[] | undefined;
|
|
2668
|
+
/** IP address of the host to which the pod is assigned. Empty if not yet scheduled. */
|
|
2669
|
+
hostIP?: string | undefined;
|
|
2670
|
+
/** The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status */
|
|
2671
|
+
initContainerStatuses?: V1ContainerStatus[] | undefined;
|
|
2672
|
+
/** A human readable message indicating details about why the pod is in this condition. */
|
|
2673
|
+
message?: string | undefined;
|
|
2674
|
+
/** nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. */
|
|
2675
|
+
nominatedNodeName?: string | undefined;
|
|
2676
|
+
/** The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod\'s status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase */
|
|
2677
|
+
phase?: string | undefined;
|
|
2678
|
+
/** IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. */
|
|
2679
|
+
podIP?: string | undefined;
|
|
2680
|
+
/** podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet. */
|
|
2681
|
+
podIPs?: V1PodIP[] | undefined;
|
|
2682
|
+
/** The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md */
|
|
2683
|
+
qosClass?: string | undefined;
|
|
2684
|
+
/** A brief CamelCase message indicating details about why the pod is in this state. e.g. \'Evicted\' */
|
|
2685
|
+
reason?: string | undefined;
|
|
2686
|
+
/** RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. */
|
|
2687
|
+
startTime?: Date | undefined;
|
|
2688
|
+
}
|
|
2689
|
+
/** PortworxVolumeSource represents a Portworx volume resource. */
|
|
2690
|
+
export interface V1PortworxVolumeSource {
|
|
2691
|
+
/** fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified. */
|
|
2692
|
+
fsType?: string | undefined;
|
|
2693
|
+
/** readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
2694
|
+
readOnly?: boolean | undefined;
|
|
2695
|
+
/** volumeID uniquely identifies a Portworx volume */
|
|
2696
|
+
volumeID: string;
|
|
2697
|
+
}
|
|
2698
|
+
/** An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it\'s a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). */
|
|
2699
|
+
export interface V1PreferredSchedulingTerm {
|
|
2700
|
+
preference: V1NodeSelectorTerm;
|
|
2701
|
+
/** Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. */
|
|
2702
|
+
weight: number;
|
|
2703
|
+
}
|
|
2704
|
+
/** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
|
|
2705
|
+
export interface V1Probe {
|
|
2706
|
+
/** ExecAction describes a \"run in container\" action. */
|
|
2707
|
+
exec?: V1ExecAction | undefined;
|
|
2708
|
+
/** Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. */
|
|
2709
|
+
failureThreshold?: number | undefined;
|
|
2710
|
+
/** Kubernetes
|
|
2711
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2712
|
+
*
|
|
2713
|
+
* The version of the OpenAPI document: release-1.24
|
|
2714
|
+
*
|
|
2715
|
+
*
|
|
2716
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2717
|
+
* https://openapi-generator.tech
|
|
2718
|
+
* Do not edit the class manually. */
|
|
2719
|
+
grpc?: V1GRPCAction | undefined;
|
|
2720
|
+
/** HTTPGetAction describes an action based on HTTP Get requests. */
|
|
2721
|
+
httpGet?: V1HTTPGetAction | undefined;
|
|
2722
|
+
/** Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes */
|
|
2723
|
+
initialDelaySeconds?: number | undefined;
|
|
2724
|
+
/** How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. */
|
|
2725
|
+
periodSeconds?: number | undefined;
|
|
2726
|
+
/** Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. */
|
|
2727
|
+
successThreshold?: number | undefined;
|
|
2728
|
+
/** TCPSocketAction describes an action based on opening a socket */
|
|
2729
|
+
tcpSocket?: V1TCPSocketAction | undefined;
|
|
2730
|
+
/** Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod\'s terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. */
|
|
2731
|
+
terminationGracePeriodSeconds?: number | undefined;
|
|
2732
|
+
/** Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes */
|
|
2733
|
+
timeoutSeconds?: number | undefined;
|
|
2734
|
+
}
|
|
2735
|
+
/** Represents a projected volume source */
|
|
2736
|
+
export interface V1ProjectedVolumeSource {
|
|
2737
|
+
/** defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */
|
|
2738
|
+
defaultMode?: number | undefined;
|
|
2739
|
+
/** sources is the list of volume projections */
|
|
2740
|
+
sources?: V1VolumeProjection[] | undefined;
|
|
2741
|
+
}
|
|
2742
|
+
/** Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. */
|
|
2743
|
+
export interface V1QuobyteVolumeSource {
|
|
2744
|
+
/** group to map volume access to Default is no group */
|
|
2745
|
+
group?: string | undefined;
|
|
2746
|
+
/** readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. */
|
|
2747
|
+
readOnly?: boolean | undefined;
|
|
2748
|
+
/** registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes */
|
|
2749
|
+
registry: string;
|
|
2750
|
+
/** tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin */
|
|
2751
|
+
tenant?: string | undefined;
|
|
2752
|
+
/** user to map volume access to Defaults to serivceaccount user */
|
|
2753
|
+
user?: string | undefined;
|
|
2754
|
+
/** volume is a string that references an already created Quobyte volume by name. */
|
|
2755
|
+
volume: string;
|
|
2756
|
+
}
|
|
2757
|
+
/** Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. */
|
|
2758
|
+
export interface V1RBDVolumeSource {
|
|
2759
|
+
/** fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd */
|
|
2760
|
+
fsType?: string | undefined;
|
|
2761
|
+
/** image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it */
|
|
2762
|
+
image: string;
|
|
2763
|
+
/** keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it */
|
|
2764
|
+
keyring?: string | undefined;
|
|
2765
|
+
/** monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it */
|
|
2766
|
+
monitors: string[];
|
|
2767
|
+
/** pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it */
|
|
2768
|
+
pool?: string | undefined;
|
|
2769
|
+
/** readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it */
|
|
2770
|
+
readOnly?: boolean | undefined;
|
|
2771
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
2772
|
+
secretRef?: V1LocalObjectReference | undefined;
|
|
2773
|
+
/** user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it */
|
|
2774
|
+
user?: string | undefined;
|
|
2775
|
+
}
|
|
2776
|
+
/** ResourceFieldSelector represents container resources (cpu, memory) and their output format */
|
|
2777
|
+
export interface V1ResourceFieldSelector {
|
|
2778
|
+
/** Container name: required for volumes, optional for env vars */
|
|
2779
|
+
containerName?: string | undefined;
|
|
2780
|
+
/** Specifies the output format of the exposed resources, defaults to \"1\" */
|
|
2781
|
+
divisor?: string | undefined;
|
|
2782
|
+
/** Required: resource to select */
|
|
2783
|
+
resource: string;
|
|
2784
|
+
}
|
|
2785
|
+
/** ResourceRequirements describes the compute resource requirements. */
|
|
2786
|
+
export interface V1ResourceRequirements {
|
|
2787
|
+
/** Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ */
|
|
2788
|
+
limits?: object | undefined;
|
|
2789
|
+
/** Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ */
|
|
2790
|
+
requests?: object | undefined;
|
|
2791
|
+
}
|
|
2792
|
+
/** ScaleIOVolumeSource represents a persistent ScaleIO volume */
|
|
2793
|
+
export interface V1ScaleIOVolumeSource {
|
|
2794
|
+
/** fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". */
|
|
2795
|
+
fsType?: string | undefined;
|
|
2796
|
+
/** gateway is the host address of the ScaleIO API Gateway. */
|
|
2797
|
+
gateway: string;
|
|
2798
|
+
/** protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. */
|
|
2799
|
+
protectionDomain?: string | undefined;
|
|
2800
|
+
/** readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
2801
|
+
readOnly?: boolean | undefined;
|
|
2802
|
+
secretRef: V1LocalObjectReference;
|
|
2803
|
+
/** sslEnabled Flag enable/disable SSL communication with Gateway, default false */
|
|
2804
|
+
sslEnabled?: boolean | undefined;
|
|
2805
|
+
/** storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. */
|
|
2806
|
+
storageMode?: string | undefined;
|
|
2807
|
+
/** storagePool is the ScaleIO Storage Pool associated with the protection domain. */
|
|
2808
|
+
storagePool?: string | undefined;
|
|
2809
|
+
/** system is the name of the storage system as configured in ScaleIO. */
|
|
2810
|
+
system: string;
|
|
2811
|
+
/** volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source. */
|
|
2812
|
+
volumeName?: string | undefined;
|
|
2813
|
+
}
|
|
2814
|
+
/** SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. */
|
|
2815
|
+
export interface V1SeccompProfile {
|
|
2816
|
+
/** localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet\'s configured seccomp profile location. Must only be set if type is \"Localhost\". */
|
|
2817
|
+
localhostProfile?: string | undefined;
|
|
2818
|
+
/** type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. */
|
|
2819
|
+
type: string;
|
|
2820
|
+
}
|
|
2821
|
+
/** SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret\'s Data field will represent the key-value pairs as environment variables. */
|
|
2822
|
+
export interface V1SecretEnvSource {
|
|
2823
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
2824
|
+
name?: string | undefined;
|
|
2825
|
+
/** Specify whether the Secret must be defined */
|
|
2826
|
+
optional?: boolean | undefined;
|
|
2827
|
+
}
|
|
2828
|
+
/** SecretKeySelector selects a key of a Secret. */
|
|
2829
|
+
export interface V1SecretKeySelector {
|
|
2830
|
+
/** The key of the secret to select from. Must be a valid secret key. */
|
|
2831
|
+
key: string;
|
|
2832
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
2833
|
+
name?: string | undefined;
|
|
2834
|
+
/** Specify whether the Secret or its key must be defined */
|
|
2835
|
+
optional?: boolean | undefined;
|
|
2836
|
+
}
|
|
2837
|
+
/** Adapts a secret into a projected volume. The contents of the target Secret\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. */
|
|
2838
|
+
export interface V1SecretProjection {
|
|
2839
|
+
/** items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the \'..\' path or start with \'..\'. */
|
|
2840
|
+
items?: V1KeyToPath[] | undefined;
|
|
2841
|
+
/** Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
2842
|
+
name?: string | undefined;
|
|
2843
|
+
/** optional field specify whether the Secret or its key must be defined */
|
|
2844
|
+
optional?: boolean | undefined;
|
|
2845
|
+
}
|
|
2846
|
+
/** Adapts a Secret into a volume. The contents of the target Secret\'s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. */
|
|
2847
|
+
export interface V1SecretVolumeSource {
|
|
2848
|
+
/** defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */
|
|
2849
|
+
defaultMode?: number | undefined;
|
|
2850
|
+
/** items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the \'..\' path or start with \'..\'. */
|
|
2851
|
+
items?: V1KeyToPath[] | undefined;
|
|
2852
|
+
/** optional field specify whether the Secret or its keys must be defined */
|
|
2853
|
+
optional?: boolean | undefined;
|
|
2854
|
+
/** secretName is the name of the secret in the pod\'s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret */
|
|
2855
|
+
secretName?: string | undefined;
|
|
2856
|
+
}
|
|
2857
|
+
/** SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */
|
|
2858
|
+
export interface V1SecurityContext {
|
|
2859
|
+
/** AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. */
|
|
2860
|
+
allowPrivilegeEscalation?: boolean | undefined;
|
|
2861
|
+
/** Adds and removes POSIX capabilities from running containers. */
|
|
2862
|
+
capabilities?: V1Capabilities | undefined;
|
|
2863
|
+
/** Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows. */
|
|
2864
|
+
privileged?: boolean | undefined;
|
|
2865
|
+
/** procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. */
|
|
2866
|
+
procMount?: string | undefined;
|
|
2867
|
+
/** Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows. */
|
|
2868
|
+
readOnlyRootFilesystem?: boolean | undefined;
|
|
2869
|
+
/** The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. */
|
|
2870
|
+
runAsGroup?: number | undefined;
|
|
2871
|
+
/** Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. */
|
|
2872
|
+
runAsNonRoot?: boolean | undefined;
|
|
2873
|
+
/** The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. */
|
|
2874
|
+
runAsUser?: number | undefined;
|
|
2875
|
+
/** SELinuxOptions are the labels to be applied to the container */
|
|
2876
|
+
seLinuxOptions?: V1SELinuxOptions | undefined;
|
|
2877
|
+
/** SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. */
|
|
2878
|
+
seccompProfile?: V1SeccompProfile | undefined;
|
|
2879
|
+
/** WindowsSecurityContextOptions contain Windows-specific options and credentials. */
|
|
2880
|
+
windowsOptions?: V1WindowsSecurityContextOptions | undefined;
|
|
2881
|
+
}
|
|
2882
|
+
/** SELinuxOptions are the labels to be applied to the container */
|
|
2883
|
+
export interface V1SELinuxOptions {
|
|
2884
|
+
/** Level is SELinux level label that applies to the container. */
|
|
2885
|
+
level?: string | undefined;
|
|
2886
|
+
/** Role is a SELinux role label that applies to the container. */
|
|
2887
|
+
role?: string | undefined;
|
|
2888
|
+
/** Type is a SELinux type label that applies to the container. */
|
|
2889
|
+
type?: string | undefined;
|
|
2890
|
+
/** User is a SELinux user label that applies to the container. */
|
|
2891
|
+
user?: string | undefined;
|
|
2892
|
+
}
|
|
2893
|
+
/** ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). */
|
|
2894
|
+
export interface V1ServiceAccountTokenProjection {
|
|
2895
|
+
/** audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. */
|
|
2896
|
+
audience?: string | undefined;
|
|
2897
|
+
/** expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. */
|
|
2898
|
+
expirationSeconds?: number | undefined;
|
|
2899
|
+
/** path is the path relative to the mount point of the file to project the token into. */
|
|
2900
|
+
path: string;
|
|
2901
|
+
}
|
|
2902
|
+
/** Represents a StorageOS persistent volume resource. */
|
|
2903
|
+
export interface V1StorageOSVolumeSource {
|
|
2904
|
+
/** fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. */
|
|
2905
|
+
fsType?: string | undefined;
|
|
2906
|
+
/** readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. */
|
|
2907
|
+
readOnly?: boolean | undefined;
|
|
2908
|
+
/** LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */
|
|
2909
|
+
secretRef?: V1LocalObjectReference | undefined;
|
|
2910
|
+
/** volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. */
|
|
2911
|
+
volumeName?: string | undefined;
|
|
2912
|
+
/** volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod\'s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. */
|
|
2913
|
+
volumeNamespace?: string | undefined;
|
|
2914
|
+
}
|
|
2915
|
+
/** Sysctl defines a kernel parameter to be set */
|
|
2916
|
+
export interface V1Sysctl {
|
|
2917
|
+
/** Name of a property to set */
|
|
2918
|
+
name: string;
|
|
2919
|
+
/** Value of a property to set */
|
|
2920
|
+
value: string;
|
|
2921
|
+
}
|
|
2922
|
+
/** TCPSocketAction describes an action based on opening a socket */
|
|
2923
|
+
export interface V1TCPSocketAction {
|
|
2924
|
+
/** Optional: Host name to connect to, defaults to the pod IP. */
|
|
2925
|
+
host?: string | undefined;
|
|
2926
|
+
/** IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. */
|
|
2927
|
+
port: IntOrString;
|
|
2928
|
+
}
|
|
2929
|
+
/** The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. */
|
|
2930
|
+
export interface V1Toleration {
|
|
2931
|
+
/** Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. */
|
|
2932
|
+
effect?: string | undefined;
|
|
2933
|
+
/** Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. */
|
|
2934
|
+
key?: string | undefined;
|
|
2935
|
+
/** Operator represents a key\'s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. */
|
|
2936
|
+
operator?: string | undefined;
|
|
2937
|
+
/** TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. */
|
|
2938
|
+
tolerationSeconds?: number | undefined;
|
|
2939
|
+
/** Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. */
|
|
2940
|
+
value?: string | undefined;
|
|
2941
|
+
}
|
|
2942
|
+
/** TopologySpreadConstraint specifies how to spread matching pods among the given topology. */
|
|
2943
|
+
export interface V1TopologySpreadConstraint {
|
|
2944
|
+
/** A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */
|
|
2945
|
+
labelSelector?: V1LabelSelector | undefined;
|
|
2946
|
+
/** MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It\'s a required field. Default value is 1 and 0 is not allowed. */
|
|
2947
|
+
maxSkew: number;
|
|
2948
|
+
/** MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won\'t schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. This is an alpha field and requires enabling MinDomainsInPodTopologySpread feature gate. */
|
|
2949
|
+
minDomains?: number | undefined;
|
|
2950
|
+
/** TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes match the node selector. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It\'s a required field. */
|
|
2951
|
+
topologyKey: string;
|
|
2952
|
+
/** WhenUnsatisfiable indicates how to deal with a pod if it doesn\'t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won\'t make it *more* imbalanced. It\'s a required field. */
|
|
2953
|
+
whenUnsatisfiable: string;
|
|
2954
|
+
}
|
|
2955
|
+
/** TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. */
|
|
2956
|
+
export interface V1TypedLocalObjectReference {
|
|
2957
|
+
/** APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. */
|
|
2958
|
+
apiGroup?: string | undefined;
|
|
2959
|
+
/** Kind is the type of resource being referenced */
|
|
2960
|
+
kind: string;
|
|
2961
|
+
/** Name is the name of resource being referenced */
|
|
2962
|
+
name: string;
|
|
2963
|
+
}
|
|
2964
|
+
/** Volume represents a named volume in a pod that may be accessed by any container in the pod. */
|
|
2965
|
+
export interface V1Volume {
|
|
2966
|
+
/** Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. */
|
|
2967
|
+
awsElasticBlockStore?: V1AWSElasticBlockStoreVolumeSource | undefined;
|
|
2968
|
+
/** AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. */
|
|
2969
|
+
azureDisk?: V1AzureDiskVolumeSource | undefined;
|
|
2970
|
+
/** AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */
|
|
2971
|
+
azureFile?: V1AzureFileVolumeSource | undefined;
|
|
2972
|
+
/** Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */
|
|
2973
|
+
cephfs?: V1CephFSVolumeSource | undefined;
|
|
2974
|
+
/** Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */
|
|
2975
|
+
cinder?: V1CinderVolumeSource | undefined;
|
|
2976
|
+
/** Adapts a ConfigMap into a volume. The contents of the target ConfigMap\'s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. */
|
|
2977
|
+
configMap?: V1ConfigMapVolumeSource | undefined;
|
|
2978
|
+
/** Represents a source location of a volume to mount, managed by an external CSI driver */
|
|
2979
|
+
csi?: V1CSIVolumeSource | undefined;
|
|
2980
|
+
/** DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. */
|
|
2981
|
+
downwardAPI?: V1DownwardAPIVolumeSource | undefined;
|
|
2982
|
+
/** Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. */
|
|
2983
|
+
emptyDir?: V1EmptyDirVolumeSource | undefined;
|
|
2984
|
+
/** Represents an ephemeral volume that is handled by a normal storage driver. */
|
|
2985
|
+
ephemeral?: V1EphemeralVolumeSource | undefined;
|
|
2986
|
+
/** Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. */
|
|
2987
|
+
fc?: V1FCVolumeSource | undefined;
|
|
2988
|
+
/** FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. */
|
|
2989
|
+
flexVolume?: V1FlexVolumeSource | undefined;
|
|
2990
|
+
/** Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. */
|
|
2991
|
+
flocker?: V1FlockerVolumeSource | undefined;
|
|
2992
|
+
/** Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. */
|
|
2993
|
+
gcePersistentDisk?: V1GCEPersistentDiskVolumeSource | undefined;
|
|
2994
|
+
/** Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod\'s container. */
|
|
2995
|
+
gitRepo?: V1GitRepoVolumeSource | undefined;
|
|
2996
|
+
/** Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */
|
|
2997
|
+
glusterfs?: V1GlusterfsVolumeSource | undefined;
|
|
2998
|
+
/** Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. */
|
|
2999
|
+
hostPath?: V1HostPathVolumeSource | undefined;
|
|
3000
|
+
/** Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */
|
|
3001
|
+
iscsi?: V1ISCSIVolumeSource | undefined;
|
|
3002
|
+
/** name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
|
|
3003
|
+
name: string;
|
|
3004
|
+
/** Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. */
|
|
3005
|
+
nfs?: V1NFSVolumeSource | undefined;
|
|
3006
|
+
/** PersistentVolumeClaimVolumeSource references the user\'s PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). */
|
|
3007
|
+
persistentVolumeClaim?: V1PersistentVolumeClaimVolumeSource | undefined;
|
|
3008
|
+
/** Represents a Photon Controller persistent disk resource. */
|
|
3009
|
+
photonPersistentDisk?: V1PhotonPersistentDiskVolumeSource | undefined;
|
|
3010
|
+
/** PortworxVolumeSource represents a Portworx volume resource. */
|
|
3011
|
+
portworxVolume?: V1PortworxVolumeSource | undefined;
|
|
3012
|
+
/** Represents a projected volume source */
|
|
3013
|
+
projected?: V1ProjectedVolumeSource | undefined;
|
|
3014
|
+
/** Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. */
|
|
3015
|
+
quobyte?: V1QuobyteVolumeSource | undefined;
|
|
3016
|
+
/** Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. */
|
|
3017
|
+
rbd?: V1RBDVolumeSource | undefined;
|
|
3018
|
+
/** ScaleIOVolumeSource represents a persistent ScaleIO volume */
|
|
3019
|
+
scaleIO?: V1ScaleIOVolumeSource | undefined;
|
|
3020
|
+
/** Adapts a Secret into a volume. The contents of the target Secret\'s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. */
|
|
3021
|
+
secret?: V1SecretVolumeSource | undefined;
|
|
3022
|
+
/** Represents a StorageOS persistent volume resource. */
|
|
3023
|
+
storageos?: V1StorageOSVolumeSource | undefined;
|
|
3024
|
+
/** Represents a vSphere volume resource. */
|
|
3025
|
+
vsphereVolume?: V1VsphereVirtualDiskVolumeSource | undefined;
|
|
3026
|
+
}
|
|
3027
|
+
/** volumeDevice describes a mapping of a raw block device within a container. */
|
|
3028
|
+
export interface V1VolumeDevice {
|
|
3029
|
+
/** devicePath is the path inside of the container that the device will be mapped to. */
|
|
3030
|
+
devicePath: string;
|
|
3031
|
+
/** name must match the name of a persistentVolumeClaim in the pod */
|
|
3032
|
+
name: string;
|
|
3033
|
+
}
|
|
3034
|
+
/** VolumeMount describes a mounting of a Volume within a container. */
|
|
3035
|
+
export interface V1VolumeMount {
|
|
3036
|
+
/** Path within the container at which the volume should be mounted. Must not contain \':\'. */
|
|
3037
|
+
mountPath: string;
|
|
3038
|
+
/** mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. */
|
|
3039
|
+
mountPropagation?: string | undefined;
|
|
3040
|
+
/** This must match the Name of a Volume. */
|
|
3041
|
+
name: string;
|
|
3042
|
+
/** Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. */
|
|
3043
|
+
readOnly?: boolean | undefined;
|
|
3044
|
+
/** Path within the volume from which the container\'s volume should be mounted. Defaults to \"\" (volume\'s root). */
|
|
3045
|
+
subPath?: string | undefined;
|
|
3046
|
+
/** Expanded path within the volume from which the container\'s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container\'s environment. Defaults to \"\" (volume\'s root). SubPathExpr and SubPath are mutually exclusive. */
|
|
3047
|
+
subPathExpr?: string | undefined;
|
|
3048
|
+
}
|
|
3049
|
+
/** Projection that may be projected along with other supported volume types */
|
|
3050
|
+
export interface V1VolumeProjection {
|
|
3051
|
+
/** Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. */
|
|
3052
|
+
configMap?: V1ConfigMapProjection | undefined;
|
|
3053
|
+
/** Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. */
|
|
3054
|
+
downwardAPI?: V1DownwardAPIProjection | undefined;
|
|
3055
|
+
/** Adapts a secret into a projected volume. The contents of the target Secret\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. */
|
|
3056
|
+
secret?: V1SecretProjection | undefined;
|
|
3057
|
+
/** ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). */
|
|
3058
|
+
serviceAccountToken?: V1ServiceAccountTokenProjection | undefined;
|
|
3059
|
+
}
|
|
3060
|
+
/** Represents a vSphere volume resource. */
|
|
3061
|
+
export interface V1VsphereVirtualDiskVolumeSource {
|
|
3062
|
+
/** fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. */
|
|
3063
|
+
fsType?: string | undefined;
|
|
3064
|
+
/** storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. */
|
|
3065
|
+
storagePolicyID?: string | undefined;
|
|
3066
|
+
/** storagePolicyName is the storage Policy Based Management (SPBM) profile name. */
|
|
3067
|
+
storagePolicyName?: string | undefined;
|
|
3068
|
+
/** volumePath is the path that identifies vSphere volume vmdk */
|
|
3069
|
+
volumePath: string;
|
|
3070
|
+
}
|
|
3071
|
+
/** The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) */
|
|
3072
|
+
export interface V1WeightedPodAffinityTerm {
|
|
3073
|
+
podAffinityTerm: V1PodAffinityTerm;
|
|
3074
|
+
/** weight associated with matching the corresponding podAffinityTerm, in the range 1-100. */
|
|
3075
|
+
weight: number;
|
|
3076
|
+
}
|
|
3077
|
+
/** WindowsSecurityContextOptions contain Windows-specific options and credentials. */
|
|
3078
|
+
export interface V1WindowsSecurityContextOptions {
|
|
3079
|
+
/** GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. */
|
|
3080
|
+
gmsaCredentialSpec?: string | undefined;
|
|
3081
|
+
/** GMSACredentialSpecName is the name of the GMSA credential spec to use. */
|
|
3082
|
+
gmsaCredentialSpecName?: string | undefined;
|
|
3083
|
+
/** HostProcess determines if a container should be run as a \'Host Process\' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod\'s containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. */
|
|
3084
|
+
hostProcess?: boolean | undefined;
|
|
3085
|
+
/** The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. */
|
|
3086
|
+
runAsUserName?: string | undefined;
|
|
3087
|
+
}
|
|
3088
|
+
/** defines a homogenous dictionary where the values of members satisfy a given schema.
|
|
3089
|
+
*
|
|
3090
|
+
* "Values" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
|
|
3091
|
+
export interface ValuesTypeDef {
|
|
3092
|
+
values: object;
|
|
3093
|
+
nullable?: boolean | undefined;
|
|
3094
|
+
metadata?: any | undefined;
|
|
3095
|
+
}
|
|
3096
|
+
/** Credentials applied to new Windows VMs to enable administrative capabilities required for cluster management.
|
|
3097
|
+
*
|
|
3098
|
+
* Backward compatibility for a legacy image format called "Windows",
|
|
3099
|
+
* which is required to run outdated Microsoft proprietary software
|
|
3100
|
+
* such as Microsoft WCF and classic .Net Framework applications.
|
|
3101
|
+
* This is required at cluster creation
|
|
3102
|
+
* because a cluster cannot be later updated to support windows node pools. */
|
|
3103
|
+
export interface WindowsAdminProfile {
|
|
3104
|
+
userName: string;
|
|
3105
|
+
password: string;
|
|
3106
|
+
}
|
|
3107
|
+
export interface ZombieRefreshRequest {
|
|
3108
|
+
enterprise: string;
|
|
3109
|
+
environment?: string | undefined;
|
|
3110
|
+
cabinet?: string | undefined;
|
|
3111
|
+
}
|