@opensoha/contracts 0.1.27 → 0.1.29

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.
Files changed (94) hide show
  1. package/COMPATIBILITY.md +4 -3
  2. package/README.md +8 -9
  3. package/compat/consumer-revisions.json +1 -1
  4. package/compat/json-schema-ecosystem-0.1.0.json +1 -1
  5. package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
  6. package/fixtures/openapi/KubernetesClusterRegistrationRequest/invalid/metric-cluster-value-length.json +3 -0
  7. package/fixtures/openapi/KubernetesClusterRegistrationRequest/invalid/metric-cluster-value-type.json +3 -0
  8. package/fixtures/openapi/KubernetesClusterRegistrationRequest/valid/metric-cluster-alias.json +5 -0
  9. package/fixtures/openapi/KubernetesClusterRegistrationRequest/valid/metric-cluster-reset.json +3 -0
  10. package/fixtures/openapi/KubernetesHelmReleaseValuesUpdateInput/invalid/revision-overflow.json +4 -0
  11. package/fixtures/openapi/KubernetesHelmReleaseValuesUpdateInput/valid/legacy.json +3 -0
  12. package/fixtures/openapi/KubernetesHelmReleaseValuesUpdateInput/valid/observed-revision.json +4 -0
  13. package/fixtures/openapi/KubernetesJobDetail/invalid/execution-observation.json +23 -0
  14. package/fixtures/openapi/KubernetesJobDetail/valid/execution-observation.json +23 -0
  15. package/fixtures/openapi/KubernetesNode/invalid/labels.json +10 -0
  16. package/fixtures/openapi/KubernetesNode/valid/labels.json +11 -0
  17. package/fixtures/openapi/KubernetesPodListEnvelope/invalid/empty-uid.json +13 -0
  18. package/fixtures/openapi/KubernetesPodListEnvelope/invalid/invalid-container-state.json +20 -0
  19. package/fixtures/openapi/KubernetesPodListEnvelope/invalid/missing-container-ready.json +19 -0
  20. package/fixtures/openapi/KubernetesPodListEnvelope/valid/container-statuses.json +67 -0
  21. package/fixtures/openapi/KubernetesPodListEnvelope/valid/running-pod.json +1 -0
  22. package/fixtures/openapi/KubernetesPrometheusDetail/invalid/metric-cluster-value-type.json +4 -0
  23. package/fixtures/openapi/KubernetesPrometheusDetail/valid/metric-cluster-alias.json +5 -0
  24. package/fixtures/openapi/KubernetesResourceGraphEnvelope/invalid/network-edge-source-payload.json +73 -0
  25. package/fixtures/openapi/KubernetesResourceGraphEnvelope/valid/network-edge-facts.json +67 -0
  26. package/fixtures/openapi/KubernetesSecretCertificate/invalid/secret-data.json +1 -0
  27. package/fixtures/openapi/KubernetesSecretCertificate/invalid/status.json +1 -0
  28. package/fixtures/openapi/KubernetesSecretCertificate/valid/available.json +1 -0
  29. package/fixtures/openapi/KubernetesSecretCertificate/valid/missing.json +1 -0
  30. package/gen/go/sohaapi/client.go +1 -1
  31. package/gen/go/sohaapi/client_test.go +13 -0
  32. package/gen/go/sohaapi/kubernetes_workload_optional_test.go +40 -0
  33. package/gen/go/sohaapi/pod_status_compat_test.go +36 -0
  34. package/gen/go/sohaapi/types.go +421 -88
  35. package/gen/ts/sohaapi/index.ts +756 -4
  36. package/helmrelease/runtime/values_upgrade.go +78 -0
  37. package/helmrelease/runtime/values_upgrade_test.go +123 -0
  38. package/helmrelease/values_update.go +31 -0
  39. package/openapi/soha-api.json +1191 -14
  40. package/openapi/soha-api.yaml +588 -28
  41. package/openapi/spec_generated.go +3 -3
  42. package/package.json +1 -1
  43. package/resource/agent_profiles.go +9 -15
  44. package/resource/agent_profiles_test.go +9 -3
  45. package/resource/custom_graph_page.go +18 -0
  46. package/resource/models.go +102 -57
  47. package/resource/network_topology.go +22 -0
  48. package/resource/network_topology_projection.go +36 -22
  49. package/resource/network_topology_projection_test.go +4 -0
  50. package/resource/network_topology_test.go +20 -0
  51. package/resource/network_topology_validation.go +5 -0
  52. package/resource/observed_workload.go +18 -0
  53. package/resource/pod_status_test.go +22 -0
  54. package/resource/rbac_graph.go +4 -0
  55. package/resource/rollout_optional_test.go +33 -0
  56. package/resource/runtime/network_relationship_primitives.go +66 -0
  57. package/resource/runtime/network_relationship_primitives_test.go +147 -0
  58. package/resource/runtime/network_topology.go +17 -5
  59. package/resource/runtime/network_topology_builder.go +405 -0
  60. package/resource/runtime/network_topology_builder_backends.go +195 -0
  61. package/resource/runtime/network_topology_builder_gateway_l4_test.go +86 -0
  62. package/resource/runtime/network_topology_builder_ingress.go +302 -0
  63. package/resource/runtime/network_topology_builder_legacy.go +66 -0
  64. package/resource/runtime/network_topology_builder_providers.go +242 -0
  65. package/resource/runtime/network_topology_builder_test.go +186 -0
  66. package/resource/runtime/network_topology_declarations.go +329 -0
  67. package/resource/runtime/resource_edit.go +22 -0
  68. package/resource/runtime/resource_edit_test.go +32 -0
  69. package/resource/runtime/resource_graph_collect.go +325 -0
  70. package/resource/runtime/resource_graph_configuration.go +59 -0
  71. package/resource/runtime/resource_graph_configuration_collect.go +198 -0
  72. package/resource/runtime/resource_graph_configuration_test.go +470 -0
  73. package/resource/runtime/resource_graph_custom_page.go +159 -0
  74. package/resource/runtime/resource_graph_custom_root.go +132 -0
  75. package/resource/runtime/resource_graph_custom_root_test.go +197 -0
  76. package/resource/runtime/resource_graph_enrichment.go +417 -0
  77. package/resource/runtime/resource_graph_enrichment_hpa_test.go +117 -0
  78. package/resource/runtime/resource_graph_enrichment_test.go +201 -0
  79. package/resource/runtime/resource_graph_metadata.go +125 -0
  80. package/resource/runtime/resource_graph_metadata_test.go +204 -0
  81. package/resource/runtime/resource_graph_network.go +224 -0
  82. package/resource/runtime/resource_graph_network_collect.go +174 -0
  83. package/resource/runtime/resource_graph_network_collect_test.go +147 -0
  84. package/resource/runtime/resource_graph_network_test.go +342 -0
  85. package/resource/runtime/resource_graph_rbac.go +278 -0
  86. package/resource/runtime/resource_graph_rbac_test.go +372 -0
  87. package/resource/runtime/resource_graph_rules.go +834 -0
  88. package/resource/runtime/resource_graph_storage.go +144 -0
  89. package/resource/runtime/resource_graph_storage_collect.go +163 -0
  90. package/resource/runtime/resource_graph_storage_test.go +397 -0
  91. package/resource/runtime/resource_graph_test.go +627 -0
  92. package/resource/runtime/secret_certificate.go +44 -0
  93. package/resource/runtime/secret_certificate_test.go +87 -0
  94. package/resource/storage_graph.go +4 -0
@@ -5403,6 +5403,51 @@ func (e KubernetesImportedTargetWorkloadKind) Valid() bool {
5403
5403
  }
