command

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ClusterId string `json:"clusterId,omitempty"`
	Since     string `json:"since,omitempty"`
}

type Clusters

type Clusters map[string]Cluster

type Command

type Command struct {
	Id             string                `json:"id,omitempty"`
	OwnerId        string                `json:"ownerId,omitempty"`
	Kind           base.Kind             `json:"kind,omitempty"`
	Version        float32               `json:"version"`
	Created        string                `json:"created,omitempty"`
	LastModified   string                `json:"lastModified,omitempty"`
	Links          base.Links            `json:"links,omitempty"`
	Tags           CommandTags           `json:"tags,omitempty"`
	Type           string                `json:"type"`
	LifecycleStage CommandLifecycleStage `json:"lifecycleStage,omitempty"`
	Spec           CommandSpec           `json:"spec,omitempty"`
	Status         CommandStatus         `json:"status,omitempty"`
}

type CommandLifecycleStage

type CommandLifecycleStage string
const (
	CommandLifecycleStagePending   CommandLifecycleStage = "pending"
	CommandLifecycleStageRunning   CommandLifecycleStage = "running"
	CommandLifecycleStageCancelled CommandLifecycleStage = "cancelled"
	CommandLifecycleStageCompleted CommandLifecycleStage = "completed"
	CommandLifecycleStageFailed    CommandLifecycleStage = "failed"
)

type CommandSpec

type CommandSpec map[string]any

type CommandStatus

type CommandStatus map[string]any

type CommandTags added in v1.0.0

type CommandTags map[string]any

type CreateVolumeSnapshotSpec

type CreateVolumeSnapshotSpec struct {
	Location               string                                 `json:"location"`
	VolumeIndex            float32                                `json:"volumeIndex"`
	SnapshotName           string                                 `json:"snapshotName"`
	SnapshotExpirationDate string                                 `json:"snapshotExpirationDate,omitempty"`
	SnapshotTags           []CreateVolumeSnapshotSpecSnapshotTags `json:"snapshotTags,omitempty"`
}

type CreateVolumeSnapshotSpecSnapshotTags

type CreateVolumeSnapshotSpecSnapshotTags map[string]string

type CreateVolumeSnapshotStatus

type CreateVolumeSnapshotStatus struct {
	Stage               CreateVolumeSnapshotStatusStage               `json:"stage,omitempty"`
	Messages            []string                                      `json:"messages,omitempty"`
	ClusterId           string                                        `json:"clusterId,omitempty"`
	ClusterIdByLocation CreateVolumeSnapshotStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	NewSnapshotId       string                                        `json:"newSnapshotId,omitempty"`
	NewSnapshotSize     float32                                       `json:"newSnapshotSize"`
	CreationStartTime   string                                        `json:"creationStartTime,omitempty"`
}

type CreateVolumeSnapshotStatusClusterIdByLocation added in v1.0.0

type CreateVolumeSnapshotStatusClusterIdByLocation map[string]string

type CreateVolumeSnapshotStatusStage

type CreateVolumeSnapshotStatusStage string
const (
	CreateVolumeSnapshotStatusStageCreateSnapshot  CreateVolumeSnapshotStatusStage = "create-snapshot"
	CreateVolumeSnapshotStatusStageUpdateVolumeSet CreateVolumeSnapshotStatusStage = "update-volume-set"
	CreateVolumeSnapshotStatusStageCleanupK8S      CreateVolumeSnapshotStatusStage = "cleanup-k8s"
	CreateVolumeSnapshotStatusStageRevert          CreateVolumeSnapshotStatusStage = "revert"
)

type CronWorkloadContainerOverrides

type CronWorkloadContainerOverrides struct {
	Name    string          `json:"name"`
	Env     []env.EnvVar    `json:"env,omitempty"`
	Command string          `json:"command,omitempty"`
	Args    []string        `json:"args,omitempty"`
	Memory  workload.Memory `json:"memory,omitempty"`
	Cpu     workload.Cpu    `json:"cpu,omitempty"`
	Image   base.ImageLink  `json:"image,omitempty"`
}

type DeleteCloudDevicesStatus

