@opensoha/contracts 0.1.25 → 0.1.26
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/COMPATIBILITY.md +24 -0
- package/README.md +1 -1
- package/agent/environment/export.go +1 -0
- package/agent/environment/protocol_test.go +1 -1
- package/agent/guest/protocol_test.go +2 -2
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
- package/delivery/document.schema.json +127 -9
- package/examples/relations_compat_test.go +18 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-build-template.json +30 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-deployment-template.json +30 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-workflow-template.json +27 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-build-template.json +31 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-deployment-template.json +31 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-workflow-template.json +28 -0
- package/fixtures/openapi/DeliveryPlanInput/invalid/manual-plan.json +7 -0
- package/fixtures/openapi/DeliveryPlanInput/valid/manual-plan.json +6 -0
- package/fixtures/openapi/DeliveryTargetInput/invalid/candidate-on-runtime-deploy.json +9 -0
- package/fixtures/openapi/DeliveryTargetInput/invalid/config-update-missing-service.json +7 -0
- package/fixtures/openapi/DeliveryTargetInput/valid/template-configuration-only.json +8 -0
- package/fixtures/openapi/DeliveryTargetInput/valid/template-configuration-without-runtime-environment.json +1 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/source-with-spec.json +33 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/source-without-uid.json +29 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/valid/stable-source.json +30 -0
- package/fixtures/openapi/KubernetesPod/invalid/pod-uid.json +9 -0
- package/fixtures/openapi/KubernetesPod/valid/pod-uid.json +9 -0
- package/fixtures/openapi/KubernetesPodDetail/invalid/pod-uid.json +6 -0
- package/fixtures/openapi/KubernetesPodDetail/valid/pod-uid.json +6 -0
- package/fixtures/openapi/KubernetesServiceImportRequest/invalid/empty-source-uid.json +48 -0
- package/fixtures/openapi/KubernetesServiceImportRequest/valid/pinned-workloads-and-cr.json +48 -0
- package/fixtures/openapi/ManifestExecutionTaskPayload/invalid/initialization.json +7 -0
- package/fixtures/openapi/ManifestExecutionTaskPayload/valid/initialization.json +7 -0
- package/fixtures/openapi/ManifestRootResource/invalid/root.json +1 -0
- package/fixtures/openapi/ManifestRootResource/valid/root.json +1 -0
- package/fixtures/openapi/ResourceRelationConfig/invalid/executable-rule.json +17 -0
- package/fixtures/openapi/ResourceRelationConfig/valid/unknown-kind.json +13 -0
- package/fixtures/openapi/ServiceDeploymentTemplateInput/invalid/migration-missing-guide-valid-yaml.json +38 -0
- package/fixtures/openapi/ServiceDeploymentTemplateInput/valid/migration-valid-yaml.json +39 -0
- package/fixtures/openapi/TemplateMigrationAssessment/invalid/initialization.json +9 -0
- package/fixtures/openapi/TemplateMigrationAssessment/valid/initialization.json +9 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/blank-guide.json +5 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/missing-guide.json +4 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/unknown-escape-hatch.json +6 -0
- package/fixtures/openapi/TemplateMigrationPolicy/valid/legacy-safe.json +4 -0
- package/fixtures/openapi/TemplateMigrationPolicy/valid/ordered-data-change.json +5 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/invalid/duplicate-candidates.json +11 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/invalid/empty-identities.json +10 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/valid/staged-adoption.json +10 -0
- package/fixtures/openapi/TemplateUpdatePolicyInput/invalid/unknown-mode.json +8 -0
- package/fixtures/openapi/TemplateUpdatePolicyInput/valid/explicit-automatic.json +8 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/invalid/empty-identities.json +10 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/invalid/empty-targets.json +6 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/valid/cross-version-manual.json +14 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/client_test.go +2 -2
- package/gen/go/sohaapi/import_source_compat_test.go +12 -0
- package/gen/go/sohaapi/types.go +945 -159
- package/gen/ts/sohaapi/index.ts +746 -4
- package/go.mod +2 -2
- package/helmrelease/delivery.go +4 -1
- package/helmrelease/initialization.go +10 -0
- package/helmrelease/runtime/delivery.go +40 -10
- package/helmrelease/runtime/delivery_test.go +4 -0
- package/helmrelease/runtime/initialization.go +186 -0
- package/helmrelease/runtime/initialization_test.go +203 -0
- package/openapi/soha-api.json +2195 -55
- package/openapi/soha-api.yaml +349 -9
- package/openapi/spec_generated.go +3 -3
- package/openapi/spec_test.go +42 -0
- package/package.json +1 -1
- package/resource/models.go +2 -0
- package/resource/relations.go +225 -0
- package/resource/relations_test.go +47 -0
- package/resource/root_cr.go +38 -0
- package/resource/runtime/argocd_integration_test.go +1 -1
- package/resource/runtime/initialization.go +66 -0
- package/resource/runtime/initialization_test.go +80 -0
- package/resource/runtime/relations.go +161 -0
- package/resource/runtime/relations_test.go +100 -0
- package/resource/runtime/root_cr.go +79 -0
- package/resource/runtime/root_cr_test.go +118 -0
package/gen/go/sohaapi/types.go
CHANGED
|
@@ -749,6 +749,36 @@ func (e ApplicationRuntimeEnvironmentStatus) Valid() bool {
|
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
+
// Defines values for ApplicationRuntimeWorkloadSourceStatus.
|
|
753
|
+
const (
|
|
754
|
+
ApplicationRuntimeWorkloadSourceStatusChanged ApplicationRuntimeWorkloadSourceStatus = "changed"
|
|
755
|
+
ApplicationRuntimeWorkloadSourceStatusForbidden ApplicationRuntimeWorkloadSourceStatus = "forbidden"
|
|
756
|
+
ApplicationRuntimeWorkloadSourceStatusLinked ApplicationRuntimeWorkloadSourceStatus = "linked"
|
|
757
|
+
ApplicationRuntimeWorkloadSourceStatusMissing ApplicationRuntimeWorkloadSourceStatus = "missing"
|
|
758
|
+
ApplicationRuntimeWorkloadSourceStatusReplaced ApplicationRuntimeWorkloadSourceStatus = "replaced"
|
|
759
|
+
ApplicationRuntimeWorkloadSourceStatusUnavailable ApplicationRuntimeWorkloadSourceStatus = "unavailable"
|
|
760
|
+
)
|
|
761
|
+
|
|
762
|
+
// Valid indicates whether the value is a known member of the ApplicationRuntimeWorkloadSourceStatus enum.
|
|
763
|
+
func (e ApplicationRuntimeWorkloadSourceStatus) Valid() bool {
|
|
764
|
+
switch e {
|
|
765
|
+
case ApplicationRuntimeWorkloadSourceStatusChanged:
|
|
766
|
+
return true
|
|
767
|
+
case ApplicationRuntimeWorkloadSourceStatusForbidden:
|
|
768
|
+
return true
|
|
769
|
+
case ApplicationRuntimeWorkloadSourceStatusLinked:
|
|
770
|
+
return true
|
|
771
|
+
case ApplicationRuntimeWorkloadSourceStatusMissing:
|
|
772
|
+
return true
|
|
773
|
+
case ApplicationRuntimeWorkloadSourceStatusReplaced:
|
|
774
|
+
return true
|
|
775
|
+
case ApplicationRuntimeWorkloadSourceStatusUnavailable:
|
|
776
|
+
return true
|
|
777
|
+
default:
|
|
778
|
+
return false
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
752
782
|
// Defines values for ApplicationServiceServiceKind.
|
|
753
783
|
const (
|
|
754
784
|
ApplicationServiceServiceKindExternalService ApplicationServiceServiceKind = "external_service"
|
|
@@ -2581,22 +2611,22 @@ func (e DeliveryDraftInputSource) Valid() bool {
|
|
|
2581
2611
|
|
|
2582
2612
|
// Defines values for DeliveryDraftServiceServiceKind.
|
|
2583
2613
|
const (
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2614
|
+
DeliveryDraftServiceServiceKindExternalService DeliveryDraftServiceServiceKind = "external_service"
|
|
2615
|
+
DeliveryDraftServiceServiceKindHelmRelease DeliveryDraftServiceServiceKind = "helm_release"
|
|
2616
|
+
DeliveryDraftServiceServiceKindJob DeliveryDraftServiceServiceKind = "job"
|
|
2617
|
+
DeliveryDraftServiceServiceKindKubernetesWorkload DeliveryDraftServiceServiceKind = "kubernetes_workload"
|
|
2588
2618
|
)
|
|
2589
2619
|
|
|
2590
2620
|
// Valid indicates whether the value is a known member of the DeliveryDraftServiceServiceKind enum.
|
|
2591
2621
|
func (e DeliveryDraftServiceServiceKind) Valid() bool {
|
|
2592
2622
|
switch e {
|
|
2593
|
-
case
|
|
2623
|
+
case DeliveryDraftServiceServiceKindExternalService:
|
|
2594
2624
|
return true
|
|
2595
|
-
case
|
|
2625
|
+
case DeliveryDraftServiceServiceKindHelmRelease:
|
|
2596
2626
|
return true
|
|
2597
|
-
case
|
|
2627
|
+
case DeliveryDraftServiceServiceKindJob:
|
|
2598
2628
|
return true
|
|
2599
|
-
case
|
|
2629
|
+
case DeliveryDraftServiceServiceKindKubernetesWorkload:
|
|
2600
2630
|
return true
|
|
2601
2631
|
default:
|
|
2602
2632
|
return false
|
|
@@ -4585,18 +4615,27 @@ func (e KubernetesCustomResourceAccessAllowedActions) Valid() bool {
|
|
|
4585
4615
|
|
|
4586
4616
|
// Defines values for KubernetesImportCandidateWorkloadKind.
|
|
4587
4617
|
const (
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4618
|
+
KubernetesImportCandidateWorkloadKindCronJob KubernetesImportCandidateWorkloadKind = "CronJob"
|
|
4619
|
+
KubernetesImportCandidateWorkloadKindCustomResource KubernetesImportCandidateWorkloadKind = "CustomResource"
|
|
4620
|
+
KubernetesImportCandidateWorkloadKindDaemonSet KubernetesImportCandidateWorkloadKind = "DaemonSet"
|
|
4621
|
+
KubernetesImportCandidateWorkloadKindDeployment KubernetesImportCandidateWorkloadKind = "Deployment"
|
|
4622
|
+
KubernetesImportCandidateWorkloadKindJob KubernetesImportCandidateWorkloadKind = "Job"
|
|
4623
|
+
KubernetesImportCandidateWorkloadKindStatefulSet KubernetesImportCandidateWorkloadKind = "StatefulSet"
|
|
4591
4624
|
)
|
|
4592
4625
|
|
|
4593
4626
|
// Valid indicates whether the value is a known member of the KubernetesImportCandidateWorkloadKind enum.
|
|
4594
4627
|
func (e KubernetesImportCandidateWorkloadKind) Valid() bool {
|
|
4595
4628
|
switch e {
|
|
4629
|
+
case KubernetesImportCandidateWorkloadKindCronJob:
|
|
4630
|
+
return true
|
|
4631
|
+
case KubernetesImportCandidateWorkloadKindCustomResource:
|
|
4632
|
+
return true
|
|
4596
4633
|
case KubernetesImportCandidateWorkloadKindDaemonSet:
|
|
4597
4634
|
return true
|
|
4598
4635
|
case KubernetesImportCandidateWorkloadKindDeployment:
|
|
4599
4636
|
return true
|
|
4637
|
+
case KubernetesImportCandidateWorkloadKindJob:
|
|
4638
|
+
return true
|
|
4600
4639
|
case KubernetesImportCandidateWorkloadKindStatefulSet:
|
|
4601
4640
|
return true
|
|
4602
4641
|
default:
|
|
@@ -4606,18 +4645,27 @@ func (e KubernetesImportCandidateWorkloadKind) Valid() bool {
|
|
|
4606
4645
|
|
|
4607
4646
|
// Defines values for KubernetesImportedServiceWorkloadKind.
|
|
4608
4647
|
const (
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4648
|
+
KubernetesImportedServiceWorkloadKindCronJob KubernetesImportedServiceWorkloadKind = "CronJob"
|
|
4649
|
+
KubernetesImportedServiceWorkloadKindCustomResource KubernetesImportedServiceWorkloadKind = "CustomResource"
|
|
4650
|
+
KubernetesImportedServiceWorkloadKindDaemonSet KubernetesImportedServiceWorkloadKind = "DaemonSet"
|
|
4651
|
+
KubernetesImportedServiceWorkloadKindDeployment KubernetesImportedServiceWorkloadKind = "Deployment"
|
|
4652
|
+
KubernetesImportedServiceWorkloadKindJob KubernetesImportedServiceWorkloadKind = "Job"
|
|
4653
|
+
KubernetesImportedServiceWorkloadKindStatefulSet KubernetesImportedServiceWorkloadKind = "StatefulSet"
|
|
4612
4654
|
)
|
|
4613
4655
|
|
|
4614
4656
|
// Valid indicates whether the value is a known member of the KubernetesImportedServiceWorkloadKind enum.
|
|
4615
4657
|
func (e KubernetesImportedServiceWorkloadKind) Valid() bool {
|
|
4616
4658
|
switch e {
|
|
4659
|
+
case KubernetesImportedServiceWorkloadKindCronJob:
|
|
4660
|
+
return true
|
|
4661
|
+
case KubernetesImportedServiceWorkloadKindCustomResource:
|
|
4662
|
+
return true
|
|
4617
4663
|
case KubernetesImportedServiceWorkloadKindDaemonSet:
|
|
4618
4664
|
return true
|
|
4619
4665
|
case KubernetesImportedServiceWorkloadKindDeployment:
|
|
4620
4666
|
return true
|
|
4667
|
+
case KubernetesImportedServiceWorkloadKindJob:
|
|
4668
|
+
return true
|
|
4621
4669
|
case KubernetesImportedServiceWorkloadKindStatefulSet:
|
|
4622
4670
|
return true
|
|
4623
4671
|
default:
|
|
@@ -4627,18 +4675,27 @@ func (e KubernetesImportedServiceWorkloadKind) Valid() bool {
|
|
|
4627
4675
|
|
|
4628
4676
|
// Defines values for KubernetesImportedTargetWorkloadKind.
|
|
4629
4677
|
const (
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4678
|
+
KubernetesImportedTargetWorkloadKindCronJob KubernetesImportedTargetWorkloadKind = "CronJob"
|
|
4679
|
+
KubernetesImportedTargetWorkloadKindCustomResource KubernetesImportedTargetWorkloadKind = "CustomResource"
|
|
4680
|
+
KubernetesImportedTargetWorkloadKindDaemonSet KubernetesImportedTargetWorkloadKind = "DaemonSet"
|
|
4681
|
+
KubernetesImportedTargetWorkloadKindDeployment KubernetesImportedTargetWorkloadKind = "Deployment"
|
|
4682
|
+
KubernetesImportedTargetWorkloadKindJob KubernetesImportedTargetWorkloadKind = "Job"
|
|
4683
|
+
KubernetesImportedTargetWorkloadKindStatefulSet KubernetesImportedTargetWorkloadKind = "StatefulSet"
|
|
4633
4684
|
)
|
|
4634
4685
|
|
|
4635
4686
|
// Valid indicates whether the value is a known member of the KubernetesImportedTargetWorkloadKind enum.
|
|
4636
4687
|
func (e KubernetesImportedTargetWorkloadKind) Valid() bool {
|
|
4637
4688
|
switch e {
|
|
4689
|
+
case KubernetesImportedTargetWorkloadKindCronJob:
|
|
4690
|
+
return true
|
|
4691
|
+
case KubernetesImportedTargetWorkloadKindCustomResource:
|
|
4692
|
+
return true
|
|
4638
4693
|
case KubernetesImportedTargetWorkloadKindDaemonSet:
|
|
4639
4694
|
return true
|
|
4640
4695
|
case KubernetesImportedTargetWorkloadKindDeployment:
|
|
4641
4696
|
return true
|
|
4697
|
+
case KubernetesImportedTargetWorkloadKindJob:
|
|
4698
|
+
return true
|
|
4642
4699
|
case KubernetesImportedTargetWorkloadKindStatefulSet:
|
|
4643
4700
|
return true
|
|
4644
4701
|
default:
|
|
@@ -5254,18 +5311,27 @@ func (e KubernetesTopologyResolution) Valid() bool {
|
|
|
5254
5311
|
|
|
5255
5312
|
// Defines values for KubernetesWorkloadImportInputWorkloadKind.
|
|
5256
5313
|
const (
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5314
|
+
KubernetesWorkloadImportInputWorkloadKindCronJob KubernetesWorkloadImportInputWorkloadKind = "CronJob"
|
|
5315
|
+
KubernetesWorkloadImportInputWorkloadKindCustomResource KubernetesWorkloadImportInputWorkloadKind = "CustomResource"
|
|
5316
|
+
KubernetesWorkloadImportInputWorkloadKindDaemonSet KubernetesWorkloadImportInputWorkloadKind = "DaemonSet"
|
|
5317
|
+
KubernetesWorkloadImportInputWorkloadKindDeployment KubernetesWorkloadImportInputWorkloadKind = "Deployment"
|
|
5318
|
+
KubernetesWorkloadImportInputWorkloadKindJob KubernetesWorkloadImportInputWorkloadKind = "Job"
|
|
5319
|
+
KubernetesWorkloadImportInputWorkloadKindStatefulSet KubernetesWorkloadImportInputWorkloadKind = "StatefulSet"
|
|
5260
5320
|
)
|
|
5261
5321
|
|
|
5262
5322
|
// Valid indicates whether the value is a known member of the KubernetesWorkloadImportInputWorkloadKind enum.
|
|
5263
5323
|
func (e KubernetesWorkloadImportInputWorkloadKind) Valid() bool {
|
|
5264
5324
|
switch e {
|
|
5325
|
+
case KubernetesWorkloadImportInputWorkloadKindCronJob:
|
|
5326
|
+
return true
|
|
5327
|
+
case KubernetesWorkloadImportInputWorkloadKindCustomResource:
|
|
5328
|
+
return true
|
|
5265
5329
|
case KubernetesWorkloadImportInputWorkloadKindDaemonSet:
|
|
5266
5330
|
return true
|
|
5267
5331
|
case KubernetesWorkloadImportInputWorkloadKindDeployment:
|
|
5268
5332
|
return true
|
|
5333
|
+
case KubernetesWorkloadImportInputWorkloadKindJob:
|
|
5334
|
+
return true
|
|
5269
5335
|
case KubernetesWorkloadImportInputWorkloadKindStatefulSet:
|
|
5270
5336
|
return true
|
|
5271
5337
|
default:
|
|
@@ -8776,25 +8842,25 @@ func (e PersonalGuestRuntimeInputBrowserAction) Valid() bool {
|
|
|
8776
8842
|
|
|
8777
8843
|
// Defines values for PersonalGuestRuntimeInputKind.
|
|
8778
8844
|
const (
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8845
|
+
PersonalGuestRuntimeInputKindBrowser PersonalGuestRuntimeInputKind = "browser"
|
|
8846
|
+
PersonalGuestRuntimeInputKindDocker PersonalGuestRuntimeInputKind = "docker"
|
|
8847
|
+
PersonalGuestRuntimeInputKindExecute PersonalGuestRuntimeInputKind = "execute"
|
|
8848
|
+
PersonalGuestRuntimeInputKindFileRead PersonalGuestRuntimeInputKind = "file_read"
|
|
8849
|
+
PersonalGuestRuntimeInputKindFileWrite PersonalGuestRuntimeInputKind = "file_write"
|
|
8784
8850
|
)
|
|
8785
8851
|
|
|
8786
8852
|
// Valid indicates whether the value is a known member of the PersonalGuestRuntimeInputKind enum.
|
|
8787
8853
|
func (e PersonalGuestRuntimeInputKind) Valid() bool {
|
|
8788
8854
|
switch e {
|
|
8789
|
-
case
|
|
8855
|
+
case PersonalGuestRuntimeInputKindBrowser:
|
|
8790
8856
|
return true
|
|
8791
|
-
case
|
|
8857
|
+
case PersonalGuestRuntimeInputKindDocker:
|
|
8792
8858
|
return true
|
|
8793
|
-
case
|
|
8859
|
+
case PersonalGuestRuntimeInputKindExecute:
|
|
8794
8860
|
return true
|
|
8795
|
-
case
|
|
8861
|
+
case PersonalGuestRuntimeInputKindFileRead:
|
|
8796
8862
|
return true
|
|
8797
|
-
case
|
|
8863
|
+
case PersonalGuestRuntimeInputKindFileWrite:
|
|
8798
8864
|
return true
|
|
8799
8865
|
default:
|
|
8800
8866
|
return false
|
|
@@ -8917,22 +8983,22 @@ func (e PluginArtifactRecordProvenanceStatus) Valid() bool {
|
|
|
8917
8983
|
|
|
8918
8984
|
// Defines values for PluginArtifactRecordSignatureStatus.
|
|
8919
8985
|
const (
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8986
|
+
PluginArtifactRecordSignatureStatusInvalid PluginArtifactRecordSignatureStatus = "invalid"
|
|
8987
|
+
PluginArtifactRecordSignatureStatusNotProvided PluginArtifactRecordSignatureStatus = "not_provided"
|
|
8988
|
+
PluginArtifactRecordSignatureStatusUntrusted PluginArtifactRecordSignatureStatus = "untrusted"
|
|
8989
|
+
PluginArtifactRecordSignatureStatusVerified PluginArtifactRecordSignatureStatus = "verified"
|
|
8924
8990
|
)
|
|
8925
8991
|
|
|
8926
8992
|
// Valid indicates whether the value is a known member of the PluginArtifactRecordSignatureStatus enum.
|
|
8927
8993
|
func (e PluginArtifactRecordSignatureStatus) Valid() bool {
|
|
8928
8994
|
switch e {
|
|
8929
|
-
case
|
|
8995
|
+
case PluginArtifactRecordSignatureStatusInvalid:
|
|
8930
8996
|
return true
|
|
8931
|
-
case
|
|
8997
|
+
case PluginArtifactRecordSignatureStatusNotProvided:
|
|
8932
8998
|
return true
|
|
8933
|
-
case
|
|
8999
|
+
case PluginArtifactRecordSignatureStatusUntrusted:
|
|
8934
9000
|
return true
|
|
8935
|
-
case
|
|
9001
|
+
case PluginArtifactRecordSignatureStatusVerified:
|
|
8936
9002
|
return true
|
|
8937
9003
|
default:
|
|
8938
9004
|
return false
|
|
@@ -9365,6 +9431,108 @@ func (e ResourceMonitoringViewName) Valid() bool {
|
|
|
9365
9431
|
}
|
|
9366
9432
|
}
|
|
9367
9433
|
|
|
9434
|
+
// Defines values for ResourceRelationCoverageState.
|
|
9435
|
+
const (
|
|
9436
|
+
ResourceRelationCoverageStateAvailable ResourceRelationCoverageState = "available"
|
|
9437
|
+
ResourceRelationCoverageStateDenied ResourceRelationCoverageState = "denied"
|
|
9438
|
+
ResourceRelationCoverageStateError ResourceRelationCoverageState = "error"
|
|
9439
|
+
ResourceRelationCoverageStateNotInstalled ResourceRelationCoverageState = "not_installed"
|
|
9440
|
+
ResourceRelationCoverageStatePartial ResourceRelationCoverageState = "partial"
|
|
9441
|
+
ResourceRelationCoverageStateUnsupported ResourceRelationCoverageState = "unsupported"
|
|
9442
|
+
)
|
|
9443
|
+
|
|
9444
|
+
// Valid indicates whether the value is a known member of the ResourceRelationCoverageState enum.
|
|
9445
|
+
func (e ResourceRelationCoverageState) Valid() bool {
|
|
9446
|
+
switch e {
|
|
9447
|
+
case ResourceRelationCoverageStateAvailable:
|
|
9448
|
+
return true
|
|
9449
|
+
case ResourceRelationCoverageStateDenied:
|
|
9450
|
+
return true
|
|
9451
|
+
case ResourceRelationCoverageStateError:
|
|
9452
|
+
return true
|
|
9453
|
+
case ResourceRelationCoverageStateNotInstalled:
|
|
9454
|
+
return true
|
|
9455
|
+
case ResourceRelationCoverageStatePartial:
|
|
9456
|
+
return true
|
|
9457
|
+
case ResourceRelationCoverageStateUnsupported:
|
|
9458
|
+
return true
|
|
9459
|
+
default:
|
|
9460
|
+
return false
|
|
9461
|
+
}
|
|
9462
|
+
}
|
|
9463
|
+
|
|
9464
|
+
// Defines values for ResourceRelationEdgeType.
|
|
9465
|
+
const (
|
|
9466
|
+
ResourceRelationEdgeTypeManual ResourceRelationEdgeType = "manual"
|
|
9467
|
+
ResourceRelationEdgeTypeOwns ResourceRelationEdgeType = "owns"
|
|
9468
|
+
ResourceRelationEdgeTypeReferences ResourceRelationEdgeType = "references"
|
|
9469
|
+
ResourceRelationEdgeTypeSelectorCandidate ResourceRelationEdgeType = "selector_candidate"
|
|
9470
|
+
)
|
|
9471
|
+
|
|
9472
|
+
// Valid indicates whether the value is a known member of the ResourceRelationEdgeType enum.
|
|
9473
|
+
func (e ResourceRelationEdgeType) Valid() bool {
|
|
9474
|
+
switch e {
|
|
9475
|
+
case ResourceRelationEdgeTypeManual:
|
|
9476
|
+
return true
|
|
9477
|
+
case ResourceRelationEdgeTypeOwns:
|
|
9478
|
+
return true
|
|
9479
|
+
case ResourceRelationEdgeTypeReferences:
|
|
9480
|
+
return true
|
|
9481
|
+
case ResourceRelationEdgeTypeSelectorCandidate:
|
|
9482
|
+
return true
|
|
9483
|
+
default:
|
|
9484
|
+
return false
|
|
9485
|
+
}
|
|
9486
|
+
}
|
|
9487
|
+
|
|
9488
|
+
// Defines values for ResourceRelationNodeRole.
|
|
9489
|
+
const (
|
|
9490
|
+
ResourceRelationNodeRoleCandidate ResourceRelationNodeRole = "candidate"
|
|
9491
|
+
ResourceRelationNodeRoleManual ResourceRelationNodeRole = "manual"
|
|
9492
|
+
ResourceRelationNodeRoleOwned ResourceRelationNodeRole = "owned"
|
|
9493
|
+
ResourceRelationNodeRoleReference ResourceRelationNodeRole = "reference"
|
|
9494
|
+
ResourceRelationNodeRoleRoot ResourceRelationNodeRole = "root"
|
|
9495
|
+
)
|
|
9496
|
+
|
|
9497
|
+
// Valid indicates whether the value is a known member of the ResourceRelationNodeRole enum.
|
|
9498
|
+
func (e ResourceRelationNodeRole) Valid() bool {
|
|
9499
|
+
switch e {
|
|
9500
|
+
case ResourceRelationNodeRoleCandidate:
|
|
9501
|
+
return true
|
|
9502
|
+
case ResourceRelationNodeRoleManual:
|
|
9503
|
+
return true
|
|
9504
|
+
case ResourceRelationNodeRoleOwned:
|
|
9505
|
+
return true
|
|
9506
|
+
case ResourceRelationNodeRoleReference:
|
|
9507
|
+
return true
|
|
9508
|
+
case ResourceRelationNodeRoleRoot:
|
|
9509
|
+
return true
|
|
9510
|
+
default:
|
|
9511
|
+
return false
|
|
9512
|
+
}
|
|
9513
|
+
}
|
|
9514
|
+
|
|
9515
|
+
// Defines values for ResourceRelationRuleType.
|
|
9516
|
+
const (
|
|
9517
|
+
ResourceRelationRuleTypeManual ResourceRelationRuleType = "manual"
|
|
9518
|
+
ResourceRelationRuleTypeReference ResourceRelationRuleType = "reference"
|
|
9519
|
+
ResourceRelationRuleTypeSelector ResourceRelationRuleType = "selector"
|
|
9520
|
+
)
|
|
9521
|
+
|
|
9522
|
+
// Valid indicates whether the value is a known member of the ResourceRelationRuleType enum.
|
|
9523
|
+
func (e ResourceRelationRuleType) Valid() bool {
|
|
9524
|
+
switch e {
|
|
9525
|
+
case ResourceRelationRuleTypeManual:
|
|
9526
|
+
return true
|
|
9527
|
+
case ResourceRelationRuleTypeReference:
|
|
9528
|
+
return true
|
|
9529
|
+
case ResourceRelationRuleTypeSelector:
|
|
9530
|
+
return true
|
|
9531
|
+
default:
|
|
9532
|
+
return false
|
|
9533
|
+
}
|
|
9534
|
+
}
|
|
9535
|
+
|
|
9368
9536
|
// Defines values for RuntimeConfigApplicationStatus.
|
|
9369
9537
|
const (
|
|
9370
9538
|
RuntimeConfigApplicationStatusApplied RuntimeConfigApplicationStatus = "applied"
|
|
@@ -9502,19 +9670,19 @@ func (e RuntimeConfigValueType) Valid() bool {
|
|
|
9502
9670
|
|
|
9503
9671
|
// Defines values for RuntimeNetworkUsageScope.
|
|
9504
9672
|
const (
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9673
|
+
NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
|
|
9674
|
+
Process RuntimeNetworkUsageScope = "process"
|
|
9675
|
+
Unavailable RuntimeNetworkUsageScope = "unavailable"
|
|
9508
9676
|
)
|
|
9509
9677
|
|
|
9510
9678
|
// Valid indicates whether the value is a known member of the RuntimeNetworkUsageScope enum.
|
|
9511
9679
|
func (e RuntimeNetworkUsageScope) Valid() bool {
|
|
9512
9680
|
switch e {
|
|
9513
|
-
case
|
|
9681
|
+
case NetworkNamespace:
|
|
9514
9682
|
return true
|
|
9515
|
-
case
|
|
9683
|
+
case Process:
|
|
9516
9684
|
return true
|
|
9517
|
-
case
|
|
9685
|
+
case Unavailable:
|
|
9518
9686
|
return true
|
|
9519
9687
|
default:
|
|
9520
9688
|
return false
|
|
@@ -10016,6 +10184,123 @@ func (e TemplatePublicationState) Valid() bool {
|
|
|
10016
10184
|
}
|
|
10017
10185
|
}
|
|
10018
10186
|
|
|
10187
|
+
// Defines values for TemplateUpdateChangeSection.
|
|
10188
|
+
const (
|
|
10189
|
+
TemplateUpdateChangeSectionDefaults TemplateUpdateChangeSection = "defaults"
|
|
10190
|
+
TemplateUpdateChangeSectionParameters TemplateUpdateChangeSection = "parameters"
|
|
10191
|
+
TemplateUpdateChangeSectionResources TemplateUpdateChangeSection = "resources"
|
|
10192
|
+
TemplateUpdateChangeSectionSchema TemplateUpdateChangeSection = "schema"
|
|
10193
|
+
TemplateUpdateChangeSectionSource TemplateUpdateChangeSection = "source"
|
|
10194
|
+
)
|
|
10195
|
+
|
|
10196
|
+
// Valid indicates whether the value is a known member of the TemplateUpdateChangeSection enum.
|
|
10197
|
+
func (e TemplateUpdateChangeSection) Valid() bool {
|
|
10198
|
+
switch e {
|
|
10199
|
+
case TemplateUpdateChangeSectionDefaults:
|
|
10200
|
+
return true
|
|
10201
|
+
case TemplateUpdateChangeSectionParameters:
|
|
10202
|
+
return true
|
|
10203
|
+
case TemplateUpdateChangeSectionResources:
|
|
10204
|
+
return true
|
|
10205
|
+
case TemplateUpdateChangeSectionSchema:
|
|
10206
|
+
return true
|
|
10207
|
+
case TemplateUpdateChangeSectionSource:
|
|
10208
|
+
return true
|
|
10209
|
+
default:
|
|
10210
|
+
return false
|
|
10211
|
+
}
|
|
10212
|
+
}
|
|
10213
|
+
|
|
10214
|
+
// Defines values for TemplateUpdateDiffRenderStatus.
|
|
10215
|
+
const (
|
|
10216
|
+
TemplateUpdateDiffRenderStatusAvailable TemplateUpdateDiffRenderStatus = "available"
|
|
10217
|
+
TemplateUpdateDiffRenderStatusInvalid TemplateUpdateDiffRenderStatus = "invalid"
|
|
10218
|
+
TemplateUpdateDiffRenderStatusUnavailable TemplateUpdateDiffRenderStatus = "unavailable"
|
|
10219
|
+
)
|
|
10220
|
+
|
|
10221
|
+
// Valid indicates whether the value is a known member of the TemplateUpdateDiffRenderStatus enum.
|
|
10222
|
+
func (e TemplateUpdateDiffRenderStatus) Valid() bool {
|
|
10223
|
+
switch e {
|
|
10224
|
+
case TemplateUpdateDiffRenderStatusAvailable:
|
|
10225
|
+
return true
|
|
10226
|
+
case TemplateUpdateDiffRenderStatusInvalid:
|
|
10227
|
+
return true
|
|
10228
|
+
case TemplateUpdateDiffRenderStatusUnavailable:
|
|
10229
|
+
return true
|
|
10230
|
+
default:
|
|
10231
|
+
return false
|
|
10232
|
+
}
|
|
10233
|
+
}
|
|
10234
|
+
|
|
10235
|
+
// Defines values for TemplateUpdateKind.
|
|
10236
|
+
const (
|
|
10237
|
+
TemplateUpdateKindBlueprint TemplateUpdateKind = "blueprint"
|
|
10238
|
+
TemplateUpdateKindBuild TemplateUpdateKind = "build"
|
|
10239
|
+
TemplateUpdateKindDeployment TemplateUpdateKind = "deployment"
|
|
10240
|
+
TemplateUpdateKindWorkflow TemplateUpdateKind = "workflow"
|
|
10241
|
+
)
|
|
10242
|
+
|
|
10243
|
+
// Valid indicates whether the value is a known member of the TemplateUpdateKind enum.
|
|
10244
|
+
func (e TemplateUpdateKind) Valid() bool {
|
|
10245
|
+
switch e {
|
|
10246
|
+
case TemplateUpdateKindBlueprint:
|
|
10247
|
+
return true
|
|
10248
|
+
case TemplateUpdateKindBuild:
|
|
10249
|
+
return true
|
|
10250
|
+
case TemplateUpdateKindDeployment:
|
|
10251
|
+
return true
|
|
10252
|
+
case TemplateUpdateKindWorkflow:
|
|
10253
|
+
return true
|
|
10254
|
+
default:
|
|
10255
|
+
return false
|
|
10256
|
+
}
|
|
10257
|
+
}
|
|
10258
|
+
|
|
10259
|
+
// Defines values for TemplateUpdateMode.
|
|
10260
|
+
const (
|
|
10261
|
+
Approval TemplateUpdateMode = "approval"
|
|
10262
|
+
Automatic TemplateUpdateMode = "automatic"
|
|
10263
|
+
Fixed TemplateUpdateMode = "fixed"
|
|
10264
|
+
Manual TemplateUpdateMode = "manual"
|
|
10265
|
+
)
|
|
10266
|
+
|
|
10267
|
+
// Valid indicates whether the value is a known member of the TemplateUpdateMode enum.
|
|
10268
|
+
func (e TemplateUpdateMode) Valid() bool {
|
|
10269
|
+
switch e {
|
|
10270
|
+
case Approval:
|
|
10271
|
+
return true
|
|
10272
|
+
case Automatic:
|
|
10273
|
+
return true
|
|
10274
|
+
case Fixed:
|
|
10275
|
+
return true
|
|
10276
|
+
case Manual:
|
|
10277
|
+
return true
|
|
10278
|
+
default:
|
|
10279
|
+
return false
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10282
|
+
|
|
10283
|
+
// Defines values for TemplateUpdateTargetScope.
|
|
10284
|
+
const (
|
|
10285
|
+
TemplateUpdateTargetScopeApplication TemplateUpdateTargetScope = "application"
|
|
10286
|
+
TemplateUpdateTargetScopeCreationOnly TemplateUpdateTargetScope = "creation_only"
|
|
10287
|
+
TemplateUpdateTargetScopeEnvironment TemplateUpdateTargetScope = "environment"
|
|
10288
|
+
)
|
|
10289
|
+
|
|
10290
|
+
// Valid indicates whether the value is a known member of the TemplateUpdateTargetScope enum.
|
|
10291
|
+
func (e TemplateUpdateTargetScope) Valid() bool {
|
|
10292
|
+
switch e {
|
|
10293
|
+
case TemplateUpdateTargetScopeApplication:
|
|
10294
|
+
return true
|
|
10295
|
+
case TemplateUpdateTargetScopeCreationOnly:
|
|
10296
|
+
return true
|
|
10297
|
+
case TemplateUpdateTargetScopeEnvironment:
|
|
10298
|
+
return true
|
|
10299
|
+
default:
|
|
10300
|
+
return false
|
|
10301
|
+
}
|
|
10302
|
+
}
|
|
10303
|
+
|
|
10019
10304
|
// Defines values for ToolExecutionContractMode.
|
|
10020
10305
|
const (
|
|
10021
10306
|
Async ToolExecutionContractMode = "async"
|
|
@@ -10141,22 +10426,22 @@ func (e VirtualMachineActionInputAction) Valid() bool {
|
|
|
10141
10426
|
|
|
10142
10427
|
// Defines values for VirtualMachinePowerInputAction.
|
|
10143
10428
|
const (
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10429
|
+
VirtualMachinePowerInputActionDelete VirtualMachinePowerInputAction = "delete"
|
|
10430
|
+
VirtualMachinePowerInputActionReboot VirtualMachinePowerInputAction = "reboot"
|
|
10431
|
+
VirtualMachinePowerInputActionStart VirtualMachinePowerInputAction = "start"
|
|
10432
|
+
VirtualMachinePowerInputActionStop VirtualMachinePowerInputAction = "stop"
|
|
10148
10433
|
)
|
|
10149
10434
|
|
|
10150
10435
|
// Valid indicates whether the value is a known member of the VirtualMachinePowerInputAction enum.
|
|
10151
10436
|
func (e VirtualMachinePowerInputAction) Valid() bool {
|
|
10152
10437
|
switch e {
|
|
10153
|
-
case
|
|
10438
|
+
case VirtualMachinePowerInputActionDelete:
|
|
10154
10439
|
return true
|
|
10155
|
-
case
|
|
10440
|
+
case VirtualMachinePowerInputActionReboot:
|
|
10156
10441
|
return true
|
|
10157
|
-
case
|
|
10442
|
+
case VirtualMachinePowerInputActionStart:
|
|
10158
10443
|
return true
|
|
10159
|
-
case
|
|
10444
|
+
case VirtualMachinePowerInputActionStop:
|
|
10160
10445
|
return true
|
|
10161
10446
|
default:
|
|
10162
10447
|
return false
|
|
@@ -12341,6 +12626,36 @@ func (e TransitionAgentProviderRolloutParamsRolloutAction) Valid() bool {
|
|
|
12341
12626
|
}
|
|
12342
12627
|
}
|
|
12343
12628
|
|
|
12629
|
+
// Defines values for ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind.
|
|
12630
|
+
const (
|
|
12631
|
+
ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindCronJob ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind = "CronJob"
|
|
12632
|
+
ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindCustomResource ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind = "CustomResource"
|
|
12633
|
+
ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindDaemonSet ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind = "DaemonSet"
|
|
12634
|
+
ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindDeployment ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind = "Deployment"
|
|
12635
|
+
ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindJob ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind = "Job"
|
|
12636
|
+
ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindStatefulSet ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind = "StatefulSet"
|
|
12637
|
+
)
|
|
12638
|
+
|
|
12639
|
+
// Valid indicates whether the value is a known member of the ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind enum.
|
|
12640
|
+
func (e ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind) Valid() bool {
|
|
12641
|
+
switch e {
|
|
12642
|
+
case ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindCronJob:
|
|
12643
|
+
return true
|
|
12644
|
+
case ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindCustomResource:
|
|
12645
|
+
return true
|
|
12646
|
+
case ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindDaemonSet:
|
|
12647
|
+
return true
|
|
12648
|
+
case ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindDeployment:
|
|
12649
|
+
return true
|
|
12650
|
+
case ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindJob:
|
|
12651
|
+
return true
|
|
12652
|
+
case ListApplicationEnvironmentTargetCandidatesParamsWorkloadKindStatefulSet:
|
|
12653
|
+
return true
|
|
12654
|
+
default:
|
|
12655
|
+
return false
|
|
12656
|
+
}
|
|
12657
|
+
}
|
|
12658
|
+
|
|
12344
12659
|
// Defines values for ListComputeTasksParamsSortOrder.
|
|
12345
12660
|
const (
|
|
12346
12661
|
Asc ListComputeTasksParamsSortOrder = "asc"
|
|
@@ -12379,16 +12694,16 @@ func (e SearchWorkbenchMessagesParamsWorkspace) Valid() bool {
|
|
|
12379
12694
|
|
|
12380
12695
|
// Defines values for ExportDeliveryDocumentParamsFormat.
|
|
12381
12696
|
const (
|
|
12382
|
-
|
|
12383
|
-
|
|
12697
|
+
ExportDeliveryDocumentParamsFormatJSON ExportDeliveryDocumentParamsFormat = "json"
|
|
12698
|
+
ExportDeliveryDocumentParamsFormatYaml ExportDeliveryDocumentParamsFormat = "yaml"
|
|
12384
12699
|
)
|
|
12385
12700
|
|
|
12386
12701
|
// Valid indicates whether the value is a known member of the ExportDeliveryDocumentParamsFormat enum.
|
|
12387
12702
|
func (e ExportDeliveryDocumentParamsFormat) Valid() bool {
|
|
12388
12703
|
switch e {
|
|
12389
|
-
case
|
|
12704
|
+
case ExportDeliveryDocumentParamsFormatJSON:
|
|
12390
12705
|
return true
|
|
12391
|
-
case
|
|
12706
|
+
case ExportDeliveryDocumentParamsFormatYaml:
|
|
12392
12707
|
return true
|
|
12393
12708
|
default:
|
|
12394
12709
|
return false
|
|
@@ -13994,11 +14309,19 @@ type ApplicationRuntimeWorkload struct {
|
|
|
13994
14309
|
Namespace string `json:"namespace"`
|
|
13995
14310
|
ReadyReplicas int `json:"readyReplicas"`
|
|
13996
14311
|
Selector map[string]string `json:"selector,omitempty"`
|
|
13997
|
-
|
|
13998
|
-
|
|
13999
|
-
|
|
14312
|
+
|
|
14313
|
+
// Source Safe source identity captured from an authorized live read. No YAML, spec values, annotations or status are persisted here. For native workloads specDigest covers configuration and ownership metadata excluding status/resourceVersion. For CRs it fences the public UID, generation and owner references without hashing secret content; metadata-only edits are outside that fence. CRs without a positive generation are rejected. UID identifies recreation.
|
|
14314
|
+
Source *KubernetesImportSource `json:"source,omitempty"`
|
|
14315
|
+
SourceStatus ApplicationRuntimeWorkloadSourceStatus `json:"sourceStatus,omitempty"`
|
|
14316
|
+
TargetID string `json:"targetId,omitempty"`
|
|
14317
|
+
UpdatedReplicas int `json:"updatedReplicas"`
|
|
14318
|
+
WorkloadKind string `json:"workloadKind"`
|
|
14319
|
+
WorkloadName string `json:"workloadName"`
|
|
14000
14320
|
}
|
|
14001
14321
|
|
|
14322
|
+
// ApplicationRuntimeWorkloadSourceStatus defines model for ApplicationRuntimeWorkload.SourceStatus.
|
|
14323
|
+
type ApplicationRuntimeWorkloadSourceStatus string
|
|
14324
|
+
|
|
14002
14325
|
// ApplicationService defines model for ApplicationService.
|
|
14003
14326
|
type ApplicationService struct {
|
|
14004
14327
|
ApplicationID string `json:"applicationId"`
|
|
@@ -14526,6 +14849,7 @@ type BuildTemplate struct {
|
|
|
14526
14849
|
Enabled bool `json:"enabled"`
|
|
14527
14850
|
ID string `json:"id"`
|
|
14528
14851
|
Key string `json:"key"`
|
|
14852
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
14529
14853
|
Name string `json:"name"`
|
|
14530
14854
|
PublicationState TemplatePublicationState `json:"publicationState,omitempty"`
|
|
14531
14855
|
|
|
@@ -14560,10 +14884,11 @@ type BuildTemplateInput struct {
|
|
|
14560
14884
|
Enabled bool `json:"enabled"`
|
|
14561
14885
|
|
|
14562
14886
|
// ExpectedRevision Reject an update if the stored revision differs.
|
|
14563
|
-
ExpectedRevision int
|
|
14564
|
-
ID string
|
|
14565
|
-
Key string
|
|
14566
|
-
|
|
14887
|
+
ExpectedRevision int `json:"expectedRevision,omitempty"`
|
|
14888
|
+
ID string `json:"id,omitempty"`
|
|
14889
|
+
Key string `json:"key"`
|
|
14890
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
14891
|
+
Name string `json:"name"`
|
|
14567
14892
|
|
|
14568
14893
|
// Publish Publish an immutable version when saving. False saves a draft; omission preserves legacy save-and-publish behavior.
|
|
14569
14894
|
Publish bool `json:"publish,omitempty"`
|
|
@@ -15927,6 +16252,7 @@ type DeliveryDeploymentTemplateSpec struct {
|
|
|
15927
16252
|
Enabled bool `json:"enabled,omitempty"`
|
|
15928
16253
|
EnvironmentOverrides []string `json:"environmentOverrides,omitempty"`
|
|
15929
16254
|
Health DeploymentTemplateHealth `json:"health"`
|
|
16255
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
15930
16256
|
|
|
15931
16257
|
// ParameterSchema Restricted JSON Schema. Objects reject undeclared keys unless mapValues specifies their schema. secret_reference accepts only a namespaced Secret name/key reference, never a plaintext credential. External references and executable expressions are unsupported.
|
|
15932
16258
|
ParameterSchema TemplateParameterSchema `json:"parameterSchema"`
|
|
@@ -16461,6 +16787,7 @@ type DeliveryPlan struct {
|
|
|
16461
16787
|
Status DeliveryPlanStatus `json:"status"`
|
|
16462
16788
|
TargetID string `json:"targetId,omitempty"`
|
|
16463
16789
|
TargetSummary string `json:"targetSummary,omitempty"`
|
|
16790
|
+
TemplateCandidateID string `json:"templateCandidateId,omitempty"`
|
|
16464
16791
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
16465
16792
|
Variables map[string]any `json:"variables,omitempty"`
|
|
16466
16793
|
}
|
|
@@ -16562,6 +16889,7 @@ type DeliveryTargetSnapshot struct {
|
|
|
16562
16889
|
ServiceName string `json:"serviceName"`
|
|
16563
16890
|
ServiceVersion int `json:"serviceVersion"`
|
|
16564
16891
|
Target DeliveryTargetInput `json:"target"`
|
|
16892
|
+
TemplateUpdate *TemplateUpdateReceipt `json:"templateUpdate,omitempty"`
|
|
16565
16893
|
}
|
|
16566
16894
|
|
|
16567
16895
|
// DeliveryTemplateProvenance Immutable provenance captured when a template version is published. Source removal and detachment never erase it. Workflow uses its saved version.
|
|
@@ -16937,9 +17265,10 @@ type DeliveryWorkflowTemplateDocument struct {
|
|
|
16937
17265
|
|
|
16938
17266
|
// DeliveryWorkflowTemplateSpec defines model for DeliveryWorkflowTemplateSpec.
|
|
16939
17267
|
type DeliveryWorkflowTemplateSpec struct {
|
|
16940
|
-
Category
|
|
16941
|
-
Definition
|
|
16942
|
-
Enabled
|
|
17268
|
+
Category string `json:"category,omitempty"`
|
|
17269
|
+
Definition DeliveryWorkflowTemplateSpec_Definition `json:"definition"`
|
|
17270
|
+
Enabled bool `json:"enabled,omitempty"`
|
|
17271
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
16943
17272
|
}
|
|
16944
17273
|
|
|
16945
17274
|
// DeliveryWorkflowTemplateSpec_Definition defines model for DeliveryWorkflowTemplateSpec.Definition.
|
|
@@ -18311,6 +18640,7 @@ type HelmDeliverySnapshot struct {
|
|
|
18311
18640
|
ConfigurationDigest string `json:"configurationDigest"`
|
|
18312
18641
|
DeliveryPlanID string `json:"deliveryPlanId"`
|
|
18313
18642
|
ExpectedRevision int `json:"expectedRevision"`
|
|
18643
|
+
Migration *TemplateMigrationAssessment `json:"migration,omitempty"`
|
|
18314
18644
|
Namespace string `json:"namespace"`
|
|
18315
18645
|
Operation HelmDeliverySnapshotOperation `json:"operation"`
|
|
18316
18646
|
PreflightTaskID string `json:"preflightTaskId"`
|
|
@@ -18322,6 +18652,7 @@ type HelmDeliverySnapshot struct {
|
|
|
18322
18652
|
ServiceID string `json:"serviceId"`
|
|
18323
18653
|
ServiceVersion int64 `json:"serviceVersion"`
|
|
18324
18654
|
TargetID string `json:"targetId"`
|
|
18655
|
+
TemplateInputs *TemplateVersionReference `json:"templateInputs,omitempty"`
|
|
18325
18656
|
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
|
|
18326
18657
|
ValuesDigest string `json:"valuesDigest"`
|
|
18327
18658
|
}
|
|
@@ -18333,6 +18664,9 @@ type HelmDeliverySnapshotOperation string
|
|
|
18333
18664
|
type HelmExecutionTaskPayload struct {
|
|
18334
18665
|
Action HelmExecutionTaskPayloadAction `json:"action"`
|
|
18335
18666
|
|
|
18667
|
+
// InitializationResources Server-derived original successful initialization apply receipt. Required for initialization observation or already-applied recovery; current same-name objects cannot establish original ownership.
|
|
18668
|
+
InitializationResources []ManifestResourceInventory `json:"initializationResources,omitempty"`
|
|
18669
|
+
|
|
18336
18670
|
// Prepared Confidential runner input. Never returned through ordinary plan, task, history or log reads.
|
|
18337
18671
|
Prepared *HelmPreparedRelease `json:"prepared,omitempty"`
|
|
18338
18672
|
Snapshot HelmDeliverySnapshot `json:"snapshot"`
|
|
@@ -20594,15 +20928,18 @@ type KubernetesHorizontalPodAutoscalerMetric struct {
|
|
|
20594
20928
|
|
|
20595
20929
|
// KubernetesImportCandidate defines model for KubernetesImportCandidate.
|
|
20596
20930
|
type KubernetesImportCandidate struct {
|
|
20597
|
-
ClusterID string
|
|
20598
|
-
Containers []string
|
|
20599
|
-
DesiredReplicas int
|
|
20600
|
-
Labels map[string]string
|
|
20601
|
-
Namespace string
|
|
20602
|
-
ReadyReplicas int
|
|
20603
|
-
RelatedResources []KubernetesRelatedResource
|
|
20604
|
-
|
|
20605
|
-
|
|
20931
|
+
ClusterID string `json:"clusterId"`
|
|
20932
|
+
Containers []string `json:"containers,omitempty"`
|
|
20933
|
+
DesiredReplicas int `json:"desiredReplicas"`
|
|
20934
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
20935
|
+
Namespace string `json:"namespace"`
|
|
20936
|
+
ReadyReplicas int `json:"readyReplicas"`
|
|
20937
|
+
RelatedResources []KubernetesRelatedResource `json:"relatedResources"`
|
|
20938
|
+
|
|
20939
|
+
// Source Safe source identity captured from an authorized live read. No YAML, spec values, annotations or status are persisted here. For native workloads specDigest covers configuration and ownership metadata excluding status/resourceVersion. For CRs it fences the public UID, generation and owner references without hashing secret content; metadata-only edits are outside that fence. CRs without a positive generation are rejected. UID identifies recreation.
|
|
20940
|
+
Source *KubernetesImportSource `json:"source,omitempty"`
|
|
20941
|
+
WorkloadKind KubernetesImportCandidateWorkloadKind `json:"workloadKind"`
|
|
20942
|
+
WorkloadName string `json:"workloadName"`
|
|
20606
20943
|
}
|
|
20607
20944
|
|
|
20608
20945
|
// KubernetesImportCandidateWorkloadKind defines model for KubernetesImportCandidate.WorkloadKind.
|
|
@@ -20622,6 +20959,36 @@ type KubernetesImportEntityRef struct {
|
|
|
20622
20959
|
Name string `json:"name"`
|
|
20623
20960
|
}
|
|
20624
20961
|
|
|
20962
|
+
// KubernetesImportOwnerReference defines model for KubernetesImportOwnerReference.
|
|
20963
|
+
type KubernetesImportOwnerReference struct {
|
|
20964
|
+
APIVersion string `json:"apiVersion"`
|
|
20965
|
+
BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"`
|
|
20966
|
+
Controller bool `json:"controller,omitempty"`
|
|
20967
|
+
Kind string `json:"kind"`
|
|
20968
|
+
Name string `json:"name"`
|
|
20969
|
+
UID string `json:"uid"`
|
|
20970
|
+
}
|
|
20971
|
+
|
|
20972
|
+
// KubernetesImportSource Safe source identity captured from an authorized live read. No YAML, spec values, annotations or status are persisted here. For native workloads specDigest covers configuration and ownership metadata excluding status/resourceVersion. For CRs it fences the public UID, generation and owner references without hashing secret content; metadata-only edits are outside that fence. CRs without a positive generation are rejected. UID identifies recreation.
|
|
20973
|
+
type KubernetesImportSource struct {
|
|
20974
|
+
CrdName string `json:"crdName,omitempty"`
|
|
20975
|
+
Generation int64 `json:"generation,omitempty"`
|
|
20976
|
+
ObservedAt time.Time `json:"observedAt"`
|
|
20977
|
+
Owners []KubernetesImportOwnerReference `json:"owners,omitempty"`
|
|
20978
|
+
Plural string `json:"plural,omitempty"`
|
|
20979
|
+
Resource struct {
|
|
20980
|
+
APIVersion string `json:"apiVersion"`
|
|
20981
|
+
ClusterID string `json:"clusterId"`
|
|
20982
|
+
Kind string `json:"kind"`
|
|
20983
|
+
Name string `json:"name"`
|
|
20984
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20985
|
+
ResourceVersion string `json:"resourceVersion,omitempty"`
|
|
20986
|
+
ScopeMode KubernetesResourceScopeMode `json:"scopeMode"`
|
|
20987
|
+
UID string `json:"uid"`
|
|
20988
|
+
} `json:"resource"`
|
|
20989
|
+
SpecDigest string `json:"specDigest"`
|
|
20990
|
+
}
|
|
20991
|
+
|
|
20625
20992
|
// KubernetesImportedService defines model for KubernetesImportedService.
|
|
20626
20993
|
type KubernetesImportedService struct {
|
|
20627
20994
|
Created bool `json:"created"`
|
|
@@ -20637,8 +21004,11 @@ type KubernetesImportedServiceWorkloadKind string
|
|
|
20637
21004
|
|
|
20638
21005
|
// KubernetesImportedTarget defines model for KubernetesImportedTarget.
|
|
20639
21006
|
type KubernetesImportedTarget struct {
|
|
20640
|
-
Created
|
|
20641
|
-
ID
|
|
21007
|
+
Created bool `json:"created"`
|
|
21008
|
+
ID string `json:"id"`
|
|
21009
|
+
|
|
21010
|
+
// Source Safe source identity captured from an authorized live read. No YAML, spec values, annotations or status are persisted here. For native workloads specDigest covers configuration and ownership metadata excluding status/resourceVersion. For CRs it fences the public UID, generation and owner references without hashing secret content; metadata-only edits are outside that fence. CRs without a positive generation are rejected. UID identifies recreation.
|
|
21011
|
+
Source *KubernetesImportSource `json:"source,omitempty"`
|
|
20642
21012
|
WorkloadKind KubernetesImportedTargetWorkloadKind `json:"workloadKind"`
|
|
20643
21013
|
WorkloadName string `json:"workloadName"`
|
|
20644
21014
|
}
|
|
@@ -21225,6 +21595,9 @@ type KubernetesPod struct {
|
|
|
21225
21595
|
ReadyContainers string `json:"readyContainers"`
|
|
21226
21596
|
Requests *KubernetesResourceQuantity `json:"requests,omitempty"`
|
|
21227
21597
|
Restarts int32 `json:"restarts"`
|
|
21598
|
+
|
|
21599
|
+
// UID Immutable Pod identity. Required by clients restoring a saved live session; absent on older providers.
|
|
21600
|
+
UID string `json:"uid,omitempty"`
|
|
21228
21601
|
}
|
|
21229
21602
|
|
|
21230
21603
|
// KubernetesPodDetail defines model for KubernetesPodDetail.
|
|
@@ -21247,7 +21620,10 @@ type KubernetesPodDetail struct {
|
|
|
21247
21620
|
Requests *KubernetesResourceQuantity `json:"requests,omitempty"`
|
|
21248
21621
|
ServiceAccountName string `json:"serviceAccountName,omitempty"`
|
|
21249
21622
|
StartTime string `json:"startTime,omitempty"`
|
|
21250
|
-
|
|
21623
|
+
|
|
21624
|
+
// UID Immutable Pod identity. Required by clients restoring a saved live session; absent on older providers.
|
|
21625
|
+
UID string `json:"uid,omitempty"`
|
|
21626
|
+
Volumes []KubernetesPodVolume `json:"volumes,omitempty"`
|
|
21251
21627
|
}
|
|
21252
21628
|
|
|
21253
21629
|
// KubernetesPodDetailEnvelope defines model for KubernetesPodDetailEnvelope.
|
|
@@ -22195,7 +22571,7 @@ type KubernetesServiceEndpoint struct {
|
|
|
22195
22571
|
Zone string `json:"zone,omitempty"`
|
|
22196
22572
|
}
|
|
22197
22573
|
|
|
22198
|
-
// KubernetesServiceImportRequest
|
|
22574
|
+
// KubernetesServiceImportRequest Initial association is observe_only. A managed request is rejected until a separate UID-aware ownership handoff and release preflight are available; it must never silently enable publishing.
|
|
22199
22575
|
type KubernetesServiceImportRequest struct {
|
|
22200
22576
|
ApplicationKey string `json:"applicationKey"`
|
|
22201
22577
|
ApplicationName string `json:"applicationName"`
|
|
@@ -22477,8 +22853,12 @@ type KubernetesWorkloadContainer struct {
|
|
|
22477
22853
|
|
|
22478
22854
|
// KubernetesWorkloadImportInput defines model for KubernetesWorkloadImportInput.
|
|
22479
22855
|
type KubernetesWorkloadImportInput struct {
|
|
22480
|
-
|
|
22481
|
-
|
|
22856
|
+
// CrdName Required for CustomResource. Resolve the served GVR and scope from this CRD; never infer API group or plural from Kind.
|
|
22857
|
+
CrdName string `json:"crdName,omitempty"`
|
|
22858
|
+
ExpectedSpecDigest string `json:"expectedSpecDigest,omitempty"`
|
|
22859
|
+
ExpectedUID string `json:"expectedUid,omitempty"`
|
|
22860
|
+
WorkloadKind KubernetesWorkloadImportInputWorkloadKind `json:"workloadKind"`
|
|
22861
|
+
WorkloadName string `json:"workloadName"`
|
|
22482
22862
|
}
|
|
22483
22863
|
|
|
22484
22864
|
// KubernetesWorkloadImportInputWorkloadKind defines model for KubernetesWorkloadImportInput.WorkloadKind.
|
|
@@ -23451,23 +23831,24 @@ type MFAWebAuthnResponse struct {
|
|
|
23451
23831
|
|
|
23452
23832
|
// ManifestBinding defines model for ManifestBinding.
|
|
23453
23833
|
type ManifestBinding struct {
|
|
23454
|
-
ApplicationEnvironmentID string
|
|
23455
|
-
ClusterID string
|
|
23456
|
-
CreatedAt time.Time
|
|
23457
|
-
DeletionPolicy ManifestDeletionPolicy
|
|
23458
|
-
DriftPolicy ManifestDriftPolicy
|
|
23459
|
-
Enabled bool
|
|
23460
|
-
EnvironmentKey string
|
|
23461
|
-
ID string
|
|
23462
|
-
Kustomize *ManifestKustomizeOptions
|
|
23463
|
-
Namespace string
|
|
23464
|
-
Overlay map[string]string
|
|
23465
|
-
PackageID string
|
|
23466
|
-
RolloutStrategyID string
|
|
23467
|
-
TemplateParameters *TemplateParameterValues
|
|
23468
|
-
|
|
23469
|
-
|
|
23470
|
-
|
|
23834
|
+
ApplicationEnvironmentID string `json:"applicationEnvironmentId"`
|
|
23835
|
+
ClusterID string `json:"clusterId"`
|
|
23836
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
23837
|
+
DeletionPolicy ManifestDeletionPolicy `json:"deletionPolicy"`
|
|
23838
|
+
DriftPolicy ManifestDriftPolicy `json:"driftPolicy"`
|
|
23839
|
+
Enabled bool `json:"enabled"`
|
|
23840
|
+
EnvironmentKey string `json:"environmentKey"`
|
|
23841
|
+
ID string `json:"id"`
|
|
23842
|
+
Kustomize *ManifestKustomizeOptions `json:"kustomize,omitempty"`
|
|
23843
|
+
Namespace string `json:"namespace"`
|
|
23844
|
+
Overlay map[string]string `json:"overlay"`
|
|
23845
|
+
PackageID string `json:"packageId"`
|
|
23846
|
+
RolloutStrategyID string `json:"rolloutStrategyId,omitempty"`
|
|
23847
|
+
TemplateParameters *TemplateParameterValues `json:"templateParameters,omitempty"`
|
|
23848
|
+
TemplateSelection *ManifestTemplateSelection `json:"templateSelection,omitempty"`
|
|
23849
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
23850
|
+
VerificationPolicyID string `json:"verificationPolicyId,omitempty"`
|
|
23851
|
+
Version int64 `json:"version"`
|
|
23471
23852
|
}
|
|
23472
23853
|
|
|
23473
23854
|
// ManifestBindingEnvelope defines model for ManifestBindingEnvelope.
|
|
@@ -23601,20 +23982,24 @@ type ManifestDeliverySnapshot struct {
|
|
|
23601
23982
|
ExpectedGeneration int64 `json:"expectedGeneration"`
|
|
23602
23983
|
|
|
23603
23984
|
// GitOpsDocuments Frozen GitOps child resources sharing this plan's preflight, ownership and observation boundaries.
|
|
23604
|
-
GitOpsDocuments []ManifestRenderedDocument
|
|
23605
|
-
InputDigest string
|
|
23606
|
-
|
|
23607
|
-
|
|
23608
|
-
|
|
23609
|
-
|
|
23610
|
-
|
|
23611
|
-
|
|
23612
|
-
|
|
23613
|
-
|
|
23614
|
-
|
|
23615
|
-
|
|
23616
|
-
|
|
23617
|
-
|
|
23985
|
+
GitOpsDocuments []ManifestRenderedDocument `json:"gitOpsDocuments,omitempty"`
|
|
23986
|
+
InputDigest string `json:"inputDigest"`
|
|
23987
|
+
Migration *TemplateMigrationAssessment `json:"migration,omitempty"`
|
|
23988
|
+
Namespace string `json:"namespace"`
|
|
23989
|
+
PackageID string `json:"packageId"`
|
|
23990
|
+
PackageUpdatedAt time.Time `json:"packageUpdatedAt"`
|
|
23991
|
+
PreflightTaskID string `json:"preflightTaskId"`
|
|
23992
|
+
RenderedDigest string `json:"renderedDigest"`
|
|
23993
|
+
RendererVersion string `json:"rendererVersion"`
|
|
23994
|
+
Revision int `json:"revision"`
|
|
23995
|
+
RevisionDigest string `json:"revisionDigest"`
|
|
23996
|
+
|
|
23997
|
+
// RootResource Server-frozen imported namespaced CR identity and user-reviewed generation. Publication requires the original imported target with metadata ownershipMode=managed, rootCRGeneration matching the reviewed generation, and configRef selecting its Manifest binding. Only spec may be updated; missing roots are never created. Current user or token permissions, external ownership and UID are rechecked. Requires manifest.root-cr.v1 Agent capability and manifest_root_cr_v1 provider. Configuration copies, revisions, plans and deployments retain the sensitive configuration read permission; ordinary task summaries omit root documents.
|
|
23998
|
+
RootResource *ManifestRootResource `json:"rootResource,omitempty"`
|
|
23999
|
+
ServiceID string `json:"serviceId,omitempty"`
|
|
24000
|
+
SourceCommit string `json:"sourceCommit,omitempty"`
|
|
24001
|
+
TargetID string `json:"targetId"`
|
|
24002
|
+
TemplateInputs *ManifestServiceTemplateInputs `json:"templateInputs,omitempty"`
|
|
23618
24003
|
}
|
|
23619
24004
|
|
|
23620
24005
|
// ManifestDeployment defines model for ManifestDeployment.
|
|
@@ -23682,6 +24067,7 @@ type ManifestDeploymentSpec struct {
|
|
|
23682
24067
|
type ManifestDeploymentStatus struct {
|
|
23683
24068
|
AppliedDigest string `json:"appliedDigest,omitempty"`
|
|
23684
24069
|
AppliedRevision int `json:"appliedRevision,omitempty"`
|
|
24070
|
+
AppliedTemplate *TemplateVersionReference `json:"appliedTemplate,omitempty"`
|
|
23685
24071
|
Conditions []ManifestCondition `json:"conditions"`
|
|
23686
24072
|
Drift *ManifestDriftReport `json:"drift,omitempty"`
|
|
23687
24073
|
Inventory []ManifestResourceInventory `json:"inventory"`
|
|
@@ -23801,24 +24187,30 @@ type ManifestExecutionTaskPayload struct {
|
|
|
23801
24187
|
Generation int64 `json:"generation"`
|
|
23802
24188
|
|
|
23803
24189
|
// GitOpsDocuments Server-rendered child resources from the single Argo Application's immutable Git source and image overrides; used for ownership admission and live verification, never direct apply.
|
|
23804
|
-
GitOpsDocuments []ManifestRenderedDocument
|
|
23805
|
-
IdempotencyKey string
|
|
23806
|
-
IncludePatterns []string
|
|
23807
|
-
|
|
23808
|
-
|
|
23809
|
-
|
|
23810
|
-
|
|
23811
|
-
|
|
23812
|
-
|
|
23813
|
-
|
|
23814
|
-
|
|
23815
|
-
|
|
23816
|
-
|
|
23817
|
-
|
|
23818
|
-
|
|
23819
|
-
|
|
23820
|
-
|
|
23821
|
-
|
|
24190
|
+
GitOpsDocuments []ManifestRenderedDocument `json:"gitOpsDocuments,omitempty"`
|
|
24191
|
+
IdempotencyKey string `json:"idempotencyKey"`
|
|
24192
|
+
IncludePatterns []string `json:"includePatterns,omitempty"`
|
|
24193
|
+
|
|
24194
|
+
// InitializationPlanID Server-frozen initialization Plan identity. Requires manifest.initialize.v1 and its dedicated provider; preflight uses create dry-run, apply creates only, and observation verifies the created UIDs. Never a force or adoption flag.
|
|
24195
|
+
InitializationPlanID string `json:"initializationPlanId,omitempty"`
|
|
24196
|
+
Inventory []ManifestResourceInventory `json:"inventory,omitempty"`
|
|
24197
|
+
Namespace string `json:"namespace,omitempty"`
|
|
24198
|
+
PackageID string `json:"packageId"`
|
|
24199
|
+
Path string `json:"path,omitempty"`
|
|
24200
|
+
RefType ManifestSourceRefType `json:"refType,omitempty"`
|
|
24201
|
+
RefValue string `json:"refValue,omitempty"`
|
|
24202
|
+
RenderedDigest string `json:"renderedDigest,omitempty"`
|
|
24203
|
+
Renderer ManifestExecutionTaskPayloadRenderer `json:"renderer,omitempty"`
|
|
24204
|
+
RepositoryID string `json:"repositoryId,omitempty"`
|
|
24205
|
+
RepositoryURL string `json:"repositoryUrl,omitempty"`
|
|
24206
|
+
RequestedBy string `json:"requestedBy,omitempty"`
|
|
24207
|
+
RequestedCommit string `json:"requestedCommit,omitempty"`
|
|
24208
|
+
Revision int `json:"revision,omitempty"`
|
|
24209
|
+
RolloutControl *ProgressiveRolloutControlInput `json:"rolloutControl,omitempty"`
|
|
24210
|
+
|
|
24211
|
+
// RootResource Server-frozen imported namespaced CR identity and user-reviewed generation. Publication requires the original imported target with metadata ownershipMode=managed, rootCRGeneration matching the reviewed generation, and configRef selecting its Manifest binding. Only spec may be updated; missing roots are never created. Current user or token permissions, external ownership and UID are rechecked. Requires manifest.root-cr.v1 Agent capability and manifest_root_cr_v1 provider. Configuration copies, revisions, plans and deployments retain the sensitive configuration read permission; ordinary task summaries omit root documents.
|
|
24212
|
+
RootResource *ManifestRootResource `json:"rootResource,omitempty"`
|
|
24213
|
+
SourceID string `json:"sourceId,omitempty"`
|
|
23822
24214
|
}
|
|
23823
24215
|
|
|
23824
24216
|
// ManifestExecutionTaskPayloadRenderer defines model for ManifestExecutionTaskPayload.Renderer.
|
|
@@ -23826,18 +24218,21 @@ type ManifestExecutionTaskPayloadRenderer string
|
|
|
23826
24218
|
|
|
23827
24219
|
// ManifestExecutionTaskResult defines model for ManifestExecutionTaskResult.
|
|
23828
24220
|
type ManifestExecutionTaskResult struct {
|
|
23829
|
-
Action ManifestTaskAction
|
|
23830
|
-
AdoptedFiles []ManifestFile
|
|
23831
|
-
CanonicalDigest string
|
|
23832
|
-
DeploymentID string
|
|
23833
|
-
Diagnostics []ManifestDiagnostic
|
|
23834
|
-
Drift *ManifestDriftReport
|
|
23835
|
-
EvidenceRefs []string
|
|
23836
|
-
Generation int64
|
|
23837
|
-
|
|
23838
|
-
|
|
23839
|
-
|
|
23840
|
-
|
|
24221
|
+
Action ManifestTaskAction `json:"action"`
|
|
24222
|
+
AdoptedFiles []ManifestFile `json:"adoptedFiles,omitempty"`
|
|
24223
|
+
CanonicalDigest string `json:"canonicalDigest,omitempty"`
|
|
24224
|
+
DeploymentID string `json:"deploymentId,omitempty"`
|
|
24225
|
+
Diagnostics []ManifestDiagnostic `json:"diagnostics"`
|
|
24226
|
+
Drift *ManifestDriftReport `json:"drift,omitempty"`
|
|
24227
|
+
EvidenceRefs []string `json:"evidenceRefs,omitempty"`
|
|
24228
|
+
Generation int64 `json:"generation"`
|
|
24229
|
+
|
|
24230
|
+
// InitializationPlanID Server-frozen initialization Plan identity. Requires manifest.initialize.v1 and its dedicated provider; preflight uses create dry-run, apply creates only, and observation verifies the created UIDs. Never a force or adoption flag.
|
|
24231
|
+
InitializationPlanID string `json:"initializationPlanId,omitempty"`
|
|
24232
|
+
Inventory []ManifestResourceInventory `json:"inventory"`
|
|
24233
|
+
Preflight *ManifestPreflightResult `json:"preflight,omitempty"`
|
|
24234
|
+
RenderedDigest string `json:"renderedDigest,omitempty"`
|
|
24235
|
+
ResolvedCommit string `json:"resolvedCommit,omitempty"`
|
|
23841
24236
|
|
|
23842
24237
|
// Rollout Observed Argo Rollouts state. Traffic weights are read from Traefik, never inferred from replica counts. Promotion clears only a manual pause and does not skip analysis.
|
|
23843
24238
|
Rollout *ProgressiveRolloutStatus `json:"rollout,omitempty"`
|
|
@@ -23950,11 +24345,14 @@ type ManifestPreflightInput struct {
|
|
|
23950
24345
|
|
|
23951
24346
|
// ManifestPreflightResult defines model for ManifestPreflightResult.
|
|
23952
24347
|
type ManifestPreflightResult struct {
|
|
23953
|
-
Capability
|
|
23954
|
-
Diagnostics
|
|
23955
|
-
|
|
23956
|
-
|
|
23957
|
-
|
|
24348
|
+
Capability ManifestPreflightResultCapability `json:"capability"`
|
|
24349
|
+
Diagnostics []ManifestDiagnostic `json:"diagnostics"`
|
|
24350
|
+
|
|
24351
|
+
// InitializationPlanID Server-frozen initialization Plan identity. Requires manifest.initialize.v1 and its dedicated provider; preflight uses create dry-run, apply creates only, and observation verifies the created UIDs. Never a force or adoption flag.
|
|
24352
|
+
InitializationPlanID string `json:"initializationPlanId,omitempty"`
|
|
24353
|
+
Ready bool `json:"ready"`
|
|
24354
|
+
RenderedDigest string `json:"renderedDigest"`
|
|
24355
|
+
ResourceCount int `json:"resourceCount"`
|
|
23958
24356
|
}
|
|
23959
24357
|
|
|
23960
24358
|
// ManifestPreflightResultCapability defines model for ManifestPreflightResult.Capability.
|
|
@@ -24041,6 +24439,19 @@ type ManifestRollbackInput struct {
|
|
|
24041
24439
|
UseLastKnownGood bool `json:"useLastKnownGood,omitempty"`
|
|
24042
24440
|
}
|
|
24043
24441
|
|
|
24442
|
+
// ManifestRootResource Server-frozen imported namespaced CR identity and user-reviewed generation. Publication requires the original imported target with metadata ownershipMode=managed, rootCRGeneration matching the reviewed generation, and configRef selecting its Manifest binding. Only spec may be updated; missing roots are never created. Current user or token permissions, external ownership and UID are rechecked. Requires manifest.root-cr.v1 Agent capability and manifest_root_cr_v1 provider. Configuration copies, revisions, plans and deployments retain the sensitive configuration read permission; ordinary task summaries omit root documents.
|
|
24443
|
+
type ManifestRootResource struct {
|
|
24444
|
+
APIVersion string `json:"apiVersion"`
|
|
24445
|
+
CrdName string `json:"crdName"`
|
|
24446
|
+
DeliveryPlanID string `json:"deliveryPlanId"`
|
|
24447
|
+
Generation int64 `json:"generation"`
|
|
24448
|
+
Kind string `json:"kind"`
|
|
24449
|
+
Name string `json:"name"`
|
|
24450
|
+
Namespace string `json:"namespace"`
|
|
24451
|
+
TargetID string `json:"targetId"`
|
|
24452
|
+
UID string `json:"uid"`
|
|
24453
|
+
}
|
|
24454
|
+
|
|
24044
24455
|
// ManifestServiceTemplateInputs defines model for ManifestServiceTemplateInputs.
|
|
24045
24456
|
type ManifestServiceTemplateInputs struct {
|
|
24046
24457
|
// ArtifactImages Verified immutable image references keyed by service container name.
|
|
@@ -24173,6 +24584,15 @@ type ManifestSyncWebhookInput struct {
|
|
|
24173
24584
|
// ManifestTaskAction defines model for ManifestTaskAction.
|
|
24174
24585
|
type ManifestTaskAction string
|
|
24175
24586
|
|
|
24587
|
+
// ManifestTemplateSelection defines model for ManifestTemplateSelection.
|
|
24588
|
+
type ManifestTemplateSelection struct {
|
|
24589
|
+
AdoptionID string `json:"adoptionId"`
|
|
24590
|
+
BaseFilesDigest string `json:"baseFilesDigest"`
|
|
24591
|
+
Parameters TemplateParameterValues `json:"parameters"`
|
|
24592
|
+
TemplateID string `json:"templateId"`
|
|
24593
|
+
Version int64 `json:"version"`
|
|
24594
|
+
}
|
|
24595
|
+
|
|
24176
24596
|
// ManifestValidationStage defines model for ManifestValidationStage.
|
|
24177
24597
|
type ManifestValidationStage string
|
|
24178
24598
|
|
|
@@ -28072,6 +28492,83 @@ type ResourceReadResultEnvelope struct {
|
|
|
28072
28492
|
Data ResourceReadResult `json:"data"`
|
|
28073
28493
|
}
|
|
28074
28494
|
|
|
28495
|
+
// ResourceRelationConfig defines model for ResourceRelationConfig.
|
|
28496
|
+
type ResourceRelationConfig struct {
|
|
28497
|
+
RootUID string `json:"rootUid"`
|
|
28498
|
+
Rules []ResourceRelationRule `json:"rules"`
|
|
28499
|
+
Sources []ResourceRelationSource `json:"sources"`
|
|
28500
|
+
Version string `json:"version"`
|
|
28501
|
+
}
|
|
28502
|
+
|
|
28503
|
+
// ResourceRelationCoverage defines model for ResourceRelationCoverage.
|
|
28504
|
+
type ResourceRelationCoverage struct {
|
|
28505
|
+
QueryID string `json:"queryId"`
|
|
28506
|
+
ReasonCode string `json:"reasonCode,omitempty"`
|
|
28507
|
+
State ResourceRelationCoverageState `json:"state"`
|
|
28508
|
+
Truncated bool `json:"truncated"`
|
|
28509
|
+
}
|
|
28510
|
+
|
|
28511
|
+
// ResourceRelationCoverageState defines model for ResourceRelationCoverage.State.
|
|
28512
|
+
type ResourceRelationCoverageState string
|
|
28513
|
+
|
|
28514
|
+
// ResourceRelationEdge defines model for ResourceRelationEdge.
|
|
28515
|
+
type ResourceRelationEdge struct {
|
|
28516
|
+
FromUID string `json:"fromUid"`
|
|
28517
|
+
RuleID string `json:"ruleId,omitempty"`
|
|
28518
|
+
ToUID string `json:"toUid"`
|
|
28519
|
+
Type ResourceRelationEdgeType `json:"type"`
|
|
28520
|
+
}
|
|
28521
|
+
|
|
28522
|
+
// ResourceRelationEdgeType defines model for ResourceRelationEdge.Type.
|
|
28523
|
+
type ResourceRelationEdgeType string
|
|
28524
|
+
|
|
28525
|
+
// ResourceRelationNode defines model for ResourceRelationNode.
|
|
28526
|
+
type ResourceRelationNode struct {
|
|
28527
|
+
Depth int `json:"depth"`
|
|
28528
|
+
Resource KubernetesResourceRef `json:"resource"`
|
|
28529
|
+
Role ResourceRelationNodeRole `json:"role"`
|
|
28530
|
+
}
|
|
28531
|
+
|
|
28532
|
+
// ResourceRelationNodeRole defines model for ResourceRelationNode.Role.
|
|
28533
|
+
type ResourceRelationNodeRole string
|
|
28534
|
+
|
|
28535
|
+
// ResourceRelationRule defines model for ResourceRelationRule.
|
|
28536
|
+
type ResourceRelationRule struct {
|
|
28537
|
+
ID string `json:"id"`
|
|
28538
|
+
Name string `json:"name,omitempty"`
|
|
28539
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
28540
|
+
Target ResourceRelationSource `json:"target"`
|
|
28541
|
+
Type ResourceRelationRuleType `json:"type"`
|
|
28542
|
+
UID string `json:"uid,omitempty"`
|
|
28543
|
+
}
|
|
28544
|
+
|
|
28545
|
+
// ResourceRelationRuleType defines model for ResourceRelationRule.Type.
|
|
28546
|
+
type ResourceRelationRuleType string
|
|
28547
|
+
|
|
28548
|
+
// ResourceRelationSource defines model for ResourceRelationSource.
|
|
28549
|
+
type ResourceRelationSource struct {
|
|
28550
|
+
APIVersion string `json:"apiVersion"`
|
|
28551
|
+
Kind string `json:"kind"`
|
|
28552
|
+
Namespace string `json:"namespace"`
|
|
28553
|
+
Resource string `json:"resource"`
|
|
28554
|
+
}
|
|
28555
|
+
|
|
28556
|
+
// ResourceRelationsEnvelope defines model for ResourceRelationsEnvelope.
|
|
28557
|
+
type ResourceRelationsEnvelope struct {
|
|
28558
|
+
Data ResourceRelationsView `json:"data"`
|
|
28559
|
+
}
|
|
28560
|
+
|
|
28561
|
+
// ResourceRelationsView defines model for ResourceRelationsView.
|
|
28562
|
+
type ResourceRelationsView struct {
|
|
28563
|
+
Config ResourceRelationConfig `json:"config"`
|
|
28564
|
+
Coverage []ResourceRelationCoverage `json:"coverage"`
|
|
28565
|
+
Edges []ResourceRelationEdge `json:"edges"`
|
|
28566
|
+
Nodes []ResourceRelationNode `json:"nodes"`
|
|
28567
|
+
ObservedAt string `json:"observedAt"`
|
|
28568
|
+
Partial bool `json:"partial"`
|
|
28569
|
+
Root KubernetesResourceRef `json:"root"`
|
|
28570
|
+
}
|
|
28571
|
+
|
|
28075
28572
|
// ResourceSelector defines model for ResourceSelector.
|
|
28076
28573
|
type ResourceSelector struct {
|
|
28077
28574
|
MatchLabels map[string]string `json:"matchLabels,omitempty"`
|
|
@@ -28739,6 +29236,7 @@ type ServiceDeploymentTemplate struct {
|
|
|
28739
29236
|
Health DeploymentTemplateHealth `json:"health"`
|
|
28740
29237
|
ID string `json:"id"`
|
|
28741
29238
|
Key string `json:"key"`
|
|
29239
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
28742
29240
|
Name string `json:"name"`
|
|
28743
29241
|
|
|
28744
29242
|
// ParameterSchema Restricted JSON Schema. Objects reject undeclared keys unless mapValues specifies their schema. secret_reference accepts only a namespaced Secret name/key reference, never a plaintext credential. External references and executable expressions are unsupported.
|
|
@@ -28779,6 +29277,7 @@ type ServiceDeploymentTemplateInput struct {
|
|
|
28779
29277
|
ExpectedRevision int64 `json:"expectedRevision,omitempty"`
|
|
28780
29278
|
Health DeploymentTemplateHealth `json:"health"`
|
|
28781
29279
|
Key string `json:"key"`
|
|
29280
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
28782
29281
|
Name string `json:"name"`
|
|
28783
29282
|
|
|
28784
29283
|
// ParameterSchema Restricted JSON Schema. Objects reject undeclared keys unless mapValues specifies their schema. secret_reference accepts only a namespaced Secret name/key reference, never a plaintext credential. External references and executable expressions are unsupported.
|
|
@@ -29018,6 +29517,7 @@ type StreamTicketEnvelope struct {
|
|
|
29018
29517
|
|
|
29019
29518
|
// StreamTicketRequest defines model for StreamTicketRequest.
|
|
29020
29519
|
type StreamTicketRequest struct {
|
|
29520
|
+
// Path Same-origin stream pathname. UID-aware Pod sessions include expectedUid, namespace, container and shell query fields to bind the one-use ticket to that exact target; other query fields are not part of the binding.
|
|
29021
29521
|
Path string `json:"path"`
|
|
29022
29522
|
}
|
|
29023
29523
|
|
|
@@ -29129,6 +29629,38 @@ type TemplateCopyOrigin struct {
|
|
|
29129
29629
|
Version int64 `json:"version,omitempty"`
|
|
29130
29630
|
}
|
|
29131
29631
|
|
|
29632
|
+
// TemplateMigrationAssessment defines model for TemplateMigrationAssessment.
|
|
29633
|
+
type TemplateMigrationAssessment struct {
|
|
29634
|
+
Blocked bool `json:"blocked"`
|
|
29635
|
+
FromVersion int64 `json:"fromVersion"`
|
|
29636
|
+
|
|
29637
|
+
// Initialization Server-classified first-deployment candidate; requires create-only preflight and explicit Plan approval. It is not a successful runtime baseline or proof that external data is empty.
|
|
29638
|
+
Initialization bool `json:"initialization,omitempty"`
|
|
29639
|
+
Reason string `json:"reason"`
|
|
29640
|
+
RequiresApproval bool `json:"requiresApproval"`
|
|
29641
|
+
Steps []TemplateMigrationStep `json:"steps"`
|
|
29642
|
+
ToVersion int64 `json:"toVersion"`
|
|
29643
|
+
}
|
|
29644
|
+
|
|
29645
|
+
// TemplateMigrationPolicy defines model for TemplateMigrationPolicy.
|
|
29646
|
+
type TemplateMigrationPolicy struct {
|
|
29647
|
+
// Guide Human migration/recovery instructions. Never executed as a script.
|
|
29648
|
+
Guide string `json:"guide,omitempty"`
|
|
29649
|
+
|
|
29650
|
+
// Irreversible Forward changes require approval; ordinary rollback across this boundary is forbidden.
|
|
29651
|
+
Irreversible bool `json:"irreversible"`
|
|
29652
|
+
|
|
29653
|
+
// Sequential Must cross this boundary as adjacent published versions; approval cannot waive it.
|
|
29654
|
+
Sequential bool `json:"sequential"`
|
|
29655
|
+
}
|
|
29656
|
+
|
|
29657
|
+
// TemplateMigrationStep defines model for TemplateMigrationStep.
|
|
29658
|
+
type TemplateMigrationStep struct {
|
|
29659
|
+
ContentDigest string `json:"contentDigest"`
|
|
29660
|
+
Policy TemplateMigrationPolicy `json:"policy"`
|
|
29661
|
+
Version int64 `json:"version"`
|
|
29662
|
+
}
|
|
29663
|
+
|
|
29132
29664
|
// TemplateParameterSchema Restricted JSON Schema. Objects reject undeclared keys unless mapValues specifies their schema. secret_reference accepts only a namespaced Secret name/key reference, never a plaintext credential. External references and executable expressions are unsupported.
|
|
29133
29665
|
type TemplateParameterSchema struct {
|
|
29134
29666
|
Description string `json:"description,omitempty"`
|
|
@@ -29181,6 +29713,188 @@ type TemplatePublishInput struct {
|
|
|
29181
29713
|
ExpectedRevision int `json:"expectedRevision"`
|
|
29182
29714
|
}
|
|
29183
29715
|
|
|
29716
|
+
// TemplateUpdateBatchInput defines model for TemplateUpdateBatchInput.
|
|
29717
|
+
type TemplateUpdateBatchInput struct {
|
|
29718
|
+
AcknowledgeHistoryGaps bool `json:"acknowledgeHistoryGaps"`
|
|
29719
|
+
CandidateIDs []string `json:"candidateIds"`
|
|
29720
|
+
IdempotencyKey string `json:"idempotencyKey"`
|
|
29721
|
+
PreviewDigest string `json:"previewDigest"`
|
|
29722
|
+
StopOnFailure bool `json:"stopOnFailure"`
|
|
29723
|
+
WaveSize int64 `json:"waveSize"`
|
|
29724
|
+
}
|
|
29725
|
+
|
|
29726
|
+
// TemplateUpdateCandidate defines model for TemplateUpdateCandidate.
|
|
29727
|
+
type TemplateUpdateCandidate struct {
|
|
29728
|
+
Cumulative TemplateUpdateDiff `json:"cumulative"`
|
|
29729
|
+
Digest string `json:"digest"`
|
|
29730
|
+
Eligible bool `json:"eligible"`
|
|
29731
|
+
ID string `json:"id"`
|
|
29732
|
+
Parameters TemplateParameterValues `json:"parameters"`
|
|
29733
|
+
Reason string `json:"reason"`
|
|
29734
|
+
RequiresApproval bool `json:"requiresApproval"`
|
|
29735
|
+
Target TemplateUpdateTarget `json:"target"`
|
|
29736
|
+
ToVersion int64 `json:"toVersion"`
|
|
29737
|
+
Versions []TemplateUpdateDiff `json:"versions"`
|
|
29738
|
+
Wave int64 `json:"wave"`
|
|
29739
|
+
}
|
|
29740
|
+
|
|
29741
|
+
// TemplateUpdateChange defines model for TemplateUpdateChange.
|
|
29742
|
+
type TemplateUpdateChange struct {
|
|
29743
|
+
After string `json:"after"`
|
|
29744
|
+
Before string `json:"before"`
|
|
29745
|
+
Path string `json:"path"`
|
|
29746
|
+
Section TemplateUpdateChangeSection `json:"section"`
|
|
29747
|
+
}
|
|
29748
|
+
|
|
29749
|
+
// TemplateUpdateChangeSection defines model for TemplateUpdateChange.Section.
|
|
29750
|
+
type TemplateUpdateChangeSection string
|
|
29751
|
+
|
|
29752
|
+
// TemplateUpdateDiff defines model for TemplateUpdateDiff.
|
|
29753
|
+
type TemplateUpdateDiff struct {
|
|
29754
|
+
Changes []TemplateUpdateChange `json:"changes"`
|
|
29755
|
+
Diagnostics []string `json:"diagnostics"`
|
|
29756
|
+
FromVersion int64 `json:"fromVersion"`
|
|
29757
|
+
HistoryGap bool `json:"historyGap"`
|
|
29758
|
+
Migration *TemplateMigrationAssessment `json:"migration,omitempty"`
|
|
29759
|
+
RenderStatus TemplateUpdateDiffRenderStatus `json:"renderStatus"`
|
|
29760
|
+
ToVersion int64 `json:"toVersion"`
|
|
29761
|
+
}
|
|
29762
|
+
|
|
29763
|
+
// TemplateUpdateDiffRenderStatus defines model for TemplateUpdateDiff.RenderStatus.
|
|
29764
|
+
type TemplateUpdateDiffRenderStatus string
|
|
29765
|
+
|
|
29766
|
+
// TemplateUpdateKind defines model for TemplateUpdateKind.
|
|
29767
|
+
type TemplateUpdateKind string
|
|
29768
|
+
|
|
29769
|
+
// TemplateUpdateMode defines model for TemplateUpdateMode.
|
|
29770
|
+
type TemplateUpdateMode string
|
|
29771
|
+
|
|
29772
|
+
// TemplateUpdatePolicy defines model for TemplateUpdatePolicy.
|
|
29773
|
+
type TemplateUpdatePolicy struct {
|
|
29774
|
+
ID string `json:"id"`
|
|
29775
|
+
Kind TemplateUpdateKind `json:"kind"`
|
|
29776
|
+
LastBatchID string `json:"lastBatchId"`
|
|
29777
|
+
LastError string `json:"lastError"`
|
|
29778
|
+
Mode TemplateUpdateMode `json:"mode"`
|
|
29779
|
+
Paused bool `json:"paused"`
|
|
29780
|
+
TargetID string `json:"targetId"`
|
|
29781
|
+
TemplateID string `json:"templateId"`
|
|
29782
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
29783
|
+
Version int64 `json:"version"`
|
|
29784
|
+
}
|
|
29785
|
+
|
|
29786
|
+
// TemplateUpdatePolicyEnvelope defines model for TemplateUpdatePolicyEnvelope.
|
|
29787
|
+
type TemplateUpdatePolicyEnvelope struct {
|
|
29788
|
+
Data TemplateUpdatePolicy `json:"data"`
|
|
29789
|
+
}
|
|
29790
|
+
|
|
29791
|
+
// TemplateUpdatePolicyInput defines model for TemplateUpdatePolicyInput.
|
|
29792
|
+
type TemplateUpdatePolicyInput struct {
|
|
29793
|
+
ExpectedVersion int64 `json:"expectedVersion"`
|
|
29794
|
+
Kind TemplateUpdateKind `json:"kind"`
|
|
29795
|
+
Mode TemplateUpdateMode `json:"mode"`
|
|
29796
|
+
Paused bool `json:"paused"`
|
|
29797
|
+
TargetID string `json:"targetId"`
|
|
29798
|
+
TemplateID string `json:"templateId"`
|
|
29799
|
+
}
|
|
29800
|
+
|
|
29801
|
+
// TemplateUpdatePolicyListEnvelope defines model for TemplateUpdatePolicyListEnvelope.
|
|
29802
|
+
type TemplateUpdatePolicyListEnvelope struct {
|
|
29803
|
+
Data []TemplateUpdatePolicy `json:"data"`
|
|
29804
|
+
}
|
|
29805
|
+
|
|
29806
|
+
// TemplateUpdatePreview defines model for TemplateUpdatePreview.
|
|
29807
|
+
type TemplateUpdatePreview struct {
|
|
29808
|
+
Candidates []TemplateUpdateCandidate `json:"candidates"`
|
|
29809
|
+
ConfigurationOnly bool `json:"configurationOnly"`
|
|
29810
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
29811
|
+
Digest string `json:"digest"`
|
|
29812
|
+
ExpiresAt time.Time `json:"expiresAt"`
|
|
29813
|
+
ID string `json:"id"`
|
|
29814
|
+
Kind TemplateUpdateKind `json:"kind"`
|
|
29815
|
+
TemplateID string `json:"templateId"`
|
|
29816
|
+
ToVersion int64 `json:"toVersion"`
|
|
29817
|
+
}
|
|
29818
|
+
|
|
29819
|
+
// TemplateUpdatePreviewEnvelope defines model for TemplateUpdatePreviewEnvelope.
|
|
29820
|
+
type TemplateUpdatePreviewEnvelope struct {
|
|
29821
|
+
Data TemplateUpdatePreview `json:"data"`
|
|
29822
|
+
}
|
|
29823
|
+
|
|
29824
|
+
// TemplateUpdatePreviewInput defines model for TemplateUpdatePreviewInput.
|
|
29825
|
+
type TemplateUpdatePreviewInput struct {
|
|
29826
|
+
ApplicationID string `json:"applicationId,omitempty"`
|
|
29827
|
+
Kind TemplateUpdateKind `json:"kind"`
|
|
29828
|
+
Targets []TemplateUpdateSelection `json:"targets"`
|
|
29829
|
+
TemplateID string `json:"templateId"`
|
|
29830
|
+
ToVersion int64 `json:"toVersion"`
|
|
29831
|
+
}
|
|
29832
|
+
|
|
29833
|
+
// TemplateUpdateReceipt defines model for TemplateUpdateReceipt.
|
|
29834
|
+
type TemplateUpdateReceipt struct {
|
|
29835
|
+
BindingID string `json:"bindingId"`
|
|
29836
|
+
CandidateID string `json:"candidateId"`
|
|
29837
|
+
FromVersion int64 `json:"fromVersion"`
|
|
29838
|
+
Kind TemplateUpdateKind `json:"kind"`
|
|
29839
|
+
PreviewID string `json:"previewId"`
|
|
29840
|
+
RequiresApproval bool `json:"requiresApproval"`
|
|
29841
|
+
TemplateID string `json:"templateId"`
|
|
29842
|
+
ToVersion int64 `json:"toVersion"`
|
|
29843
|
+
}
|
|
29844
|
+
|
|
29845
|
+
// TemplateUpdateSelection defines model for TemplateUpdateSelection.
|
|
29846
|
+
type TemplateUpdateSelection struct {
|
|
29847
|
+
Parameters *TemplateParameterValues `json:"parameters,omitempty"`
|
|
29848
|
+
TargetID string `json:"targetId"`
|
|
29849
|
+
UseNewDefaults []string `json:"useNewDefaults,omitempty"`
|
|
29850
|
+
Wave int64 `json:"wave,omitempty"`
|
|
29851
|
+
}
|
|
29852
|
+
|
|
29853
|
+
// TemplateUpdateTarget defines model for TemplateUpdateTarget.
|
|
29854
|
+
type TemplateUpdateTarget struct {
|
|
29855
|
+
ApplicationEnvironmentID string `json:"applicationEnvironmentId"`
|
|
29856
|
+
ApplicationID string `json:"applicationId"`
|
|
29857
|
+
ApplicationName string `json:"applicationName"`
|
|
29858
|
+
BindingRevision string `json:"bindingRevision"`
|
|
29859
|
+
Eligible bool `json:"eligible"`
|
|
29860
|
+
EnvironmentName string `json:"environmentName"`
|
|
29861
|
+
FromVersion int64 `json:"fromVersion"`
|
|
29862
|
+
ID string `json:"id"`
|
|
29863
|
+
IndependentOverrides []string `json:"independentOverrides"`
|
|
29864
|
+
Kind TemplateUpdateKind `json:"kind"`
|
|
29865
|
+
Mode TemplateUpdateMode `json:"mode"`
|
|
29866
|
+
Reason string `json:"reason"`
|
|
29867
|
+
ReleaseTargetID string `json:"releaseTargetId"`
|
|
29868
|
+
RequiresApproval bool `json:"requiresApproval"`
|
|
29869
|
+
Scope TemplateUpdateTargetScope `json:"scope"`
|
|
29870
|
+
ServiceID string `json:"serviceId"`
|
|
29871
|
+
ServiceName string `json:"serviceName"`
|
|
29872
|
+
TemplateID string `json:"templateId"`
|
|
29873
|
+
}
|
|
29874
|
+
|
|
29875
|
+
// TemplateUpdateTargetScope defines model for TemplateUpdateTarget.Scope.
|
|
29876
|
+
type TemplateUpdateTargetScope string
|
|
29877
|
+
|
|
29878
|
+
// TemplateUpdateTargetPage defines model for TemplateUpdateTargetPage.
|
|
29879
|
+
type TemplateUpdateTargetPage struct {
|
|
29880
|
+
Items []TemplateUpdateTarget `json:"items"`
|
|
29881
|
+
Page int64 `json:"page"`
|
|
29882
|
+
PageSize int64 `json:"pageSize"`
|
|
29883
|
+
Total int64 `json:"total"`
|
|
29884
|
+
}
|
|
29885
|
+
|
|
29886
|
+
// TemplateUpdateTargetPageEnvelope defines model for TemplateUpdateTargetPageEnvelope.
|
|
29887
|
+
type TemplateUpdateTargetPageEnvelope struct {
|
|
29888
|
+
Data TemplateUpdateTargetPage `json:"data"`
|
|
29889
|
+
}
|
|
29890
|
+
|
|
29891
|
+
// TemplateVersionReference defines model for TemplateVersionReference.
|
|
29892
|
+
type TemplateVersionReference struct {
|
|
29893
|
+
TemplateDigest string `json:"templateDigest"`
|
|
29894
|
+
TemplateID string `json:"templateId"`
|
|
29895
|
+
TemplateVersion int64 `json:"templateVersion"`
|
|
29896
|
+
}
|
|
29897
|
+
|
|
29184
29898
|
// TokenRotationInput defines model for TokenRotationInput.
|
|
29185
29899
|
type TokenRotationInput struct {
|
|
29186
29900
|
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
|
|
@@ -31637,6 +32351,7 @@ type WorkflowTemplate struct {
|
|
|
31637
32351
|
Enabled bool `json:"enabled"`
|
|
31638
32352
|
ID string `json:"id"`
|
|
31639
32353
|
Key string `json:"key"`
|
|
32354
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
31640
32355
|
Name string `json:"name"`
|
|
31641
32356
|
PublicationState TemplatePublicationState `json:"publicationState,omitempty"`
|
|
31642
32357
|
|
|
@@ -31666,10 +32381,11 @@ type WorkflowTemplateInput struct {
|
|
|
31666
32381
|
Enabled bool `json:"enabled"`
|
|
31667
32382
|
|
|
31668
32383
|
// ExpectedRevision Reject an update if the stored revision differs.
|
|
31669
|
-
ExpectedRevision int
|
|
31670
|
-
ID string
|
|
31671
|
-
Key string
|
|
31672
|
-
|
|
32384
|
+
ExpectedRevision int `json:"expectedRevision,omitempty"`
|
|
32385
|
+
ID string `json:"id,omitempty"`
|
|
32386
|
+
Key string `json:"key"`
|
|
32387
|
+
MigrationPolicy *TemplateMigrationPolicy `json:"migrationPolicy,omitempty"`
|
|
32388
|
+
Name string `json:"name"`
|
|
31673
32389
|
|
|
31674
32390
|
// Publish Publish an immutable version when saving. False saves a draft; omission preserves legacy save-and-publish behavior.
|
|
31675
32391
|
Publish bool `json:"publish,omitempty"`
|
|
@@ -32698,12 +33414,19 @@ type ListApplicationEnvironmentsParams struct {
|
|
|
32698
33414
|
|
|
32699
33415
|
// ListApplicationEnvironmentTargetCandidatesParams defines parameters for ListApplicationEnvironmentTargetCandidates.
|
|
32700
33416
|
type ListApplicationEnvironmentTargetCandidatesParams struct {
|
|
33417
|
+
WorkloadKind ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind `form:"workloadKind,omitempty" json:"workloadKind,omitempty"`
|
|
33418
|
+
|
|
33419
|
+
// CrdName Explicit CRD selection for CustomResource discovery. Only this served resource and namespace are queried.
|
|
33420
|
+
CrdName string `form:"crdName,omitempty" json:"crdName,omitempty"`
|
|
32701
33421
|
ClusterID string `form:"clusterId" json:"clusterId"`
|
|
32702
33422
|
Namespace string `form:"namespace" json:"namespace"`
|
|
32703
33423
|
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
32704
33424
|
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
32705
33425
|
}
|
|
32706
33426
|
|
|
33427
|
+
// ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind defines parameters for ListApplicationEnvironmentTargetCandidates.
|
|
33428
|
+
type ListApplicationEnvironmentTargetCandidatesParamsWorkloadKind string
|
|
33429
|
+
|
|
32707
33430
|
// ListApplicationsParams defines parameters for ListApplications.
|
|
32708
33431
|
type ListApplicationsParams struct {
|
|
32709
33432
|
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
@@ -33425,11 +34148,14 @@ type GetKubernetesPodDetailParams struct {
|
|
|
33425
34148
|
|
|
33426
34149
|
// GetKubernetesPodLogsParams defines parameters for GetKubernetesPodLogs.
|
|
33427
34150
|
type GetKubernetesPodLogsParams struct {
|
|
33428
|
-
Namespace
|
|
33429
|
-
|
|
33430
|
-
|
|
33431
|
-
|
|
33432
|
-
|
|
34151
|
+
Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
34152
|
+
|
|
34153
|
+
// ExpectedUID Reject the request if the live Pod UID differs. Omit only for legacy clients, never when restoring a saved session.
|
|
34154
|
+
ExpectedUID string `form:"expectedUid,omitempty" json:"expectedUid,omitempty"`
|
|
34155
|
+
Container string `form:"container,omitempty" json:"container,omitempty"`
|
|
34156
|
+
TailLines int `form:"tailLines,omitempty" json:"tailLines,omitempty"`
|
|
34157
|
+
SinceSeconds int `form:"sinceSeconds,omitempty" json:"sinceSeconds,omitempty"`
|
|
34158
|
+
Previous bool `form:"previous,omitempty" json:"previous,omitempty"`
|
|
33433
34159
|
}
|
|
33434
34160
|
|
|
33435
34161
|
// GetClusterPodMetricsParams defines parameters for GetClusterPodMetrics.
|
|
@@ -33803,6 +34529,24 @@ type ListDeliveryTemplateSyncRunsParams struct {
|
|
|
33803
34529
|
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
33804
34530
|
}
|
|
33805
34531
|
|
|
34532
|
+
// ListTemplateUpdatePoliciesParams defines parameters for ListTemplateUpdatePolicies.
|
|
34533
|
+
type ListTemplateUpdatePoliciesParams struct {
|
|
34534
|
+
Kind TemplateUpdateKind `form:"kind" json:"kind"`
|
|
34535
|
+
TemplateID string `form:"templateId" json:"templateId"`
|
|
34536
|
+
ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
|
|
34537
|
+
}
|
|
34538
|
+
|
|
34539
|
+
// ListTemplateUpdateTargetsParams defines parameters for ListTemplateUpdateTargets.
|
|
34540
|
+
type ListTemplateUpdateTargetsParams struct {
|
|
34541
|
+
Kind TemplateUpdateKind `form:"kind" json:"kind"`
|
|
34542
|
+
TemplateID string `form:"templateId" json:"templateId"`
|
|
34543
|
+
ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
|
|
34544
|
+
Page int64 `form:"page,omitempty" json:"page,omitempty"`
|
|
34545
|
+
PageSize int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
|
|
34546
|
+
ServiceID string `form:"serviceId,omitempty" json:"serviceId,omitempty"`
|
|
34547
|
+
ApplicationEnvironmentID string `form:"applicationEnvironmentId,omitempty" json:"applicationEnvironmentId,omitempty"`
|
|
34548
|
+
}
|
|
34549
|
+
|
|
33806
34550
|
// ListDeliveryTriggersParams defines parameters for ListDeliveryTriggers.
|
|
33807
34551
|
type ListDeliveryTriggersParams struct {
|
|
33808
34552
|
TargetKind ListDeliveryTriggersParamsTargetKind `form:"targetKind,omitempty" json:"targetKind,omitempty"`
|
|
@@ -35040,6 +35784,15 @@ type SyncDeliveryTemplateSourceJSONRequestBody = DeliveryTemplateSyncInput
|
|
|
35040
35784
|
// ApplyDeliveryTemplateSyncJSONRequestBody defines body for ApplyDeliveryTemplateSync for application/json ContentType.
|
|
35041
35785
|
type ApplyDeliveryTemplateSyncJSONRequestBody = DeliveryTemplateSyncApplyInput
|
|
35042
35786
|
|
|
35787
|
+
// SaveTemplateUpdatePolicyJSONRequestBody defines body for SaveTemplateUpdatePolicy for application/json ContentType.
|
|
35788
|
+
type SaveTemplateUpdatePolicyJSONRequestBody = TemplateUpdatePolicyInput
|
|
35789
|
+
|
|
35790
|
+
// CreateTemplateUpdatePreviewJSONRequestBody defines body for CreateTemplateUpdatePreview for application/json ContentType.
|
|
35791
|
+
type CreateTemplateUpdatePreviewJSONRequestBody = TemplateUpdatePreviewInput
|
|
35792
|
+
|
|
35793
|
+
// CreateTemplateUpdateBatchJSONRequestBody defines body for CreateTemplateUpdateBatch for application/json ContentType.
|
|
35794
|
+
type CreateTemplateUpdateBatchJSONRequestBody = TemplateUpdateBatchInput
|
|
35795
|
+
|
|
35043
35796
|
// CreateDeliveryTriggerJSONRequestBody defines body for CreateDeliveryTrigger for application/json ContentType.
|
|
35044
35797
|
type CreateDeliveryTriggerJSONRequestBody = DeliveryTriggerInput
|
|
35045
35798
|
|
|
@@ -43191,6 +43944,39 @@ const (
|
|
|
43191
43944
|
Low MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityLow
|
|
43192
43945
|
)
|
|
43193
43946
|
|
|
43947
|
+
// Retained for Go SDK source compatibility.
|
|
43948
|
+
const Browser PersonalGuestRuntimeInputKind = "browser"
|
|
43949
|
+
|
|
43950
|
+
// Retained for Go SDK source compatibility.
|
|
43951
|
+
const Docker PersonalGuestRuntimeInputKind = "docker"
|
|
43952
|
+
|
|
43953
|
+
// Retained for Go SDK source compatibility.
|
|
43954
|
+
const Execute PersonalGuestRuntimeInputKind = "execute"
|
|
43955
|
+
|
|
43956
|
+
// Retained for Go SDK source compatibility.
|
|
43957
|
+
const FileRead PersonalGuestRuntimeInputKind = "file_read"
|
|
43958
|
+
|
|
43959
|
+
// Retained for Go SDK source compatibility.
|
|
43960
|
+
const FileWrite PersonalGuestRuntimeInputKind = "file_write"
|
|
43961
|
+
|
|
43962
|
+
// Retained for Go SDK source compatibility.
|
|
43963
|
+
const JSON ExportDeliveryDocumentParamsFormat = "json"
|
|
43964
|
+
|
|
43965
|
+
// Retained for Go SDK source compatibility.
|
|
43966
|
+
const Yaml ExportDeliveryDocumentParamsFormat = "yaml"
|
|
43967
|
+
|
|
43968
|
+
// Retained for Go SDK source compatibility.
|
|
43969
|
+
const ExternalService DeliveryDraftServiceServiceKind = "external_service"
|
|
43970
|
+
|
|
43971
|
+
// Retained for Go SDK source compatibility.
|
|
43972
|
+
const HelmRelease DeliveryDraftServiceServiceKind = "helm_release"
|
|
43973
|
+
|
|
43974
|
+
// Retained for Go SDK source compatibility.
|
|
43975
|
+
const Job DeliveryDraftServiceServiceKind = "job"
|
|
43976
|
+
|
|
43977
|
+
// Retained for Go SDK source compatibility.
|
|
43978
|
+
const KubernetesWorkload DeliveryDraftServiceServiceKind = "kubernetes_workload"
|
|
43979
|
+
|
|
43194
43980
|
// Retained for Go SDK source compatibility.
|
|
43195
43981
|
const ListAIGatewayRelayUpstreamsParamsStatusActive ListAIGatewayRelayUpstreamsParamsStatus = "active"
|
|
43196
43982
|
|
|
@@ -43201,13 +43987,13 @@ const ListAIGatewayRelayUpstreamsParamsStatusDegraded ListAIGatewayRelayUpstream
|
|
|
43201
43987
|
const ListAIGatewayRelayUpstreamsParamsStatusDisabled ListAIGatewayRelayUpstreamsParamsStatus = "disabled"
|
|
43202
43988
|
|
|
43203
43989
|
// Retained for Go SDK source compatibility.
|
|
43204
|
-
const
|
|
43990
|
+
const RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
|
|
43205
43991
|
|
|
43206
43992
|
// Retained for Go SDK source compatibility.
|
|
43207
|
-
const
|
|
43993
|
+
const RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
|
|
43208
43994
|
|
|
43209
43995
|
// Retained for Go SDK source compatibility.
|
|
43210
|
-
const
|
|
43996
|
+
const RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
|
|
43211
43997
|
|
|
43212
43998
|
// Retained for Go SDK source compatibility.
|
|
43213
43999
|
const Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
|