@opensoha/contracts 0.1.21 → 0.1.23

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.
@@ -4391,6 +4391,33 @@ func (e KubernetesConnectionMode) Valid() bool {
4391
4391
  }
4392
4392
  }
4393
4393
 
4394
+ // Defines values for KubernetesCustomResourceAccessAllowedActions.
4395
+ const (
4396
+ CustomResourceAccessCreate KubernetesCustomResourceAccessAllowedActions = "create"
4397
+ CustomResourceAccessDelete KubernetesCustomResourceAccessAllowedActions = "delete"
4398
+ CustomResourceAccessList KubernetesCustomResourceAccessAllowedActions = "list"
4399
+ CustomResourceAccessUpdate KubernetesCustomResourceAccessAllowedActions = "update"
4400
+ CustomResourceAccessView KubernetesCustomResourceAccessAllowedActions = "view"
4401
+ )
4402
+
4403
+ // Valid indicates whether the value is a known member of the KubernetesCustomResourceAccessAllowedActions enum.
4404
+ func (e KubernetesCustomResourceAccessAllowedActions) Valid() bool {
4405
+ switch e {
4406
+ case CustomResourceAccessCreate:
4407
+ return true
4408
+ case CustomResourceAccessDelete:
4409
+ return true
4410
+ case CustomResourceAccessList:
4411
+ return true
4412
+ case CustomResourceAccessUpdate:
4413
+ return true
4414
+ case CustomResourceAccessView:
4415
+ return true
4416
+ default:
4417
+ return false
4418
+ }
4419
+ }
4420
+
4394
4421
  // Defines values for KubernetesImportCandidateWorkloadKind.
4395
4422
  const (
4396
4423
  KubernetesImportCandidateWorkloadKindDaemonSet KubernetesImportCandidateWorkloadKind = "DaemonSet"
@@ -6749,6 +6776,144 @@ func (e NetworkPolicyPath) Valid() bool {
6749
6776
  }
6750
6777
  }
6751
6778
 
6779
+ // Defines values for NetworkProxyCapability.
6780
+ const (
6781
+ NetworkProxyCapabilityCloseConnection NetworkProxyCapability = "close_connection"
6782
+ NetworkProxyCapabilityConnections NetworkProxyCapability = "connections"
6783
+ NetworkProxyCapabilityTraffic NetworkProxyCapability = "traffic"
6784
+ )
6785
+
6786
+ // Valid indicates whether the value is a known member of the NetworkProxyCapability enum.
6787
+ func (e NetworkProxyCapability) Valid() bool {
6788
+ switch e {
6789
+ case NetworkProxyCapabilityCloseConnection:
6790
+ return true
6791
+ case NetworkProxyCapabilityConnections:
6792
+ return true
6793
+ case NetworkProxyCapabilityTraffic:
6794
+ return true
6795
+ default:
6796
+ return false
6797
+ }
6798
+ }
6799
+
6800
+ // Defines values for NetworkProxyCloseCommandEnvelopeStatus.
6801
+ const (
6802
+ NetworkProxyCloseCommandEnvelopeStatusClosed NetworkProxyCloseCommandEnvelopeStatus = "closed"
6803
+ NetworkProxyCloseCommandEnvelopeStatusExpired NetworkProxyCloseCommandEnvelopeStatus = "expired"
6804
+ NetworkProxyCloseCommandEnvelopeStatusFailed NetworkProxyCloseCommandEnvelopeStatus = "failed"
6805
+ NetworkProxyCloseCommandEnvelopeStatusNotFound NetworkProxyCloseCommandEnvelopeStatus = "not-found"
6806
+ NetworkProxyCloseCommandEnvelopeStatusPending NetworkProxyCloseCommandEnvelopeStatus = "pending"
6807
+ )
6808
+
6809
+ // Valid indicates whether the value is a known member of the NetworkProxyCloseCommandEnvelopeStatus enum.
6810
+ func (e NetworkProxyCloseCommandEnvelopeStatus) Valid() bool {
6811
+ switch e {
6812
+ case NetworkProxyCloseCommandEnvelopeStatusClosed:
6813
+ return true
6814
+ case NetworkProxyCloseCommandEnvelopeStatusExpired:
6815
+ return true
6816
+ case NetworkProxyCloseCommandEnvelopeStatusFailed:
6817
+ return true
6818
+ case NetworkProxyCloseCommandEnvelopeStatusNotFound:
6819
+ return true
6820
+ case NetworkProxyCloseCommandEnvelopeStatusPending:
6821
+ return true
6822
+ default:
6823
+ return false
6824
+ }
6825
+ }
6826
+
6827
+ // Defines values for NetworkProxyConnectionNetwork.
6828
+ const (
6829
+ NetworkProxyConnectionNetworkOther NetworkProxyConnectionNetwork = "other"
6830
+ NetworkProxyConnectionNetworkTCP NetworkProxyConnectionNetwork = "tcp"
6831
+ NetworkProxyConnectionNetworkUDP NetworkProxyConnectionNetwork = "udp"
6832
+ )
6833
+
6834
+ // Valid indicates whether the value is a known member of the NetworkProxyConnectionNetwork enum.
6835
+ func (e NetworkProxyConnectionNetwork) Valid() bool {
6836
+ switch e {
6837
+ case NetworkProxyConnectionNetworkOther:
6838
+ return true
6839
+ case NetworkProxyConnectionNetworkTCP:
6840
+ return true
6841
+ case NetworkProxyConnectionNetworkUDP:
6842
+ return true
6843
+ default:
6844
+ return false
6845
+ }
6846
+ }
6847
+
6848
+ // Defines values for NetworkProxyConnectionsEnvelopeState.
6849
+ const (
6850
+ NetworkProxyConnectionsEnvelopeStateAvailable NetworkProxyConnectionsEnvelopeState = "available"
6851
+ NetworkProxyConnectionsEnvelopeStateUnavailable NetworkProxyConnectionsEnvelopeState = "unavailable"
6852
+ NetworkProxyConnectionsEnvelopeStateUnsupported NetworkProxyConnectionsEnvelopeState = "unsupported"
6853
+ )
6854
+
6855
+ // Valid indicates whether the value is a known member of the NetworkProxyConnectionsEnvelopeState enum.
6856
+ func (e NetworkProxyConnectionsEnvelopeState) Valid() bool {
6857
+ switch e {
6858
+ case NetworkProxyConnectionsEnvelopeStateAvailable:
6859
+ return true
6860
+ case NetworkProxyConnectionsEnvelopeStateUnavailable:
6861
+ return true
6862
+ case NetworkProxyConnectionsEnvelopeStateUnsupported:
6863
+ return true
6864
+ default:
6865
+ return false
6866
+ }
6867
+ }
6868
+
6869
+ // Defines values for NetworkProxyEngine.
6870
+ const (
6871
+ NetworkProxyEngineMihomo NetworkProxyEngine = "mihomo"
6872
+ NetworkProxyEngineSingBox NetworkProxyEngine = "sing-box"
6873
+ NetworkProxyEngineV2Ray NetworkProxyEngine = "v2ray"
6874
+ )
6875
+
6876
+ // Valid indicates whether the value is a known member of the NetworkProxyEngine enum.
6877
+ func (e NetworkProxyEngine) Valid() bool {
6878
+ switch e {
6879
+ case NetworkProxyEngineMihomo:
6880
+ return true
6881
+ case NetworkProxyEngineSingBox:
6882
+ return true
6883
+ case NetworkProxyEngineV2Ray:
6884
+ return true
6885
+ default:
6886
+ return false
6887
+ }
6888
+ }
6889
+
6890
+ // Defines values for NetworkProxyInstanceStatus.
6891
+ const (
6892
+ NetworkProxyInstanceStatusDegraded NetworkProxyInstanceStatus = "degraded"
6893
+ NetworkProxyInstanceStatusDisabled NetworkProxyInstanceStatus = "disabled"
6894
+ NetworkProxyInstanceStatusOffline NetworkProxyInstanceStatus = "offline"
6895
+ NetworkProxyInstanceStatusOnline NetworkProxyInstanceStatus = "online"
6896
+ NetworkProxyInstanceStatusUnregistered NetworkProxyInstanceStatus = "unregistered"
6897
+ )
6898
+
6899
+ // Valid indicates whether the value is a known member of the NetworkProxyInstanceStatus enum.
6900
+ func (e NetworkProxyInstanceStatus) Valid() bool {
6901
+ switch e {
6902
+ case NetworkProxyInstanceStatusDegraded:
6903
+ return true
6904
+ case NetworkProxyInstanceStatusDisabled:
6905
+ return true
6906
+ case NetworkProxyInstanceStatusOffline:
6907
+ return true
6908
+ case NetworkProxyInstanceStatusOnline:
6909
+ return true
6910
+ case NetworkProxyInstanceStatusUnregistered:
6911
+ return true
6912
+ default:
6913
+ return false
6914
+ }
6915
+ }
6916
+
6752
6917
  // Defines values for NetworkResourceKind.