5404
5404
  }
5405
5405
 
5406
+ // Defines values for KubernetesPodContainerStatusKind.
5407
+ const (
5408
+ KubernetesPodContainerStatusKindContainer KubernetesPodContainerStatusKind = "container"
5409
+ KubernetesPodContainerStatusKindInit KubernetesPodContainerStatusKind = "init"
5410
+ KubernetesPodContainerStatusKindSidecar KubernetesPodContainerStatusKind = "sidecar"
5411
+ )
5412
+
5413
+ // Valid indicates whether the value is a known member of the KubernetesPodContainerStatusKind enum.
5414
+ func (e KubernetesPodContainerStatusKind) Valid() bool {
5415
+ switch e {
5416
+ case KubernetesPodContainerStatusKindContainer:
5417
+ return true
5418
+ case KubernetesPodContainerStatusKindInit:
5419
+ return true
5420
+ case KubernetesPodContainerStatusKindSidecar:
5421
+ return true
5422
+ default:
5423
+ return false
5424
+ }
5425
+ }
5426
+
5427
+ // Defines values for KubernetesPodContainerStatusState.
5428
+ const (
5429
+ KubernetesPodContainerStatusStateRunning KubernetesPodContainerStatusState = "running"
5430
+ KubernetesPodContainerStatusStateTerminated KubernetesPodContainerStatusState = "terminated"
5431
+ KubernetesPodContainerStatusStateUnknown KubernetesPodContainerStatusState = "unknown"
5432
+ KubernetesPodContainerStatusStateWaiting KubernetesPodContainerStatusState = "waiting"
5433
+ )
5434
+
5435
+ // Valid indicates whether the value is a known member of the KubernetesPodContainerStatusState enum.
5436
+ func (e KubernetesPodContainerStatusState) Valid() bool {
5437
+ switch e {
5438
+ case KubernetesPodContainerStatusStateRunning:
5439
+ return true
5440
+ case KubernetesPodContainerStatusStateTerminated:
5441
+ return true
5442
+ case KubernetesPodContainerStatusStateUnknown:
5443
+ return true
5444
+ case KubernetesPodContainerStatusStateWaiting:
5445
+ return true
5446
+ default:
5447
+ return false
5448
+ }
5449
+ }
5450
+
5406
5451
  // Defines values for KubernetesPrometheusTransport.
5407
5452
  const (
5408
5453
  KubernetesPrometheusTransportAgent KubernetesPrometheusTransport = "agent"
@@ -5709,6 +5754,30 @@ func (e KubernetesResourceStreamEventType) Valid() bool {
5709
5754
  }
5710
5755
  }
5711
5756
 
5757
+ // Defines values for KubernetesSecretCertificateStatus.
5758
+ const (
5759
+ KubernetesSecretCertificateStatusAvailable KubernetesSecretCertificateStatus = "available"
5760
+ KubernetesSecretCertificateStatusInvalid KubernetesSecretCertificateStatus = "invalid"
5761
+ KubernetesSecretCertificateStatusMissing KubernetesSecretCertificateStatus = "missing"
5762
+ KubernetesSecretCertificateStatusUnsupportedType KubernetesSecretCertificateStatus = "unsupported_type"
5763
+ )
5764
+
5765
+ // Valid indicates whether the value is a known member of the KubernetesSecretCertificateStatus enum.
5766
+ func (e KubernetesSecretCertificateStatus) Valid() bool {
5767
+ switch e {
5768
+ case KubernetesSecretCertificateStatusAvailable:
5769
+ return true
5770
+ case KubernetesSecretCertificateStatusInvalid:
5771
+ return true
5772
+ case KubernetesSecretCertificateStatusMissing:
5773
+ return true
5774
+ case KubernetesSecretCertificateStatusUnsupportedType:
5775
+ return true
5776
+ default:
5777
+ return false
5778
+ }
5779
+ }
5780
+
5712
5781
  // Defines values for KubernetesSecurityFindingCategory.
