@opensoha/contracts 0.1.22 → 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,96 @@ 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
+
6752
6869
  // Defines values for NetworkProxyEngine.
6753
6870
  const (
6754
6871
  NetworkProxyEngineMihomo NetworkProxyEngine = "mihomo"
@@ -6770,6 +6887,33 @@ func (e NetworkProxyEngine) Valid() bool {
6770
6887
  }
6771
6888
  }
6772
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
+
6773
6917
  // Defines values for NetworkResourceKind.
6774
6918
  const (
6775
6919
  NetworkResourceKindCIDR NetworkResourceKind = "cidr"
@@ -8509,19 +8653,19 @@ func (e RuntimeConfigValueType) Valid() bool {
8509
8653
 
8510
8654
  // Defines values for RuntimeNetworkUsageScope.
8511
8655
  const (
8512
- NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
8513
- Process RuntimeNetworkUsageScope = "process"
8514
- Unavailable RuntimeNetworkUsageScope = "unavailable"
8656
+ RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
8657
+ RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
8658
+ RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
8515
8659
  )
8516
8660
 
8517
8661
  // Valid indicates whether the value is a known member of the RuntimeNetworkUsageScope enum.
8518
8662
  func (e RuntimeNetworkUsageScope) Valid() bool {
8519
8663
  switch e {
8520
- case NetworkNamespace:
8664
+ case RuntimeNetworkUsageScopeNetworkNamespace:
8521
8665
  return true
8522
- case Process:
8666
+ case RuntimeNetworkUsageScopeProcess:
8523
8667
  return true
8524
- case Unavailable:
8668
+ case RuntimeNetworkUsageScopeUnavailable:
8525
8669
  return true
8526
8670
  default:
8527
8671
  return false
@@ -9238,25 +9382,25 @@ func (e WorkbenchAgentStatusEventProviderKind) Valid() bool {
9238
9382
 
9239
9383
  // Defines values for WorkbenchAgentStatusEventStatus.
9240
9384
  const (
9241
- Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
9242
- Failed WorkbenchAgentStatusEventStatus = "failed"
9243
- Queued WorkbenchAgentStatusEventStatus = "queued"
9244
- Running WorkbenchAgentStatusEventStatus = "running"
9245
- Succeeded WorkbenchAgentStatusEventStatus = "succeeded"
9385
+ WorkbenchAgentStatusEventStatusCancelled WorkbenchAgentStatusEventStatus = "cancelled"
9386
+ WorkbenchAgentStatusEventStatusFailed WorkbenchAgentStatusEventStatus = "failed"
9387
+ WorkbenchAgentStatusEventStatusQueued WorkbenchAgentStatusEventStatus = "queued"
9388
+ WorkbenchAgentStatusEventStatusRunning WorkbenchAgentStatusEventStatus = "running"
9389
+ WorkbenchAgentStatusEventStatusSucceeded WorkbenchAgentStatusEventStatus = "succeeded"
9246
9390
  )
9247
9391
 
9248
9392
  // Valid indicates whether the value is a known member of the WorkbenchAgentStatusEventStatus enum.
9249
9393
  func (e WorkbenchAgentStatusEventStatus) Valid() bool {
9250
9394
  switch e {
9251
- case Cancelled:
9395
+ case WorkbenchAgentStatusEventStatusCancelled:
9252
9396
  return true
9253
- case Failed:
9397
+ case WorkbenchAgentStatusEventStatusFailed:
9254
9398
  return true
9255
- case Queued:
9399
+ case WorkbenchAgentStatusEventStatusQueued:
9256
9400
  return true
9257
- case Running:
9401
+ case WorkbenchAgentStatusEventStatusRunning:
9258
9402
  return true
9259
- case Succeeded:
9403
+ case WorkbenchAgentStatusEventStatusSucceeded:
9260
9404
  return true
9261
9405
  default:
9262
9406
  return false
@@ -13398,6 +13542,45 @@ type ChangePasswordRequest struct {
13398
13542
  NewPassword string `json:"newPassword"`
13399
13543
  }
13400
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
+
13401
13584
  // ClusterCapabilityMatrixEntry defines model for ClusterCapabilityMatrixEntry.
13402
13585
  type ClusterCapabilityMatrixEntry struct {
13403
13586
  Agent ClusterCapabilityModeSupport `json:"agent"`
@@ -18232,6 +18415,12 @@ type KubernetesConfigMap struct {
18232
18415
  Namespace string `json:"namespace"`
18233
18416
  }
18234
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
+
18235
18424
  // KubernetesConfigMapDetail defines model for KubernetesConfigMapDetail.
18236
18425
  type KubernetesConfigMapDetail struct {
18237
18426
  AgeSeconds int64 `json:"ageSeconds"`
@@ -18311,6 +18500,11 @@ type KubernetesCronJobListEnvelope struct {
18311
18500
  Items []KubernetesCronJob `json:"items"`
18312
18501
  }
18313
18502
 
18503
+ // KubernetesCronJobSuspendInput defines model for KubernetesCronJobSuspendInput.
18504
+ type KubernetesCronJobSuspendInput struct {
18505
+ Suspend bool `json:"suspend"`
18506
+ }
18507
+
18314
18508
  // KubernetesCustomResource defines model for KubernetesCustomResource.
18315
18509
  type KubernetesCustomResource struct {
18316
18510
  AgeSeconds int64 `json:"ageSeconds"`
@@ -18327,6 +18521,19 @@ type KubernetesCustomResource struct {
18327
18521
  UID string `json:"uid,omitempty"`
18328
18522
  }
18329
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
+
18330
18537
  // KubernetesCustomResourceDefinition defines model for KubernetesCustomResourceDefinition.
18331
18538
  type KubernetesCustomResourceDefinition struct {
18332
18539
  AgeSeconds int64 `json:"ageSeconds"`
@@ -19270,6 +19477,25 @@ type KubernetesNamespace struct {
19270
19477
  Status string `json:"status"`
19271
19478
  }
19272
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
+
19273
19499
  // KubernetesNamespaceListEnvelope defines model for KubernetesNamespaceListEnvelope.
19274
19500
  type KubernetesNamespaceListEnvelope struct {
19275
19501
  Items []KubernetesNamespace `json:"items"`
@@ -19442,6 +19668,13 @@ type KubernetesNodeDetailEnvelope struct {
19442
19668
  Data KubernetesNodeDetail `json:"data"`
19443
19669
  }
19444
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
+
19445
19678
  // KubernetesNodeListEnvelope defines model for KubernetesNodeListEnvelope.
19446
19679
  type KubernetesNodeListEnvelope struct {
19447
19680
  Items []KubernetesNode `json:"items"`
@@ -19475,6 +19708,11 @@ type KubernetesNodeResourceSummary struct {
19475
19708
  UsagePercentages *KubernetesResourcePercentage `json:"usagePercentages,omitempty"`
19476
19709
  }
19477
19710
 
19711
+ // KubernetesNodeSchedulabilityInput defines model for KubernetesNodeSchedulabilityInput.
19712
+ type KubernetesNodeSchedulabilityInput struct {
19713
+ Unschedulable bool `json:"unschedulable"`
19714
+ }
19715
+
19478
19716
  // KubernetesNodeTaint defines model for KubernetesNodeTaint.
19479
19717
  type KubernetesNodeTaint struct {
19480
19718
  Effect string `json:"effect"`
@@ -19482,6 +19720,12 @@ type KubernetesNodeTaint struct {
19482
19720
  Value string `json:"value,omitempty"`
19483
19721
  }
19484
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
+
19485
19729
  // KubernetesPersistentVolume defines model for KubernetesPersistentVolume.
19486
19730
  type KubernetesPersistentVolume struct {
19487
19731
  AccessModes []string `json:"accessModes,omitempty"`
@@ -20303,6 +20547,11 @@ type KubernetesResourceYamlEnvelope struct {
20303
20547
  Data KubernetesResourceYaml `json:"data"`
20304
20548
  }
20305
20549
 
20550
+ // KubernetesResourceYamlInput defines model for KubernetesResourceYamlInput.
20551
+ type KubernetesResourceYamlInput struct {
20552
+ Content string `json:"content"`
20553
+ }
20554
+
20306
20555
  // KubernetesRole defines model for KubernetesRole.
20307
20556
  type KubernetesRole struct {
20308
20557
  AgeSeconds int64 `json:"ageSeconds"`
@@ -20379,6 +20628,29 @@ type KubernetesRuntimeClassListEnvelope struct {
20379
20628
  Items []KubernetesRuntimeClass `json:"items"`
20380
20629
  }
20381
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
+
20382
20654
  // KubernetesSecretMetadata defines model for KubernetesSecretMetadata.
20383
20655
  type KubernetesSecretMetadata struct {
20384
20656
  AgeSeconds int64 `json:"ageSeconds"`
@@ -23048,6 +23320,19 @@ type NetworkPolicySubjects struct {
23048
23320
  Users []string `json:"users"`
23049
23321
  }
23050
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
+
23051
23336
  // NetworkProxyConfigurationInput defines model for NetworkProxyConfigurationInput.
23052
23337
  type NetworkProxyConfigurationInput struct {
23053
23338
  Content string `json:"content,omitempty"`
@@ -23055,6 +23340,30 @@ type NetworkProxyConfigurationInput struct {
23055
23340
  ExpectedRevision int64 `json:"expectedRevision"`
23056
23341
  }
23057
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
+
23058
23367
  // NetworkProxyEngine defines model for NetworkProxyEngine.
23059
23368
  type NetworkProxyEngine string
23060
23369
 
@@ -23072,6 +23381,30 @@ type NetworkProxyFlowSummary struct {
23072
23381
  UploadBytes int64 `json:"uploadBytes"`
23073
23382
  }
23074
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
+
23075
23408
  // NetworkProxyInstanceInput defines model for NetworkProxyInstanceInput.
23076
23409
  type NetworkProxyInstanceInput struct {
23077
23410
  Engine NetworkProxyEngine `json:"engine"`
@@ -23080,6 +23413,31 @@ type NetworkProxyInstanceInput struct {
23080
23413
  Name string `json:"name"`
23081
23414
  }
23082
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
+
23083
23441
  // NetworkResource defines model for NetworkResource.
23084
23442
  type NetworkResource struct {
23085
23443
  CreatedAt time.Time `json:"createdAt"`
@@ -30066,6 +30424,12 @@ type ListKubernetesConfigMapsParams struct {
30066
30424
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30067
30425
  }
30068
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
+
30069
30433
  // GetKubernetesConfigMapDetailParams defines parameters for GetKubernetesConfigMapDetail.
30070
30434
  type GetKubernetesConfigMapDetailParams struct {
30071
30435
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30138,6 +30502,18 @@ type ListKubernetesSecretMetadataParams struct {
30138
30502
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30139
30503
  }
30140
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
+
30141
30517
  // ListKubernetesSecretReferencesParams defines parameters for ListKubernetesSecretReferences.
30142
30518
  type ListKubernetesSecretReferencesParams struct {
30143
30519
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30151,6 +30527,18 @@ type ListKubernetesClusterEventsParams struct {
30151
30527
  Limit KubernetesEventLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
30152
30528
  }
30153
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
+
30154
30542
  // ListKubernetesCustomResourcesParams defines parameters for ListKubernetesCustomResources.
30155
30543
  type ListKubernetesCustomResourcesParams struct {
30156
30544
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30401,6 +30789,12 @@ type GetKubernetesCronJobDetailParams struct {
30401
30789
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30402
30790
  }
30403
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
+
30404
30798
  // GetKubernetesCronJobYamlParams defines parameters for GetKubernetesCronJobYaml.
30405
30799
  type GetKubernetesCronJobYamlParams struct {
30406
30800
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30499,6 +30893,12 @@ type ListKubernetesPodsParams struct {
30499
30893
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30500
30894
  }
30501
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
+
30502
30902
  // GetKubernetesPodDetailParams defines parameters for GetKubernetesPodDetail.
30503
30903
  type GetKubernetesPodDetailParams struct {
30504
30904
  Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
@@ -30984,6 +31384,19 @@ type ListNetworkAccessPoliciesParams struct {
30984
31384
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
30985
31385
  }
30986
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
+
30987
31400
  // ListNetworkResourcesParams defines parameters for ListNetworkResources.
30988
31401
  type ListNetworkResourcesParams struct {
30989
31402
  Search string `form:"search,omitempty" json:"search,omitempty"`
@@ -31731,18 +32144,45 @@ type TriggerBuildJSONRequestBody = BuildTriggerRequest
31731
32144
  // ReviewKubernetesSubjectAccessJSONRequestBody defines body for ReviewKubernetesSubjectAccess for application/json ContentType.
31732
32145
  type ReviewKubernetesSubjectAccessJSONRequestBody = KubernetesSubjectAccessReviewInput
31733
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
+
31734
32156
  // RollbackKubernetesHelmReleaseJSONRequestBody defines body for RollbackKubernetesHelmRelease for application/json ContentType.
31735
32157
  type RollbackKubernetesHelmReleaseJSONRequestBody = KubernetesHelmReleaseRollbackInput
31736
32158
 
31737
32159
  // PlanKubernetesHelmReleaseRollbackJSONRequestBody defines body for PlanKubernetesHelmReleaseRollback for application/json ContentType.
31738
32160
  type PlanKubernetesHelmReleaseRollbackJSONRequestBody = KubernetesHelmReleaseRollbackInput
31739
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
+
31740
32174
  // QueryClusterLogsJSONRequestBody defines body for QueryClusterLogs for application/json ContentType.
31741
32175
  type QueryClusterLogsJSONRequestBody = LogQuery
31742
32176
 
31743
32177
  // IssueClusterLogStreamTicketJSONRequestBody defines body for IssueClusterLogStreamTicket for application/json ContentType.
31744
32178
  type IssueClusterLogStreamTicketJSONRequestBody = LogQuery
31745
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
+
31746
32186
  // DisableClusterLogCollectionJSONRequestBody defines body for DisableClusterLogCollection for application/json ContentType.
31747
32187
  type DisableClusterLogCollectionJSONRequestBody = LogCollectionDisableInput
31748
32188
 
@@ -31767,6 +32207,9 @@ type GenerateKubernetesWorkloadSnapshotJSONRequestBody = KubernetesWorkloadSnaps
31767
32207
  // PlanKubernetesResourceUpdateJSONRequestBody defines body for PlanKubernetesResourceUpdate for application/json ContentType.
31768
32208
  type PlanKubernetesResourceUpdateJSONRequestBody = KubernetesResourceUpdatePlanRequest
31769
32209
 
32210
+ // SetKubernetesCronJobSuspendJSONRequestBody defines body for SetKubernetesCronJobSuspend for application/json ContentType.
32211
+ type SetKubernetesCronJobSuspendJSONRequestBody = KubernetesCronJobSuspendInput
32212
+
31770
32213
  // RecordCompanionInteractionJSONRequestBody defines body for RecordCompanionInteraction for application/json ContentType.
31771
32214
  type RecordCompanionInteractionJSONRequestBody = CompanionInteractionRequest
31772
32215
 
@@ -32142,6 +32585,12 @@ type UpdateNetworkAccessPolicyJSONRequestBody = NetworkAccessPolicyInput
32142
32585
  // PreviewNetworkAccessPolicyJSONRequestBody defines body for PreviewNetworkAccessPolicy for application/json ContentType.
32143
32586
  type PreviewNetworkAccessPolicyJSONRequestBody = NetworkPolicyPreviewRequest
32144
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
+
32145
32594
  // CreateNetworkResourceJSONRequestBody defines body for CreateNetworkResource for application/json ContentType.
32146
32595
  type CreateNetworkResourceJSONRequestBody = NetworkResourceInput
32147
32596
 
@@ -40021,35 +40470,35 @@ const (
40021
40470
  Low MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityLow
40022
40471
  )
40023
40472
 
40024
- // Deprecated: retained for Go SDK source compatibility.
40473
+ // Retained for Go SDK source compatibility.
40025
40474
  const ListAIGatewayRelayUpstreamsParamsStatusActive ListAIGatewayRelayUpstreamsParamsStatus = "active"
40026
40475
 
40027
- // Deprecated: retained for Go SDK source compatibility.
40476
+ // Retained for Go SDK source compatibility.
40028
40477
  const ListAIGatewayRelayUpstreamsParamsStatusDegraded ListAIGatewayRelayUpstreamsParamsStatus = "degraded"
40029
40478
 
40030
- // Deprecated: retained for Go SDK source compatibility.
40479
+ // Retained for Go SDK source compatibility.
40031
40480
  const ListAIGatewayRelayUpstreamsParamsStatusDisabled ListAIGatewayRelayUpstreamsParamsStatus = "disabled"
40032
40481
 
40033
- // Deprecated: retained for Go SDK source compatibility.
40034
- const RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
40482
+ // Retained for Go SDK source compatibility.
40483
+ const NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
40035
40484
 
40036
- // Deprecated: retained for Go SDK source compatibility.
40037
- const RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
40485
+ // Retained for Go SDK source compatibility.
40486
+ const Process RuntimeNetworkUsageScope = "process"
40038
40487
 
40039
- // Deprecated: retained for Go SDK source compatibility.
40040
- const RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
40488
+ // Retained for Go SDK source compatibility.
40489
+ const Unavailable RuntimeNetworkUsageScope = "unavailable"
40041
40490
 
40042
- // Deprecated: retained for Go SDK source compatibility.
40043
- const WorkbenchAgentStatusEventStatusCancelled WorkbenchAgentStatusEventStatus = "cancelled"
40491
+ // Retained for Go SDK source compatibility.
40492
+ const Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
40044
40493
 
40045
- // Deprecated: retained for Go SDK source compatibility.
40046
- const WorkbenchAgentStatusEventStatusFailed WorkbenchAgentStatusEventStatus = "failed"
40494
+ // Retained for Go SDK source compatibility.
40495
+ const Failed WorkbenchAgentStatusEventStatus = "failed"
40047
40496
 
40048
- // Deprecated: retained for Go SDK source compatibility.
40049
- const WorkbenchAgentStatusEventStatusQueued WorkbenchAgentStatusEventStatus = "queued"
40497
+ // Retained for Go SDK source compatibility.
40498
+ const Queued WorkbenchAgentStatusEventStatus = "queued"
40050
40499
 
40051
- // Deprecated: retained for Go SDK source compatibility.
40052
- const WorkbenchAgentStatusEventStatusRunning WorkbenchAgentStatusEventStatus = "running"
40500
+ // Retained for Go SDK source compatibility.
40501
+ const Running WorkbenchAgentStatusEventStatus = "running"
40053
40502
 
40054
- // Deprecated: retained for Go SDK source compatibility.
40055
- const WorkbenchAgentStatusEventStatusSucceeded WorkbenchAgentStatusEventStatus = "succeeded"
40503
+ // Retained for Go SDK source compatibility.
40504
+ const Succeeded WorkbenchAgentStatusEventStatus = "succeeded"