k8ts 0.7.3 → 0.9.1
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/dist/default-world.d.ts +5 -0
- package/dist/default-world.d.ts.map +1 -0
- package/dist/default-world.js +54 -0
- package/dist/default-world.js.map +1 -0
- package/dist/env/env.d.ts +6 -8
- package/dist/env/env.d.ts.map +1 -1
- package/dist/env/env.js +29 -28
- package/dist/env/env.js.map +1 -1
- package/dist/env/index.d.ts +1 -1
- package/dist/env/index.d.ts.map +1 -1
- package/dist/env/types.d.ts +7 -5
- package/dist/env/types.d.ts.map +1 -1
- package/dist/env/types.js +11 -0
- package/dist/env/types.js.map +1 -1
- package/dist/index.d.ts +4 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -31
- package/dist/index.js.map +1 -1
- package/dist/kinds/apps.d.ts +30 -0
- package/dist/kinds/apps.d.ts.map +1 -0
- package/dist/kinds/apps.js +33 -0
- package/dist/kinds/apps.js.map +1 -0
- package/dist/kinds/batch.d.ts +18 -0
- package/dist/kinds/batch.d.ts.map +1 -0
- package/dist/kinds/batch.js +21 -0
- package/dist/kinds/batch.js.map +1 -0
- package/dist/kinds/default.d.ts +74 -0
- package/dist/kinds/default.d.ts.map +1 -0
- package/dist/kinds/default.js +78 -0
- package/dist/kinds/default.js.map +1 -0
- package/dist/kinds/gateway.d.ts +30 -0
- package/dist/kinds/gateway.d.ts.map +1 -0
- package/dist/kinds/gateway.js +33 -0
- package/dist/kinds/gateway.js.map +1 -0
- package/dist/kinds/index.d.ts +9 -0
- package/dist/kinds/index.d.ts.map +1 -0
- package/dist/{_imports/_mix.js → kinds/index.js} +9 -4
- package/dist/kinds/index.js.map +1 -0
- package/dist/kinds/metrics.d.ts +18 -0
- package/dist/kinds/metrics.d.ts.map +1 -0
- package/dist/kinds/metrics.js +21 -0
- package/dist/kinds/metrics.js.map +1 -0
- package/dist/kinds/networking.d.ts +14 -0
- package/dist/kinds/networking.d.ts.map +1 -0
- package/dist/kinds/networking.js +17 -0
- package/dist/kinds/networking.js.map +1 -0
- package/dist/kinds/rbac.d.ts +26 -0
- package/dist/kinds/rbac.d.ts.map +1 -0
- package/dist/kinds/rbac.js +29 -0
- package/dist/kinds/rbac.js.map +1 -0
- package/dist/kinds/storage.d.ts +18 -0
- package/dist/kinds/storage.d.ts.map +1 -0
- package/dist/kinds/storage.js +21 -0
- package/dist/kinds/storage.js.map +1 -0
- package/dist/origins/external.d.ts +8 -0
- package/dist/origins/external.d.ts.map +1 -0
- package/dist/origins/external.js +19 -0
- package/dist/origins/external.js.map +1 -0
- package/dist/origins/file/file.d.ts +24 -0
- package/dist/origins/file/file.d.ts.map +1 -0
- package/dist/{node/sub-resource.js → origins/file/file.js} +51 -32
- package/dist/origins/file/file.js.map +1 -0
- package/dist/origins/file/index.d.ts +4 -0
- package/dist/origins/file/index.d.ts.map +1 -0
- package/dist/{file → origins/file}/index.js +2 -0
- package/dist/origins/file/index.js.map +1 -0
- package/dist/origins/file/modifier.d.ts +10 -0
- package/dist/origins/file/modifier.d.ts.map +1 -0
- package/dist/origins/file/modifier.js +21 -0
- package/dist/origins/file/modifier.js.map +1 -0
- package/dist/origins/file/section.d.ts +18 -0
- package/dist/origins/file/section.d.ts.map +1 -0
- package/dist/{external/index.js → origins/file/section.js} +40 -41
- package/dist/origins/file/section.js.map +1 -0
- package/dist/origins/index.d.ts +4 -0
- package/dist/origins/index.d.ts.map +1 -0
- package/dist/{world → origins}/index.js +2 -0
- package/dist/origins/index.js.map +1 -0
- package/dist/origins/world.d.ts +13 -0
- package/dist/origins/world.d.ts.map +1 -0
- package/dist/origins/world.js +27 -0
- package/dist/origins/world.js.map +1 -0
- package/dist/resources/configmap/configmap.d.ts +10 -12
- package/dist/resources/configmap/configmap.d.ts.map +1 -1
- package/dist/resources/configmap/configmap.js +21 -72
- package/dist/resources/configmap/configmap.js.map +1 -1
- package/dist/resources/cronjob/index.d.ts +12 -12
- package/dist/resources/cronjob/index.d.ts.map +1 -1
- package/dist/resources/cronjob/index.js +29 -86
- package/dist/resources/cronjob/index.js.map +1 -1
- package/dist/resources/deployment/deployment.d.ts +28 -29
- package/dist/resources/deployment/deployment.d.ts.map +1 -1
- package/dist/resources/deployment/deployment.js +59 -109
- package/dist/resources/deployment/deployment.js.map +1 -1
- package/dist/resources/external/index.d.ts +19 -0
- package/dist/resources/external/index.d.ts.map +1 -0
- package/dist/resources/external/index.js +44 -0
- package/dist/resources/external/index.js.map +1 -0
- package/dist/resources/http-route/http-route.d.ts +31 -16
- package/dist/resources/http-route/http-route.d.ts.map +1 -1
- package/dist/resources/http-route/http-route.js +28 -80
- package/dist/resources/http-route/http-route.js.map +1 -1
- package/dist/resources/index.d.ts +4 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +4 -0
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/namespace/namespace.d.ts +10 -11
- package/dist/resources/namespace/namespace.d.ts.map +1 -1
- package/dist/resources/namespace/namespace.js +14 -70
- package/dist/resources/namespace/namespace.js.map +1 -1
- package/dist/resources/persistent/access-mode.d.ts +5 -5
- package/dist/resources/persistent/access-mode.d.ts.map +1 -1
- package/dist/resources/persistent/access-mode.js +2 -2
- package/dist/resources/persistent/access-mode.js.map +1 -1
- package/dist/resources/persistent/block-mode.d.ts +1 -1
- package/dist/resources/persistent/block-mode.d.ts.map +1 -1
- package/dist/resources/persistent/claim/pvc.d.ts +25 -24
- package/dist/resources/persistent/claim/pvc.d.ts.map +1 -1
- package/dist/resources/persistent/claim/pvc.js +40 -91
- package/dist/resources/persistent/claim/pvc.js.map +1 -1
- package/dist/resources/persistent/volume/parse-backend.d.ts +2 -2
- package/dist/resources/persistent/volume/parse-backend.d.ts.map +1 -1
- package/dist/resources/persistent/volume/parse-backend.js.map +1 -1
- package/dist/resources/persistent/volume/pv.d.ts +42 -27
- package/dist/resources/persistent/volume/pv.d.ts.map +1 -1
- package/dist/resources/persistent/volume/pv.js +47 -100
- package/dist/resources/persistent/volume/pv.js.map +1 -1
- package/dist/resources/pod/container/container.d.ts +42 -48
- package/dist/resources/pod/container/container.d.ts.map +1 -1
- package/dist/resources/pod/container/container.js +89 -145
- package/dist/resources/pod/container/container.js.map +1 -1
- package/dist/resources/pod/container/mounts.d.ts +29 -30
- package/dist/resources/pod/container/mounts.d.ts.map +1 -1
- package/dist/resources/pod/container/mounts.js +42 -41
- package/dist/resources/pod/container/mounts.js.map +1 -1
- package/dist/resources/pod/pod-template.d.ts +41 -40
- package/dist/resources/pod/pod-template.d.ts.map +1 -1
- package/dist/resources/pod/pod-template.js +76 -110
- package/dist/resources/pod/pod-template.js.map +1 -1
- package/dist/resources/pod/volume/devices.d.ts +18 -20
- package/dist/resources/pod/volume/devices.d.ts.map +1 -1
- package/dist/resources/pod/volume/devices.js +33 -85
- package/dist/resources/pod/volume/devices.js.map +1 -1
- package/dist/resources/pod/volume/index.d.ts +2 -3
- package/dist/resources/pod/volume/index.d.ts.map +1 -1
- package/dist/resources/pod/volume/index.js +3 -5
- package/dist/resources/pod/volume/index.js.map +1 -1
- package/dist/resources/pod/volume/volumes.d.ts +24 -25
- package/dist/resources/pod/volume/volumes.d.ts.map +1 -1
- package/dist/resources/pod/volume/volumes.js +66 -108
- package/dist/resources/pod/volume/volumes.js.map +1 -1
- package/dist/resources/rbac/cluster-role-binding.d.ts +17 -0
- package/dist/resources/rbac/cluster-role-binding.d.ts.map +1 -0
- package/dist/resources/rbac/cluster-role-binding.js +32 -0
- package/dist/resources/rbac/cluster-role-binding.js.map +1 -0
- package/dist/resources/rbac/cluster-role.d.ts +28 -0
- package/dist/resources/rbac/cluster-role.d.ts.map +1 -0
- package/dist/resources/rbac/cluster-role.js +46 -0
- package/dist/resources/rbac/cluster-role.js.map +1 -0
- package/dist/resources/rbac/service-account.d.ts +11 -0
- package/dist/resources/rbac/service-account.d.ts.map +1 -0
- package/dist/resources/rbac/service-account.js +21 -0
- package/dist/resources/rbac/service-account.js.map +1 -0
- package/dist/resources/secret/index.d.ts +1 -3
- package/dist/resources/secret/index.d.ts.map +1 -1
- package/dist/resources/secret/index.js +4 -25
- package/dist/resources/secret/index.js.map +1 -1
- package/dist/resources/secret/secret.d.ts +8 -4
- package/dist/resources/secret/secret.d.ts.map +1 -1
- package/dist/resources/secret/secret.js +12 -65
- package/dist/resources/secret/secret.js.map +1 -1
- package/dist/resources/service/service-port.d.ts +12 -15
- package/dist/resources/service/service-port.d.ts.map +1 -1
- package/dist/resources/service/service-port.js +21 -24
- package/dist/resources/service/service-port.js.map +1 -1
- package/dist/resources/service/service.d.ts +33 -27
- package/dist/resources/service/service.d.ts.map +1 -1
- package/dist/resources/service/service.js +63 -123
- package/dist/resources/service/service.js.map +1 -1
- package/dist/resources/utils/adapters.d.ts +3 -3
- package/dist/resources/utils/adapters.d.ts.map +1 -1
- package/dist/resources/utils/adapters.js +5 -4
- package/dist/resources/utils/adapters.js.map +1 -1
- package/dist/runner/exporter/assembler.d.ts +5 -6
- package/dist/runner/exporter/assembler.d.ts.map +1 -1
- package/dist/runner/exporter/assembler.js +4 -3
- package/dist/runner/exporter/assembler.js.map +1 -1
- package/dist/runner/exporter/loader.d.ts +3 -5
- package/dist/runner/exporter/loader.d.ts.map +1 -1
- package/dist/runner/exporter/loader.js +18 -31
- package/dist/runner/exporter/loader.js.map +1 -1
- package/dist/runner/exporter/manifester.d.ts +5 -5
- package/dist/runner/exporter/manifester.d.ts.map +1 -1
- package/dist/runner/exporter/manifester.js +11 -3
- package/dist/runner/exporter/manifester.js.map +1 -1
- package/dist/runner/exporter/meta.d.ts +1 -1
- package/dist/runner/exporter/meta.d.ts.map +1 -1
- package/dist/runner/exporter/meta.js +0 -2
- package/dist/runner/exporter/meta.js.map +1 -1
- package/dist/runner/exporter/saver.d.ts +2 -2
- package/dist/runner/exporter/saver.d.ts.map +1 -1
- package/dist/runner/exporter/saver.js.map +1 -1
- package/dist/runner/exporter/serializer.d.ts +4 -4
- package/dist/runner/exporter/serializer.d.ts.map +1 -1
- package/dist/runner/exporter/serializer.js +13 -5
- package/dist/runner/exporter/serializer.js.map +1 -1
- package/dist/runner/exporter/validator.d.ts +2 -2
- package/dist/runner/exporter/validator.d.ts.map +1 -1
- package/dist/runner/exporter/validator.js +1 -14
- package/dist/runner/exporter/validator.js.map +1 -1
- package/dist/runner/paths.d.ts.map +1 -0
- package/dist/runner/paths.js.map +1 -0
- package/dist/runner/runner.d.ts +2 -2
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +11 -6
- package/dist/runner/runner.js.map +1 -1
- package/dist/runner/summarizer.d.ts +4 -4
- package/dist/runner/summarizer.d.ts.map +1 -1
- package/dist/runner/summarizer.js +3 -3
- package/dist/runner/summarizer.js.map +1 -1
- package/dist/version.d.ts +2 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -1
- package/dist/version.js.map +1 -1
- package/package.json +12 -18
- package/src/default-world.ts +66 -0
- package/src/env/env.ts +42 -36
- package/src/env/index.ts +1 -1
- package/src/env/types.ts +15 -5
- package/src/index.ts +4 -7
- package/src/kinds/apps.ts +30 -0
- package/src/kinds/batch.ts +18 -0
- package/src/kinds/default.ts +81 -0
- package/src/kinds/gateway.ts +30 -0
- package/src/kinds/index.ts +9 -0
- package/src/kinds/metrics.ts +18 -0
- package/src/kinds/networking.ts +14 -0
- package/src/kinds/rbac.ts +26 -0
- package/src/kinds/storage.ts +18 -0
- package/src/origins/external.ts +14 -0
- package/src/origins/file/file.ts +72 -0
- package/src/origins/file/index.ts +3 -0
- package/src/origins/file/modifier.ts +21 -0
- package/src/origins/file/section.ts +43 -0
- package/src/origins/index.ts +3 -0
- package/src/origins/world.ts +40 -0
- package/src/resources/configmap/configmap.ts +26 -31
- package/src/resources/cronjob/index.ts +33 -43
- package/src/resources/deployment/deployment.ts +85 -76
- package/src/resources/external/index.ts +49 -0
- package/src/resources/http-route/http-route.ts +40 -39
- package/src/resources/index.ts +4 -0
- package/src/resources/namespace/namespace.ts +16 -24
- package/src/resources/persistent/access-mode.ts +6 -6
- package/src/resources/persistent/block-mode.ts +1 -1
- package/src/resources/persistent/claim/pvc.ts +54 -55
- package/src/resources/persistent/volume/parse-backend.ts +2 -2
- package/src/resources/persistent/volume/pv.ts +87 -69
- package/src/resources/pod/container/container.ts +113 -121
- package/src/resources/pod/container/mounts.ts +42 -39
- package/src/resources/pod/pod-template.ts +80 -67
- package/src/resources/pod/volume/devices.ts +41 -42
- package/src/resources/pod/volume/index.ts +2 -3
- package/src/resources/pod/volume/volumes.ts +92 -70
- package/src/resources/rbac/cluster-role-binding.ts +40 -0
- package/src/resources/rbac/cluster-role.ts +99 -0
- package/src/resources/rbac/service-account.ts +25 -0
- package/src/resources/secret/index.ts +1 -3
- package/src/resources/secret/secret.ts +11 -17
- package/src/resources/service/service-port.ts +21 -25
- package/src/resources/service/service.ts +84 -92
- package/src/resources/utils/adapters.ts +4 -3
- package/src/runner/exporter/assembler.ts +9 -9
- package/src/runner/exporter/loader.ts +24 -40
- package/src/runner/exporter/manifester.ts +24 -14
- package/src/runner/exporter/meta.ts +0 -1
- package/src/runner/exporter/saver.ts +3 -2
- package/src/runner/exporter/serializer.ts +20 -7
- package/src/runner/exporter/validator.ts +3 -17
- package/src/runner/runner.ts +17 -12
- package/src/runner/summarizer.ts +9 -9
- package/src/version.ts +2 -1
- package/dist/_imports/_mix.d.ts +0 -4
- package/dist/_imports/_mix.d.ts.map +0 -1
- package/dist/_imports/_mix.js.map +0 -1
- package/dist/_imports/acme.cert-manager.io.d.ts +0 -4832
- package/dist/_imports/acme.cert-manager.io.d.ts.map +0 -1
- package/dist/_imports/acme.cert-manager.io.js +0 -2476
- package/dist/_imports/acme.cert-manager.io.js.map +0 -1
- package/dist/_imports/gateway.networking.k8s.io.d.ts +0 -8786
- package/dist/_imports/gateway.networking.k8s.io.d.ts.map +0 -1
- package/dist/_imports/gateway.networking.k8s.io.js +0 -3668
- package/dist/_imports/gateway.networking.k8s.io.js.map +0 -1
- package/dist/_imports/helm.toolkit.fluxcd.io.d.ts +0 -4894
- package/dist/_imports/helm.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/helm.toolkit.fluxcd.io.js +0 -2430
- package/dist/_imports/helm.toolkit.fluxcd.io.js.map +0 -1
- package/dist/_imports/index.d.ts +0 -3
- package/dist/_imports/index.d.ts.map +0 -1
- package/dist/_imports/index.js +0 -39
- package/dist/_imports/index.js.map +0 -1
- package/dist/_imports/k8s.d.ts +0 -18782
- package/dist/_imports/k8s.d.ts.map +0 -1
- package/dist/_imports/k8s.js +0 -12173
- package/dist/_imports/k8s.js.map +0 -1
- package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts +0 -2367
- package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/kustomize.toolkit.fluxcd.io.js +0 -1285
- package/dist/_imports/kustomize.toolkit.fluxcd.io.js.map +0 -1
- package/dist/_imports/notification.toolkit.fluxcd.io.d.ts +0 -2005
- package/dist/_imports/notification.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/notification.toolkit.fluxcd.io.js +0 -1575
- package/dist/_imports/notification.toolkit.fluxcd.io.js.map +0 -1
- package/dist/_imports/source.toolkit.fluxcd.io.d.ts +0 -4158
- package/dist/_imports/source.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/source.toolkit.fluxcd.io.js +0 -2739
- package/dist/_imports/source.toolkit.fluxcd.io.js.map +0 -1
- package/dist/external/index.d.ts +0 -13
- package/dist/external/index.d.ts.map +0 -1
- package/dist/external/index.js.map +0 -1
- package/dist/file/exports.d.ts +0 -19
- package/dist/file/exports.d.ts.map +0 -1
- package/dist/file/exports.js +0 -53
- package/dist/file/exports.js.map +0 -1
- package/dist/file/factory.d.ts +0 -41
- package/dist/file/factory.d.ts.map +0 -1
- package/dist/file/factory.js +0 -197
- package/dist/file/factory.js.map +0 -1
- package/dist/file/file.d.ts +0 -16
- package/dist/file/file.d.ts.map +0 -1
- package/dist/file/file.js +0 -21
- package/dist/file/file.js.map +0 -1
- package/dist/file/index.d.ts +0 -2
- package/dist/file/index.d.ts.map +0 -1
- package/dist/file/index.js.map +0 -1
- package/dist/file/origin.d.ts +0 -21
- package/dist/file/origin.d.ts.map +0 -1
- package/dist/file/origin.js +0 -27
- package/dist/file/origin.js.map +0 -1
- package/dist/k8ts-sys-kind.d.ts +0 -3
- package/dist/k8ts-sys-kind.d.ts.map +0 -1
- package/dist/k8ts-sys-kind.js +0 -8
- package/dist/k8ts-sys-kind.js.map +0 -1
- package/dist/kind-map.d.ts +0 -12
- package/dist/kind-map.d.ts.map +0 -1
- package/dist/kind-map.js +0 -30
- package/dist/kind-map.js.map +0 -1
- package/dist/kinds.d.ts +0 -115
- package/dist/kinds.d.ts.map +0 -1
- package/dist/kinds.js +0 -95
- package/dist/kinds.js.map +0 -1
- package/dist/meta/k8ts-section.d.ts +0 -3
- package/dist/meta/k8ts-section.d.ts.map +0 -1
- package/dist/meta/k8ts-section.js +0 -10
- package/dist/meta/k8ts-section.js.map +0 -1
- package/dist/node/abs-resource.d.ts +0 -16
- package/dist/node/abs-resource.d.ts.map +0 -1
- package/dist/node/abs-resource.js +0 -79
- package/dist/node/abs-resource.js.map +0 -1
- package/dist/node/dependencies.d.ts +0 -2
- package/dist/node/dependencies.d.ts.map +0 -1
- package/dist/node/dependencies.js +0 -3
- package/dist/node/dependencies.js.map +0 -1
- package/dist/node/equiv-cdk8s.d.ts +0 -9
- package/dist/node/equiv-cdk8s.d.ts.map +0 -1
- package/dist/node/equiv-cdk8s.js +0 -17
- package/dist/node/equiv-cdk8s.js.map +0 -1
- package/dist/node/index.d.ts +0 -5
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.js +0 -12
- package/dist/node/index.js.map +0 -1
- package/dist/node/manifest-resource.d.ts +0 -15
- package/dist/node/manifest-resource.d.ts.map +0 -1
- package/dist/node/manifest-resource.js +0 -20
- package/dist/node/manifest-resource.js.map +0 -1
- package/dist/node/sub-resource.d.ts +0 -8
- package/dist/node/sub-resource.d.ts.map +0 -1
- package/dist/node/sub-resource.js.map +0 -1
- package/dist/node/top-resource.d.ts +0 -7
- package/dist/node/top-resource.d.ts.map +0 -1
- package/dist/node/top-resource.js +0 -8
- package/dist/node/top-resource.js.map +0 -1
- package/dist/paths.d.ts.map +0 -1
- package/dist/paths.js.map +0 -1
- package/dist/resources/persistent/volume/backend.d.ts +0 -19
- package/dist/resources/persistent/volume/backend.d.ts.map +0 -1
- package/dist/resources/persistent/volume/backend.js +0 -3
- package/dist/resources/persistent/volume/backend.js.map +0 -1
- package/dist/resources/service/frontend.d.ts +0 -11
- package/dist/resources/service/frontend.d.ts.map +0 -1
- package/dist/resources/service/frontend.js +0 -3
- package/dist/resources/service/frontend.js.map +0 -1
- package/dist/runner/exporter/trace-embedder.d.ts +0 -2
- package/dist/runner/exporter/trace-embedder.d.ts.map +0 -1
- package/dist/runner/exporter/trace-embedder.js +0 -3
- package/dist/runner/exporter/trace-embedder.js.map +0 -1
- package/dist/world/index.d.ts +0 -2
- package/dist/world/index.d.ts.map +0 -1
- package/dist/world/index.js.map +0 -1
- package/dist/world/world.d.ts +0 -34
- package/dist/world/world.d.ts.map +0 -1
- package/dist/world/world.js +0 -69
- package/dist/world/world.js.map +0 -1
- package/src/_imports/_mix.ts +0 -3
- package/src/_imports/acme.cert-manager.io.ts +0 -8202
- package/src/_imports/gateway.networking.k8s.io.ts +0 -12226
- package/src/_imports/helm.toolkit.fluxcd.io.ts +0 -6748
- package/src/_imports/index.ts +0 -2
- package/src/_imports/k8s.ts +0 -31028
- package/src/_imports/kustomize.toolkit.fluxcd.io.ts +0 -3369
- package/src/_imports/notification.toolkit.fluxcd.io.ts +0 -2848
- package/src/_imports/source.toolkit.fluxcd.io.ts +0 -6054
- package/src/external/index.ts +0 -34
- package/src/file/exports.ts +0 -66
- package/src/file/factory.ts +0 -199
- package/src/file/file.ts +0 -33
- package/src/file/index.ts +0 -1
- package/src/file/origin.ts +0 -41
- package/src/k8ts-sys-kind.ts +0 -4
- package/src/kind-map.ts +0 -42
- package/src/kinds.ts +0 -158
- package/src/meta/k8ts-section.ts +0 -6
- package/src/node/abs-resource.ts +0 -37
- package/src/node/dependencies.ts +0 -0
- package/src/node/equiv-cdk8s.ts +0 -19
- package/src/node/index.ts +0 -4
- package/src/node/manifest-resource.ts +0 -23
- package/src/node/sub-resource.ts +0 -20
- package/src/node/top-resource.ts +0 -7
- package/src/resources/persistent/volume/backend.ts +0 -20
- package/src/resources/service/frontend.ts +0 -11
- package/src/runner/exporter/trace-embedder.ts +0 -0
- package/src/world/index.ts +0 -1
- package/src/world/world.ts +0 -90
- /package/dist/{paths.d.ts → runner/paths.d.ts} +0 -0
- /package/dist/{paths.js → runner/paths.js} +0 -0
- /package/src/{paths.ts → runner/paths.ts} +0 -0
|
@@ -1,2005 +0,0 @@
|
|
|
1
|
-
import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
/**
|
|
4
|
-
* Alert is the Schema for the alerts API
|
|
5
|
-
*
|
|
6
|
-
* @schema Alert
|
|
7
|
-
*/
|
|
8
|
-
export declare class Alert extends ApiObject {
|
|
9
|
-
/**
|
|
10
|
-
* Returns the apiVersion and kind for "Alert"
|
|
11
|
-
*/
|
|
12
|
-
static readonly GVK: GroupVersionKind;
|
|
13
|
-
/**
|
|
14
|
-
* Renders a Kubernetes manifest for "Alert".
|
|
15
|
-
*
|
|
16
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
17
|
-
*
|
|
18
|
-
* @param props initialization props
|
|
19
|
-
*/
|
|
20
|
-
static manifest(props?: AlertProps): any;
|
|
21
|
-
/**
|
|
22
|
-
* Defines a "Alert" API object
|
|
23
|
-
* @param scope the scope in which to define this object
|
|
24
|
-
* @param id a scope-local name for the object
|
|
25
|
-
* @param props initialization props
|
|
26
|
-
*/
|
|
27
|
-
constructor(scope: Construct, id: string, props?: AlertProps);
|
|
28
|
-
/**
|
|
29
|
-
* Renders the object to Kubernetes JSON.
|
|
30
|
-
*/
|
|
31
|
-
toJson(): any;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Alert is the Schema for the alerts API
|
|
35
|
-
*
|
|
36
|
-
* @schema Alert
|
|
37
|
-
*/
|
|
38
|
-
export interface AlertProps {
|
|
39
|
-
/**
|
|
40
|
-
* @schema Alert#metadata
|
|
41
|
-
*/
|
|
42
|
-
readonly metadata?: ApiObjectMetadata;
|
|
43
|
-
/**
|
|
44
|
-
* AlertSpec defines an alerting rule for events involving a list of objects
|
|
45
|
-
*
|
|
46
|
-
* @schema Alert#spec
|
|
47
|
-
*/
|
|
48
|
-
readonly spec?: AlertSpec;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Converts an object of type 'AlertProps' to JSON representation.
|
|
52
|
-
*/
|
|
53
|
-
export declare function toJson_AlertProps(obj: AlertProps | undefined): Record<string, any> | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* AlertSpec defines an alerting rule for events involving a list of objects
|
|
56
|
-
*
|
|
57
|
-
* @schema AlertSpec
|
|
58
|
-
*/
|
|
59
|
-
export interface AlertSpec {
|
|
60
|
-
/**
|
|
61
|
-
* Filter events based on severity, defaults to ('info').
|
|
62
|
-
* If set to 'info' no events will be filtered.
|
|
63
|
-
*
|
|
64
|
-
* @schema AlertSpec#eventSeverity
|
|
65
|
-
*/
|
|
66
|
-
readonly eventSeverity?: AlertSpecEventSeverity;
|
|
67
|
-
/**
|
|
68
|
-
* Filter events based on the involved objects.
|
|
69
|
-
*
|
|
70
|
-
* @schema AlertSpec#eventSources
|
|
71
|
-
*/
|
|
72
|
-
readonly eventSources: AlertSpecEventSources[];
|
|
73
|
-
/**
|
|
74
|
-
* A list of Golang regular expressions to be used for excluding messages.
|
|
75
|
-
*
|
|
76
|
-
* @schema AlertSpec#exclusionList
|
|
77
|
-
*/
|
|
78
|
-
readonly exclusionList?: string[];
|
|
79
|
-
/**
|
|
80
|
-
* Send events using this provider.
|
|
81
|
-
*
|
|
82
|
-
* @schema AlertSpec#providerRef
|
|
83
|
-
*/
|
|
84
|
-
readonly providerRef: AlertSpecProviderRef;
|
|
85
|
-
/**
|
|
86
|
-
* Short description of the impact and affected cluster.
|
|
87
|
-
*
|
|
88
|
-
* @schema AlertSpec#summary
|
|
89
|
-
*/
|
|
90
|
-
readonly summary?: string;
|
|
91
|
-
/**
|
|
92
|
-
* This flag tells the controller to suspend subsequent events dispatching.
|
|
93
|
-
* Defaults to false.
|
|
94
|
-
*
|
|
95
|
-
* @default false.
|
|
96
|
-
* @schema AlertSpec#suspend
|
|
97
|
-
*/
|
|
98
|
-
readonly suspend?: boolean;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Converts an object of type 'AlertSpec' to JSON representation.
|
|
102
|
-
*/
|
|
103
|
-
export declare function toJson_AlertSpec(obj: AlertSpec | undefined): Record<string, any> | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* Filter events based on severity, defaults to ('info').
|
|
106
|
-
* If set to 'info' no events will be filtered.
|
|
107
|
-
*
|
|
108
|
-
* @schema AlertSpecEventSeverity
|
|
109
|
-
*/
|
|
110
|
-
export declare enum AlertSpecEventSeverity {
|
|
111
|
-
/** info */
|
|
112
|
-
INFO = "info",
|
|
113
|
-
/** error */
|
|
114
|
-
ERROR = "error"
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* CrossNamespaceObjectReference contains enough information to let you locate the
|
|
118
|
-
* typed referenced object at cluster level
|
|
119
|
-
*
|
|
120
|
-
* @schema AlertSpecEventSources
|
|
121
|
-
*/
|
|
122
|
-
export interface AlertSpecEventSources {
|
|
123
|
-
/**
|
|
124
|
-
* API version of the referent
|
|
125
|
-
*
|
|
126
|
-
* @schema AlertSpecEventSources#apiVersion
|
|
127
|
-
*/
|
|
128
|
-
readonly apiVersion?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Kind of the referent
|
|
131
|
-
*
|
|
132
|
-
* @schema AlertSpecEventSources#kind
|
|
133
|
-
*/
|
|
134
|
-
readonly kind: AlertSpecEventSourcesKind;
|
|
135
|
-
/**
|
|
136
|
-
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
137
|
-
* map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
138
|
-
* operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
139
|
-
*
|
|
140
|
-
* @schema AlertSpecEventSources#matchLabels
|
|
141
|
-
*/
|
|
142
|
-
readonly matchLabels?: {
|
|
143
|
-
[key: string]: string;
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Name of the referent
|
|
147
|
-
*
|
|
148
|
-
* @schema AlertSpecEventSources#name
|
|
149
|
-
*/
|
|
150
|
-
readonly name: string;
|
|
151
|
-
/**
|
|
152
|
-
* Namespace of the referent
|
|
153
|
-
*
|
|
154
|
-
* @schema AlertSpecEventSources#namespace
|
|
155
|
-
*/
|
|
156
|
-
readonly namespace?: string;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Converts an object of type 'AlertSpecEventSources' to JSON representation.
|
|
160
|
-
*/
|
|
161
|
-
export declare function toJson_AlertSpecEventSources(obj: AlertSpecEventSources | undefined): Record<string, any> | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* Send events using this provider.
|
|
164
|
-
*
|
|
165
|
-
* @schema AlertSpecProviderRef
|
|
166
|
-
*/
|
|
167
|
-
export interface AlertSpecProviderRef {
|
|
168
|
-
/**
|
|
169
|
-
* Name of the referent.
|
|
170
|
-
*
|
|
171
|
-
* @schema AlertSpecProviderRef#name
|
|
172
|
-
*/
|
|
173
|
-
readonly name: string;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Converts an object of type 'AlertSpecProviderRef' to JSON representation.
|
|
177
|
-
*/
|
|
178
|
-
export declare function toJson_AlertSpecProviderRef(obj: AlertSpecProviderRef | undefined): Record<string, any> | undefined;
|
|
179
|
-
/**
|
|
180
|
-
* Kind of the referent
|
|
181
|
-
*
|
|
182
|
-
* @schema AlertSpecEventSourcesKind
|
|
183
|
-
*/
|
|
184
|
-
export declare enum AlertSpecEventSourcesKind {
|
|
185
|
-
/** Bucket */
|
|
186
|
-
BUCKET = "Bucket",
|
|
187
|
-
/** GitRepository */
|
|
188
|
-
GIT_REPOSITORY = "GitRepository",
|
|
189
|
-
/** Kustomization */
|
|
190
|
-
KUSTOMIZATION = "Kustomization",
|
|
191
|
-
/** HelmRelease */
|
|
192
|
-
HELM_RELEASE = "HelmRelease",
|
|
193
|
-
/** HelmChart */
|
|
194
|
-
HELM_CHART = "HelmChart",
|
|
195
|
-
/** HelmRepository */
|
|
196
|
-
HELM_REPOSITORY = "HelmRepository",
|
|
197
|
-
/** ImageRepository */
|
|
198
|
-
IMAGE_REPOSITORY = "ImageRepository",
|
|
199
|
-
/** ImagePolicy */
|
|
200
|
-
IMAGE_POLICY = "ImagePolicy",
|
|
201
|
-
/** ImageUpdateAutomation */
|
|
202
|
-
IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
|
|
203
|
-
/** OCIRepository */
|
|
204
|
-
OCI_REPOSITORY = "OCIRepository"
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Alert is the Schema for the alerts API
|
|
208
|
-
*
|
|
209
|
-
* @schema AlertV1Beta2
|
|
210
|
-
*/
|
|
211
|
-
export declare class AlertV1Beta2 extends ApiObject {
|
|
212
|
-
/**
|
|
213
|
-
* Returns the apiVersion and kind for "AlertV1Beta2"
|
|
214
|
-
*/
|
|
215
|
-
static readonly GVK: GroupVersionKind;
|
|
216
|
-
/**
|
|
217
|
-
* Renders a Kubernetes manifest for "AlertV1Beta2".
|
|
218
|
-
*
|
|
219
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
220
|
-
*
|
|
221
|
-
* @param props initialization props
|
|
222
|
-
*/
|
|
223
|
-
static manifest(props?: AlertV1Beta2Props): any;
|
|
224
|
-
/**
|
|
225
|
-
* Defines a "AlertV1Beta2" API object
|
|
226
|
-
* @param scope the scope in which to define this object
|
|
227
|
-
* @param id a scope-local name for the object
|
|
228
|
-
* @param props initialization props
|
|
229
|
-
*/
|
|
230
|
-
constructor(scope: Construct, id: string, props?: AlertV1Beta2Props);
|
|
231
|
-
/**
|
|
232
|
-
* Renders the object to Kubernetes JSON.
|
|
233
|
-
*/
|
|
234
|
-
toJson(): any;
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Alert is the Schema for the alerts API
|
|
238
|
-
*
|
|
239
|
-
* @schema AlertV1Beta2
|
|
240
|
-
*/
|
|
241
|
-
export interface AlertV1Beta2Props {
|
|
242
|
-
/**
|
|
243
|
-
* @schema AlertV1Beta2#metadata
|
|
244
|
-
*/
|
|
245
|
-
readonly metadata?: ApiObjectMetadata;
|
|
246
|
-
/**
|
|
247
|
-
* AlertSpec defines an alerting rule for events involving a list of objects.
|
|
248
|
-
*
|
|
249
|
-
* @schema AlertV1Beta2#spec
|
|
250
|
-
*/
|
|
251
|
-
readonly spec?: AlertV1Beta2Spec;
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* Converts an object of type 'AlertV1Beta2Props' to JSON representation.
|
|
255
|
-
*/
|
|
256
|
-
export declare function toJson_AlertV1Beta2Props(obj: AlertV1Beta2Props | undefined): Record<string, any> | undefined;
|
|
257
|
-
/**
|
|
258
|
-
* AlertSpec defines an alerting rule for events involving a list of objects.
|
|
259
|
-
*
|
|
260
|
-
* @schema AlertV1Beta2Spec
|
|
261
|
-
*/
|
|
262
|
-
export interface AlertV1Beta2Spec {
|
|
263
|
-
/**
|
|
264
|
-
* EventMetadata is an optional field for adding metadata to events dispatched by the
|
|
265
|
-
* controller. This can be used for enhancing the context of the event. If a field
|
|
266
|
-
* would override one already present on the original event as generated by the emitter,
|
|
267
|
-
* then the override doesn't happen, i.e. the original value is preserved, and an info
|
|
268
|
-
* log is printed.
|
|
269
|
-
*
|
|
270
|
-
* @schema AlertV1Beta2Spec#eventMetadata
|
|
271
|
-
*/
|
|
272
|
-
readonly eventMetadata?: {
|
|
273
|
-
[key: string]: string;
|
|
274
|
-
};
|
|
275
|
-
/**
|
|
276
|
-
* EventSeverity specifies how to filter events based on severity.
|
|
277
|
-
* If set to 'info' no events will be filtered.
|
|
278
|
-
*
|
|
279
|
-
* @schema AlertV1Beta2Spec#eventSeverity
|
|
280
|
-
*/
|
|
281
|
-
readonly eventSeverity?: AlertV1Beta2SpecEventSeverity;
|
|
282
|
-
/**
|
|
283
|
-
* EventSources specifies how to filter events based
|
|
284
|
-
* on the involved object kind, name and namespace.
|
|
285
|
-
*
|
|
286
|
-
* @schema AlertV1Beta2Spec#eventSources
|
|
287
|
-
*/
|
|
288
|
-
readonly eventSources: AlertV1Beta2SpecEventSources[];
|
|
289
|
-
/**
|
|
290
|
-
* ExclusionList specifies a list of Golang regular expressions
|
|
291
|
-
* to be used for excluding messages.
|
|
292
|
-
*
|
|
293
|
-
* @schema AlertV1Beta2Spec#exclusionList
|
|
294
|
-
*/
|
|
295
|
-
readonly exclusionList?: string[];
|
|
296
|
-
/**
|
|
297
|
-
* InclusionList specifies a list of Golang regular expressions
|
|
298
|
-
* to be used for including messages.
|
|
299
|
-
*
|
|
300
|
-
* @schema AlertV1Beta2Spec#inclusionList
|
|
301
|
-
*/
|
|
302
|
-
readonly inclusionList?: string[];
|
|
303
|
-
/**
|
|
304
|
-
* ProviderRef specifies which Provider this Alert should use.
|
|
305
|
-
*
|
|
306
|
-
* @schema AlertV1Beta2Spec#providerRef
|
|
307
|
-
*/
|
|
308
|
-
readonly providerRef: AlertV1Beta2SpecProviderRef;
|
|
309
|
-
/**
|
|
310
|
-
* Summary holds a short description of the impact and affected cluster.
|
|
311
|
-
*
|
|
312
|
-
* @schema AlertV1Beta2Spec#summary
|
|
313
|
-
*/
|
|
314
|
-
readonly summary?: string;
|
|
315
|
-
/**
|
|
316
|
-
* Suspend tells the controller to suspend subsequent
|
|
317
|
-
* events handling for this Alert.
|
|
318
|
-
*
|
|
319
|
-
* @schema AlertV1Beta2Spec#suspend
|
|
320
|
-
*/
|
|
321
|
-
readonly suspend?: boolean;
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Converts an object of type 'AlertV1Beta2Spec' to JSON representation.
|
|
325
|
-
*/
|
|
326
|
-
export declare function toJson_AlertV1Beta2Spec(obj: AlertV1Beta2Spec | undefined): Record<string, any> | undefined;
|
|
327
|
-
/**
|
|
328
|
-
* EventSeverity specifies how to filter events based on severity.
|
|
329
|
-
* If set to 'info' no events will be filtered.
|
|
330
|
-
*
|
|
331
|
-
* @schema AlertV1Beta2SpecEventSeverity
|
|
332
|
-
*/
|
|
333
|
-
export declare enum AlertV1Beta2SpecEventSeverity {
|
|
334
|
-
/** info */
|
|
335
|
-
INFO = "info",
|
|
336
|
-
/** error */
|
|
337
|
-
ERROR = "error"
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* CrossNamespaceObjectReference contains enough information to let you locate the
|
|
341
|
-
* typed referenced object at cluster level
|
|
342
|
-
*
|
|
343
|
-
* @schema AlertV1Beta2SpecEventSources
|
|
344
|
-
*/
|
|
345
|
-
export interface AlertV1Beta2SpecEventSources {
|
|
346
|
-
/**
|
|
347
|
-
* API version of the referent
|
|
348
|
-
*
|
|
349
|
-
* @schema AlertV1Beta2SpecEventSources#apiVersion
|
|
350
|
-
*/
|
|
351
|
-
readonly apiVersion?: string;
|
|
352
|
-
/**
|
|
353
|
-
* Kind of the referent
|
|
354
|
-
*
|
|
355
|
-
* @schema AlertV1Beta2SpecEventSources#kind
|
|
356
|
-
*/
|
|
357
|
-
readonly kind: AlertV1Beta2SpecEventSourcesKind;
|
|
358
|
-
/**
|
|
359
|
-
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
360
|
-
* map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
361
|
-
* operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
362
|
-
* MatchLabels requires the name to be set to `*`.
|
|
363
|
-
*
|
|
364
|
-
* @schema AlertV1Beta2SpecEventSources#matchLabels
|
|
365
|
-
*/
|
|
366
|
-
readonly matchLabels?: {
|
|
367
|
-
[key: string]: string;
|
|
368
|
-
};
|
|
369
|
-
/**
|
|
370
|
-
* Name of the referent
|
|
371
|
-
* If multiple resources are targeted `*` may be set.
|
|
372
|
-
*
|
|
373
|
-
* @schema AlertV1Beta2SpecEventSources#name
|
|
374
|
-
*/
|
|
375
|
-
readonly name: string;
|
|
376
|
-
/**
|
|
377
|
-
* Namespace of the referent
|
|
378
|
-
*
|
|
379
|
-
* @schema AlertV1Beta2SpecEventSources#namespace
|
|
380
|
-
*/
|
|
381
|
-
readonly namespace?: string;
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Converts an object of type 'AlertV1Beta2SpecEventSources' to JSON representation.
|
|
385
|
-
*/
|
|
386
|
-
export declare function toJson_AlertV1Beta2SpecEventSources(obj: AlertV1Beta2SpecEventSources | undefined): Record<string, any> | undefined;
|
|
387
|
-
/**
|
|
388
|
-
* ProviderRef specifies which Provider this Alert should use.
|
|
389
|
-
*
|
|
390
|
-
* @schema AlertV1Beta2SpecProviderRef
|
|
391
|
-
*/
|
|
392
|
-
export interface AlertV1Beta2SpecProviderRef {
|
|
393
|
-
/**
|
|
394
|
-
* Name of the referent.
|
|
395
|
-
*
|
|
396
|
-
* @schema AlertV1Beta2SpecProviderRef#name
|
|
397
|
-
*/
|
|
398
|
-
readonly name: string;
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Converts an object of type 'AlertV1Beta2SpecProviderRef' to JSON representation.
|
|
402
|
-
*/
|
|
403
|
-
export declare function toJson_AlertV1Beta2SpecProviderRef(obj: AlertV1Beta2SpecProviderRef | undefined): Record<string, any> | undefined;
|
|
404
|
-
/**
|
|
405
|
-
* Kind of the referent
|
|
406
|
-
*
|
|
407
|
-
* @schema AlertV1Beta2SpecEventSourcesKind
|
|
408
|
-
*/
|
|
409
|
-
export declare enum AlertV1Beta2SpecEventSourcesKind {
|
|
410
|
-
/** Bucket */
|
|
411
|
-
BUCKET = "Bucket",
|
|
412
|
-
/** GitRepository */
|
|
413
|
-
GIT_REPOSITORY = "GitRepository",
|
|
414
|
-
/** Kustomization */
|
|
415
|
-
KUSTOMIZATION = "Kustomization",
|
|
416
|
-
/** HelmRelease */
|
|
417
|
-
HELM_RELEASE = "HelmRelease",
|
|
418
|
-
/** HelmChart */
|
|
419
|
-
HELM_CHART = "HelmChart",
|
|
420
|
-
/** HelmRepository */
|
|
421
|
-
HELM_REPOSITORY = "HelmRepository",
|
|
422
|
-
/** ImageRepository */
|
|
423
|
-
IMAGE_REPOSITORY = "ImageRepository",
|
|
424
|
-
/** ImagePolicy */
|
|
425
|
-
IMAGE_POLICY = "ImagePolicy",
|
|
426
|
-
/** ImageUpdateAutomation */
|
|
427
|
-
IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
|
|
428
|
-
/** OCIRepository */
|
|
429
|
-
OCI_REPOSITORY = "OCIRepository"
|
|
430
|
-
}
|
|
431
|
-
/**
|
|
432
|
-
* Alert is the Schema for the alerts API
|
|
433
|
-
*
|
|
434
|
-
* @schema AlertV1Beta3
|
|
435
|
-
*/
|
|
436
|
-
export declare class AlertV1Beta3 extends ApiObject {
|
|
437
|
-
/**
|
|
438
|
-
* Returns the apiVersion and kind for "AlertV1Beta3"
|
|
439
|
-
*/
|
|
440
|
-
static readonly GVK: GroupVersionKind;
|
|
441
|
-
/**
|
|
442
|
-
* Renders a Kubernetes manifest for "AlertV1Beta3".
|
|
443
|
-
*
|
|
444
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
445
|
-
*
|
|
446
|
-
* @param props initialization props
|
|
447
|
-
*/
|
|
448
|
-
static manifest(props?: AlertV1Beta3Props): any;
|
|
449
|
-
/**
|
|
450
|
-
* Defines a "AlertV1Beta3" API object
|
|
451
|
-
* @param scope the scope in which to define this object
|
|
452
|
-
* @param id a scope-local name for the object
|
|
453
|
-
* @param props initialization props
|
|
454
|
-
*/
|
|
455
|
-
constructor(scope: Construct, id: string, props?: AlertV1Beta3Props);
|
|
456
|
-
/**
|
|
457
|
-
* Renders the object to Kubernetes JSON.
|
|
458
|
-
*/
|
|
459
|
-
toJson(): any;
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* Alert is the Schema for the alerts API
|
|
463
|
-
*
|
|
464
|
-
* @schema AlertV1Beta3
|
|
465
|
-
*/
|
|
466
|
-
export interface AlertV1Beta3Props {
|
|
467
|
-
/**
|
|
468
|
-
* @schema AlertV1Beta3#metadata
|
|
469
|
-
*/
|
|
470
|
-
readonly metadata?: ApiObjectMetadata;
|
|
471
|
-
/**
|
|
472
|
-
* AlertSpec defines an alerting rule for events involving a list of objects.
|
|
473
|
-
*
|
|
474
|
-
* @schema AlertV1Beta3#spec
|
|
475
|
-
*/
|
|
476
|
-
readonly spec?: AlertV1Beta3Spec;
|
|
477
|
-
}
|
|
478
|
-
/**
|
|
479
|
-
* Converts an object of type 'AlertV1Beta3Props' to JSON representation.
|
|
480
|
-
*/
|
|
481
|
-
export declare function toJson_AlertV1Beta3Props(obj: AlertV1Beta3Props | undefined): Record<string, any> | undefined;
|
|
482
|
-
/**
|
|
483
|
-
* AlertSpec defines an alerting rule for events involving a list of objects.
|
|
484
|
-
*
|
|
485
|
-
* @schema AlertV1Beta3Spec
|
|
486
|
-
*/
|
|
487
|
-
export interface AlertV1Beta3Spec {
|
|
488
|
-
/**
|
|
489
|
-
* EventMetadata is an optional field for adding metadata to events dispatched by the
|
|
490
|
-
* controller. This can be used for enhancing the context of the event. If a field
|
|
491
|
-
* would override one already present on the original event as generated by the emitter,
|
|
492
|
-
* then the override doesn't happen, i.e. the original value is preserved, and an info
|
|
493
|
-
* log is printed.
|
|
494
|
-
*
|
|
495
|
-
* @schema AlertV1Beta3Spec#eventMetadata
|
|
496
|
-
*/
|
|
497
|
-
readonly eventMetadata?: {
|
|
498
|
-
[key: string]: string;
|
|
499
|
-
};
|
|
500
|
-
/**
|
|
501
|
-
* EventSeverity specifies how to filter events based on severity.
|
|
502
|
-
* If set to 'info' no events will be filtered.
|
|
503
|
-
*
|
|
504
|
-
* @schema AlertV1Beta3Spec#eventSeverity
|
|
505
|
-
*/
|
|
506
|
-
readonly eventSeverity?: AlertV1Beta3SpecEventSeverity;
|
|
507
|
-
/**
|
|
508
|
-
* EventSources specifies how to filter events based
|
|
509
|
-
* on the involved object kind, name and namespace.
|
|
510
|
-
*
|
|
511
|
-
* @schema AlertV1Beta3Spec#eventSources
|
|
512
|
-
*/
|
|
513
|
-
readonly eventSources: AlertV1Beta3SpecEventSources[];
|
|
514
|
-
/**
|
|
515
|
-
* ExclusionList specifies a list of Golang regular expressions
|
|
516
|
-
* to be used for excluding messages.
|
|
517
|
-
*
|
|
518
|
-
* @schema AlertV1Beta3Spec#exclusionList
|
|
519
|
-
*/
|
|
520
|
-
readonly exclusionList?: string[];
|
|
521
|
-
/**
|
|
522
|
-
* InclusionList specifies a list of Golang regular expressions
|
|
523
|
-
* to be used for including messages.
|
|
524
|
-
*
|
|
525
|
-
* @schema AlertV1Beta3Spec#inclusionList
|
|
526
|
-
*/
|
|
527
|
-
readonly inclusionList?: string[];
|
|
528
|
-
/**
|
|
529
|
-
* ProviderRef specifies which Provider this Alert should use.
|
|
530
|
-
*
|
|
531
|
-
* @schema AlertV1Beta3Spec#providerRef
|
|
532
|
-
*/
|
|
533
|
-
readonly providerRef: AlertV1Beta3SpecProviderRef;
|
|
534
|
-
/**
|
|
535
|
-
* Summary holds a short description of the impact and affected cluster.
|
|
536
|
-
* Deprecated: Use EventMetadata instead.
|
|
537
|
-
*
|
|
538
|
-
* @schema AlertV1Beta3Spec#summary
|
|
539
|
-
*/
|
|
540
|
-
readonly summary?: string;
|
|
541
|
-
/**
|
|
542
|
-
* Suspend tells the controller to suspend subsequent
|
|
543
|
-
* events handling for this Alert.
|
|
544
|
-
*
|
|
545
|
-
* @schema AlertV1Beta3Spec#suspend
|
|
546
|
-
*/
|
|
547
|
-
readonly suspend?: boolean;
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* Converts an object of type 'AlertV1Beta3Spec' to JSON representation.
|
|
551
|
-
*/
|
|
552
|
-
export declare function toJson_AlertV1Beta3Spec(obj: AlertV1Beta3Spec | undefined): Record<string, any> | undefined;
|
|
553
|
-
/**
|
|
554
|
-
* EventSeverity specifies how to filter events based on severity.
|
|
555
|
-
* If set to 'info' no events will be filtered.
|
|
556
|
-
*
|
|
557
|
-
* @schema AlertV1Beta3SpecEventSeverity
|
|
558
|
-
*/
|
|
559
|
-
export declare enum AlertV1Beta3SpecEventSeverity {
|
|
560
|
-
/** info */
|
|
561
|
-
INFO = "info",
|
|
562
|
-
/** error */
|
|
563
|
-
ERROR = "error"
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* CrossNamespaceObjectReference contains enough information to let you locate the
|
|
567
|
-
* typed referenced object at cluster level
|
|
568
|
-
*
|
|
569
|
-
* @schema AlertV1Beta3SpecEventSources
|
|
570
|
-
*/
|
|
571
|
-
export interface AlertV1Beta3SpecEventSources {
|
|
572
|
-
/**
|
|
573
|
-
* API version of the referent
|
|
574
|
-
*
|
|
575
|
-
* @schema AlertV1Beta3SpecEventSources#apiVersion
|
|
576
|
-
*/
|
|
577
|
-
readonly apiVersion?: string;
|
|
578
|
-
/**
|
|
579
|
-
* Kind of the referent
|
|
580
|
-
*
|
|
581
|
-
* @schema AlertV1Beta3SpecEventSources#kind
|
|
582
|
-
*/
|
|
583
|
-
readonly kind: AlertV1Beta3SpecEventSourcesKind;
|
|
584
|
-
/**
|
|
585
|
-
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
586
|
-
* map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
587
|
-
* operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
588
|
-
* MatchLabels requires the name to be set to `*`.
|
|
589
|
-
*
|
|
590
|
-
* @schema AlertV1Beta3SpecEventSources#matchLabels
|
|
591
|
-
*/
|
|
592
|
-
readonly matchLabels?: {
|
|
593
|
-
[key: string]: string;
|
|
594
|
-
};
|
|
595
|
-
/**
|
|
596
|
-
* Name of the referent
|
|
597
|
-
* If multiple resources are targeted `*` may be set.
|
|
598
|
-
*
|
|
599
|
-
* @schema AlertV1Beta3SpecEventSources#name
|
|
600
|
-
*/
|
|
601
|
-
readonly name: string;
|
|
602
|
-
/**
|
|
603
|
-
* Namespace of the referent
|
|
604
|
-
*
|
|
605
|
-
* @schema AlertV1Beta3SpecEventSources#namespace
|
|
606
|
-
*/
|
|
607
|
-
readonly namespace?: string;
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* Converts an object of type 'AlertV1Beta3SpecEventSources' to JSON representation.
|
|
611
|
-
*/
|
|
612
|
-
export declare function toJson_AlertV1Beta3SpecEventSources(obj: AlertV1Beta3SpecEventSources | undefined): Record<string, any> | undefined;
|
|
613
|
-
/**
|
|
614
|
-
* ProviderRef specifies which Provider this Alert should use.
|
|
615
|
-
*
|
|
616
|
-
* @schema AlertV1Beta3SpecProviderRef
|
|
617
|
-
*/
|
|
618
|
-
export interface AlertV1Beta3SpecProviderRef {
|
|
619
|
-
/**
|
|
620
|
-
* Name of the referent.
|
|
621
|
-
*
|
|
622
|
-
* @schema AlertV1Beta3SpecProviderRef#name
|
|
623
|
-
*/
|
|
624
|
-
readonly name: string;
|
|
625
|
-
}
|
|
626
|
-
/**
|
|
627
|
-
* Converts an object of type 'AlertV1Beta3SpecProviderRef' to JSON representation.
|
|
628
|
-
*/
|
|
629
|
-
export declare function toJson_AlertV1Beta3SpecProviderRef(obj: AlertV1Beta3SpecProviderRef | undefined): Record<string, any> | undefined;
|
|
630
|
-
/**
|
|
631
|
-
* Kind of the referent
|
|
632
|
-
*
|
|
633
|
-
* @schema AlertV1Beta3SpecEventSourcesKind
|
|
634
|
-
*/
|
|
635
|
-
export declare enum AlertV1Beta3SpecEventSourcesKind {
|
|
636
|
-
/** Bucket */
|
|
637
|
-
BUCKET = "Bucket",
|
|
638
|
-
/** GitRepository */
|
|
639
|
-
GIT_REPOSITORY = "GitRepository",
|
|
640
|
-
/** Kustomization */
|
|
641
|
-
KUSTOMIZATION = "Kustomization",
|
|
642
|
-
/** HelmRelease */
|
|
643
|
-
HELM_RELEASE = "HelmRelease",
|
|
644
|
-
/** HelmChart */
|
|
645
|
-
HELM_CHART = "HelmChart",
|
|
646
|
-
/** HelmRepository */
|
|
647
|
-
HELM_REPOSITORY = "HelmRepository",
|
|
648
|
-
/** ImageRepository */
|
|
649
|
-
IMAGE_REPOSITORY = "ImageRepository",
|
|
650
|
-
/** ImagePolicy */
|
|
651
|
-
IMAGE_POLICY = "ImagePolicy",
|
|
652
|
-
/** ImageUpdateAutomation */
|
|
653
|
-
IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
|
|
654
|
-
/** OCIRepository */
|
|
655
|
-
OCI_REPOSITORY = "OCIRepository"
|
|
656
|
-
}
|
|
657
|
-
/**
|
|
658
|
-
* Provider is the Schema for the providers API
|
|
659
|
-
*
|
|
660
|
-
* @schema Provider
|
|
661
|
-
*/
|
|
662
|
-
export declare class Provider extends ApiObject {
|
|
663
|
-
/**
|
|
664
|
-
* Returns the apiVersion and kind for "Provider"
|
|
665
|
-
*/
|
|
666
|
-
static readonly GVK: GroupVersionKind;
|
|
667
|
-
/**
|
|
668
|
-
* Renders a Kubernetes manifest for "Provider".
|
|
669
|
-
*
|
|
670
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
671
|
-
*
|
|
672
|
-
* @param props initialization props
|
|
673
|
-
*/
|
|
674
|
-
static manifest(props?: ProviderProps): any;
|
|
675
|
-
/**
|
|
676
|
-
* Defines a "Provider" API object
|
|
677
|
-
* @param scope the scope in which to define this object
|
|
678
|
-
* @param id a scope-local name for the object
|
|
679
|
-
* @param props initialization props
|
|
680
|
-
*/
|
|
681
|
-
constructor(scope: Construct, id: string, props?: ProviderProps);
|
|
682
|
-
/**
|
|
683
|
-
* Renders the object to Kubernetes JSON.
|
|
684
|
-
*/
|
|
685
|
-
toJson(): any;
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* Provider is the Schema for the providers API
|
|
689
|
-
*
|
|
690
|
-
* @schema Provider
|
|
691
|
-
*/
|
|
692
|
-
export interface ProviderProps {
|
|
693
|
-
/**
|
|
694
|
-
* @schema Provider#metadata
|
|
695
|
-
*/
|
|
696
|
-
readonly metadata?: ApiObjectMetadata;
|
|
697
|
-
/**
|
|
698
|
-
* ProviderSpec defines the desired state of Provider
|
|
699
|
-
*
|
|
700
|
-
* @schema Provider#spec
|
|
701
|
-
*/
|
|
702
|
-
readonly spec?: ProviderSpec;
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* Converts an object of type 'ProviderProps' to JSON representation.
|
|
706
|
-
*/
|
|
707
|
-
export declare function toJson_ProviderProps(obj: ProviderProps | undefined): Record<string, any> | undefined;
|
|
708
|
-
/**
|
|
709
|
-
* ProviderSpec defines the desired state of Provider
|
|
710
|
-
*
|
|
711
|
-
* @schema ProviderSpec
|
|
712
|
-
*/
|
|
713
|
-
export interface ProviderSpec {
|
|
714
|
-
/**
|
|
715
|
-
* HTTP/S webhook address of this provider
|
|
716
|
-
*
|
|
717
|
-
* @schema ProviderSpec#address
|
|
718
|
-
*/
|
|
719
|
-
readonly address?: string;
|
|
720
|
-
/**
|
|
721
|
-
* CertSecretRef can be given the name of a secret containing
|
|
722
|
-
* a PEM-encoded CA certificate (`caFile`)
|
|
723
|
-
*
|
|
724
|
-
* @schema ProviderSpec#certSecretRef
|
|
725
|
-
*/
|
|
726
|
-
readonly certSecretRef?: ProviderSpecCertSecretRef;
|
|
727
|
-
/**
|
|
728
|
-
* Alert channel for this provider
|
|
729
|
-
*
|
|
730
|
-
* @schema ProviderSpec#channel
|
|
731
|
-
*/
|
|
732
|
-
readonly channel?: string;
|
|
733
|
-
/**
|
|
734
|
-
* HTTP/S address of the proxy
|
|
735
|
-
*
|
|
736
|
-
* @schema ProviderSpec#proxy
|
|
737
|
-
*/
|
|
738
|
-
readonly proxy?: string;
|
|
739
|
-
/**
|
|
740
|
-
* Secret reference containing the provider webhook URL
|
|
741
|
-
* using "address" as data key
|
|
742
|
-
*
|
|
743
|
-
* @schema ProviderSpec#secretRef
|
|
744
|
-
*/
|
|
745
|
-
readonly secretRef?: ProviderSpecSecretRef;
|
|
746
|
-
/**
|
|
747
|
-
* This flag tells the controller to suspend subsequent events handling.
|
|
748
|
-
* Defaults to false.
|
|
749
|
-
*
|
|
750
|
-
* @default false.
|
|
751
|
-
* @schema ProviderSpec#suspend
|
|
752
|
-
*/
|
|
753
|
-
readonly suspend?: boolean;
|
|
754
|
-
/**
|
|
755
|
-
* Timeout for sending alerts to the provider.
|
|
756
|
-
*
|
|
757
|
-
* @schema ProviderSpec#timeout
|
|
758
|
-
*/
|
|
759
|
-
readonly timeout?: string;
|
|
760
|
-
/**
|
|
761
|
-
* Type of provider
|
|
762
|
-
*
|
|
763
|
-
* @schema ProviderSpec#type
|
|
764
|
-
*/
|
|
765
|
-
readonly type: ProviderSpecType;
|
|
766
|
-
/**
|
|
767
|
-
* Bot username for this provider
|
|
768
|
-
*
|
|
769
|
-
* @schema ProviderSpec#username
|
|
770
|
-
*/
|
|
771
|
-
readonly username?: string;
|
|
772
|
-
}
|
|
773
|
-
/**
|
|
774
|
-
* Converts an object of type 'ProviderSpec' to JSON representation.
|
|
775
|
-
*/
|
|
776
|
-
export declare function toJson_ProviderSpec(obj: ProviderSpec | undefined): Record<string, any> | undefined;
|
|
777
|
-
/**
|
|
778
|
-
* CertSecretRef can be given the name of a secret containing
|
|
779
|
-
* a PEM-encoded CA certificate (`caFile`)
|
|
780
|
-
*
|
|
781
|
-
* @schema ProviderSpecCertSecretRef
|
|
782
|
-
*/
|
|
783
|
-
export interface ProviderSpecCertSecretRef {
|
|
784
|
-
/**
|
|
785
|
-
* Name of the referent.
|
|
786
|
-
*
|
|
787
|
-
* @schema ProviderSpecCertSecretRef#name
|
|
788
|
-
*/
|
|
789
|
-
readonly name: string;
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* Converts an object of type 'ProviderSpecCertSecretRef' to JSON representation.
|
|
793
|
-
*/
|
|
794
|
-
export declare function toJson_ProviderSpecCertSecretRef(obj: ProviderSpecCertSecretRef | undefined): Record<string, any> | undefined;
|
|
795
|
-
/**
|
|
796
|
-
* Secret reference containing the provider webhook URL
|
|
797
|
-
* using "address" as data key
|
|
798
|
-
*
|
|
799
|
-
* @schema ProviderSpecSecretRef
|
|
800
|
-
*/
|
|
801
|
-
export interface ProviderSpecSecretRef {
|
|
802
|
-
/**
|
|
803
|
-
* Name of the referent.
|
|
804
|
-
*
|
|
805
|
-
* @schema ProviderSpecSecretRef#name
|
|
806
|
-
*/
|
|
807
|
-
readonly name: string;
|
|
808
|
-
}
|
|
809
|
-
/**
|
|
810
|
-
* Converts an object of type 'ProviderSpecSecretRef' to JSON representation.
|
|
811
|
-
*/
|
|
812
|
-
export declare function toJson_ProviderSpecSecretRef(obj: ProviderSpecSecretRef | undefined): Record<string, any> | undefined;
|
|
813
|
-
/**
|
|
814
|
-
* Type of provider
|
|
815
|
-
*
|
|
816
|
-
* @schema ProviderSpecType
|
|
817
|
-
*/
|
|
818
|
-
export declare enum ProviderSpecType {
|
|
819
|
-
/** slack */
|
|
820
|
-
SLACK = "slack",
|
|
821
|
-
/** discord */
|
|
822
|
-
DISCORD = "discord",
|
|
823
|
-
/** msteams */
|
|
824
|
-
MSTEAMS = "msteams",
|
|
825
|
-
/** rocket */
|
|
826
|
-
ROCKET = "rocket",
|
|
827
|
-
/** generic */
|
|
828
|
-
GENERIC = "generic",
|
|
829
|
-
/** generic-hmac */
|
|
830
|
-
GENERIC_HYPHEN_HMAC = "generic-hmac",
|
|
831
|
-
/** github */
|
|
832
|
-
GITHUB = "github",
|
|
833
|
-
/** gitlab */
|
|
834
|
-
GITLAB = "gitlab",
|
|
835
|
-
/** bitbucket */
|
|
836
|
-
BITBUCKET = "bitbucket",
|
|
837
|
-
/** azuredevops */
|
|
838
|
-
AZUREDEVOPS = "azuredevops",
|
|
839
|
-
/** googlechat */
|
|
840
|
-
GOOGLECHAT = "googlechat",
|
|
841
|
-
/** webex */
|
|
842
|
-
WEBEX = "webex",
|
|
843
|
-
/** sentry */
|
|
844
|
-
SENTRY = "sentry",
|
|
845
|
-
/** azureeventhub */
|
|
846
|
-
AZUREEVENTHUB = "azureeventhub",
|
|
847
|
-
/** telegram */
|
|
848
|
-
TELEGRAM = "telegram",
|
|
849
|
-
/** lark */
|
|
850
|
-
LARK = "lark",
|
|
851
|
-
/** matrix */
|
|
852
|
-
MATRIX = "matrix",
|
|
853
|
-
/** opsgenie */
|
|
854
|
-
OPSGENIE = "opsgenie",
|
|
855
|
-
/** alertmanager */
|
|
856
|
-
ALERTMANAGER = "alertmanager",
|
|
857
|
-
/** grafana */
|
|
858
|
-
GRAFANA = "grafana",
|
|
859
|
-
/** githubdispatch */
|
|
860
|
-
GITHUBDISPATCH = "githubdispatch"
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* Provider is the Schema for the providers API.
|
|
864
|
-
*
|
|
865
|
-
* @schema ProviderV1Beta2
|
|
866
|
-
*/
|
|
867
|
-
export declare class ProviderV1Beta2 extends ApiObject {
|
|
868
|
-
/**
|
|
869
|
-
* Returns the apiVersion and kind for "ProviderV1Beta2"
|
|
870
|
-
*/
|
|
871
|
-
static readonly GVK: GroupVersionKind;
|
|
872
|
-
/**
|
|
873
|
-
* Renders a Kubernetes manifest for "ProviderV1Beta2".
|
|
874
|
-
*
|
|
875
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
876
|
-
*
|
|
877
|
-
* @param props initialization props
|
|
878
|
-
*/
|
|
879
|
-
static manifest(props?: ProviderV1Beta2Props): any;
|
|
880
|
-
/**
|
|
881
|
-
* Defines a "ProviderV1Beta2" API object
|
|
882
|
-
* @param scope the scope in which to define this object
|
|
883
|
-
* @param id a scope-local name for the object
|
|
884
|
-
* @param props initialization props
|
|
885
|
-
*/
|
|
886
|
-
constructor(scope: Construct, id: string, props?: ProviderV1Beta2Props);
|
|
887
|
-
/**
|
|
888
|
-
* Renders the object to Kubernetes JSON.
|
|
889
|
-
*/
|
|
890
|
-
toJson(): any;
|
|
891
|
-
}
|
|
892
|
-
/**
|
|
893
|
-
* Provider is the Schema for the providers API.
|
|
894
|
-
*
|
|
895
|
-
* @schema ProviderV1Beta2
|
|
896
|
-
*/
|
|
897
|
-
export interface ProviderV1Beta2Props {
|
|
898
|
-
/**
|
|
899
|
-
* @schema ProviderV1Beta2#metadata
|
|
900
|
-
*/
|
|
901
|
-
readonly metadata?: ApiObjectMetadata;
|
|
902
|
-
/**
|
|
903
|
-
* ProviderSpec defines the desired state of the Provider.
|
|
904
|
-
*
|
|
905
|
-
* @schema ProviderV1Beta2#spec
|
|
906
|
-
*/
|
|
907
|
-
readonly spec?: ProviderV1Beta2Spec;
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* Converts an object of type 'ProviderV1Beta2Props' to JSON representation.
|
|
911
|
-
*/
|
|
912
|
-
export declare function toJson_ProviderV1Beta2Props(obj: ProviderV1Beta2Props | undefined): Record<string, any> | undefined;
|
|
913
|
-
/**
|
|
914
|
-
* ProviderSpec defines the desired state of the Provider.
|
|
915
|
-
*
|
|
916
|
-
* @schema ProviderV1Beta2Spec
|
|
917
|
-
*/
|
|
918
|
-
export interface ProviderV1Beta2Spec {
|
|
919
|
-
/**
|
|
920
|
-
* Address specifies the endpoint, in a generic sense, to where alerts are sent.
|
|
921
|
-
* What kind of endpoint depends on the specific Provider type being used.
|
|
922
|
-
* For the generic Provider, for example, this is an HTTP/S address.
|
|
923
|
-
* For other Provider types this could be a project ID or a namespace.
|
|
924
|
-
*
|
|
925
|
-
* @schema ProviderV1Beta2Spec#address
|
|
926
|
-
*/
|
|
927
|
-
readonly address?: string;
|
|
928
|
-
/**
|
|
929
|
-
* CertSecretRef specifies the Secret containing
|
|
930
|
-
* a PEM-encoded CA certificate (in the `ca.crt` key).
|
|
931
|
-
*
|
|
932
|
-
* Note: Support for the `caFile` key has
|
|
933
|
-
* been deprecated.
|
|
934
|
-
*
|
|
935
|
-
* @schema ProviderV1Beta2Spec#certSecretRef
|
|
936
|
-
*/
|
|
937
|
-
readonly certSecretRef?: ProviderV1Beta2SpecCertSecretRef;
|
|
938
|
-
/**
|
|
939
|
-
* Channel specifies the destination channel where events should be posted.
|
|
940
|
-
*
|
|
941
|
-
* @schema ProviderV1Beta2Spec#channel
|
|
942
|
-
*/
|
|
943
|
-
readonly channel?: string;
|
|
944
|
-
/**
|
|
945
|
-
* Interval at which to reconcile the Provider with its Secret references.
|
|
946
|
-
*
|
|
947
|
-
* @schema ProviderV1Beta2Spec#interval
|
|
948
|
-
*/
|
|
949
|
-
readonly interval?: string;
|
|
950
|
-
/**
|
|
951
|
-
* Proxy the HTTP/S address of the proxy server.
|
|
952
|
-
*
|
|
953
|
-
* @schema ProviderV1Beta2Spec#proxy
|
|
954
|
-
*/
|
|
955
|
-
readonly proxy?: string;
|
|
956
|
-
/**
|
|
957
|
-
* SecretRef specifies the Secret containing the authentication
|
|
958
|
-
* credentials for this Provider.
|
|
959
|
-
*
|
|
960
|
-
* @schema ProviderV1Beta2Spec#secretRef
|
|
961
|
-
*/
|
|
962
|
-
readonly secretRef?: ProviderV1Beta2SpecSecretRef;
|
|
963
|
-
/**
|
|
964
|
-
* Suspend tells the controller to suspend subsequent
|
|
965
|
-
* events handling for this Provider.
|
|
966
|
-
*
|
|
967
|
-
* @schema ProviderV1Beta2Spec#suspend
|
|
968
|
-
*/
|
|
969
|
-
readonly suspend?: boolean;
|
|
970
|
-
/**
|
|
971
|
-
* Timeout for sending alerts to the Provider.
|
|
972
|
-
*
|
|
973
|
-
* @schema ProviderV1Beta2Spec#timeout
|
|
974
|
-
*/
|
|
975
|
-
readonly timeout?: string;
|
|
976
|
-
/**
|
|
977
|
-
* Type specifies which Provider implementation to use.
|
|
978
|
-
*
|
|
979
|
-
* @schema ProviderV1Beta2Spec#type
|
|
980
|
-
*/
|
|
981
|
-
readonly type: ProviderV1Beta2SpecType;
|
|
982
|
-
/**
|
|
983
|
-
* Username specifies the name under which events are posted.
|
|
984
|
-
*
|
|
985
|
-
* @schema ProviderV1Beta2Spec#username
|
|
986
|
-
*/
|
|
987
|
-
readonly username?: string;
|
|
988
|
-
}
|
|
989
|
-
/**
|
|
990
|
-
* Converts an object of type 'ProviderV1Beta2Spec' to JSON representation.
|
|
991
|
-
*/
|
|
992
|
-
export declare function toJson_ProviderV1Beta2Spec(obj: ProviderV1Beta2Spec | undefined): Record<string, any> | undefined;
|
|
993
|
-
/**
|
|
994
|
-
* CertSecretRef specifies the Secret containing
|
|
995
|
-
* a PEM-encoded CA certificate (in the `ca.crt` key).
|
|
996
|
-
*
|
|
997
|
-
* Note: Support for the `caFile` key has
|
|
998
|
-
* been deprecated.
|
|
999
|
-
*
|
|
1000
|
-
* @schema ProviderV1Beta2SpecCertSecretRef
|
|
1001
|
-
*/
|
|
1002
|
-
export interface ProviderV1Beta2SpecCertSecretRef {
|
|
1003
|
-
/**
|
|
1004
|
-
* Name of the referent.
|
|
1005
|
-
*
|
|
1006
|
-
* @schema ProviderV1Beta2SpecCertSecretRef#name
|
|
1007
|
-
*/
|
|
1008
|
-
readonly name: string;
|
|
1009
|
-
}
|
|
1010
|
-
/**
|
|
1011
|
-
* Converts an object of type 'ProviderV1Beta2SpecCertSecretRef' to JSON representation.
|
|
1012
|
-
*/
|
|
1013
|
-
export declare function toJson_ProviderV1Beta2SpecCertSecretRef(obj: ProviderV1Beta2SpecCertSecretRef | undefined): Record<string, any> | undefined;
|
|
1014
|
-
/**
|
|
1015
|
-
* SecretRef specifies the Secret containing the authentication
|
|
1016
|
-
* credentials for this Provider.
|
|
1017
|
-
*
|
|
1018
|
-
* @schema ProviderV1Beta2SpecSecretRef
|
|
1019
|
-
*/
|
|
1020
|
-
export interface ProviderV1Beta2SpecSecretRef {
|
|
1021
|
-
/**
|
|
1022
|
-
* Name of the referent.
|
|
1023
|
-
*
|
|
1024
|
-
* @schema ProviderV1Beta2SpecSecretRef#name
|
|
1025
|
-
*/
|
|
1026
|
-
readonly name: string;
|
|
1027
|
-
}
|
|
1028
|
-
/**
|
|
1029
|
-
* Converts an object of type 'ProviderV1Beta2SpecSecretRef' to JSON representation.
|
|
1030
|
-
*/
|
|
1031
|
-
export declare function toJson_ProviderV1Beta2SpecSecretRef(obj: ProviderV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
|
|
1032
|
-
/**
|
|
1033
|
-
* Type specifies which Provider implementation to use.
|
|
1034
|
-
*
|
|
1035
|
-
* @schema ProviderV1Beta2SpecType
|
|
1036
|
-
*/
|
|
1037
|
-
export declare enum ProviderV1Beta2SpecType {
|
|
1038
|
-
/** slack */
|
|
1039
|
-
SLACK = "slack",
|
|
1040
|
-
/** discord */
|
|
1041
|
-
DISCORD = "discord",
|
|
1042
|
-
/** msteams */
|
|
1043
|
-
MSTEAMS = "msteams",
|
|
1044
|
-
/** rocket */
|
|
1045
|
-
ROCKET = "rocket",
|
|
1046
|
-
/** generic */
|
|
1047
|
-
GENERIC = "generic",
|
|
1048
|
-
/** generic-hmac */
|
|
1049
|
-
GENERIC_HYPHEN_HMAC = "generic-hmac",
|
|
1050
|
-
/** github */
|
|
1051
|
-
GITHUB = "github",
|
|
1052
|
-
/** gitlab */
|
|
1053
|
-
GITLAB = "gitlab",
|
|
1054
|
-
/** gitea */
|
|
1055
|
-
GITEA = "gitea",
|
|
1056
|
-
/** bitbucketserver */
|
|
1057
|
-
BITBUCKETSERVER = "bitbucketserver",
|
|
1058
|
-
/** bitbucket */
|
|
1059
|
-
BITBUCKET = "bitbucket",
|
|
1060
|
-
/** azuredevops */
|
|
1061
|
-
AZUREDEVOPS = "azuredevops",
|
|
1062
|
-
/** googlechat */
|
|
1063
|
-
GOOGLECHAT = "googlechat",
|
|
1064
|
-
/** googlepubsub */
|
|
1065
|
-
GOOGLEPUBSUB = "googlepubsub",
|
|
1066
|
-
/** webex */
|
|
1067
|
-
WEBEX = "webex",
|
|
1068
|
-
/** sentry */
|
|
1069
|
-
SENTRY = "sentry",
|
|
1070
|
-
/** azureeventhub */
|
|
1071
|
-
AZUREEVENTHUB = "azureeventhub",
|
|
1072
|
-
/** telegram */
|
|
1073
|
-
TELEGRAM = "telegram",
|
|
1074
|
-
/** lark */
|
|
1075
|
-
LARK = "lark",
|
|
1076
|
-
/** matrix */
|
|
1077
|
-
MATRIX = "matrix",
|
|
1078
|
-
/** opsgenie */
|
|
1079
|
-
OPSGENIE = "opsgenie",
|
|
1080
|
-
/** alertmanager */
|
|
1081
|
-
ALERTMANAGER = "alertmanager",
|
|
1082
|
-
/** grafana */
|
|
1083
|
-
GRAFANA = "grafana",
|
|
1084
|
-
/** githubdispatch */
|
|
1085
|
-
GITHUBDISPATCH = "githubdispatch",
|
|
1086
|
-
/** pagerduty */
|
|
1087
|
-
PAGERDUTY = "pagerduty",
|
|
1088
|
-
/** datadog */
|
|
1089
|
-
DATADOG = "datadog"
|
|
1090
|
-
}
|
|
1091
|
-
/**
|
|
1092
|
-
* Provider is the Schema for the providers API
|
|
1093
|
-
*
|
|
1094
|
-
* @schema ProviderV1Beta3
|
|
1095
|
-
*/
|
|
1096
|
-
export declare class ProviderV1Beta3 extends ApiObject {
|
|
1097
|
-
/**
|
|
1098
|
-
* Returns the apiVersion and kind for "ProviderV1Beta3"
|
|
1099
|
-
*/
|
|
1100
|
-
static readonly GVK: GroupVersionKind;
|
|
1101
|
-
/**
|
|
1102
|
-
* Renders a Kubernetes manifest for "ProviderV1Beta3".
|
|
1103
|
-
*
|
|
1104
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
1105
|
-
*
|
|
1106
|
-
* @param props initialization props
|
|
1107
|
-
*/
|
|
1108
|
-
static manifest(props?: ProviderV1Beta3Props): any;
|
|
1109
|
-
/**
|
|
1110
|
-
* Defines a "ProviderV1Beta3" API object
|
|
1111
|
-
* @param scope the scope in which to define this object
|
|
1112
|
-
* @param id a scope-local name for the object
|
|
1113
|
-
* @param props initialization props
|
|
1114
|
-
*/
|
|
1115
|
-
constructor(scope: Construct, id: string, props?: ProviderV1Beta3Props);
|
|
1116
|
-
/**
|
|
1117
|
-
* Renders the object to Kubernetes JSON.
|
|
1118
|
-
*/
|
|
1119
|
-
toJson(): any;
|
|
1120
|
-
}
|
|
1121
|
-
/**
|
|
1122
|
-
* Provider is the Schema for the providers API
|
|
1123
|
-
*
|
|
1124
|
-
* @schema ProviderV1Beta3
|
|
1125
|
-
*/
|
|
1126
|
-
export interface ProviderV1Beta3Props {
|
|
1127
|
-
/**
|
|
1128
|
-
* @schema ProviderV1Beta3#metadata
|
|
1129
|
-
*/
|
|
1130
|
-
readonly metadata?: ApiObjectMetadata;
|
|
1131
|
-
/**
|
|
1132
|
-
* ProviderSpec defines the desired state of the Provider.
|
|
1133
|
-
*
|
|
1134
|
-
* @schema ProviderV1Beta3#spec
|
|
1135
|
-
*/
|
|
1136
|
-
readonly spec?: ProviderV1Beta3Spec;
|
|
1137
|
-
}
|
|
1138
|
-
/**
|
|
1139
|
-
* Converts an object of type 'ProviderV1Beta3Props' to JSON representation.
|
|
1140
|
-
*/
|
|
1141
|
-
export declare function toJson_ProviderV1Beta3Props(obj: ProviderV1Beta3Props | undefined): Record<string, any> | undefined;
|
|
1142
|
-
/**
|
|
1143
|
-
* ProviderSpec defines the desired state of the Provider.
|
|
1144
|
-
*
|
|
1145
|
-
* @schema ProviderV1Beta3Spec
|
|
1146
|
-
*/
|
|
1147
|
-
export interface ProviderV1Beta3Spec {
|
|
1148
|
-
/**
|
|
1149
|
-
* Address specifies the endpoint, in a generic sense, to where alerts are sent.
|
|
1150
|
-
* What kind of endpoint depends on the specific Provider type being used.
|
|
1151
|
-
* For the generic Provider, for example, this is an HTTP/S address.
|
|
1152
|
-
* For other Provider types this could be a project ID or a namespace.
|
|
1153
|
-
*
|
|
1154
|
-
* @schema ProviderV1Beta3Spec#address
|
|
1155
|
-
*/
|
|
1156
|
-
readonly address?: string;
|
|
1157
|
-
/**
|
|
1158
|
-
* CertSecretRef specifies the Secret containing
|
|
1159
|
-
* a PEM-encoded CA certificate (in the `ca.crt` key).
|
|
1160
|
-
*
|
|
1161
|
-
* Note: Support for the `caFile` key has
|
|
1162
|
-
* been deprecated.
|
|
1163
|
-
*
|
|
1164
|
-
* @schema ProviderV1Beta3Spec#certSecretRef
|
|
1165
|
-
*/
|
|
1166
|
-
readonly certSecretRef?: ProviderV1Beta3SpecCertSecretRef;
|
|
1167
|
-
/**
|
|
1168
|
-
* Channel specifies the destination channel where events should be posted.
|
|
1169
|
-
*
|
|
1170
|
-
* @schema ProviderV1Beta3Spec#channel
|
|
1171
|
-
*/
|
|
1172
|
-
readonly channel?: string;
|
|
1173
|
-
/**
|
|
1174
|
-
* Interval at which to reconcile the Provider with its Secret references.
|
|
1175
|
-
* Deprecated and not used in v1beta3.
|
|
1176
|
-
*
|
|
1177
|
-
* @schema ProviderV1Beta3Spec#interval
|
|
1178
|
-
*/
|
|
1179
|
-
readonly interval?: string;
|
|
1180
|
-
/**
|
|
1181
|
-
* Proxy the HTTP/S address of the proxy server.
|
|
1182
|
-
*
|
|
1183
|
-
* @schema ProviderV1Beta3Spec#proxy
|
|
1184
|
-
*/
|
|
1185
|
-
readonly proxy?: string;
|
|
1186
|
-
/**
|
|
1187
|
-
* SecretRef specifies the Secret containing the authentication
|
|
1188
|
-
* credentials for this Provider.
|
|
1189
|
-
*
|
|
1190
|
-
* @schema ProviderV1Beta3Spec#secretRef
|
|
1191
|
-
*/
|
|
1192
|
-
readonly secretRef?: ProviderV1Beta3SpecSecretRef;
|
|
1193
|
-
/**
|
|
1194
|
-
* Suspend tells the controller to suspend subsequent
|
|
1195
|
-
* events handling for this Provider.
|
|
1196
|
-
*
|
|
1197
|
-
* @schema ProviderV1Beta3Spec#suspend
|
|
1198
|
-
*/
|
|
1199
|
-
readonly suspend?: boolean;
|
|
1200
|
-
/**
|
|
1201
|
-
* Timeout for sending alerts to the Provider.
|
|
1202
|
-
*
|
|
1203
|
-
* @schema ProviderV1Beta3Spec#timeout
|
|
1204
|
-
*/
|
|
1205
|
-
readonly timeout?: string;
|
|
1206
|
-
/**
|
|
1207
|
-
* Type specifies which Provider implementation to use.
|
|
1208
|
-
*
|
|
1209
|
-
* @schema ProviderV1Beta3Spec#type
|
|
1210
|
-
*/
|
|
1211
|
-
readonly type: ProviderV1Beta3SpecType;
|
|
1212
|
-
/**
|
|
1213
|
-
* Username specifies the name under which events are posted.
|
|
1214
|
-
*
|
|
1215
|
-
* @schema ProviderV1Beta3Spec#username
|
|
1216
|
-
*/
|
|
1217
|
-
readonly username?: string;
|
|
1218
|
-
}
|
|
1219
|
-
/**
|
|
1220
|
-
* Converts an object of type 'ProviderV1Beta3Spec' to JSON representation.
|
|
1221
|
-
*/
|
|
1222
|
-
export declare function toJson_ProviderV1Beta3Spec(obj: ProviderV1Beta3Spec | undefined): Record<string, any> | undefined;
|
|
1223
|
-
/**
|
|
1224
|
-
* CertSecretRef specifies the Secret containing
|
|
1225
|
-
* a PEM-encoded CA certificate (in the `ca.crt` key).
|
|
1226
|
-
*
|
|
1227
|
-
* Note: Support for the `caFile` key has
|
|
1228
|
-
* been deprecated.
|
|
1229
|
-
*
|
|
1230
|
-
* @schema ProviderV1Beta3SpecCertSecretRef
|
|
1231
|
-
*/
|
|
1232
|
-
export interface ProviderV1Beta3SpecCertSecretRef {
|
|
1233
|
-
/**
|
|
1234
|
-
* Name of the referent.
|
|
1235
|
-
*
|
|
1236
|
-
* @schema ProviderV1Beta3SpecCertSecretRef#name
|
|
1237
|
-
*/
|
|
1238
|
-
readonly name: string;
|
|
1239
|
-
}
|
|
1240
|
-
/**
|
|
1241
|
-
* Converts an object of type 'ProviderV1Beta3SpecCertSecretRef' to JSON representation.
|
|
1242
|
-
*/
|
|
1243
|
-
export declare function toJson_ProviderV1Beta3SpecCertSecretRef(obj: ProviderV1Beta3SpecCertSecretRef | undefined): Record<string, any> | undefined;
|
|
1244
|
-
/**
|
|
1245
|
-
* SecretRef specifies the Secret containing the authentication
|
|
1246
|
-
* credentials for this Provider.
|
|
1247
|
-
*
|
|
1248
|
-
* @schema ProviderV1Beta3SpecSecretRef
|
|
1249
|
-
*/
|
|
1250
|
-
export interface ProviderV1Beta3SpecSecretRef {
|
|
1251
|
-
/**
|
|
1252
|
-
* Name of the referent.
|
|
1253
|
-
*
|
|
1254
|
-
* @schema ProviderV1Beta3SpecSecretRef#name
|
|
1255
|
-
*/
|
|
1256
|
-
readonly name: string;
|
|
1257
|
-
}
|
|
1258
|
-
/**
|
|
1259
|
-
* Converts an object of type 'ProviderV1Beta3SpecSecretRef' to JSON representation.
|
|
1260
|
-
*/
|
|
1261
|
-
export declare function toJson_ProviderV1Beta3SpecSecretRef(obj: ProviderV1Beta3SpecSecretRef | undefined): Record<string, any> | undefined;
|
|
1262
|
-
/**
|
|
1263
|
-
* Type specifies which Provider implementation to use.
|
|
1264
|
-
*
|
|
1265
|
-
* @schema ProviderV1Beta3SpecType
|
|
1266
|
-
*/
|
|
1267
|
-
export declare enum ProviderV1Beta3SpecType {
|
|
1268
|
-
/** slack */
|
|
1269
|
-
SLACK = "slack",
|
|
1270
|
-
/** discord */
|
|
1271
|
-
DISCORD = "discord",
|
|
1272
|
-
/** msteams */
|
|
1273
|
-
MSTEAMS = "msteams",
|
|
1274
|
-
/** rocket */
|
|
1275
|
-
ROCKET = "rocket",
|
|
1276
|
-
/** generic */
|
|
1277
|
-
GENERIC = "generic",
|
|
1278
|
-
/** generic-hmac */
|
|
1279
|
-
GENERIC_HYPHEN_HMAC = "generic-hmac",
|
|
1280
|
-
/** github */
|
|
1281
|
-
GITHUB = "github",
|
|
1282
|
-
/** gitlab */
|
|
1283
|
-
GITLAB = "gitlab",
|
|
1284
|
-
/** gitea */
|
|
1285
|
-
GITEA = "gitea",
|
|
1286
|
-
/** bitbucketserver */
|
|
1287
|
-
BITBUCKETSERVER = "bitbucketserver",
|
|
1288
|
-
/** bitbucket */
|
|
1289
|
-
BITBUCKET = "bitbucket",
|
|
1290
|
-
/** azuredevops */
|
|
1291
|
-
AZUREDEVOPS = "azuredevops",
|
|
1292
|
-
/** googlechat */
|
|
1293
|
-
GOOGLECHAT = "googlechat",
|
|
1294
|
-
/** googlepubsub */
|
|
1295
|
-
GOOGLEPUBSUB = "googlepubsub",
|
|
1296
|
-
/** webex */
|
|
1297
|
-
WEBEX = "webex",
|
|
1298
|
-
/** sentry */
|
|
1299
|
-
SENTRY = "sentry",
|
|
1300
|
-
/** azureeventhub */
|
|
1301
|
-
AZUREEVENTHUB = "azureeventhub",
|
|
1302
|
-
/** telegram */
|
|
1303
|
-
TELEGRAM = "telegram",
|
|
1304
|
-
/** lark */
|
|
1305
|
-
LARK = "lark",
|
|
1306
|
-
/** matrix */
|
|
1307
|
-
MATRIX = "matrix",
|
|
1308
|
-
/** opsgenie */
|
|
1309
|
-
OPSGENIE = "opsgenie",
|
|
1310
|
-
/** alertmanager */
|
|
1311
|
-
ALERTMANAGER = "alertmanager",
|
|
1312
|
-
/** grafana */
|
|
1313
|
-
GRAFANA = "grafana",
|
|
1314
|
-
/** githubdispatch */
|
|
1315
|
-
GITHUBDISPATCH = "githubdispatch",
|
|
1316
|
-
/** pagerduty */
|
|
1317
|
-
PAGERDUTY = "pagerduty",
|
|
1318
|
-
/** datadog */
|
|
1319
|
-
DATADOG = "datadog",
|
|
1320
|
-
/** nats */
|
|
1321
|
-
NATS = "nats"
|
|
1322
|
-
}
|
|
1323
|
-
/**
|
|
1324
|
-
* Receiver is the Schema for the receivers API.
|
|
1325
|
-
*
|
|
1326
|
-
* @schema Receiver
|
|
1327
|
-
*/
|
|
1328
|
-
export declare class Receiver extends ApiObject {
|
|
1329
|
-
/**
|
|
1330
|
-
* Returns the apiVersion and kind for "Receiver"
|
|
1331
|
-
*/
|
|
1332
|
-
static readonly GVK: GroupVersionKind;
|
|
1333
|
-
/**
|
|
1334
|
-
* Renders a Kubernetes manifest for "Receiver".
|
|
1335
|
-
*
|
|
1336
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
1337
|
-
*
|
|
1338
|
-
* @param props initialization props
|
|
1339
|
-
*/
|
|
1340
|
-
static manifest(props?: ReceiverProps): any;
|
|
1341
|
-
/**
|
|
1342
|
-
* Defines a "Receiver" API object
|
|
1343
|
-
* @param scope the scope in which to define this object
|
|
1344
|
-
* @param id a scope-local name for the object
|
|
1345
|
-
* @param props initialization props
|
|
1346
|
-
*/
|
|
1347
|
-
constructor(scope: Construct, id: string, props?: ReceiverProps);
|
|
1348
|
-
/**
|
|
1349
|
-
* Renders the object to Kubernetes JSON.
|
|
1350
|
-
*/
|
|
1351
|
-
toJson(): any;
|
|
1352
|
-
}
|
|
1353
|
-
/**
|
|
1354
|
-
* Receiver is the Schema for the receivers API.
|
|
1355
|
-
*
|
|
1356
|
-
* @schema Receiver
|
|
1357
|
-
*/
|
|
1358
|
-
export interface ReceiverProps {
|
|
1359
|
-
/**
|
|
1360
|
-
* @schema Receiver#metadata
|
|
1361
|
-
*/
|
|
1362
|
-
readonly metadata?: ApiObjectMetadata;
|
|
1363
|
-
/**
|
|
1364
|
-
* ReceiverSpec defines the desired state of the Receiver.
|
|
1365
|
-
*
|
|
1366
|
-
* @schema Receiver#spec
|
|
1367
|
-
*/
|
|
1368
|
-
readonly spec?: ReceiverSpec;
|
|
1369
|
-
}
|
|
1370
|
-
/**
|
|
1371
|
-
* Converts an object of type 'ReceiverProps' to JSON representation.
|
|
1372
|
-
*/
|
|
1373
|
-
export declare function toJson_ReceiverProps(obj: ReceiverProps | undefined): Record<string, any> | undefined;
|
|
1374
|
-
/**
|
|
1375
|
-
* ReceiverSpec defines the desired state of the Receiver.
|
|
1376
|
-
*
|
|
1377
|
-
* @schema ReceiverSpec
|
|
1378
|
-
*/
|
|
1379
|
-
export interface ReceiverSpec {
|
|
1380
|
-
/**
|
|
1381
|
-
* Events specifies the list of event types to handle,
|
|
1382
|
-
* e.g. 'push' for GitHub or 'Push Hook' for GitLab.
|
|
1383
|
-
*
|
|
1384
|
-
* @schema ReceiverSpec#events
|
|
1385
|
-
*/
|
|
1386
|
-
readonly events?: string[];
|
|
1387
|
-
/**
|
|
1388
|
-
* Interval at which to reconcile the Receiver with its Secret references.
|
|
1389
|
-
*
|
|
1390
|
-
* @schema ReceiverSpec#interval
|
|
1391
|
-
*/
|
|
1392
|
-
readonly interval?: string;
|
|
1393
|
-
/**
|
|
1394
|
-
* ResourceFilter is a CEL expression expected to return a boolean that is
|
|
1395
|
-
* evaluated for each resource referenced in the Resources field when a
|
|
1396
|
-
* webhook is received. If the expression returns false then the controller
|
|
1397
|
-
* will not request a reconciliation for the resource.
|
|
1398
|
-
* When the expression is specified the controller will parse it and mark
|
|
1399
|
-
* the object as terminally failed if the expression is invalid or does not
|
|
1400
|
-
* return a boolean.
|
|
1401
|
-
*
|
|
1402
|
-
* @schema ReceiverSpec#resourceFilter
|
|
1403
|
-
*/
|
|
1404
|
-
readonly resourceFilter?: string;
|
|
1405
|
-
/**
|
|
1406
|
-
* A list of resources to be notified about changes.
|
|
1407
|
-
*
|
|
1408
|
-
* @schema ReceiverSpec#resources
|
|
1409
|
-
*/
|
|
1410
|
-
readonly resources: ReceiverSpecResources[];
|
|
1411
|
-
/**
|
|
1412
|
-
* SecretRef specifies the Secret containing the token used
|
|
1413
|
-
* to validate the payload authenticity.
|
|
1414
|
-
*
|
|
1415
|
-
* @schema ReceiverSpec#secretRef
|
|
1416
|
-
*/
|
|
1417
|
-
readonly secretRef: ReceiverSpecSecretRef;
|
|
1418
|
-
/**
|
|
1419
|
-
* Suspend tells the controller to suspend subsequent
|
|
1420
|
-
* events handling for this receiver.
|
|
1421
|
-
*
|
|
1422
|
-
* @schema ReceiverSpec#suspend
|
|
1423
|
-
*/
|
|
1424
|
-
readonly suspend?: boolean;
|
|
1425
|
-
/**
|
|
1426
|
-
* Type of webhook sender, used to determine
|
|
1427
|
-
* the validation procedure and payload deserialization.
|
|
1428
|
-
*
|
|
1429
|
-
* @schema ReceiverSpec#type
|
|
1430
|
-
*/
|
|
1431
|
-
readonly type: ReceiverSpecType;
|
|
1432
|
-
}
|
|
1433
|
-
/**
|
|
1434
|
-
* Converts an object of type 'ReceiverSpec' to JSON representation.
|
|
1435
|
-
*/
|
|
1436
|
-
export declare function toJson_ReceiverSpec(obj: ReceiverSpec | undefined): Record<string, any> | undefined;
|
|
1437
|
-
/**
|
|
1438
|
-
* CrossNamespaceObjectReference contains enough information to let you locate the
|
|
1439
|
-
* typed referenced object at cluster level
|
|
1440
|
-
*
|
|
1441
|
-
* @schema ReceiverSpecResources
|
|
1442
|
-
*/
|
|
1443
|
-
export interface ReceiverSpecResources {
|
|
1444
|
-
/**
|
|
1445
|
-
* API version of the referent
|
|
1446
|
-
*
|
|
1447
|
-
* @schema ReceiverSpecResources#apiVersion
|
|
1448
|
-
*/
|
|
1449
|
-
readonly apiVersion?: string;
|
|
1450
|
-
/**
|
|
1451
|
-
* Kind of the referent
|
|
1452
|
-
*
|
|
1453
|
-
* @schema ReceiverSpecResources#kind
|
|
1454
|
-
*/
|
|
1455
|
-
readonly kind: ReceiverSpecResourcesKind;
|
|
1456
|
-
/**
|
|
1457
|
-
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
1458
|
-
* map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
1459
|
-
* operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
1460
|
-
* MatchLabels requires the name to be set to `*`.
|
|
1461
|
-
*
|
|
1462
|
-
* @schema ReceiverSpecResources#matchLabels
|
|
1463
|
-
*/
|
|
1464
|
-
readonly matchLabels?: {
|
|
1465
|
-
[key: string]: string;
|
|
1466
|
-
};
|
|
1467
|
-
/**
|
|
1468
|
-
* Name of the referent
|
|
1469
|
-
* If multiple resources are targeted `*` may be set.
|
|
1470
|
-
*
|
|
1471
|
-
* @schema ReceiverSpecResources#name
|
|
1472
|
-
*/
|
|
1473
|
-
readonly name: string;
|
|
1474
|
-
/**
|
|
1475
|
-
* Namespace of the referent
|
|
1476
|
-
*
|
|
1477
|
-
* @schema ReceiverSpecResources#namespace
|
|
1478
|
-
*/
|
|
1479
|
-
readonly namespace?: string;
|
|
1480
|
-
}
|
|
1481
|
-
/**
|
|
1482
|
-
* Converts an object of type 'ReceiverSpecResources' to JSON representation.
|
|
1483
|
-
*/
|
|
1484
|
-
export declare function toJson_ReceiverSpecResources(obj: ReceiverSpecResources | undefined): Record<string, any> | undefined;
|
|
1485
|
-
/**
|
|
1486
|
-
* SecretRef specifies the Secret containing the token used
|
|
1487
|
-
* to validate the payload authenticity.
|
|
1488
|
-
*
|
|
1489
|
-
* @schema ReceiverSpecSecretRef
|
|
1490
|
-
*/
|
|
1491
|
-
export interface ReceiverSpecSecretRef {
|
|
1492
|
-
/**
|
|
1493
|
-
* Name of the referent.
|
|
1494
|
-
*
|
|
1495
|
-
* @schema ReceiverSpecSecretRef#name
|
|
1496
|
-
*/
|
|
1497
|
-
readonly name: string;
|
|
1498
|
-
}
|
|
1499
|
-
/**
|
|
1500
|
-
* Converts an object of type 'ReceiverSpecSecretRef' to JSON representation.
|
|
1501
|
-
*/
|
|
1502
|
-
export declare function toJson_ReceiverSpecSecretRef(obj: ReceiverSpecSecretRef | undefined): Record<string, any> | undefined;
|
|
1503
|
-
/**
|
|
1504
|
-
* Type of webhook sender, used to determine
|
|
1505
|
-
* the validation procedure and payload deserialization.
|
|
1506
|
-
*
|
|
1507
|
-
* @schema ReceiverSpecType
|
|
1508
|
-
*/
|
|
1509
|
-
export declare enum ReceiverSpecType {
|
|
1510
|
-
/** generic */
|
|
1511
|
-
GENERIC = "generic",
|
|
1512
|
-
/** generic-hmac */
|
|
1513
|
-
GENERIC_HYPHEN_HMAC = "generic-hmac",
|
|
1514
|
-
/** github */
|
|
1515
|
-
GITHUB = "github",
|
|
1516
|
-
/** gitlab */
|
|
1517
|
-
GITLAB = "gitlab",
|
|
1518
|
-
/** bitbucket */
|
|
1519
|
-
BITBUCKET = "bitbucket",
|
|
1520
|
-
/** harbor */
|
|
1521
|
-
HARBOR = "harbor",
|
|
1522
|
-
/** dockerhub */
|
|
1523
|
-
DOCKERHUB = "dockerhub",
|
|
1524
|
-
/** quay */
|
|
1525
|
-
QUAY = "quay",
|
|
1526
|
-
/** gcr */
|
|
1527
|
-
GCR = "gcr",
|
|
1528
|
-
/** nexus */
|
|
1529
|
-
NEXUS = "nexus",
|
|
1530
|
-
/** acr */
|
|
1531
|
-
ACR = "acr",
|
|
1532
|
-
/** cdevents */
|
|
1533
|
-
CDEVENTS = "cdevents"
|
|
1534
|
-
}
|
|
1535
|
-
/**
|
|
1536
|
-
* Kind of the referent
|
|
1537
|
-
*
|
|
1538
|
-
* @schema ReceiverSpecResourcesKind
|
|
1539
|
-
*/
|
|
1540
|
-
export declare enum ReceiverSpecResourcesKind {
|
|
1541
|
-
/** Bucket */
|
|
1542
|
-
BUCKET = "Bucket",
|
|
1543
|
-
/** GitRepository */
|
|
1544
|
-
GIT_REPOSITORY = "GitRepository",
|
|
1545
|
-
/** Kustomization */
|
|
1546
|
-
KUSTOMIZATION = "Kustomization",
|
|
1547
|
-
/** HelmRelease */
|
|
1548
|
-
HELM_RELEASE = "HelmRelease",
|
|
1549
|
-
/** HelmChart */
|
|
1550
|
-
HELM_CHART = "HelmChart",
|
|
1551
|
-
/** HelmRepository */
|
|
1552
|
-
HELM_REPOSITORY = "HelmRepository",
|
|
1553
|
-
/** ImageRepository */
|
|
1554
|
-
IMAGE_REPOSITORY = "ImageRepository",
|
|
1555
|
-
/** ImagePolicy */
|
|
1556
|
-
IMAGE_POLICY = "ImagePolicy",
|
|
1557
|
-
/** ImageUpdateAutomation */
|
|
1558
|
-
IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
|
|
1559
|
-
/** OCIRepository */
|
|
1560
|
-
OCI_REPOSITORY = "OCIRepository"
|
|
1561
|
-
}
|
|
1562
|
-
/**
|
|
1563
|
-
* Receiver is the Schema for the receivers API
|
|
1564
|
-
*
|
|
1565
|
-
* @schema ReceiverV1Beta1
|
|
1566
|
-
*/
|
|
1567
|
-
export declare class ReceiverV1Beta1 extends ApiObject {
|
|
1568
|
-
/**
|
|
1569
|
-
* Returns the apiVersion and kind for "ReceiverV1Beta1"
|
|
1570
|
-
*/
|
|
1571
|
-
static readonly GVK: GroupVersionKind;
|
|
1572
|
-
/**
|
|
1573
|
-
* Renders a Kubernetes manifest for "ReceiverV1Beta1".
|
|
1574
|
-
*
|
|
1575
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
1576
|
-
*
|
|
1577
|
-
* @param props initialization props
|
|
1578
|
-
*/
|
|
1579
|
-
static manifest(props?: ReceiverV1Beta1Props): any;
|
|
1580
|
-
/**
|
|
1581
|
-
* Defines a "ReceiverV1Beta1" API object
|
|
1582
|
-
* @param scope the scope in which to define this object
|
|
1583
|
-
* @param id a scope-local name for the object
|
|
1584
|
-
* @param props initialization props
|
|
1585
|
-
*/
|
|
1586
|
-
constructor(scope: Construct, id: string, props?: ReceiverV1Beta1Props);
|
|
1587
|
-
/**
|
|
1588
|
-
* Renders the object to Kubernetes JSON.
|
|
1589
|
-
*/
|
|
1590
|
-
toJson(): any;
|
|
1591
|
-
}
|
|
1592
|
-
/**
|
|
1593
|
-
* Receiver is the Schema for the receivers API
|
|
1594
|
-
*
|
|
1595
|
-
* @schema ReceiverV1Beta1
|
|
1596
|
-
*/
|
|
1597
|
-
export interface ReceiverV1Beta1Props {
|
|
1598
|
-
/**
|
|
1599
|
-
* @schema ReceiverV1Beta1#metadata
|
|
1600
|
-
*/
|
|
1601
|
-
readonly metadata?: ApiObjectMetadata;
|
|
1602
|
-
/**
|
|
1603
|
-
* ReceiverSpec defines the desired state of Receiver
|
|
1604
|
-
*
|
|
1605
|
-
* @schema ReceiverV1Beta1#spec
|
|
1606
|
-
*/
|
|
1607
|
-
readonly spec?: ReceiverV1Beta1Spec;
|
|
1608
|
-
}
|
|
1609
|
-
/**
|
|
1610
|
-
* Converts an object of type 'ReceiverV1Beta1Props' to JSON representation.
|
|
1611
|
-
*/
|
|
1612
|
-
export declare function toJson_ReceiverV1Beta1Props(obj: ReceiverV1Beta1Props | undefined): Record<string, any> | undefined;
|
|
1613
|
-
/**
|
|
1614
|
-
* ReceiverSpec defines the desired state of Receiver
|
|
1615
|
-
*
|
|
1616
|
-
* @schema ReceiverV1Beta1Spec
|
|
1617
|
-
*/
|
|
1618
|
-
export interface ReceiverV1Beta1Spec {
|
|
1619
|
-
/**
|
|
1620
|
-
* A list of events to handle,
|
|
1621
|
-
* e.g. 'push' for GitHub or 'Push Hook' for GitLab.
|
|
1622
|
-
*
|
|
1623
|
-
* @schema ReceiverV1Beta1Spec#events
|
|
1624
|
-
*/
|
|
1625
|
-
readonly events?: string[];
|
|
1626
|
-
/**
|
|
1627
|
-
* A list of resources to be notified about changes.
|
|
1628
|
-
*
|
|
1629
|
-
* @schema ReceiverV1Beta1Spec#resources
|
|
1630
|
-
*/
|
|
1631
|
-
readonly resources: ReceiverV1Beta1SpecResources[];
|
|
1632
|
-
/**
|
|
1633
|
-
* Secret reference containing the token used
|
|
1634
|
-
* to validate the payload authenticity
|
|
1635
|
-
*
|
|
1636
|
-
* @schema ReceiverV1Beta1Spec#secretRef
|
|
1637
|
-
*/
|
|
1638
|
-
readonly secretRef: ReceiverV1Beta1SpecSecretRef;
|
|
1639
|
-
/**
|
|
1640
|
-
* This flag tells the controller to suspend subsequent events handling.
|
|
1641
|
-
* Defaults to false.
|
|
1642
|
-
*
|
|
1643
|
-
* @default false.
|
|
1644
|
-
* @schema ReceiverV1Beta1Spec#suspend
|
|
1645
|
-
*/
|
|
1646
|
-
readonly suspend?: boolean;
|
|
1647
|
-
/**
|
|
1648
|
-
* Type of webhook sender, used to determine
|
|
1649
|
-
* the validation procedure and payload deserialization.
|
|
1650
|
-
*
|
|
1651
|
-
* @schema ReceiverV1Beta1Spec#type
|
|
1652
|
-
*/
|
|
1653
|
-
readonly type: ReceiverV1Beta1SpecType;
|
|
1654
|
-
}
|
|
1655
|
-
/**
|
|
1656
|
-
* Converts an object of type 'ReceiverV1Beta1Spec' to JSON representation.
|
|
1657
|
-
*/
|
|
1658
|
-
export declare function toJson_ReceiverV1Beta1Spec(obj: ReceiverV1Beta1Spec | undefined): Record<string, any> | undefined;
|
|
1659
|
-
/**
|
|
1660
|
-
* CrossNamespaceObjectReference contains enough information to let you locate the
|
|
1661
|
-
* typed referenced object at cluster level
|
|
1662
|
-
*
|
|
1663
|
-
* @schema ReceiverV1Beta1SpecResources
|
|
1664
|
-
*/
|
|
1665
|
-
export interface ReceiverV1Beta1SpecResources {
|
|
1666
|
-
/**
|
|
1667
|
-
* API version of the referent
|
|
1668
|
-
*
|
|
1669
|
-
* @schema ReceiverV1Beta1SpecResources#apiVersion
|
|
1670
|
-
*/
|
|
1671
|
-
readonly apiVersion?: string;
|
|
1672
|
-
/**
|
|
1673
|
-
* Kind of the referent
|
|
1674
|
-
*
|
|
1675
|
-
* @schema ReceiverV1Beta1SpecResources#kind
|
|
1676
|
-
*/
|
|
1677
|
-
readonly kind: ReceiverV1Beta1SpecResourcesKind;
|
|
1678
|
-
/**
|
|
1679
|
-
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
1680
|
-
* map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
1681
|
-
* operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
1682
|
-
*
|
|
1683
|
-
* @schema ReceiverV1Beta1SpecResources#matchLabels
|
|
1684
|
-
*/
|
|
1685
|
-
readonly matchLabels?: {
|
|
1686
|
-
[key: string]: string;
|
|
1687
|
-
};
|
|
1688
|
-
/**
|
|
1689
|
-
* Name of the referent
|
|
1690
|
-
*
|
|
1691
|
-
* @schema ReceiverV1Beta1SpecResources#name
|
|
1692
|
-
*/
|
|
1693
|
-
readonly name: string;
|
|
1694
|
-
/**
|
|
1695
|
-
* Namespace of the referent
|
|
1696
|
-
*
|
|
1697
|
-
* @schema ReceiverV1Beta1SpecResources#namespace
|
|
1698
|
-
*/
|
|
1699
|
-
readonly namespace?: string;
|
|
1700
|
-
}
|
|
1701
|
-
/**
|
|
1702
|
-
* Converts an object of type 'ReceiverV1Beta1SpecResources' to JSON representation.
|
|
1703
|
-
*/
|
|
1704
|
-
export declare function toJson_ReceiverV1Beta1SpecResources(obj: ReceiverV1Beta1SpecResources | undefined): Record<string, any> | undefined;
|
|
1705
|
-
/**
|
|
1706
|
-
* Secret reference containing the token used
|
|
1707
|
-
* to validate the payload authenticity
|
|
1708
|
-
*
|
|
1709
|
-
* @schema ReceiverV1Beta1SpecSecretRef
|
|
1710
|
-
*/
|
|
1711
|
-
export interface ReceiverV1Beta1SpecSecretRef {
|
|
1712
|
-
/**
|
|
1713
|
-
* Name of the referent.
|
|
1714
|
-
*
|
|
1715
|
-
* @schema ReceiverV1Beta1SpecSecretRef#name
|
|
1716
|
-
*/
|
|
1717
|
-
readonly name: string;
|
|
1718
|
-
}
|
|
1719
|
-
/**
|
|
1720
|
-
* Converts an object of type 'ReceiverV1Beta1SpecSecretRef' to JSON representation.
|
|
1721
|
-
*/
|
|
1722
|
-
export declare function toJson_ReceiverV1Beta1SpecSecretRef(obj: ReceiverV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
|
|
1723
|
-
/**
|
|
1724
|
-
* Type of webhook sender, used to determine
|
|
1725
|
-
* the validation procedure and payload deserialization.
|
|
1726
|
-
*
|
|
1727
|
-
* @schema ReceiverV1Beta1SpecType
|
|
1728
|
-
*/
|
|
1729
|
-
export declare enum ReceiverV1Beta1SpecType {
|
|
1730
|
-
/** generic */
|
|
1731
|
-
GENERIC = "generic",
|
|
1732
|
-
/** generic-hmac */
|
|
1733
|
-
GENERIC_HYPHEN_HMAC = "generic-hmac",
|
|
1734
|
-
/** github */
|
|
1735
|
-
GITHUB = "github",
|
|
1736
|
-
/** gitlab */
|
|
1737
|
-
GITLAB = "gitlab",
|
|
1738
|
-
/** bitbucket */
|
|
1739
|
-
BITBUCKET = "bitbucket",
|
|
1740
|
-
/** harbor */
|
|
1741
|
-
HARBOR = "harbor",
|
|
1742
|
-
/** dockerhub */
|
|
1743
|
-
DOCKERHUB = "dockerhub",
|
|
1744
|
-
/** quay */
|
|
1745
|
-
QUAY = "quay",
|
|
1746
|
-
/** gcr */
|
|
1747
|
-
GCR = "gcr",
|
|
1748
|
-
/** nexus */
|
|
1749
|
-
NEXUS = "nexus",
|
|
1750
|
-
/** acr */
|
|
1751
|
-
ACR = "acr"
|
|
1752
|
-
}
|
|
1753
|
-
/**
|
|
1754
|
-
* Kind of the referent
|
|
1755
|
-
*
|
|
1756
|
-
* @schema ReceiverV1Beta1SpecResourcesKind
|
|
1757
|
-
*/
|
|
1758
|
-
export declare enum ReceiverV1Beta1SpecResourcesKind {
|
|
1759
|
-
/** Bucket */
|
|
1760
|
-
BUCKET = "Bucket",
|
|
1761
|
-
/** GitRepository */
|
|
1762
|
-
GIT_REPOSITORY = "GitRepository",
|
|
1763
|
-
/** Kustomization */
|
|
1764
|
-
KUSTOMIZATION = "Kustomization",
|
|
1765
|
-
/** HelmRelease */
|
|
1766
|
-
HELM_RELEASE = "HelmRelease",
|
|
1767
|
-
/** HelmChart */
|
|
1768
|
-
HELM_CHART = "HelmChart",
|
|
1769
|
-
/** HelmRepository */
|
|
1770
|
-
HELM_REPOSITORY = "HelmRepository",
|
|
1771
|
-
/** ImageRepository */
|
|
1772
|
-
IMAGE_REPOSITORY = "ImageRepository",
|
|
1773
|
-
/** ImagePolicy */
|
|
1774
|
-
IMAGE_POLICY = "ImagePolicy",
|
|
1775
|
-
/** ImageUpdateAutomation */
|
|
1776
|
-
IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
|
|
1777
|
-
/** OCIRepository */
|
|
1778
|
-
OCI_REPOSITORY = "OCIRepository"
|
|
1779
|
-
}
|
|
1780
|
-
/**
|
|
1781
|
-
* Receiver is the Schema for the receivers API.
|
|
1782
|
-
*
|
|
1783
|
-
* @schema ReceiverV1Beta2
|
|
1784
|
-
*/
|
|
1785
|
-
export declare class ReceiverV1Beta2 extends ApiObject {
|
|
1786
|
-
/**
|
|
1787
|
-
* Returns the apiVersion and kind for "ReceiverV1Beta2"
|
|
1788
|
-
*/
|
|
1789
|
-
static readonly GVK: GroupVersionKind;
|
|
1790
|
-
/**
|
|
1791
|
-
* Renders a Kubernetes manifest for "ReceiverV1Beta2".
|
|
1792
|
-
*
|
|
1793
|
-
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
1794
|
-
*
|
|
1795
|
-
* @param props initialization props
|
|
1796
|
-
*/
|
|
1797
|
-
static manifest(props?: ReceiverV1Beta2Props): any;
|
|
1798
|
-
/**
|
|
1799
|
-
* Defines a "ReceiverV1Beta2" API object
|
|
1800
|
-
* @param scope the scope in which to define this object
|
|
1801
|
-
* @param id a scope-local name for the object
|
|
1802
|
-
* @param props initialization props
|
|
1803
|
-
*/
|
|
1804
|
-
constructor(scope: Construct, id: string, props?: ReceiverV1Beta2Props);
|
|
1805
|
-
/**
|
|
1806
|
-
* Renders the object to Kubernetes JSON.
|
|
1807
|
-
*/
|
|
1808
|
-
toJson(): any;
|
|
1809
|
-
}
|
|
1810
|
-
/**
|
|
1811
|
-
* Receiver is the Schema for the receivers API.
|
|
1812
|
-
*
|
|
1813
|
-
* @schema ReceiverV1Beta2
|
|
1814
|
-
*/
|
|
1815
|
-
export interface ReceiverV1Beta2Props {
|
|
1816
|
-
/**
|
|
1817
|
-
* @schema ReceiverV1Beta2#metadata
|
|
1818
|
-
*/
|
|
1819
|
-
readonly metadata?: ApiObjectMetadata;
|
|
1820
|
-
/**
|
|
1821
|
-
* ReceiverSpec defines the desired state of the Receiver.
|
|
1822
|
-
*
|
|
1823
|
-
* @schema ReceiverV1Beta2#spec
|
|
1824
|
-
*/
|
|
1825
|
-
readonly spec?: ReceiverV1Beta2Spec;
|
|
1826
|
-
}
|
|
1827
|
-
/**
|
|
1828
|
-
* Converts an object of type 'ReceiverV1Beta2Props' to JSON representation.
|
|
1829
|
-
*/
|
|
1830
|
-
export declare function toJson_ReceiverV1Beta2Props(obj: ReceiverV1Beta2Props | undefined): Record<string, any> | undefined;
|
|
1831
|
-
/**
|
|
1832
|
-
* ReceiverSpec defines the desired state of the Receiver.
|
|
1833
|
-
*
|
|
1834
|
-
* @schema ReceiverV1Beta2Spec
|
|
1835
|
-
*/
|
|
1836
|
-
export interface ReceiverV1Beta2Spec {
|
|
1837
|
-
/**
|
|
1838
|
-
* Events specifies the list of event types to handle,
|
|
1839
|
-
* e.g. 'push' for GitHub or 'Push Hook' for GitLab.
|
|
1840
|
-
*
|
|
1841
|
-
* @schema ReceiverV1Beta2Spec#events
|
|
1842
|
-
*/
|
|
1843
|
-
readonly events?: string[];
|
|
1844
|
-
/**
|
|
1845
|
-
* Interval at which to reconcile the Receiver with its Secret references.
|
|
1846
|
-
*
|
|
1847
|
-
* @schema ReceiverV1Beta2Spec#interval
|
|
1848
|
-
*/
|
|
1849
|
-
readonly interval?: string;
|
|
1850
|
-
/**
|
|
1851
|
-
* A list of resources to be notified about changes.
|
|
1852
|
-
*
|
|
1853
|
-
* @schema ReceiverV1Beta2Spec#resources
|
|
1854
|
-
*/
|
|
1855
|
-
readonly resources: ReceiverV1Beta2SpecResources[];
|
|
1856
|
-
/**
|
|
1857
|
-
* SecretRef specifies the Secret containing the token used
|
|
1858
|
-
* to validate the payload authenticity.
|
|
1859
|
-
*
|
|
1860
|
-
* @schema ReceiverV1Beta2Spec#secretRef
|
|
1861
|
-
*/
|
|
1862
|
-
readonly secretRef: ReceiverV1Beta2SpecSecretRef;
|
|
1863
|
-
/**
|
|
1864
|
-
* Suspend tells the controller to suspend subsequent
|
|
1865
|
-
* events handling for this receiver.
|
|
1866
|
-
*
|
|
1867
|
-
* @schema ReceiverV1Beta2Spec#suspend
|
|
1868
|
-
*/
|
|
1869
|
-
readonly suspend?: boolean;
|
|
1870
|
-
/**
|
|
1871
|
-
* Type of webhook sender, used to determine
|
|
1872
|
-
* the validation procedure and payload deserialization.
|
|
1873
|
-
*
|
|
1874
|
-
* @schema ReceiverV1Beta2Spec#type
|
|
1875
|
-
*/
|
|
1876
|
-
readonly type: ReceiverV1Beta2SpecType;
|
|
1877
|
-
}
|
|
1878
|
-
/**
|
|
1879
|
-
* Converts an object of type 'ReceiverV1Beta2Spec' to JSON representation.
|
|
1880
|
-
*/
|
|
1881
|
-
export declare function toJson_ReceiverV1Beta2Spec(obj: ReceiverV1Beta2Spec | undefined): Record<string, any> | undefined;
|
|
1882
|
-
/**
|
|
1883
|
-
* CrossNamespaceObjectReference contains enough information to let you locate the
|
|
1884
|
-
* typed referenced object at cluster level
|
|
1885
|
-
*
|
|
1886
|
-
* @schema ReceiverV1Beta2SpecResources
|
|
1887
|
-
*/
|
|
1888
|
-
export interface ReceiverV1Beta2SpecResources {
|
|
1889
|
-
/**
|
|
1890
|
-
* API version of the referent
|
|
1891
|
-
*
|
|
1892
|
-
* @schema ReceiverV1Beta2SpecResources#apiVersion
|
|
1893
|
-
*/
|
|
1894
|
-
readonly apiVersion?: string;
|
|
1895
|
-
/**
|
|
1896
|
-
* Kind of the referent
|
|
1897
|
-
*
|
|
1898
|
-
* @schema ReceiverV1Beta2SpecResources#kind
|
|
1899
|
-
*/
|
|
1900
|
-
readonly kind: ReceiverV1Beta2SpecResourcesKind;
|
|
1901
|
-
/**
|
|
1902
|
-
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
1903
|
-
* map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
1904
|
-
* operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
1905
|
-
* MatchLabels requires the name to be set to `*`.
|
|
1906
|
-
*
|
|
1907
|
-
* @schema ReceiverV1Beta2SpecResources#matchLabels
|
|
1908
|
-
*/
|
|
1909
|
-
readonly matchLabels?: {
|
|
1910
|
-
[key: string]: string;
|
|
1911
|
-
};
|
|
1912
|
-
/**
|
|
1913
|
-
* Name of the referent
|
|
1914
|
-
* If multiple resources are targeted `*` may be set.
|
|
1915
|
-
*
|
|
1916
|
-
* @schema ReceiverV1Beta2SpecResources#name
|
|
1917
|
-
*/
|
|
1918
|
-
readonly name: string;
|
|
1919
|
-
/**
|
|
1920
|
-
* Namespace of the referent
|
|
1921
|
-
*
|
|
1922
|
-
* @schema ReceiverV1Beta2SpecResources#namespace
|
|
1923
|
-
*/
|
|
1924
|
-
readonly namespace?: string;
|
|
1925
|
-
}
|
|
1926
|
-
/**
|
|
1927
|
-
* Converts an object of type 'ReceiverV1Beta2SpecResources' to JSON representation.
|
|
1928
|
-
*/
|
|
1929
|
-
export declare function toJson_ReceiverV1Beta2SpecResources(obj: ReceiverV1Beta2SpecResources | undefined): Record<string, any> | undefined;
|
|
1930
|
-
/**
|
|
1931
|
-
* SecretRef specifies the Secret containing the token used
|
|
1932
|
-
* to validate the payload authenticity.
|
|
1933
|
-
*
|
|
1934
|
-
* @schema ReceiverV1Beta2SpecSecretRef
|
|
1935
|
-
*/
|
|
1936
|
-
export interface ReceiverV1Beta2SpecSecretRef {
|
|
1937
|
-
/**
|
|
1938
|
-
* Name of the referent.
|
|
1939
|
-
*
|
|
1940
|
-
* @schema ReceiverV1Beta2SpecSecretRef#name
|
|
1941
|
-
*/
|
|
1942
|
-
readonly name: string;
|
|
1943
|
-
}
|
|
1944
|
-
/**
|
|
1945
|
-
* Converts an object of type 'ReceiverV1Beta2SpecSecretRef' to JSON representation.
|
|
1946
|
-
*/
|
|
1947
|
-
export declare function toJson_ReceiverV1Beta2SpecSecretRef(obj: ReceiverV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
|
|
1948
|
-
/**
|
|
1949
|
-
* Type of webhook sender, used to determine
|
|
1950
|
-
* the validation procedure and payload deserialization.
|
|
1951
|
-
*
|
|
1952
|
-
* @schema ReceiverV1Beta2SpecType
|
|
1953
|
-
*/
|
|
1954
|
-
export declare enum ReceiverV1Beta2SpecType {
|
|
1955
|
-
/** generic */
|
|
1956
|
-
GENERIC = "generic",
|
|
1957
|
-
/** generic-hmac */
|
|
1958
|
-
GENERIC_HYPHEN_HMAC = "generic-hmac",
|
|
1959
|
-
/** github */
|
|
1960
|
-
GITHUB = "github",
|
|
1961
|
-
/** gitlab */
|
|
1962
|
-
GITLAB = "gitlab",
|
|
1963
|
-
/** bitbucket */
|
|
1964
|
-
BITBUCKET = "bitbucket",
|
|
1965
|
-
/** harbor */
|
|
1966
|
-
HARBOR = "harbor",
|
|
1967
|
-
/** dockerhub */
|
|
1968
|
-
DOCKERHUB = "dockerhub",
|
|
1969
|
-
/** quay */
|
|
1970
|
-
QUAY = "quay",
|
|
1971
|
-
/** gcr */
|
|
1972
|
-
GCR = "gcr",
|
|
1973
|
-
/** nexus */
|
|
1974
|
-
NEXUS = "nexus",
|
|
1975
|
-
/** acr */
|
|
1976
|
-
ACR = "acr"
|
|
1977
|
-
}
|
|
1978
|
-
/**
|
|
1979
|
-
* Kind of the referent
|
|
1980
|
-
*
|
|
1981
|
-
* @schema ReceiverV1Beta2SpecResourcesKind
|
|
1982
|
-
*/
|
|
1983
|
-
export declare enum ReceiverV1Beta2SpecResourcesKind {
|
|
1984
|
-
/** Bucket */
|
|
1985
|
-
BUCKET = "Bucket",
|
|
1986
|
-
/** GitRepository */
|
|
1987
|
-
GIT_REPOSITORY = "GitRepository",
|
|
1988
|
-
/** Kustomization */
|
|
1989
|
-
KUSTOMIZATION = "Kustomization",
|
|
1990
|
-
/** HelmRelease */
|
|
1991
|
-
HELM_RELEASE = "HelmRelease",
|
|
1992
|
-
/** HelmChart */
|
|
1993
|
-
HELM_CHART = "HelmChart",
|
|
1994
|
-
/** HelmRepository */
|
|
1995
|
-
HELM_REPOSITORY = "HelmRepository",
|
|
1996
|
-
/** ImageRepository */
|
|
1997
|
-
IMAGE_REPOSITORY = "ImageRepository",
|
|
1998
|
-
/** ImagePolicy */
|
|
1999
|
-
IMAGE_POLICY = "ImagePolicy",
|
|
2000
|
-
/** ImageUpdateAutomation */
|
|
2001
|
-
IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
|
|
2002
|
-
/** OCIRepository */
|
|
2003
|
-
OCI_REPOSITORY = "OCIRepository"
|
|
2004
|
-
}
|
|
2005
|
-
//# sourceMappingURL=notification.toolkit.fluxcd.io.d.ts.map
|