5713
5782
  const (
5714
5783
  Configuration KubernetesSecurityFindingCategory = "configuration"
@@ -5882,30 +5951,51 @@ func (e KubernetesTopologyCoverageState) Valid() bool {
5882
5951
 
5883
5952
  // Defines values for KubernetesTopologyGraphEdgeRelation.
5884
5953
  const (
5885
- KubernetesTopologyGraphEdgeRelationForwards KubernetesTopologyGraphEdgeRelation = "forwards"
5886
- KubernetesTopologyGraphEdgeRelationMatches KubernetesTopologyGraphEdgeRelation = "matches"
5887
- KubernetesTopologyGraphEdgeRelationMirrors KubernetesTopologyGraphEdgeRelation = "mirrors"
5888
- KubernetesTopologyGraphEdgeRelationProcesses KubernetesTopologyGraphEdgeRelation = "processes"
5889
- KubernetesTopologyGraphEdgeRelationResolves KubernetesTopologyGraphEdgeRelation = "resolves"
5890
- KubernetesTopologyGraphEdgeRelationSelects KubernetesTopologyGraphEdgeRelation = "selects"
5891
- KubernetesTopologyGraphEdgeRelationWeights KubernetesTopologyGraphEdgeRelation = "weights"
5954
+ KubernetesTopologyGraphEdgeRelationAuthorizesReference KubernetesTopologyGraphEdgeRelation = "authorizes-reference"
5955
+ KubernetesTopologyGraphEdgeRelationForwards KubernetesTopologyGraphEdgeRelation = "forwards"
5956
+ KubernetesTopologyGraphEdgeRelationMatches KubernetesTopologyGraphEdgeRelation = "matches"
5957
+ KubernetesTopologyGraphEdgeRelationMirrors KubernetesTopologyGraphEdgeRelation = "mirrors"
5958
+ KubernetesTopologyGraphEdgeRelationParameters KubernetesTopologyGraphEdgeRelation = "parameters"
5959
+ KubernetesTopologyGraphEdgeRelationPolicyPeer KubernetesTopologyGraphEdgeRelation = "policy-peer"
5960
+ KubernetesTopologyGraphEdgeRelationProcesses KubernetesTopologyGraphEdgeRelation = "processes"
5961
+ KubernetesTopologyGraphEdgeRelationResolves KubernetesTopologyGraphEdgeRelation = "resolves"
5962
+ KubernetesTopologyGraphEdgeRelationSelects KubernetesTopologyGraphEdgeRelation = "selects"
5963
+ KubernetesTopologyGraphEdgeRelationTargets KubernetesTopologyGraphEdgeRelation = "targets"
5964
+ KubernetesTopologyGraphEdgeRelationUsesClass KubernetesTopologyGraphEdgeRelation = "uses-class"
5965
+ KubernetesTopologyGraphEdgeRelationUsesConfig KubernetesTopologyGraphEdgeRelation = "uses-config"
5966
+ KubernetesTopologyGraphEdgeRelationUsesSecret KubernetesTopologyGraphEdgeRelation = "uses-secret"
5967
+ KubernetesTopologyGraphEdgeRelationWeights KubernetesTopologyGraphEdgeRelation = "weights"
5892
5968
  )
5893
5969
 
5894
5970
  // Valid indicates whether the value is a known member of the KubernetesTopologyGraphEdgeRelation enum.
5895
5971
  func (e KubernetesTopologyGraphEdgeRelation) Valid() bool {
5896
5972
  switch e {
5973
+ case KubernetesTopologyGraphEdgeRelationAuthorizesReference:
5974
+ return true
5897
5975
  case KubernetesTopologyGraphEdgeRelationForwards:
5898
5976
  return true
5899
5977
  case KubernetesTopologyGraphEdgeRelationMatches:
5900
5978
  return true
5901
5979
  case KubernetesTopologyGraphEdgeRelationMirrors:
5902
5980
  return true
5981
+ case KubernetesTopologyGraphEdgeRelationParameters:
5982
+ return true
5983
+ case KubernetesTopologyGraphEdgeRelationPolicyPeer:
5984
+ return true
5903
5985
  case KubernetesTopologyGraphEdgeRelationProcesses:
5904
5986
  return true
5905
5987
  case KubernetesTopologyGraphEdgeRelationResolves:
5906
5988
  return true
5907
5989
  case KubernetesTopologyGraphEdgeRelationSelects:
5908
5990
  return true
5991
+ case KubernetesTopologyGraphEdgeRelationTargets:
5992
+ return true
5993
+ case KubernetesTopologyGraphEdgeRelationUsesClass:
5994
+ return true
5995
+ case KubernetesTopologyGraphEdgeRelationUsesConfig:
5996
+ return true
5997
+ case KubernetesTopologyGraphEdgeRelationUsesSecret:
5998
+ return true
5909
5999
  case KubernetesTopologyGraphEdgeRelationWeights:
5910
6000
  return true
5911
6001
  default:
@@ -9695,19 +9785,19 @@ func (e PersonalAgentAccessStatus) Valid() bool {
9695
9785
 
9696
9786
  // Defines values for PersonalAgentAccessDecisionStatus.
9697
9787
  const (
9698
- PersonalAgentAccessDecisionStatusApproved PersonalAgentAccessDecisionStatus = "approved"
9699
- PersonalAgentAccessDecisionStatusRejected PersonalAgentAccessDecisionStatus = "rejected"
9700
- PersonalAgentAccessDecisionStatusRevoked PersonalAgentAccessDecisionStatus = "revoked"
9788
+ Approved PersonalAgentAccessDecisionStatus = "approved"
9789
+ Rejected PersonalAgentAccessDecisionStatus = "rejected"
9790
+ Revoked PersonalAgentAccessDecisionStatus = "revoked"
9701
9791
  )
9702
9792
 
9703
9793
  // Valid indicates whether the value is a known member of the PersonalAgentAccessDecisionStatus enum.
9704
9794
  func (e PersonalAgentAccessDecisionStatus) Valid() bool {
9705
9795
  switch e {
9706
- case PersonalAgentAccessDecisionStatusApproved:
9796
+ case Approved:
9707
9797
  return true
9708
- case PersonalAgentAccessDecisionStatusRejected:
9798
+ case Rejected:
9709
9799
  return true
9710
- case PersonalAgentAccessDecisionStatusRevoked:
9800
+ case Revoked:
9711
9801
  return true
9712
9802
  default:
9713
9803
  return false
@@ -9857,16 +9947,16 @@ func (e PersonalEnvironmentActionRequestAction) Valid() bool {
9857
9947
 
9858
9948
  // Defines values for PersonalEnvironmentTemplateBackend.
9859
9949
  const (
9860
- Container PersonalEnvironmentTemplateBackend = "container"
9861
- VM PersonalEnvironmentTemplateBackend = "vm"
9950
+ PersonalEnvironmentTemplateBackendContainer PersonalEnvironmentTemplateBackend = "container"
9951
+ PersonalEnvironmentTemplateBackendVM PersonalEnvironmentTemplateBackend = "vm"
9862
9952
  )
9863
9953
 
9864
9954
  // Valid indicates whether the value is a known member of the PersonalEnvironmentTemplateBackend enum.
9865
9955
  func (e PersonalEnvironmentTemplateBackend) Valid() bool {
9866
9956
  switch e {
9867
- case Container:
9957
+ case PersonalEnvironmentTemplateBackendContainer:
9868
9958
  return true
9869
- case VM:
9959
+ case PersonalEnvironmentTemplateBackendVM:
9870
9960
  return true
9871
9961
  default:
9872
9962
  return false
@@ -13886,16 +13976,16 @@ func (e SearchWorkbenchMessagesParamsWorkspace) Valid() bool {
13886
13976
 
13887
13977
  // Defines values for ExportDeliveryDocumentParamsFormat.
13888
13978
  const (
13889
- JSON ExportDeliveryDocumentParamsFormat = "json"
13890
- Yaml ExportDeliveryDocumentParamsFormat = "yaml"
13979
+ ExportDeliveryDocumentParamsFormatJSON ExportDeliveryDocumentParamsFormat = "json"
13980
+ ExportDeliveryDocumentParamsFormatYaml ExportDeliveryDocumentParamsFormat = "yaml"
13891
13981
  )
13892
13982
 
13893
13983
  // Valid indicates whether the value is a known member of the ExportDeliveryDocumentParamsFormat enum.
13894
13984
  func (e ExportDeliveryDocumentParamsFormat) Valid() bool {
13895
13985
  switch e {
13896
- case JSON:
13986
+ case ExportDeliveryDocumentParamsFormatJSON:
13897
13987
  return true
13898
- case Yaml:
13988
+ case ExportDeliveryDocumentParamsFormatYaml:
13899
13989
  return true
13900
13990
  default:
13901
13991
  return false
@@ -21996,7 +22086,10 @@ type KubernetesDeployment struct {
21996
22086
  Name string `json:"name"`
21997
22087
  Namespace string `json:"namespace"`
21998
22088
  ReadyReplicas int32 `json:"readyReplicas"`
21999
- UpdatedReplicas int32 `json:"updatedReplicas"`
22089
+
22090
+ // UID Kubernetes object UID for identity-checked deletion. Omitted if unavailable.
22091
+ UID string `json:"uid,omitempty"`
22092
+ UpdatedReplicas int32 `json:"updatedReplicas"`
22000
22093
  }
22001
22094
 
22002
22095
  // KubernetesDeploymentDetail defines model for KubernetesDeploymentDetail.
@@ -22017,7 +22110,10 @@ type KubernetesDeploymentDetail struct {
22017
22110
  RelatedResources []KubernetesWorkloadRelation `json:"relatedResources,omitempty"`
22018
22111
  Selector *KubernetesStringMap `json:"selector,omitempty"`
22019
22112
  Strategy string `json:"strategy"`
22020
- UpdatedReplicas int32 `json:"updatedReplicas"`
22113
+
22114
+ // UID Kubernetes object UID for identity-checked deletion. Omitted if unavailable.
22115
+ UID string `json:"uid,omitempty"`
22116
+ UpdatedReplicas int32 `json:"updatedReplicas"`
22021
22117
  }
22022
22118
 
22023
22119
  // KubernetesDeploymentDetailEnvelope defines model for KubernetesDeploymentDetailEnvelope.
@@ -22032,13 +22128,19 @@ type KubernetesDeploymentListEnvelope struct {
22032
22128
 
22033
22129
  // KubernetesDeploymentRollout defines model for KubernetesDeploymentRollout.
22034
22130
  type KubernetesDeploymentRollout struct {
22035
- CreatedAt string `json:"createdAt,omitempty"`
22036
- Images []string `json:"images,omitempty"`
22037
- Name string `json:"name"`
22038
- Namespace string `json:"namespace"`
22039
- ReadyReplicas int32 `json:"readyReplicas"`
22040
- Replicas int32 `json:"replicas"`
22041
- Revision string `json:"revision"`
22131
+ CreatedAt string `json:"createdAt,omitempty"`
22132
+ Images []string `json:"images,omitempty"`
22133
+
22134
+ // MatchesCurrentTemplate When supplied, whether the retained ControllerRevision patch exactly matches the current DaemonSet Pod template. False is a confirmed mismatch; omission means this endpoint did not evaluate it.
22135
+ MatchesCurrentTemplate *bool `json:"matchesCurrentTemplate,omitempty"`
22136
+ Name string `json:"name"`
22137
+ Namespace string `json:"namespace"`
22138
+
22139
+ // PodRevisionHash Observed controller-revision-hash used by owned Pods; omitted when unavailable. Do not infer it from resource names.
22140
+ PodRevisionHash string `json:"podRevisionHash,omitempty"`
22141
+ ReadyReplicas int32 `json:"readyReplicas"`
22142
+ Replicas int32 `json:"replicas"`
22143
+ Revision string `json:"revision"`
22042
22144
  }
22043
22145
 
22044
22146
  // KubernetesDeploymentRolloutListEnvelope defines model for KubernetesDeploymentRolloutListEnvelope.
@@ -22546,6 +22648,32 @@ type KubernetesHelmReleaseRollbackInput struct {
22546
22648
  Wait bool `json:"wait,omitempty"`
22547
22649
  }
22548
22650
 
22651
+ // KubernetesHelmReleaseValues defines model for KubernetesHelmReleaseValues.
22652
+ type KubernetesHelmReleaseValues struct {
22653
+ AllowedActions []string `json:"allowedActions,omitempty"`
22654
+ Content string `json:"content"`
22655
+ DiffEnabled bool `json:"diffEnabled"`
22656
+ Editable bool `json:"editable"`
22657
+ Name string `json:"name"`
22658
+ Namespace string `json:"namespace"`
22659
+ Original string `json:"original,omitempty"`
22660
+ Revision string `json:"revision,omitempty"`
22661
+ }
22662
+
22663
+ // KubernetesHelmReleaseValuesEnvelope defines model for KubernetesHelmReleaseValuesEnvelope.
22664
+ type KubernetesHelmReleaseValuesEnvelope struct {
22665
+ Data KubernetesHelmReleaseValues `json:"data"`
22666
+ }
22667
+
22668
+ // KubernetesHelmReleaseValuesUpdateInput defines model for KubernetesHelmReleaseValuesUpdateInput.
22669
+ type KubernetesHelmReleaseValuesUpdateInput struct {
22670
+ // Content Complete Helm values YAML.
22671
+ Content string `json:"content"`
22672
+
22673
+ // ExpectedRevision Latest Helm revision observed by the editor. When supplied, a changed revision returns 409 and an Agent without conditional updates returns 501.
22674
+ ExpectedRevision int `json:"expectedRevision,omitempty"`
22675
+ }
22676
+
22549
22677
  // KubernetesHorizontalPodAutoscaler defines model for KubernetesHorizontalPodAutoscaler.
22550
22678
  type KubernetesHorizontalPodAutoscaler struct {
22551
22679
  AgeSeconds int64 `json:"ageSeconds"`
@@ -22777,31 +22905,46 @@ type KubernetesJob struct {
22777
22905
  AgeSeconds int64 `json:"ageSeconds"`
22778
22906
  AllowedActions []string `json:"allowedActions,omitempty"`
22779
22907
  CompletionMode string `json:"completionMode,omitempty"`
22780
- Completions int32 `json:"completions"`
22781
- Failed int32 `json:"failed"`
22782
- Name string `json:"name"`
22783
- Namespace string `json:"namespace"`
22784
- Succeeded int32 `json:"succeeded"`
22908
+
22909
+ // CompletionTarget Native spec.completions when specified; absence is not a zero completion target.
22910
+ CompletionTarget *int32 `json:"completionTarget,omitempty"`
22911
+ CompletionTime string `json:"completionTime,omitempty"`
22912
+ Completions int32 `json:"completions"`
22913
+ Conditions []KubernetesWorkloadCondition `json:"conditions,omitempty"`
22914
+ Failed int32 `json:"failed"`
22915
+ Name string `json:"name"`
22916
+ Namespace string `json:"namespace"`
22917
+ StartTime string `json:"startTime,omitempty"`
22918
+ Succeeded int32 `json:"succeeded"`
22919
+ Suspend *bool `json:"suspend,omitempty"`
22785
22920
  }
22786
22921
 
22787
22922
  // KubernetesJobDetail defines model for KubernetesJobDetail.
22788
22923
  type KubernetesJobDetail struct {
22789
- Active int32 `json:"active"`
22790
- AllowedActions []string `json:"allowedActions,omitempty"`
22791
- Annotations *KubernetesStringMap `json:"annotations,omitempty"`
22792
- CompletionMode string `json:"completionMode,omitempty"`
22793
- CompletionTime string `json:"completionTime,omitempty"`
22794
- Completions int32 `json:"completions"`
22795
- CreatedAt string `json:"createdAt,omitempty"`
22796
- Failed int32 `json:"failed"`
22797
- Labels *KubernetesStringMap `json:"labels,omitempty"`
22798
- Name string `json:"name"`
22799
- Namespace string `json:"namespace"`
22800
- Parallelism int32 `json:"parallelism"`
22801
- Pods []KubernetesPod `json:"pods,omitempty"`
22802
- RelatedResources []KubernetesWorkloadRelation `json:"relatedResources,omitempty"`
22803
- StartTime string `json:"startTime,omitempty"`
22804
- Succeeded int32 `json:"succeeded"`
22924
+ Active int32 `json:"active"`
22925
+ ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
22926
+ AllowedActions []string `json:"allowedActions,omitempty"`
22927
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
22928
+ BackoffLimit *int32 `json:"backoffLimit,omitempty"`
22929
+ CompletionMode string `json:"completionMode,omitempty"`
22930
+
22931
+ // CompletionTarget Native spec.completions when specified; absence is not a zero completion target.
22932
+ CompletionTarget *int32 `json:"completionTarget,omitempty"`
22933
+ CompletionTime string `json:"completionTime,omitempty"`
22934
+ Completions int32 `json:"completions"`
22935
+ Conditions []KubernetesWorkloadCondition `json:"conditions,omitempty"`
22936
+ CreatedAt string `json:"createdAt,omitempty"`
22937
+ Failed int32 `json:"failed"`
22938
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
22939
+ Name string `json:"name"`
22940
+ Namespace string `json:"namespace"`
22941
+ Parallelism int32 `json:"parallelism"`
22942
+ Pods []KubernetesPod `json:"pods,omitempty"`
22943
+ RelatedResources []KubernetesWorkloadRelation `json:"relatedResources,omitempty"`
22944
+ StartTime string `json:"startTime,omitempty"`
22945
+ Succeeded int32 `json:"succeeded"`
22946
+ Suspend *bool `json:"suspend,omitempty"`
22947
+ TTLSecondsAfterFinished *int32 `json:"ttlSecondsAfterFinished,omitempty"`
22805
22948
  }
22806
22949
 
22807
22950
  // KubernetesJobDetailEnvelope defines model for KubernetesJobDetailEnvelope.
@@ -23060,13 +23203,16 @@ type KubernetesNode struct {
23060
23203
  AllowedActions []string `json:"allowedActions,omitempty"`
23061
23204
 
23062
23205
  // Conditions Current Node conditions, independent of scheduling and drain operations.
23063
- Conditions []KubernetesWorkloadCondition `json:"conditions,omitempty"`
23064
- InternalIP string `json:"internalIp,omitempty"`
23065
- Name string `json:"name"`
23066
- PodCount int `json:"podCount"`
23067
- Resources *KubernetesNodeResourceSummary `json:"resources,omitempty"`
23068
- Roles []string `json:"roles,omitempty"`
23069
- Status string `json:"status"`
23206
+ Conditions []KubernetesWorkloadCondition `json:"conditions,omitempty"`
23207
+ InternalIP string `json:"internalIp,omitempty"`
23208
+
23209
+ // Labels Kubernetes Node labels available to the current reader.
23210
+ Labels map[string]string `json:"labels,omitempty"`
23211
+ Name string `json:"name"`
23212
+ PodCount int `json:"podCount"`
23213
+ Resources *KubernetesNodeResourceSummary `json:"resources,omitempty"`
23214
+ Roles []string `json:"roles,omitempty"`
23215
+ Status string `json:"status"`
23070
23216
 
23071
23217
  // Taints Current Node spec taints. Empty means none; null or absent means not reported.
23072
23218
  Taints []KubernetesNodeTaint `json:"taints,omitempty"`
@@ -23158,6 +23304,14 @@ type KubernetesNodeUpdateInput struct {
23158
23304
  Taints []KubernetesNodeTaint `json:"taints,omitempty"`
23159
23305
  }
23160
23306
 
23307
+ // KubernetesObservedResourceYamlInput defines model for KubernetesObservedResourceYamlInput.
23308
+ type KubernetesObservedResourceYamlInput struct {
23309
+ Content string `json:"content"`
23310
+
23311
+ // RequireObservedIdentity Require the YAML to include the UID and resource version of the object read before editing. A changed or replaced object returns conflict.
23312
+ RequireObservedIdentity bool `json:"requireObservedIdentity,omitempty"`
23313
+ }
23314
+
23161
23315
  // KubernetesPersistentVolume defines model for KubernetesPersistentVolume.
23162
23316
  type KubernetesPersistentVolume struct {
23163
23317
  AccessModes []string `json:"accessModes,omitempty"`
@@ -23248,27 +23402,50 @@ type KubernetesPersistentVolumeListEnvelope struct {
23248
23402
 
23249
23403
  // KubernetesPod defines model for KubernetesPod.
23250
23404
  type KubernetesPod struct {
23251
- AgeSeconds int64 `json:"ageSeconds"`
23252
- AllowedActions []string `json:"allowedActions,omitempty"`
23253
- CPU string `json:"cpu,omitempty"`
23254
- CreatedAt string `json:"createdAt,omitempty"`
23255
- Labels *KubernetesStringMap `json:"labels,omitempty"`
23256
- Limits *KubernetesResourceQuantity `json:"limits,omitempty"`
23257
- Memory string `json:"memory,omitempty"`
23258
- Name string `json:"name"`
23259
- Namespace string `json:"namespace"`
23260
- NodeName string `json:"nodeName,omitempty"`
23261
- PersistentVolumeClaims []string `json:"persistentVolumeClaims,omitempty"`
23262
- Phase string `json:"phase"`
23263
- PodIP string `json:"podIp,omitempty"`
23264
- ReadyContainers string `json:"readyContainers"`
23265
- Requests *KubernetesResourceQuantity `json:"requests,omitempty"`
23266
- Restarts int32 `json:"restarts"`
23267
-
23268
- // UID Immutable Pod identity. Required by clients restoring a saved live session; absent on older providers.
23405
+ AgeSeconds int64 `json:"ageSeconds"`
23406
+ AllowedActions []string `json:"allowedActions,omitempty"`
23407
+
23408
+ // ContainerStatuses Init containers followed by ordinary containers in spec order, including unknown entries before status is reported. Restartable init containers have kind sidecar. Does not include ephemeral containers.
23409
+ ContainerStatuses []KubernetesPodContainerStatus `json:"containerStatuses,omitempty"`
23410
+ CPU string `json:"cpu,omitempty"`
23411
+ CreatedAt string `json:"createdAt,omitempty"`
23412
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
23413
+ Limits *KubernetesResourceQuantity `json:"limits,omitempty"`
23414
+ Memory string `json:"memory,omitempty"`
23415
+ Name string `json:"name"`
23416
+ Namespace string `json:"namespace"`
23417
+ NodeName string `json:"nodeName,omitempty"`
23418
+ PersistentVolumeClaims []string `json:"persistentVolumeClaims,omitempty"`
23419
+ Phase string `json:"phase"`
23420
+ PodIP string `json:"podIp,omitempty"`
23421
+
23422
+ // QosClass Kubernetes status.qosClass, omitted when not reported.
23423
+ QosClass string `json:"qosClass,omitempty"`
23424
+ ReadyContainers string `json:"readyContainers"`
23425
+ Requests *KubernetesResourceQuantity `json:"requests,omitempty"`
23426
+ Restarts int32 `json:"restarts"`
23427
+
23428
+ // UID Immutable Pod identity for restoring saved live sessions and identity-checked deletion. Older providers may omit it.
23269
23429
  UID string `json:"uid,omitempty"`
23270
23430
  }
23271
23431
 
23432
+ // KubernetesPodContainerStatus defines model for KubernetesPodContainerStatus.
23433
+ type KubernetesPodContainerStatus struct {
23434
+ // ExitCode Present only when the current container state is terminated, including a successful zero exit code.
23435
+ ExitCode *int32 `json:"exitCode,omitempty"`
23436
+ Kind KubernetesPodContainerStatusKind `json:"kind"`
23437
+ Name string `json:"name"`
23438
+ Ready bool `json:"ready"`
23439
+ Reason string `json:"reason,omitempty"`
23440
+ State KubernetesPodContainerStatusState `json:"state"`
23441
+ }
23442
+
23443
+ // KubernetesPodContainerStatusKind defines model for KubernetesPodContainerStatus.Kind.
23444
+ type KubernetesPodContainerStatusKind string
23445
+
23446
+ // KubernetesPodContainerStatusState defines model for KubernetesPodContainerStatus.State.
23447
+ type KubernetesPodContainerStatusState string
23448
+
23272
23449
  // KubernetesPodDetail defines model for KubernetesPodDetail.
23273
23450
  type KubernetesPodDetail struct {
23274
23451
  AllowedActions []string `json:"allowedActions,omitempty"`
@@ -23290,7 +23467,7 @@ type KubernetesPodDetail struct {
23290
23467
  ServiceAccountName string `json:"serviceAccountName,omitempty"`
23291
23468
  StartTime string `json:"startTime,omitempty"`
23292
23469
 
23293
- // UID Immutable Pod identity. Required by clients restoring a saved live session; absent on older providers.
23470
+ // UID Immutable Pod identity for restoring saved live sessions and identity-checked deletion. Older providers may omit it.
23294
23471
  UID string `json:"uid,omitempty"`
23295
23472
  Volumes []KubernetesPodVolume `json:"volumes,omitempty"`
23296
23473
  }
@@ -23415,11 +23592,14 @@ type KubernetesPriorityClassListEnvelope struct {
23415
23592
 
23416
23593
  // KubernetesPrometheusDetail defines model for KubernetesPrometheusDetail.
23417
23594
  type KubernetesPrometheusDetail struct {
23418
- BaseURL string `json:"baseUrl,omitempty"`
23419
- ClusterLabel string `json:"clusterLabel,omitempty"`
23420
- GrafanaBaseURL string `json:"grafanaBaseUrl,omitempty"`
23421
- HasBearerToken bool `json:"hasBearerToken"`
23422
- Transport KubernetesPrometheusTransport `json:"transport,omitempty"`
23595
+ BaseURL string `json:"baseUrl,omitempty"`
23596
+ ClusterLabel string `json:"clusterLabel,omitempty"`
23597
+
23598
+ // ClusterLabelValue Configured metric cluster label value. Omitted or empty uses the Soha cluster ID for legacy compatibility.
23599
+ ClusterLabelValue string `json:"clusterLabelValue,omitempty"`
23600
+ GrafanaBaseURL string `json:"grafanaBaseUrl,omitempty"`
23601
+ HasBearerToken bool `json:"hasBearerToken"`
23602
+ Transport KubernetesPrometheusTransport `json:"transport,omitempty"`
23423
23603
  }
23424
23604
 
23425
23605
  // KubernetesPrometheusTransport defines model for KubernetesPrometheusTransport.
@@ -23768,10 +23948,17 @@ type KubernetesResourceGraph struct {
23768
23948
 
23769
23949
  // KubernetesResourceGraphEdge defines model for KubernetesResourceGraphEdge.
23770
23950
  type KubernetesResourceGraphEdge struct {
23771
- ID string `json:"id"`
23772
- Relation string `json:"relation"`
23773
- SourceID string `json:"sourceId"`
23774
- TargetID string `json:"targetId"`
23951
+ FieldPath string `json:"fieldPath,omitempty"`
23952
+ ID string `json:"id"`
23953
+ Note string `json:"note,omitempty"`
23954
+ Port string `json:"port,omitempty"`
23955
+ Protocol string `json:"protocol,omitempty"`
23956
+ Relation string `json:"relation"`
23957
+ ResolutionState string `json:"resolutionState,omitempty"`
23958
+ SectionName string `json:"sectionName,omitempty"`
23959
+ SourceID string `json:"sourceId"`
23960
+ SourceRef *KubernetesResourceRef `json:"sourceRef,omitempty"`
23961
+ TargetID string `json:"targetId"`
23775
23962
  }
23776
23963
 
23777
23964
  // KubernetesResourceGraphEnvelope defines model for KubernetesResourceGraphEnvelope.
@@ -23962,6 +24149,9 @@ type KubernetesResourceUpdatePlanRequest struct {
23962
24149
  Kind string `json:"kind"`
23963
24150
  Name string `json:"name"`
23964
24151
  Namespace string `json:"namespace,omitempty"`
24152
+
24153
+ // RequireObservedIdentity Require the YAML to identify the observed Kubernetes object by metadata.uid and metadata.resourceVersion.
24154
+ RequireObservedIdentity bool `json:"requireObservedIdentity,omitempty"`
23965
24155
  }
23966
24156
 
23967
24157
  // KubernetesResourceWarning defines model for KubernetesResourceWarning.
@@ -24067,6 +24257,26 @@ type KubernetesRuntimeClassListEnvelope struct {
24067
24257
  Items []KubernetesRuntimeClass `json:"items"`
24068
24258
  }
24069
24259
 
24260
+ // KubernetesSecretCertificate defines model for KubernetesSecretCertificate.
24261
+ type KubernetesSecretCertificate struct {
24262
+ Name string `json:"name"`
24263
+ Namespace string `json:"namespace"`
24264
+ NotAfter *time.Time `json:"notAfter,omitempty"`
24265
+ NotBefore *time.Time `json:"notBefore,omitempty"`
24266
+
24267
+ // SelfSigned The first certificate is signed by its own key; this is not a trust validation result.
24268
+ SelfSigned *bool `json:"selfSigned,omitempty"`
24269
+ Status KubernetesSecretCertificateStatus `json:"status"`
24270
+ }
24271
+
24272
+ // KubernetesSecretCertificateStatus defines model for KubernetesSecretCertificate.Status.
24273
+ type KubernetesSecretCertificateStatus string
24274
+
24275
+ // KubernetesSecretCertificateEnvelope defines model for KubernetesSecretCertificateEnvelope.
24276
+ type KubernetesSecretCertificateEnvelope struct {
24277
+ Data KubernetesSecretCertificate `json:"data"`
24278
+ }
24279
+
24070
24280
  // KubernetesSecretDataInput Data values are plain text. The response detail returns Kubernetes Base64-encoded values.
24071
24281
  type KubernetesSecretDataInput struct {
24072
24282
  Data *KubernetesStringMap `json:"data,omitempty"`
@@ -24413,6 +24623,7 @@ type KubernetesTopologyCondition struct {
24413
24623
  // KubernetesTopologyCoverage defines model for KubernetesTopologyCoverage.
24414
24624
  type KubernetesTopologyCoverage struct {
24415
24625
  CheckedAt *time.Time `json:"checkedAt,omitempty"`
24626
+ Name string `json:"name,omitempty"`
24416
24627
  Namespace string `json:"namespace,omitempty"`
24417
24628
  ObservedAt *time.Time `json:"observedAt,omitempty"`
24418
24629
  Provider KubernetesTopologyProvider `json:"provider"`
@@ -24428,6 +24639,7 @@ type KubernetesTopologyCoverageState string
24428
24639
 
24429
24640
  // KubernetesTopologyGraphEdge defines model for KubernetesTopologyGraphEdge.
24430
24641
  type KubernetesTopologyGraphEdge struct {
24642
+ FieldPath string `json:"fieldPath,omitempty"`
24431
24643
  ID string `json:"id"`
24432
24644
  MirrorPercent *float32 `json:"mirrorPercent,omitempty"`
24433
24645
  Note string `json:"note,omitempty"`
@@ -24436,6 +24648,7 @@ type KubernetesTopologyGraphEdge struct {
24436
24648
  Relation KubernetesTopologyGraphEdgeRelation `json:"relation"`
24437
24649
  ResolutionState KubernetesTopologyResolution `json:"resolutionState"`
24438
24650
  RuleRef string `json:"ruleRef,omitempty"`
24651
+ SectionName string `json:"sectionName,omitempty"`
24439
24652
  Source string `json:"source"`
24440
24653
  SourceRef *KubernetesResourceRef `json:"sourceRef,omitempty"`
24441
24654
  Target string `json:"target"`
@@ -34927,6 +35140,9 @@ type KubernetesDeploymentName = string
34927
35140
  // KubernetesEventLimitQuery defines model for KubernetesEventLimitQuery.
34928
35141
  type KubernetesEventLimitQuery = int
34929
35142
 
35143
+ // KubernetesExpectedWorkloadUID defines model for KubernetesExpectedWorkloadUID.
35144
+ type KubernetesExpectedWorkloadUID = string
35145
+
34930
35146
  // KubernetesJobName defines model for KubernetesJobName.
34931
35147
  type KubernetesJobName = string
34932
35148
 
@@ -36028,6 +36244,11 @@ type ListKubernetesSecretMetadataParams struct {
36028
36244
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36029
36245
  }
36030
36246
 
36247
+ // GetKubernetesSecretCertificateParams defines parameters for GetKubernetesSecretCertificate.
36248
+ type GetKubernetesSecretCertificateParams struct {
36249
+ Namespace string `form:"namespace" json:"namespace"`
36250
+ }
36251
+
36031
36252
  // UpdateKubernetesSecretDataParams defines parameters for UpdateKubernetesSecretData.
36032
36253
  type UpdateKubernetesSecretDataParams struct {
36033
36254
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36046,6 +36267,11 @@ type ListKubernetesSecretReferencesParams struct {
36046
36267
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36047
36268
  }
36048
36269
 
36270
+ // ApplyKubernetesSecretYamlParams defines parameters for ApplyKubernetesSecretYaml.
36271
+ type ApplyKubernetesSecretYamlParams struct {
36272
+ Namespace string `form:"namespace" json:"namespace"`
36273
+ }
36274
+
36049
36275
  // ListKubernetesClusterEventsParams defines parameters for ListKubernetesClusterEvents.
36050
36276
  type ListKubernetesClusterEventsParams struct {
36051
36277
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36129,6 +36355,11 @@ type PlanKubernetesHelmReleaseRollbackParams struct {
36129
36355
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36130
36356
  }
36131
36357
 
36358
+ // UpdateKubernetesHelmReleaseValuesParams defines parameters for UpdateKubernetesHelmReleaseValues.
36359
+ type UpdateKubernetesHelmReleaseValuesParams struct {
36360
+ Namespace string `form:"namespace" json:"namespace"`
36361
+ }
36362
+
36132
36363
  // ListKubernetesBackendTLSPoliciesParams defines parameters for ListKubernetesBackendTLSPolicies.
36133
36364
  type ListKubernetesBackendTLSPoliciesParams struct {
36134
36365
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36255,6 +36486,11 @@ type GetKubernetesIngressDetailParams struct {
36255
36486
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36256
36487
  }
36257
36488
 
36489
+ // ApplyKubernetesIngressYamlParams defines parameters for ApplyKubernetesIngressYaml.
36490
+ type ApplyKubernetesIngressYamlParams struct {
36491
+ Namespace string `form:"namespace" json:"namespace"`
36492
+ }
36493
+
36258
36494
  // ListKubernetesNetworkPoliciesParams defines parameters for ListKubernetesNetworkPolicies.
36259
36495
  type ListKubernetesNetworkPoliciesParams struct {
36260
36496
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36318,6 +36554,11 @@ type GetKubernetesServiceMetricsParams struct {
36318
36554
  StepSeconds KubernetesMetricsStepSecondsQuery `form:"stepSeconds,omitempty" json:"stepSeconds,omitempty"`
36319
36555
  }
36320
36556
 
36557
+ // ApplyKubernetesServiceYamlParams defines parameters for ApplyKubernetesServiceYaml.
36558
+ type ApplyKubernetesServiceYamlParams struct {
36559
+ Namespace string `form:"namespace" json:"namespace"`
36560
+ }
36561
+
36321
36562
  // GetKubernetesNetworkTopologyParams defines parameters for GetKubernetesNetworkTopology.
36322
36563
  type GetKubernetesNetworkTopologyParams struct {
36323
36564
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36345,6 +36586,12 @@ type GetKubernetesResourceGraphParams struct {
36345
36586
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36346
36587
  Kind string `form:"kind" json:"kind"`
36347
36588
  Name string `form:"name" json:"name"`
36589
+
36590
+ // APIVersion Exact served group/version for a CRD instance, or apiextensions.k8s.io/v1 for a CRD definition. Required together with resource for explicit CRD graphs.
36591
+ APIVersion string `form:"apiVersion,omitempty" json:"apiVersion,omitempty"`
36592
+
36593
+ // Resource Exact CRD plural resource name. For a CRD definition use customresourcedefinitions.
36594
+ Resource string `form:"resource,omitempty" json:"resource,omitempty"`
36348
36595
  }
36349
36596
 
36350
36597
  // SearchKubernetesResourcesParams defines parameters for SearchKubernetesResources.
@@ -36430,6 +36677,16 @@ type GetKubernetesDaemonSetMetricsParams struct {
36430
36677
  StepSeconds KubernetesMetricsStepSecondsQuery `form:"stepSeconds,omitempty" json:"stepSeconds,omitempty"`
36431
36678
  }
36432
36679
 
36680
+ // ListKubernetesDaemonSetRolloutsParams defines parameters for ListKubernetesDaemonSetRollouts.
36681
+ type ListKubernetesDaemonSetRolloutsParams struct {
36682
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36683
+ }
36684
+
36685
+ // GetKubernetesDaemonSetRevisionYamlParams defines parameters for GetKubernetesDaemonSetRevisionYaml.
36686
+ type GetKubernetesDaemonSetRevisionYamlParams struct {
36687
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36688
+ }
36689
+
36433
36690
  // GetKubernetesDaemonSetYamlParams defines parameters for GetKubernetesDaemonSetYaml.
36434
36691
  type GetKubernetesDaemonSetYamlParams struct {
36435
36692
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36442,6 +36699,15 @@ type ListKubernetesDeploymentsParams struct {
36442
36699
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36443
36700
  }
36444
36701
 
36702
+ // DeleteKubernetesDeploymentParams defines parameters for DeleteKubernetesDeployment.
36703
+ type DeleteKubernetesDeploymentParams struct {
36704
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
36705
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36706
+
36707
+ // ExpectedUID Kubernetes UID observed in the workload list or detail. When supplied, deletion requires this identity and rejects a same-name replacement.
36708
+ ExpectedUID KubernetesExpectedWorkloadUID `form:"expectedUid,omitempty" json:"expectedUid,omitempty"`
36709
+ }
36710
+
36445
36711
  // GetKubernetesDeploymentDetailParams defines parameters for GetKubernetesDeploymentDetail.
36446
36712
  type GetKubernetesDeploymentDetailParams struct {
36447
36713
  Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
@@ -36483,6 +36749,15 @@ type GetKubernetesJobDetailParams struct {
36483
36749
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36484
36750
  }
36485
36751
 
36752
+ // GetKubernetesJobMetricsParams defines parameters for GetKubernetesJobMetrics.
36753
+ type GetKubernetesJobMetricsParams struct {
36754
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36755
+ RangeMinutes KubernetesMetricsRangeMinutesQuery `form:"rangeMinutes,omitempty" json:"rangeMinutes,omitempty"`
36756
+
36757
+ // StepSeconds Requested step. The server may increase it to keep the response below 1440 points per series.
36758
+ StepSeconds KubernetesMetricsStepSecondsQuery `form:"stepSeconds,omitempty" json:"stepSeconds,omitempty"`
36759
+ }
36760
+
36486
36761
  // GetKubernetesJobYamlParams defines parameters for GetKubernetesJobYaml.
36487
36762
  type GetKubernetesJobYamlParams struct {
36488
36763
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36505,6 +36780,9 @@ type ListKubernetesPodsParams struct {
36505
36780
  type DeleteKubernetesPodParams struct {
36506
36781
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
36507
36782
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36783
+
36784
+ // ExpectedUID Kubernetes UID observed in the workload list or detail. When supplied, deletion requires this identity and rejects a same-name replacement.
36785
+ ExpectedUID KubernetesExpectedWorkloadUID `form:"expectedUid,omitempty" json:"expectedUid,omitempty"`
36508
36786
  }
36509
36787
 
36510
36788
  // GetKubernetesPodDetailParams defines parameters for GetKubernetesPodDetail.
@@ -36550,6 +36828,15 @@ type GetKubernetesReplicaSetDetailParams struct {
36550
36828
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36551
36829
  }
36552
36830
 
36831
+ // GetKubernetesReplicaSetMetricsParams defines parameters for GetKubernetesReplicaSetMetrics.
36832
+ type GetKubernetesReplicaSetMetricsParams struct {
36833
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36834
+ RangeMinutes KubernetesMetricsRangeMinutesQuery `form:"rangeMinutes,omitempty" json:"rangeMinutes,omitempty"`
36835
+
36836
+ // StepSeconds Requested step. The server may increase it to keep the response below 1440 points per series.
36837
+ StepSeconds KubernetesMetricsStepSecondsQuery `form:"stepSeconds,omitempty" json:"stepSeconds,omitempty"`
36838
+ }
36839
+
36553
36840
  // GetKubernetesReplicaSetYamlParams defines parameters for GetKubernetesReplicaSetYaml.
36554
36841
  type GetKubernetesReplicaSetYamlParams struct {
36555
36842
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36574,6 +36861,15 @@ type GetKubernetesReplicationControllerDetailParams struct {
36574
36861
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36575
36862
  }
36576
36863
 
36864
+ // GetKubernetesReplicationControllerMetricsParams defines parameters for GetKubernetesReplicationControllerMetrics.
36865
+ type GetKubernetesReplicationControllerMetricsParams struct {
36866
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36867
+ RangeMinutes KubernetesMetricsRangeMinutesQuery `form:"rangeMinutes,omitempty" json:"rangeMinutes,omitempty"`
36868
+
36869
+ // StepSeconds Requested step. The server may increase it to keep the response below 1440 points per series.
36870
+ StepSeconds KubernetesMetricsStepSecondsQuery `form:"stepSeconds,omitempty" json:"stepSeconds,omitempty"`
36871
+ }
36872
+
36577
36873
  // GetKubernetesReplicationControllerYamlParams defines parameters for GetKubernetesReplicationControllerYaml.
36578
36874
  type GetKubernetesReplicationControllerYamlParams struct {
36579
36875
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -36601,6 +36897,16 @@ type GetKubernetesStatefulSetMetricsParams struct {
36601
36897
  StepSeconds KubernetesMetricsStepSecondsQuery `form:"stepSeconds,omitempty" json:"stepSeconds,omitempty"`
36602
36898
  }
36603
36899
 
36900
+ // ListKubernetesStatefulSetRolloutsParams defines parameters for ListKubernetesStatefulSetRollouts.
36901
+ type ListKubernetesStatefulSetRolloutsParams struct {
36902
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36903
+ }
36904
+
36905
+ // GetKubernetesStatefulSetRevisionYamlParams defines parameters for GetKubernetesStatefulSetRevisionYaml.
36906
+ type GetKubernetesStatefulSetRevisionYamlParams struct {
36907
+ Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
36908
+ }
36909
+
36604
36910
  // GetKubernetesStatefulSetYamlParams defines parameters for GetKubernetesStatefulSetYaml.
36605
36911
  type GetKubernetesStatefulSetYamlParams struct {
36606
36912
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -37889,12 +38195,18 @@ type ApplyKubernetesPodDisruptionBudgetYamlJSONRequestBody = KubernetesResourceY
37889
38195
  // UpdateKubernetesSecretDataJSONRequestBody defines body for UpdateKubernetesSecretData for application/json ContentType.
37890
38196
  type UpdateKubernetesSecretDataJSONRequestBody = KubernetesSecretDataInput
37891
38197
 
38198
+ // ApplyKubernetesSecretYamlJSONRequestBody defines body for ApplyKubernetesSecretYaml for application/json ContentType.
38199
+ type ApplyKubernetesSecretYamlJSONRequestBody = KubernetesObservedResourceYamlInput
38200
+
37892
38201
  // RollbackKubernetesHelmReleaseJSONRequestBody defines body for RollbackKubernetesHelmRelease for application/json ContentType.
37893
38202
  type RollbackKubernetesHelmReleaseJSONRequestBody = KubernetesHelmReleaseRollbackInput
37894
38203
 
37895
38204
  // PlanKubernetesHelmReleaseRollbackJSONRequestBody defines body for PlanKubernetesHelmReleaseRollback for application/json ContentType.
37896
38205
  type PlanKubernetesHelmReleaseRollbackJSONRequestBody = KubernetesHelmReleaseRollbackInput
37897
38206
 
38207
+ // UpdateKubernetesHelmReleaseValuesJSONRequestBody defines body for UpdateKubernetesHelmReleaseValues for application/json ContentType.
38208
+ type UpdateKubernetesHelmReleaseValuesJSONRequestBody = KubernetesHelmReleaseValuesUpdateInput
38209
+
37898
38210
  // UpdateKubernetesNodeJSONRequestBody defines body for UpdateKubernetesNode for application/json ContentType.
37899
38211
  type UpdateKubernetesNodeJSONRequestBody = KubernetesNodeUpdateInput
37900
38212
 
@@ -37928,9 +38240,15 @@ type ApplyKubernetesGRPCRouteYamlJSONRequestBody = KubernetesResourceYamlInput
37928
38240
  // ApplyKubernetesHTTPRouteYamlJSONRequestBody defines body for ApplyKubernetesHTTPRouteYaml for application/json ContentType.
37929
38241
  type ApplyKubernetesHTTPRouteYamlJSONRequestBody = KubernetesResourceYamlInput
37930
38242
 
38243
+ // ApplyKubernetesIngressYamlJSONRequestBody defines body for ApplyKubernetesIngressYaml for application/json ContentType.
38244
+ type ApplyKubernetesIngressYamlJSONRequestBody = KubernetesObservedResourceYamlInput
38245
+
37931
38246
  // ApplyKubernetesReferenceGrantYamlJSONRequestBody defines body for ApplyKubernetesReferenceGrantYaml for application/json ContentType.
37932
38247
  type ApplyKubernetesReferenceGrantYamlJSONRequestBody = KubernetesResourceYamlInput
37933
38248
 
38249
+ // ApplyKubernetesServiceYamlJSONRequestBody defines body for ApplyKubernetesServiceYaml for application/json ContentType.
38250
+ type ApplyKubernetesServiceYamlJSONRequestBody = KubernetesObservedResourceYamlInput
38251
+
37934
38252
  // DisableClusterLogCollectionJSONRequestBody defines body for DisableClusterLogCollection for application/json ContentType.
37935
38253
  type DisableClusterLogCollectionJSONRequestBody = LogCollectionDisableInput
37936
38254
 
@@ -46589,10 +46907,10 @@ const FileRead PersonalGuestRuntimeInputKind = "file_read"
46589
46907
  const FileWrite PersonalGuestRuntimeInputKind = "file_write"
46590
46908
 
46591
46909
  // Retained for Go SDK source compatibility.
46592
- const ExportDeliveryDocumentParamsFormatJSON ExportDeliveryDocumentParamsFormat = "json"
46910
+ const JSON ExportDeliveryDocumentParamsFormat = "json"
46593
46911
 
46594
46912
  // Retained for Go SDK source compatibility.
46595
- const ExportDeliveryDocumentParamsFormatYaml ExportDeliveryDocumentParamsFormat = "yaml"
46913
+ const Yaml ExportDeliveryDocumentParamsFormat = "yaml"
46596
46914
 
46597
46915
  // Retained for Go SDK source compatibility.
46598
46916
  const ExternalService DeliveryDraftServiceServiceKind = "external_service"
@@ -46606,6 +46924,21 @@ const Job DeliveryDraftServiceServiceKind = "job"
46606
46924
  // Retained for Go SDK source compatibility.
46607
46925
  const KubernetesWorkload DeliveryDraftServiceServiceKind = "kubernetes_workload"
46608
46926
 
46927
+ // Retained for Go SDK source compatibility.
46928
+ const PersonalAgentAccessDecisionStatusApproved PersonalAgentAccessDecisionStatus = "approved"
46929
+
46930
+ // Retained for Go SDK source compatibility.
46931
+ const PersonalAgentAccessDecisionStatusRejected PersonalAgentAccessDecisionStatus = "rejected"
46932
+
46933
+ // Retained for Go SDK source compatibility.
46934
+ const PersonalAgentAccessDecisionStatusRevoked PersonalAgentAccessDecisionStatus = "revoked"
46935
+
46936
+ // Retained for Go SDK source compatibility.
46937
+ const Container PersonalEnvironmentTemplateBackend = "container"
46938
+
46939
+ // Retained for Go SDK source compatibility.
46940
+ const VM PersonalEnvironmentTemplateBackend = "vm"
46941
+
46609
46942
  // Retained for Go SDK source compatibility.
46610
46943
  const ListAIGatewayRelayUpstreamsParamsStatusActive ListAIGatewayRelayUpstreamsParamsStatus = "active"
46611
46944