type DeleteCloudDevicesStatus struct {
	ClusterId              string                                         `json:"clusterId,omitempty"`
	ClusterIdByLocation    DeleteCloudDevicesStatusClusterIdByLocation    `json:"clusterIdByLocation,omitempty"`
	Volume                 DeleteCloudDevicesStatusVolume                 `json:"volume"`
	Stage                  DeleteCloudDevicesStatusStage                  `json:"stage,omitempty"`
	Messages               []string                                       `json:"messages,omitempty"`
	PvcRef                 DeleteCloudDevicesStatusPvcRef                 `json:"pvcRef,omitempty"`
	SnapshotDeletionStatus DeleteCloudDevicesStatusSnapshotDeletionStatus `json:"snapshotDeletionStatus"`
}

type DeleteCloudDevicesStatusClusterIdByLocation added in v1.0.0

type DeleteCloudDevicesStatusClusterIdByLocation map[string]string

type DeleteCloudDevicesStatusPvcRef

type DeleteCloudDevicesStatusPvcRef struct {
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
}

type DeleteCloudDevicesStatusSnapshotDeletionStatus

type DeleteCloudDevicesStatusSnapshotDeletionStatus map[string]SnapshotDeletionStatus

type DeleteCloudDevicesStatusStage

type DeleteCloudDevicesStatusStage string
const (
	DeleteCloudDevicesStatusStageDeleteSnapshots        DeleteCloudDevicesStatusStage = "delete-snapshots"
	DeleteCloudDevicesStatusStageDeleteVolume           DeleteCloudDevicesStatusStage = "delete-volume"
	DeleteCloudDevicesStatusStageFinalizeVolumeDeletion DeleteCloudDevicesStatusStage = "finalize-volume-deletion"
	DeleteCloudDevicesStatusStageUpdateVolumeSet        DeleteCloudDevicesStatusStage = "update-volume-set"
)

type DeleteCloudDevicesStatusVolume

type DeleteCloudDevicesStatusVolume struct {
	Lifecycle           DeleteCloudDevicesStatusVolumeLifecycle  `json:"lifecycle,omitempty"`
	StorageDeviceId     string                                   `json:"storageDeviceId,omitempty"`
	OldStorageDeviceIds []string                                 `json:"oldStorageDeviceIds,omitempty"`
	ResourceName        string                                   `json:"resourceName,omitempty"`
	Index               float32                                  `json:"index"`
	CurrentSize         float32                                  `json:"currentSize"`
	CurrentBytesUsed    float32                                  `json:"currentBytesUsed"`
	Iops                float32                                  `json:"iops"`
	Throughput          float32                                  `json:"throughput"`
	Driver              string                                   `json:"driver"`
	VolumeSnapshots     []volumeSet.VolumeSnapshot               `json:"volumeSnapshots,omitempty"`
	Attributes          DeleteCloudDevicesStatusVolumeAttributes `json:"attributes,omitempty"`
	Zone                string                                   `json:"zone,omitempty"`
}

type DeleteCloudDevicesStatusVolumeAttributes

type DeleteCloudDevicesStatusVolumeAttributes map[string]string

type DeleteCloudDevicesStatusVolumeLifecycle

type DeleteCloudDevicesStatusVolumeLifecycle string
const (
	DeleteCloudDevicesStatusVolumeLifecycleCreating  DeleteCloudDevicesStatusVolumeLifecycle = "creating"
	DeleteCloudDevicesStatusVolumeLifecycleUnused    DeleteCloudDevicesStatusVolumeLifecycle = "unused"
	DeleteCloudDevicesStatusVolumeLifecycleUnbound   DeleteCloudDevicesStatusVolumeLifecycle = "unbound"
	DeleteCloudDevicesStatusVolumeLifecycleBound     DeleteCloudDevicesStatusVolumeLifecycle = "bound"
	DeleteCloudDevicesStatusVolumeLifecycleDeleted   DeleteCloudDevicesStatusVolumeLifecycle = "deleted"
	DeleteCloudDevicesStatusVolumeLifecycleRepairing DeleteCloudDevicesStatusVolumeLifecycle = "repairing"
)

type DeleteOrphanedVolumeSnapshotSpec added in v1.0.0

type DeleteOrphanedVolumeSnapshotSpec struct {
	Location    string  `json:"location"`
	SnapshotId  string  `json:"snapshotId"`
	VolumeIndex float32 `json:"volumeIndex"`
}