6753
6918
  const (
6754
6919
  NetworkResourceKindCIDR NetworkResourceKind = "cidr"
@@ -8488,19 +8653,19 @@ func (e RuntimeConfigValueType) Valid() bool {
8488
8653
 
8489
8654
  // Defines values for RuntimeNetworkUsageScope.
8490
8655
  const (
8491
- NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
8492
- Process RuntimeNetworkUsageScope = "process"
8493
- Unavailable RuntimeNetworkUsageScope = "unavailable"
8656
+ RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
8657
+ RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
8658
+ RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
8494
8659
  )
8495
8660
 
8496
8661
  // Valid indicates whether the value is a known member of the RuntimeNetworkUsageScope enum.
8497
8662
  func (e RuntimeNetworkUsageScope) Valid() bool {
8498
8663
  switch e {
8499
- case NetworkNamespace:
8664
+ case RuntimeNetworkUsageScopeNetworkNamespace:
8500
8665
  return true
8501
- case Process:
8666
+ case RuntimeNetworkUsageScopeProcess:
8502
8667
  return true
8503
- case Unavailable:
8668
+ case RuntimeNetworkUsageScopeUnavailable:
8504
8669
  return true
8505
8670
  default:
8506
8671
  return false
@@ -9217,25 +9382,25 @@ func (e WorkbenchAgentStatusEventProviderKind) Valid() bool {
9217
9382
 
9218
9383
  // Defines values for WorkbenchAgentStatusEventStatus.
9219
9384
  const (
9220
- Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
9221
- Failed WorkbenchAgentStatusEventStatus = "failed"
9222
- Queued WorkbenchAgentStatusEventStatus = "queued"
9223
- Running WorkbenchAgentStatusEventStatus = "running"
9224
- Succeeded WorkbenchAgentStatusEventStatus = "succeeded"
9385
+ WorkbenchAgentStatusEventStatusCancelled WorkbenchAgentStatusEventStatus = "cancelled"
9386
+ WorkbenchAgentStatusEventStatusFailed WorkbenchAgentStatusEventStatus = "failed"
9387
+ WorkbenchAgentStatusEventStatusQueued WorkbenchAgentStatusEventStatus = "queued"
9388
+ WorkbenchAgentStatusEventStatusRunning WorkbenchAgentStatusEventStatus = "running"
9389
+ WorkbenchAgentStatusEventStatusSucceeded WorkbenchAgentStatusEventStatus = "succeeded"
9225
9390
  )
9226
9391
 
9227
9392
  // Valid indicates whether the value is a known member of the WorkbenchAgentStatusEventStatus enum.
9228
9393
  func (e WorkbenchAgentStatusEventStatus) Valid() bool {
9229
9394
  switch e {
9230
- case Cancelled:
9395
+ case WorkbenchAgentStatusEventStatusCancelled:
9231
9396
  return true
9232
- case Failed:
9397
+ case WorkbenchAgentStatusEventStatusFailed:
9233
9398
  return true
9234
- case Queued:
9399
+ case WorkbenchAgentStatusEventStatusQueued:
9235
9400
  return true
9236
- case Running:
9401
+ case WorkbenchAgentStatusEventStatusRunning:
9237
9402
  return true
9238
- case Succeeded:
9403
+ case WorkbenchAgentStatusEventStatusSucceeded:
9239
9404
  return true
9240
9405
  default:
9241
9406
  return false
@@ -13377,6 +13542,45 @@ type ChangePasswordRequest struct {
13377
13542
  NewPassword string `json:"newPassword"`
13378
13543
  }
13379
13544
 
13545
+ // ClusterAgentUpgradeInput defines model for ClusterAgentUpgradeInput.
13546
+ type ClusterAgentUpgradeInput struct {
13547
+ // Version Explicit stable official Agent version, such as v0.1.7. Registry and container identity cannot be overridden.
13548
+ Version string `json:"version"`
13549
+ }
13550
+
13551
+ // ClusterAgentUpgradeResult defines model for ClusterAgentUpgradeResult.
13552
+ type ClusterAgentUpgradeResult struct {
13553
+ PreviousImage string `json:"previousImage"`
13554
+ TargetImage string `json:"targetImage"`
13555
+ }
13556
+
13557
+ // ClusterAgentUpgradeResultEnvelope defines model for ClusterAgentUpgradeResultEnvelope.
13558
+ type ClusterAgentUpgradeResultEnvelope struct {
13559
+ Data ClusterAgentUpgradeResult `json:"data"`
13560
+ }
13561
+
13562
+ // ClusterAgentUpgradeStatus defines model for ClusterAgentUpgradeStatus.
13563
+ type ClusterAgentUpgradeStatus struct {
13564
+ CanUpgrade bool `json:"canUpgrade"`
13565
+
13566
+ // Image Desired image of the standard Agent Deployment.
13567
+ Image string `json:"image"`
13568
+ Message string `json:"message"`
13569
+
13570
+ // RecommendedVersion Agent version bundled with this Core release.
13571
+ RecommendedVersion string `json:"recommendedVersion"`
13572
+ RolloutStatus string `json:"rolloutStatus"`
13573
+ UpgradeDisabledReason string `json:"upgradeDisabledReason,omitempty"`
13574
+
13575
+ // Version Version reported by the currently connected Agent process.
13576
+ Version string `json:"version"`
13577
+ }
13578
+
13579
+ // ClusterAgentUpgradeStatusEnvelope defines model for ClusterAgentUpgradeStatusEnvelope.
13580
+ type ClusterAgentUpgradeStatusEnvelope struct {
13581
+ Data ClusterAgentUpgradeStatus `json:"data"`
13582
+ }
13583
+
13380
13584
  // ClusterCapabilityMatrixEntry defines model for ClusterCapabilityMatrixEntry.
13381
13585
  type ClusterCapabilityMatrixEntry struct {
13382
13586
  Agent ClusterCapabilityModeSupport `json:"agent"`
@@ -18211,6 +18415,12 @@ type KubernetesConfigMap struct {
18211
18415
  Namespace string `json:"namespace"`
18212
18416
  }
18213
18417
 
18418
+ // KubernetesConfigMapDataInput defines model for KubernetesConfigMapDataInput.
18419
+ type KubernetesConfigMapDataInput struct {
18420
+ BinaryData *KubernetesStringMap `json:"binaryData,omitempty"`
18421
+ Data *KubernetesStringMap `json:"data,omitempty"`
18422
+ }
18423
+
18214
18424
  // KubernetesConfigMapDetail defines model for KubernetesConfigMapDetail.
18215
18425
  type KubernetesConfigMapDetail struct {
18216
18426
  AgeSeconds int64 `json:"ageSeconds"`
@@ -18290,6 +18500,11 @@ type KubernetesCronJobListEnvelope struct {
18290
18500
  Items []KubernetesCronJob `json:"items"`
18291
18501
  }
18292
18502
 
18503
+ // KubernetesCronJobSuspendInput defines model for KubernetesCronJobSuspendInput.
18504
+ type KubernetesCronJobSuspendInput struct {
18505
+ Suspend bool `json:"suspend"`
18506
+ }
18507
+
18293
18508
  // KubernetesCustomResource defines model for KubernetesCustomResource.
18294
18509
  type KubernetesCustomResource struct {
18295
18510
  AgeSeconds int64 `json:"ageSeconds"`
@@ -18306,6 +18521,19 @@ type KubernetesCustomResource struct {
18306
18521
  UID string `json:"uid,omitempty"`
18307
18522
  }
18308
18523
 
18524
+ // KubernetesCustomResourceAccess defines model for KubernetesCustomResourceAccess.
18525
+ type KubernetesCustomResourceAccess struct {
18526
+ AllowedActions []KubernetesCustomResourceAccessAllowedActions `json:"allowedActions"`
18527
+ }
18528
+
18529
+ // KubernetesCustomResourceAccessAllowedActions defines model for KubernetesCustomResourceAccess.AllowedActions.
18530
+ type KubernetesCustomResourceAccessAllowedActions string
18531
+
18532
+ // KubernetesCustomResourceAccessEnvelope defines model for KubernetesCustomResourceAccessEnvelope.
18533
+ type KubernetesCustomResourceAccessEnvelope struct {
18534
+ Data KubernetesCustomResourceAccess `json:"data"`
18535
+ }
18536
+
18309
18537
  // KubernetesCustomResourceDefinition defines model for KubernetesCustomResourceDefinition.
18310
18538
  type KubernetesCustomResourceDefinition struct {
18311
18539
  AgeSeconds int64 `json:"ageSeconds"`
@@ -19249,6 +19477,25 @@ type KubernetesNamespace struct {
19249
19477
  Status string `json:"status"`
19250
19478
  }
19251
19479
 
19480
+ // KubernetesNamespaceCreateInput defines model for KubernetesNamespaceCreateInput.
19481
+ type KubernetesNamespaceCreateInput struct {
19482
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
19483
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
19484
+ Name string `json:"name"`
19485
+ }
19486
+
19487
+ // KubernetesNamespaceEnvelope defines model for KubernetesNamespaceEnvelope.
19488
+ type KubernetesNamespaceEnvelope struct {
19489
+ Data KubernetesNamespace `json:"data"`
19490
+ }
19491
+
19492
+ // KubernetesNamespaceInput defines model for KubernetesNamespaceInput.
19493
+ type KubernetesNamespaceInput struct {
19494
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
19495
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
19496
+ Name string `json:"name,omitempty"`
19497
+ }
19498
+
19252
19499
  // KubernetesNamespaceListEnvelope defines model for KubernetesNamespaceListEnvelope.
19253
19500
  type KubernetesNamespaceListEnvelope struct {
19254
19501
  Items []KubernetesNamespace `json:"items"`
@@ -19421,6 +19668,13 @@ type KubernetesNodeDetailEnvelope struct {
19421
19668
  Data KubernetesNodeDetail `json:"data"`
19422
19669
  }
19423
19670
 
19671
+ // KubernetesNodeDrainInput defines model for KubernetesNodeDrainInput.
19672
+ type KubernetesNodeDrainInput struct {
19673
+ DeleteEmptyDirData bool `json:"deleteEmptyDirData,omitempty"`
19674
+ Force bool `json:"force,omitempty"`
19675
+ TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
19676
+ }
19677
+
19424
19678
  // KubernetesNodeListEnvelope defines model for KubernetesNodeListEnvelope.
19425
19679
  type KubernetesNodeListEnvelope struct {
19426
19680
  Items []KubernetesNode `json:"items"`
@@ -19454,6 +19708,11 @@ type KubernetesNodeResourceSummary struct {
19454
19708
  UsagePercentages *KubernetesResourcePercentage `json:"usagePercentages,omitempty"`
19455
19709
  }
19456
19710
 
19711
+ // KubernetesNodeSchedulabilityInput defines model for KubernetesNodeSchedulabilityInput.
19712
+ type KubernetesNodeSchedulabilityInput struct {
19713
+ Unschedulable bool `json:"unschedulable"`
19714
+ }
19715
+
19457
19716
  // KubernetesNodeTaint defines model for KubernetesNodeTaint.
19458
19717
  type KubernetesNodeTaint struct {
19459
19718
  Effect string `json:"effect"`
@@ -19461,6 +19720,12 @@ type KubernetesNodeTaint struct {
19461
19720
  Value string `json:"value,omitempty"`
19462
19721
  }
19463
19722
 
19723
+ // KubernetesNodeUpdateInput defines model for KubernetesNodeUpdateInput.
19724
+ type KubernetesNodeUpdateInput struct {
19725
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
19726
+ Taints []KubernetesNodeTaint `json:"taints,omitempty"`
19727
+ }
19728
+
19464
19729
  // KubernetesPersistentVolume defines model for KubernetesPersistentVolume.
19465
19730
  type KubernetesPersistentVolume struct {
19466
19731
  AccessModes []string `json:"accessModes,omitempty"`
@@ -20282,6 +20547,11 @@ type KubernetesResourceYamlEnvelope struct {
20282
20547
  Data KubernetesResourceYaml `json:"data"`
20283
20548
  }
20284
20549
 
20550
+ // KubernetesResourceYamlInput defines model for KubernetesResourceYamlInput.
20551
+ type KubernetesResourceYamlInput struct {
20552
+ Content string `json:"content"`
20553
+ }
20554
+
20285
20555
  // KubernetesRole defines model for KubernetesRole.
20286
20556
  type KubernetesRole struct {
20287
20557
  AgeSeconds int64 `json:"ageSeconds"`
@@ -20358,6 +20628,29 @@ type KubernetesRuntimeClassListEnvelope struct {
20358
20628
  Items []KubernetesRuntimeClass `json:"items"`
20359
20629
  }
20360
20630
 
20631
+ // KubernetesSecretDataInput Data values are plain text. The response detail returns Kubernetes Base64-encoded values.
20632
+ type KubernetesSecretDataInput struct {
20633
+ Data *KubernetesStringMap `json:"data,omitempty"`
20634
+ }
20635
+
20636
+ // KubernetesSecretDetail defines model for KubernetesSecretDetail.
20637
+ type KubernetesSecretDetail struct {
20638
+ AgeSeconds int64 `json:"ageSeconds"`
20639
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
20640
+ CreatedAt string `json:"createdAt,omitempty"`
20641
+ Data *KubernetesStringMap `json:"data,omitempty"`
20642
+ Immutable bool `json:"immutable"`
20643
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
20644
+ Name string `json:"name"`
20645
+ Namespace string `json:"namespace"`
20646
+ Type string `json:"type"`
20647
+ }
20648
+
20649
+ // KubernetesSecretDetailEnvelope defines model for KubernetesSecretDetailEnvelope.
20650
+ type KubernetesSecretDetailEnvelope struct {
20651
+ Data KubernetesSecretDetail `json:"data"`
20652
+ }
20653
+
20361
20654
  // KubernetesSecretMetadata defines model for KubernetesSecretMetadata.
20362
20655
  type KubernetesSecretMetadata struct {
20363
20656
  AgeSeconds int64 `json:"ageSeconds"`
@@ -23027,6 +23320,53 @@ type NetworkPolicySubjects struct {
23027
23320
  Users []string `json:"users"`
23028
23321
  }
23029
23322
 
23323
+ // NetworkProxyCapability defines model for NetworkProxyCapability.
23324
+ type NetworkProxyCapability string
23325
+
23326
+ // NetworkProxyCloseCommandEnvelope defines model for NetworkProxyCloseCommandEnvelope.
23327
+ type NetworkProxyCloseCommandEnvelope struct {
23328
+ CommandID string `json:"commandId"`
23329
+ ExpiresAt time.Time `json:"expiresAt"`
23330
+ Status NetworkProxyCloseCommandEnvelopeStatus `json:"status"`
23331
+ }
23332
+
23333
+ // NetworkProxyCloseCommandEnvelopeStatus defines model for NetworkProxyCloseCommandEnvelope.Status.
23334
+ type NetworkProxyCloseCommandEnvelopeStatus string
23335
+
23336
+ // NetworkProxyConfigurationInput defines model for NetworkProxyConfigurationInput.
23337
+ type NetworkProxyConfigurationInput struct {
23338
+ Content string `json:"content,omitempty"`
23339
+ Enabled bool `json:"enabled"`
23340
+ ExpectedRevision int64 `json:"expectedRevision"`
23341
+ }
23342
+
23343
+ // NetworkProxyConnection defines model for NetworkProxyConnection.
23344
+ type NetworkProxyConnection struct {
23345
+ Destination string `json:"destination"`
23346
+ DownloadBytes int64 `json:"downloadBytes"`
23347
+ ID string `json:"id"`
23348
+ Network NetworkProxyConnectionNetwork `json:"network"`
23349
+ StartedAt *time.Time `json:"startedAt,omitempty"`
23350
+ UploadBytes int64 `json:"uploadBytes"`
23351
+ }
23352
+
23353
+ // NetworkProxyConnectionNetwork defines model for NetworkProxyConnection.Network.
23354
+ type NetworkProxyConnectionNetwork string
23355
+
23356
+ // NetworkProxyConnectionsEnvelope defines model for NetworkProxyConnectionsEnvelope.
23357
+ type NetworkProxyConnectionsEnvelope struct {
23358
+ Connections []NetworkProxyConnection `json:"connections"`
23359
+ InstanceID string `json:"instanceId"`
23360
+ ObservedAt *time.Time `json:"observedAt,omitempty"`
23361
+ State NetworkProxyConnectionsEnvelopeState `json:"state"`
23362
+ }
23363
+
23364
+ // NetworkProxyConnectionsEnvelopeState defines model for NetworkProxyConnectionsEnvelope.State.
23365
+ type NetworkProxyConnectionsEnvelopeState string
23366
+
23367
+ // NetworkProxyEngine defines model for NetworkProxyEngine.
23368
+ type NetworkProxyEngine string
23369
+
23030
23370
  // NetworkProxyFlowSummary defines model for NetworkProxyFlowSummary.
23031
23371
  type NetworkProxyFlowSummary struct {
23032
23372
  ActiveConnections int64 `json:"activeConnections"`
@@ -23041,6 +23381,63 @@ type NetworkProxyFlowSummary struct {
23041
23381
  UploadBytes int64 `json:"uploadBytes"`
23042
23382
  }
23043
23383
 
23384
+ // NetworkProxyInstance defines model for NetworkProxyInstance.
23385
+ type NetworkProxyInstance struct {
23386
+ Capabilities []NetworkProxyCapability `json:"capabilities"`
23387
+ CreatedAt time.Time `json:"createdAt"`
23388
+ DesiredRevision int64 `json:"desiredRevision"`
23389
+ Enabled bool `json:"enabled"`
23390
+ Engine NetworkProxyEngine `json:"engine"`
23391
+ EngineVersion string `json:"engineVersion,omitempty"`
23392
+ Host string `json:"host,omitempty"`
23393
+ ID string `json:"id"`
23394
+ LastSampleAt *time.Time `json:"lastSampleAt,omitempty"`
23395
+ LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
23396
+ Name string `json:"name"`
23397
+ ObservedRevision int64 `json:"observedRevision"`
23398
+ ReasonCode string `json:"reasonCode,omitempty"`
23399
+ Status NetworkProxyInstanceStatus `json:"status"`
23400
+ UpdatedAt time.Time `json:"updatedAt"`
23401
+ }
23402
+
23403
+ // NetworkProxyInstanceEnvelope defines model for NetworkProxyInstanceEnvelope.
23404
+ type NetworkProxyInstanceEnvelope struct {
23405
+ Data NetworkProxyInstance `json:"data"`
23406
+ }
23407
+
23408
+ // NetworkProxyInstanceInput defines model for NetworkProxyInstanceInput.
23409
+ type NetworkProxyInstanceInput struct {
23410
+ Engine NetworkProxyEngine `json:"engine"`
23411
+ Host string `json:"host,omitempty"`
23412
+ ID string `json:"id"`
23413
+ Name string `json:"name"`
23414
+ }
23415
+
23416
+ // NetworkProxyInstanceListEnvelope defines model for NetworkProxyInstanceListEnvelope.
23417
+ type NetworkProxyInstanceListEnvelope struct {
23418
+ Items []NetworkProxyInstance `json:"items"`
23419
+ }
23420
+
23421
+ // NetworkProxyInstanceStatus defines model for NetworkProxyInstanceStatus.
23422
+ type NetworkProxyInstanceStatus string
23423
+
23424
+ // NetworkProxyTrafficEnvelope defines model for NetworkProxyTrafficEnvelope.
23425
+ type NetworkProxyTrafficEnvelope struct {
23426
+ InstanceID string `json:"instanceId"`
23427
+ Samples []NetworkProxyTrafficSample `json:"samples"`
23428
+ Supported bool `json:"supported"`
23429
+ }
23430
+
23431
+ // NetworkProxyTrafficSample defines model for NetworkProxyTrafficSample.
23432
+ type NetworkProxyTrafficSample struct {
23433
+ ActiveConnections int `json:"activeConnections,omitempty"`
23434
+ DownloadBytesPerSecond float32 `json:"downloadBytesPerSecond"`
23435
+ DownloadTotal int64 `json:"downloadTotal"`
23436
+ ObservedAt time.Time `json:"observedAt"`
23437
+ UploadBytesPerSecond float32 `json:"uploadBytesPerSecond"`
23438
+ UploadTotal int64 `json:"uploadTotal"`
23439
+ }
23440
+
23044
23441
  // NetworkResource defines model for NetworkResource.
23045
23442
  type NetworkResource struct {
23046
23443
  CreatedAt time.Time `json:"createdAt"`
@@ -30027,6 +30424,12 @@ type ListKubernetesConfigMapsParams struct {
30027
30424
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30028
30425
  }
30029
30426
 
30427
+ // UpdateKubernetesConfigMapDataParams defines parameters for UpdateKubernetesConfigMapData.
30428
+ type UpdateKubernetesConfigMapDataParams struct {
30429
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
30430
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30431
+ }
30432
+
30030
30433
  // GetKubernetesConfigMapDetailParams defines parameters for GetKubernetesConfigMapDetail.
30031
30434
  type GetKubernetesConfigMapDetailParams struct {
30032
30435
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30099,6 +30502,18 @@ type ListKubernetesSecretMetadataParams struct {
30099
30502
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30100
30503
  }
30101
30504
 
30505
+ // UpdateKubernetesSecretDataParams defines parameters for UpdateKubernetesSecretData.
30506
+ type UpdateKubernetesSecretDataParams struct {
30507
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
30508
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30509
+ }
30510
+
30511
+ // GetKubernetesSecretDetailParams defines parameters for GetKubernetesSecretDetail.
30512
+ type GetKubernetesSecretDetailParams struct {
30513
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
30514
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30515
+ }
30516
+
30102
30517
  // ListKubernetesSecretReferencesParams defines parameters for ListKubernetesSecretReferences.
30103
30518
  type ListKubernetesSecretReferencesParams struct {
30104
30519
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30112,6 +30527,18 @@ type ListKubernetesClusterEventsParams struct {
30112
30527
  Limit KubernetesEventLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
30113
30528
  }
30114
30529
 
30530
+ // DeleteKubernetesCustomResourceDefinitionParams defines parameters for DeleteKubernetesCustomResourceDefinition.
30531
+ type DeleteKubernetesCustomResourceDefinitionParams struct {
30532
+ // ExpectedUID UID observed in the CRD catalog. A same-name replacement is rejected.
30533
+ ExpectedUID string `form:"expectedUid" json:"expectedUid"`
30534
+ }
30535
+
30536
+ // GetKubernetesCustomResourceAccessParams defines parameters for GetKubernetesCustomResourceAccess.
30537
+ type GetKubernetesCustomResourceAccessParams struct {
30538
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
30539
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30540
+ }
30541
+
30115
30542
  // ListKubernetesCustomResourcesParams defines parameters for ListKubernetesCustomResources.
30116
30543
  type ListKubernetesCustomResourcesParams struct {
30117
30544
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30362,6 +30789,12 @@ type GetKubernetesCronJobDetailParams struct {
30362
30789
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30363
30790
  }
30364
30791
 
30792
+ // SetKubernetesCronJobSuspendParams defines parameters for SetKubernetesCronJobSuspend.
30793
+ type SetKubernetesCronJobSuspendParams struct {
30794
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
30795
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30796
+ }
30797
+
30365
30798
  // GetKubernetesCronJobYamlParams defines parameters for GetKubernetesCronJobYaml.
30366
30799
  type GetKubernetesCronJobYamlParams struct {
30367
30800
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30460,6 +30893,12 @@ type ListKubernetesPodsParams struct {
30460
30893
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30461
30894
  }
30462
30895
 
30896
+ // DeleteKubernetesPodParams defines parameters for DeleteKubernetesPod.
30897
+ type DeleteKubernetesPodParams struct {
30898
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
30899
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30900
+ }
30901
+
30463
30902
  // GetKubernetesPodDetailParams defines parameters for GetKubernetesPodDetail.
30464
30903
  type GetKubernetesPodDetailParams struct {
30465
30904
  Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
@@ -30945,6 +31384,19 @@ type ListNetworkAccessPoliciesParams struct {
30945
31384
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
30946
31385
  }
30947
31386
 
31387
+ // ListNetworkProxyInstancesParams defines parameters for ListNetworkProxyInstances.
31388
+ type ListNetworkProxyInstancesParams struct {
31389
+ Search string `form:"search,omitempty" json:"search,omitempty"`
31390
+ Engine NetworkProxyEngine `form:"engine,omitempty" json:"engine,omitempty"`
31391
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
31392
+ }
31393
+
31394
+ // GetNetworkProxyTrafficParams defines parameters for GetNetworkProxyTraffic.
31395
+ type GetNetworkProxyTrafficParams struct {
31396
+ From time.Time `form:"from,omitempty" json:"from,omitempty"`
31397
+ To time.Time `form:"to,omitempty" json:"to,omitempty"`
31398
+ }
31399
+
30948
31400
  // ListNetworkResourcesParams defines parameters for ListNetworkResources.
30949
31401
  type ListNetworkResourcesParams struct {
30950
31402
  Search string `form:"search,omitempty" json:"search,omitempty"`
@@ -31692,18 +32144,45 @@ type TriggerBuildJSONRequestBody = BuildTriggerRequest
31692
32144
  // ReviewKubernetesSubjectAccessJSONRequestBody defines body for ReviewKubernetesSubjectAccess for application/json ContentType.
31693
32145
  type ReviewKubernetesSubjectAccessJSONRequestBody = KubernetesSubjectAccessReviewInput
31694
32146
 
32147
+ // UpgradeClusterAgentJSONRequestBody defines body for UpgradeClusterAgent for application/json ContentType.
32148
+ type UpgradeClusterAgentJSONRequestBody = ClusterAgentUpgradeInput
32149
+
32150
+ // UpdateKubernetesConfigMapDataJSONRequestBody defines body for UpdateKubernetesConfigMapData for application/json ContentType.
32151
+ type UpdateKubernetesConfigMapDataJSONRequestBody = KubernetesConfigMapDataInput
32152
+
32153
+ // UpdateKubernetesSecretDataJSONRequestBody defines body for UpdateKubernetesSecretData for application/json ContentType.
32154
+ type UpdateKubernetesSecretDataJSONRequestBody = KubernetesSecretDataInput
32155
+
31695
32156
  // RollbackKubernetesHelmReleaseJSONRequestBody defines body for RollbackKubernetesHelmRelease for application/json ContentType.
31696
32157
  type RollbackKubernetesHelmReleaseJSONRequestBody = KubernetesHelmReleaseRollbackInput
31697
32158
 
31698
32159
  // PlanKubernetesHelmReleaseRollbackJSONRequestBody defines body for PlanKubernetesHelmReleaseRollback for application/json ContentType.
31699
32160
  type PlanKubernetesHelmReleaseRollbackJSONRequestBody = KubernetesHelmReleaseRollbackInput
31700
32161
 
32162
+ // UpdateKubernetesNodeJSONRequestBody defines body for UpdateKubernetesNode for application/json ContentType.
32163
+ type UpdateKubernetesNodeJSONRequestBody = KubernetesNodeUpdateInput
32164
+
32165
+ // DrainKubernetesNodeJSONRequestBody defines body for DrainKubernetesNode for application/json ContentType.
32166
+ type DrainKubernetesNodeJSONRequestBody = KubernetesNodeDrainInput
32167
+
32168
+ // SetKubernetesNodeSchedulabilityJSONRequestBody defines body for SetKubernetesNodeSchedulability for application/json ContentType.
32169
+ type SetKubernetesNodeSchedulabilityJSONRequestBody = KubernetesNodeSchedulabilityInput
32170
+
32171
+ // ApplyKubernetesNodeYamlJSONRequestBody defines body for ApplyKubernetesNodeYaml for application/json ContentType.
32172
+ type ApplyKubernetesNodeYamlJSONRequestBody = KubernetesResourceYamlInput
32173
+
31701
32174
  // QueryClusterLogsJSONRequestBody defines body for QueryClusterLogs for application/json ContentType.
31702
32175
  type QueryClusterLogsJSONRequestBody = LogQuery
31703
32176
 
31704
32177
  // IssueClusterLogStreamTicketJSONRequestBody defines body for IssueClusterLogStreamTicket for application/json ContentType.
31705
32178
  type IssueClusterLogStreamTicketJSONRequestBody = LogQuery
31706
32179
 
32180
+ // CreateKubernetesNamespaceJSONRequestBody defines body for CreateKubernetesNamespace for application/json ContentType.
32181
+ type CreateKubernetesNamespaceJSONRequestBody = KubernetesNamespaceCreateInput
32182
+
32183
+ // UpdateKubernetesNamespaceJSONRequestBody defines body for UpdateKubernetesNamespace for application/json ContentType.
32184
+ type UpdateKubernetesNamespaceJSONRequestBody = KubernetesNamespaceInput
32185
+
31707
32186
  // DisableClusterLogCollectionJSONRequestBody defines body for DisableClusterLogCollection for application/json ContentType.
31708
32187
  type DisableClusterLogCollectionJSONRequestBody = LogCollectionDisableInput
31709
32188
 
@@ -31728,6 +32207,9 @@ type GenerateKubernetesWorkloadSnapshotJSONRequestBody = KubernetesWorkloadSnaps
31728
32207
  // PlanKubernetesResourceUpdateJSONRequestBody defines body for PlanKubernetesResourceUpdate for application/json ContentType.
31729
32208
  type PlanKubernetesResourceUpdateJSONRequestBody = KubernetesResourceUpdatePlanRequest
31730
32209
 
32210
+ // SetKubernetesCronJobSuspendJSONRequestBody defines body for SetKubernetesCronJobSuspend for application/json ContentType.
32211
+ type SetKubernetesCronJobSuspendJSONRequestBody = KubernetesCronJobSuspendInput
32212
+
31731
32213
  // RecordCompanionInteractionJSONRequestBody defines body for RecordCompanionInteraction for application/json ContentType.
31732
32214
  type RecordCompanionInteractionJSONRequestBody = CompanionInteractionRequest
31733
32215
 
@@ -32103,6 +32585,12 @@ type UpdateNetworkAccessPolicyJSONRequestBody = NetworkAccessPolicyInput
32103
32585
  // PreviewNetworkAccessPolicyJSONRequestBody defines body for PreviewNetworkAccessPolicy for application/json ContentType.
32104
32586
  type PreviewNetworkAccessPolicyJSONRequestBody = NetworkPolicyPreviewRequest
32105
32587
 
32588
+ // CreateNetworkProxyInstanceJSONRequestBody defines body for CreateNetworkProxyInstance for application/json ContentType.
32589
+ type CreateNetworkProxyInstanceJSONRequestBody = NetworkProxyInstanceInput
32590
+
32591
+ // UpdateNetworkProxyConfigurationJSONRequestBody defines body for UpdateNetworkProxyConfiguration for application/json ContentType.
32592
+ type UpdateNetworkProxyConfigurationJSONRequestBody = NetworkProxyConfigurationInput
32593
+
32106
32594
  // CreateNetworkResourceJSONRequestBody defines body for CreateNetworkResource for application/json ContentType.
32107
32595
  type CreateNetworkResourceJSONRequestBody = NetworkResourceInput
32108
32596
 
@@ -39982,35 +40470,35 @@ const (
39982
40470
  Low MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityLow
39983
40471
  )
39984
40472
 
39985
- // Deprecated: retained for Go SDK source compatibility.
40473
+ // Retained for Go SDK source compatibility.
39986
40474
  const ListAIGatewayRelayUpstreamsParamsStatusActive ListAIGatewayRelayUpstreamsParamsStatus = "active"
39987
40475
 
39988
- // Deprecated: retained for Go SDK source compatibility.
40476
+ // Retained for Go SDK source compatibility.
39989
40477
  const ListAIGatewayRelayUpstreamsParamsStatusDegraded ListAIGatewayRelayUpstreamsParamsStatus = "degraded"
39990
40478
 
39991
- // Deprecated: retained for Go SDK source compatibility.
40479
+ // Retained for Go SDK source compatibility.
39992
40480
  const ListAIGatewayRelayUpstreamsParamsStatusDisabled ListAIGatewayRelayUpstreamsParamsStatus = "disabled"
39993
40481
 
39994
- // Deprecated: retained for Go SDK source compatibility.
39995
- const RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
40482
+ // Retained for Go SDK source compatibility.
40483
+ const NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
39996
40484
 
39997
- // Deprecated: retained for Go SDK source compatibility.
39998
- const RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
40485
+ // Retained for Go SDK source compatibility.
40486
+ const Process RuntimeNetworkUsageScope = "process"
39999
40487
 
40000
- // Deprecated: retained for Go SDK source compatibility.
40001
- const RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
40488
+ // Retained for Go SDK source compatibility.
40489
+ const Unavailable RuntimeNetworkUsageScope = "unavailable"
40002
40490
 
40003
- // Deprecated: retained for Go SDK source compatibility.
40004
- const WorkbenchAgentStatusEventStatusCancelled WorkbenchAgentStatusEventStatus = "cancelled"
40491
+ // Retained for Go SDK source compatibility.
40492
+ const Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
40005
40493
 
40006
- // Deprecated: retained for Go SDK source compatibility.
40007
- const WorkbenchAgentStatusEventStatusFailed WorkbenchAgentStatusEventStatus = "failed"
40494
+ // Retained for Go SDK source compatibility.
40495
+ const Failed WorkbenchAgentStatusEventStatus = "failed"
40008
40496
 
40009
- // Deprecated: retained for Go SDK source compatibility.
40010
- const WorkbenchAgentStatusEventStatusQueued WorkbenchAgentStatusEventStatus = "queued"
40497
+ // Retained for Go SDK source compatibility.
40498
+ const Queued WorkbenchAgentStatusEventStatus = "queued"
40011
40499
 
40012
- // Deprecated: retained for Go SDK source compatibility.
40013
- const WorkbenchAgentStatusEventStatusRunning WorkbenchAgentStatusEventStatus = "running"
40500
+ // Retained for Go SDK source compatibility.
40501
+ const Running WorkbenchAgentStatusEventStatus = "running"
40014
40502
 
40015
- // Deprecated: retained for Go SDK source compatibility.
40016
- const WorkbenchAgentStatusEventStatusSucceeded WorkbenchAgentStatusEventStatus = "succeeded"
40503
+ // Retained for Go SDK source compatibility.
40504
+ const Succeeded WorkbenchAgentStatusEventStatus = "succeeded"