type DeleteOrphanedVolumeSnapshotStatus added in v1.0.0

type DeleteOrphanedVolumeSnapshotStatus struct {
	Stage               DeleteOrphanedVolumeSnapshotStatusStage               `json:"stage,omitempty"`
	ClusterId           string                                                `json:"clusterId,omitempty"`
	ClusterIdByLocation DeleteOrphanedVolumeSnapshotStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	Messages            []string                                              `json:"messages,omitempty"`
}

type DeleteOrphanedVolumeSnapshotStatusClusterIdByLocation added in v1.0.0

type DeleteOrphanedVolumeSnapshotStatusClusterIdByLocation map[string]string

type DeleteOrphanedVolumeSnapshotStatusStage added in v1.0.0

type DeleteOrphanedVolumeSnapshotStatusStage string
const (
	DeleteOrphanedVolumeSnapshotStatusStageDeleteSnapshot  DeleteOrphanedVolumeSnapshotStatusStage = "delete-snapshot"
	DeleteOrphanedVolumeSnapshotStatusStageUpdateVolumeSet DeleteOrphanedVolumeSnapshotStatusStage = "update-volume-set"
	DeleteOrphanedVolumeSnapshotStatusStageFail            DeleteOrphanedVolumeSnapshotStatusStage = "fail"
)

type DeleteOrphanedVolumeSpec

type DeleteOrphanedVolumeSpec struct {
	Location                     string  `json:"location"`
	StorageDeviceId              string  `json:"storageDeviceId"`
	VolumeIndex                  float32 `json:"volumeIndex"`
	NewlyObservedStorageDeviceId string  `json:"newlyObservedStorageDeviceId,omitempty"`
}

type DeleteOrphanedVolumeStatus

type DeleteOrphanedVolumeStatus struct {
	Stage               DeleteOrphanedVolumeStatusStage               `json:"stage,omitempty"`
	ClusterId           string                                        `json:"clusterId,omitempty"`
	ClusterIdByLocation DeleteOrphanedVolumeStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	Messages            []string                                      `json:"messages,omitempty"`
}

type DeleteOrphanedVolumeStatusClusterIdByLocation added in v1.0.0

type DeleteOrphanedVolumeStatusClusterIdByLocation map[string]string

type DeleteOrphanedVolumeStatusStage

type DeleteOrphanedVolumeStatusStage string
const (
	DeleteOrphanedVolumeStatusStageDeleteStorageResources DeleteOrphanedVolumeStatusStage = "delete-storage-resources"
	DeleteOrphanedVolumeStatusStageCleanupK8S             DeleteOrphanedVolumeStatusStage = "cleanup-k8s"
	DeleteOrphanedVolumeStatusStageUpdateVolumeSet        DeleteOrphanedVolumeStatusStage = "update-volume-set"
	DeleteOrphanedVolumeStatusStageFail                   DeleteOrphanedVolumeStatusStage = "fail"
)

type DeleteVolumeSetLocationStatus

type DeleteVolumeSetLocationStatus struct {
	Stage   DeleteVolumeSetLocationStatusStage   `json:"stage,omitempty"`
	Volumes DeleteVolumeSetLocationStatusVolumes `json:"volumes,omitempty"`
}

type DeleteVolumeSetLocationStatusStage

type DeleteVolumeSetLocationStatusStage string
const (
	DeleteVolumeSetLocationStatusStageDeleteVolumes         DeleteVolumeSetLocationStatusStage = "delete-volumes"
	DeleteVolumeSetLocationStatusStageDeleteOrphanedVolumes DeleteVolumeSetLocationStatusStage = "delete-orphaned-volumes"
	DeleteVolumeSetLocationStatusStageCleanupFilesystem     DeleteVolumeSetLocationStatusStage = "cleanup-filesystem"
	DeleteVolumeSetLocationStatusStageComplete              DeleteVolumeSetLocationStatusStage = "complete"
)

type DeleteVolumeSetLocationStatusVolumes

type DeleteVolumeSetLocationStatusVolumes map[string]DeleteCloudDevicesStatus

type DeleteVolumeSetSpec

type DeleteVolumeSetSpec struct {
	VolumeSet DeleteVolumeSetSpecVolumeSet `json:"volumeSet"`
	Locations []string                     `json:"locations,omitempty"`
}

type DeleteVolumeSetSpecVolumeSet

type DeleteVolumeSetSpecVolumeSet struct {
	Id           string                           `json:"id,omitempty"`
	Name         base.Name                        `json:"name,omitempty"`
	Kind         base.Kind                        `json:"kind,omitempty"`
	Version      float32                          `json:"version"`
	Description  string                           `json:"description,omitempty"`
	Tags         DeleteVolumeSetSpecVolumeSetTags `json:"tags,omitempty"`
	Created      string                           `json:"created,omitempty"`
	LastModified string                           `json:"lastModified,omitempty"`
	Links        base.Links                       `json:"links,omitempty"`
	Spec         volumeSet.VolumeSetSpec          `json:"spec"`
	Status       volumeSet.VolumeSetStatus        `json:"status,omitempty"`
	Gvc          any                              `json:"gvc,omitempty"`
}

type DeleteVolumeSetSpecVolumeSetTags added in v1.0.0

type DeleteVolumeSetSpecVolumeSetTags map[string]any

type DeleteVolumeSetStatus

type DeleteVolumeSetStatus map[string]DeleteVolumeSetLocationStatus

type DeleteVolumeSnapshotSpec

type DeleteVolumeSnapshotSpec struct {
	Location     string  `json:"location"`
	VolumeIndex  float32 `json:"volumeIndex"`
	SnapshotName string  `json:"snapshotName"`
}

type DeleteVolumeSnapshotStatus

type DeleteVolumeSnapshotStatus struct {
	ClusterId           string                                        `json:"clusterId,omitempty"`
	ClusterIdByLocation DeleteVolumeSnapshotStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	Snapshot            DeleteVolumeSnapshotStatusSnapshot            `json:"snapshot"`
	Stage               DeleteVolumeSnapshotStatusStage               `json:"stage,omitempty"`
	Messages            []string                                      `json:"messages,omitempty"`
	SnapshotId          string                                        `json:"snapshotId,omitempty"`
}

type DeleteVolumeSnapshotStatusClusterIdByLocation added in v1.0.0

type DeleteVolumeSnapshotStatusClusterIdByLocation map[string]string

type DeleteVolumeSnapshotStatusSnapshot

type DeleteVolumeSnapshotStatusSnapshot struct {
	Name    string                                   `json:"name"`
	Id      string                                   `json:"id,omitempty"`
	Created string                                   `json:"created"`
	Expires string                                   `json:"expires,omitempty"`
	Size    float32                                  `json:"size"`
	Tags    []DeleteVolumeSnapshotStatusSnapshotTags `json:"tags,omitempty"`
}

type DeleteVolumeSnapshotStatusSnapshotTags

type DeleteVolumeSnapshotStatusSnapshotTags map[string]string

type DeleteVolumeSnapshotStatusStage

type DeleteVolumeSnapshotStatusStage string
const (
	DeleteVolumeSnapshotStatusStageDeleteSnapshot  DeleteVolumeSnapshotStatusStage = "delete-snapshot"
	DeleteVolumeSnapshotStatusStageUpdateVolumeSet DeleteVolumeSnapshotStatusStage = "update-volume-set"
)

type DeleteVolumeSpec

type DeleteVolumeSpec struct {
	Location    string  `json:"location"`
	VolumeIndex float32 `json:"volumeIndex"`
}

type DeleteVolumeStatus

type DeleteVolumeStatus struct {
	Stage                   DeleteVolumeStatusStage               `json:"stage,omitempty"`
	ClusterId               string                                `json:"clusterId,omitempty"`
	ClusterIdByLocation     DeleteVolumeStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	Messages                []string                              `json:"messages,omitempty"`
	InUseByWorkloadId       string                                `json:"inUseByWorkloadId,omitempty"`
	StorageDeviceIdToRemove string                                `json:"storageDeviceIdToRemove,omitempty"`
}

type DeleteVolumeStatusClusterIdByLocation added in v1.0.0

type DeleteVolumeStatusClusterIdByLocation map[string]string

type DeleteVolumeStatusStage

type DeleteVolumeStatusStage string
const (
	DeleteVolumeStatusStageUpdateVolumeSet         DeleteVolumeStatusStage = "update-volume-set"
	DeleteVolumeStatusStageDeleteStorageResources  DeleteVolumeStatusStage = "delete-storage-resources"
	DeleteVolumeStatusStageShutdownReplica         DeleteVolumeStatusStage = "shutdown-replica"
	DeleteVolumeStatusStageAwaitReplicaTermination DeleteVolumeStatusStage = "await-replica-termination"
	DeleteVolumeStatusStageFail                    DeleteVolumeStatusStage = "fail"
	DeleteVolumeStatusStageCleanupK8S              DeleteVolumeStatusStage = "cleanup-k8s"
)

type ExpandVolumeSpec

type ExpandVolumeSpec struct {
	Location           string  `json:"location"`
	VolumeIndex        float32 `json:"volumeIndex"`
	NewStorageCapacity float32 `json:"newStorageCapacity"`
	TimeoutSeconds     float32 `json:"timeoutSeconds"`
}

type ExpandVolumeStatus

type ExpandVolumeStatus struct {
	ClusterId             string                                `json:"clusterId,omitempty"`
	ClusterIdByLocation   ExpandVolumeStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	Messages              []string                              `json:"messages,omitempty"`
	Stage                 ExpandVolumeStatusStage               `json:"stage,omitempty"`
	ReplicaRestartedAt    string                                `json:"replicaRestartedAt,omitempty"`
	OnlineResizeStartedAt string                                `json:"onlineResizeStartedAt,omitempty"`
	LockNames             []string                              `json:"lockNames,omitempty"`
}

type ExpandVolumeStatusClusterIdByLocation added in v1.0.0

type ExpandVolumeStatusClusterIdByLocation map[string]string

type ExpandVolumeStatusStage

type ExpandVolumeStatusStage string
const (
	ExpandVolumeStatusStageExpandVolume            ExpandVolumeStatusStage = "expand-volume"
	ExpandVolumeStatusStageDeleteStatefulSet       ExpandVolumeStatusStage = "delete-stateful-set"
	ExpandVolumeStatusStageAwaitOnlineResize       ExpandVolumeStatusStage = "await-online-resize"
	ExpandVolumeStatusStageAwaitReplicaTermination ExpandVolumeStatusStage = "await-replica-termination"
	ExpandVolumeStatusStageAwaitExpansionCompleted ExpandVolumeStatusStage = "await-expansion-completed"
	ExpandVolumeStatusStageUpdateVolumeSet         ExpandVolumeStatusStage = "update-volume-set"
	ExpandVolumeStatusStageRecreateReplica         ExpandVolumeStatusStage = "recreate-replica"
	ExpandVolumeStatusStageCleanupK8S              ExpandVolumeStatusStage = "cleanup-k8s"
	ExpandVolumeStatusStageRevert                  ExpandVolumeStatusStage = "revert"
)

type ReplaceVolumeSpec

type ReplaceVolumeSpec struct {
	Location    string  `json:"location"`
	VolumeIndex float32 `json:"volumeIndex"`
}

type ReplaceVolumeStatus

type ReplaceVolumeStatus struct {
	Stage                   ReplaceVolumeStatusStage               `json:"stage,omitempty"`
	Messages                []string                               `json:"messages,omitempty"`
	ClusterId               string                                 `json:"clusterId,omitempty"`
	ClusterIdByLocation     ReplaceVolumeStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	InUseByWorkloadId       string                                 `json:"inUseByWorkloadId,omitempty"`
	StorageDeviceIdToRemove string                                 `json:"storageDeviceIdToRemove,omitempty"`
	NewStorageDeviceId      string                                 `json:"newStorageDeviceId,omitempty"`
	NewVolumeAttributes     ReplaceVolumeStatusNewVolumeAttributes `json:"newVolumeAttributes,omitempty"`
	NewResourceName         string                                 `json:"newResourceName,omitempty"`
	NextVolumeSize          float32                                `json:"nextVolumeSize"`
}

type ReplaceVolumeStatusClusterIdByLocation added in v1.0.0

type ReplaceVolumeStatusClusterIdByLocation map[string]string

type ReplaceVolumeStatusNewVolumeAttributes

type ReplaceVolumeStatusNewVolumeAttributes map[string]string

type ReplaceVolumeStatusStage

type ReplaceVolumeStatusStage string
const (
	ReplaceVolumeStatusStageCreateVolume               ReplaceVolumeStatusStage = "create-volume"
	ReplaceVolumeStatusStageCleanupAfterVolumeCreation ReplaceVolumeStatusStage = "cleanup-after-volume-creation"
	ReplaceVolumeStatusStageUpdateVolumeSet            ReplaceVolumeStatusStage = "update-volume-set"
	ReplaceVolumeStatusStageConfigureStorageResources  ReplaceVolumeStatusStage = "configure-storage-resources"
	ReplaceVolumeStatusStageRemoveFinalizer            ReplaceVolumeStatusStage = "remove-finalizer"
	ReplaceVolumeStatusStageShutdownReplica            ReplaceVolumeStatusStage = "shutdown-replica"
	ReplaceVolumeStatusStageAwaitReplicaTermination    ReplaceVolumeStatusStage = "await-replica-termination"
	ReplaceVolumeStatusStageCleanupK8S                 ReplaceVolumeStatusStage = "cleanup-k8s"
	ReplaceVolumeStatusStageFail                       ReplaceVolumeStatusStage = "fail"
	ReplaceVolumeStatusStageRevert                     ReplaceVolumeStatusStage = "revert"
	ReplaceVolumeStatusStageCleanupOldStorageDevice    ReplaceVolumeStatusStage = "cleanup-old-storage-device"
	ReplaceVolumeStatusStageRestartReplica             ReplaceVolumeStatusStage = "restart-replica"
)

type RestoreVolumeSpec

type RestoreVolumeSpec struct {
	VolumeIndex  float32 `json:"volumeIndex"`
	Location     string  `json:"location"`
	SnapshotName string  `json:"snapshotName"`
	Zone         string  `json:"zone,omitempty"`
}

type RunCronWorkloadSpec

type RunCronWorkloadSpec struct {
	Location           string                           `json:"location"`
	ContainerOverrides []CronWorkloadContainerOverrides `json:"containerOverrides,omitempty"`
}

type RunCronWorkloadStatus

type RunCronWorkloadStatus struct {
	Replica                string                                   `json:"replica,omitempty"`
	ClusterIdByLocation    RunCronWorkloadStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	MinimumWorkloadVersion float32                                  `json:"minimumWorkloadVersion"`
}

type RunCronWorkloadStatusClusterIdByLocation added in v1.0.0

type RunCronWorkloadStatusClusterIdByLocation map[string]string

type ShrinkVolumeSpec added in v1.0.0

type ShrinkVolumeSpec struct {
	Location           string  `json:"location"`
	VolumeIndex        float32 `json:"volumeIndex"`
	NewStorageCapacity float32 `json:"newStorageCapacity"`
	TimeoutSeconds     float32 `json:"timeoutSeconds"`
}

type SnapshotDeletionStatus

type SnapshotDeletionStatus struct {
	Stage    SnapshotDeletionStatusStage `json:"stage,omitempty"`
	Messages []string                    `json:"messages,omitempty"`
}

type SnapshotDeletionStatusStage

type SnapshotDeletionStatusStage string
const (
	SnapshotDeletionStatusStagePending             SnapshotDeletionStatusStage = "pending"
	SnapshotDeletionStatusStageK8SResourcesCreated SnapshotDeletionStatusStage = "k8s-resources-created"
	SnapshotDeletionStatusStageDeleted             SnapshotDeletionStatusStage = "deleted"
)

type StopReplicaSpec

type StopReplicaSpec struct {
	Location string `json:"location"`
	Replica  string `json:"replica,omitempty"`
}

type StopReplicaStatus

type StopReplicaStatus struct {
	ClusterId               string                               `json:"clusterId,omitempty"`
	ClusterIdByLocation     StopReplicaStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	PodCreatedByCommandLink string                               `json:"podCreatedByCommandLink,omitempty"`
	PodId                   string                               `json:"podId"`
}

type StopReplicaStatusClusterIdByLocation added in v1.0.0

type StopReplicaStatusClusterIdByLocation map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL