command

package
v1.1.56-test Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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,omitempty"`
	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"`
	ConflictQuery  CommandConflictQuery  `json:"conflictQuery,omitempty"`
}

type CommandConflictQuery added in v1.1.2

type CommandConflictQuery struct {
	Kind    base.Kind                    `json:"kind,omitempty"`
	Context *CommandConflictQueryContext `json:"context,omitempty"`
	Fetch   CommandConflictQueryFetch    `json:"fetch,omitempty"`
	Spec    *CommandConflictQuerySpec    `json:"spec,omitempty"`
}

type CommandConflictQueryContext added in v1.1.2

type CommandConflictQueryContext map[string]any

type CommandConflictQueryFetch added in v1.1.2

type CommandConflictQueryFetch string
const (
	CommandConflictQueryFetchLinks CommandConflictQueryFetch = "links"
	CommandConflictQueryFetchItems CommandConflictQueryFetch = "items"
)

type CommandConflictQuerySpec added in v1.1.2

type CommandConflictQuerySpec struct {
	Match CommandConflictQuerySpecMatch `json:"match,omitempty"`
	Terms []query.Term                  `json:"terms,omitempty"`
	Sort  *CommandConflictQuerySpecSort `json:"sort,omitempty"`
}

type CommandConflictQuerySpecMatch added in v1.1.2

type CommandConflictQuerySpecMatch string
const (
	CommandConflictQuerySpecMatchAll  CommandConflictQuerySpecMatch = "all"
	CommandConflictQuerySpecMatchAny  CommandConflictQuerySpecMatch = "any"
	CommandConflictQuerySpecMatchNone CommandConflictQuerySpecMatch = "none"
)

type CommandConflictQuerySpecSort added in v1.1.2

type CommandConflictQuerySpecSort struct {
	By    string                            `json:"by"`
	Order CommandConflictQuerySpecSortOrder `json:"order,omitempty"`
}

type CommandConflictQuerySpecSortOrder added in v1.1.2

type CommandConflictQuerySpecSortOrder string
const (
	CommandConflictQuerySpecSortOrderAsc  CommandConflictQuerySpecSortOrder = "asc"
	CommandConflictQuerySpecSortOrderDesc CommandConflictQuerySpecSortOrder = "desc"
)

type CommandLifecycleStage

type CommandLifecycleStage string
const (
	CommandLifecycleStagePending               CommandLifecycleStage = "pending"
	CommandLifecycleStageRunning               CommandLifecycleStage = "running"
	CommandLifecycleStageCancellationRequested CommandLifecycleStage = "cancellation-requested"
	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

type CommandTags map[string]any

type CopyVolumeSideStatus added in v1.1.24

type CopyVolumeSideStatus struct {
	Stage                CopyVolumeSideStatusStage `json:"stage,omitempty"`
	Messages             []string                  `json:"messages,omitempty"`
	LockNames            []string                  `json:"lockNames,omitempty"`
	TempStorageClassName string                    `json:"tempStorageClassName,omitempty"`
	Complete             bool                      `json:"complete,omitempty"`
	CleanedUp            bool                      `json:"cleanedUp,omitempty"`
}

type CopyVolumeSideStatusStage added in v1.1.24

type CopyVolumeSideStatusStage string
const (
	CopyVolumeSideStatusStageCaptureSource                 CopyVolumeSideStatusStage = "capture-source"
	CopyVolumeSideStatusStageAwaitReceiver                 CopyVolumeSideStatusStage = "await-receiver"
	CopyVolumeSideStatusStageApplySourceEgress             CopyVolumeSideStatusStage = "apply-source-egress"
	CopyVolumeSideStatusStageRunBulkSync                   CopyVolumeSideStatusStage = "run-bulk-sync"
	CopyVolumeSideStatusStagePrepareDestination            CopyVolumeSideStatusStage = "prepare-destination"
	CopyVolumeSideStatusStageApplyReceiver                 CopyVolumeSideStatusStage = "apply-receiver"
	CopyVolumeSideStatusStageAwaitBulkSync                 CopyVolumeSideStatusStage = "await-bulk-sync"
	CopyVolumeSideStatusStageCommitAndPrepareSwap          CopyVolumeSideStatusStage = "commit-and-prepare-swap"
	CopyVolumeSideStatusStageShutdownTargetReplica         CopyVolumeSideStatusStage = "shutdown-target-replica"
	CopyVolumeSideStatusStageAwaitTargetReplicaTermination CopyVolumeSideStatusStage = "await-target-replica-termination"
	CopyVolumeSideStatusStageCleanupK8S                    CopyVolumeSideStatusStage = "cleanup-k8s"
	CopyVolumeSideStatusStageFail                          CopyVolumeSideStatusStage = "fail"
)

type CopyVolumeSpec added in v1.1.24

type CopyVolumeSpec struct {
	Location                             string   `json:"location"`
	TargetLocation                       string   `json:"targetLocation"`
	VolumeIndex                          float32  `json:"volumeIndex"`
	AcknowledgeDestinationVolumeDeletion bool     `json:"acknowledgeDestinationVolumeDeletion,omitempty"`
	TimeoutSeconds                       *float32 `json:"timeoutSeconds,omitempty"`
	TargetVolumeSet                      string   `json:"targetVolumeSet,omitempty"`
	TargetVolumeSetId                    string   `json:"targetVolumeSetId,omitempty"`
	TargetGvc                            string   `json:"targetGvc,omitempty"`
	Locations                            []string `json:"locations,omitempty"`
}

type CopyVolumeStatus added in v1.1.24

type CopyVolumeStatus struct {
	ClusterId                   string                              `json:"clusterId,omitempty"`
	ClusterIdByLocation         CopyVolumeStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	Messages                    []string                            `json:"messages,omitempty"`
	Source                      CopyVolumeStatusSource              `json:"source,omitempty"`
	Target                      CopyVolumeStatusTarget              `json:"target,omitempty"`
	ReceiverHost                string                              `json:"receiverHost,omitempty"`
	ReceiverSniService          string                              `json:"receiverSniService,omitempty"`
	TargetGatewayAddress        string                              `json:"targetGatewayAddress,omitempty"`
	NewStorageDeviceId          string                              `json:"newStorageDeviceId,omitempty"`
	NewResourceName             string                              `json:"newResourceName,omitempty"`
	NewVolumeAttributes         CopyVolumeStatusNewVolumeAttributes `json:"newVolumeAttributes,omitempty"`
	NewVolumeSize               *float32                            `json:"newVolumeSize,omitempty"`
	DestinationDeviceIdToRemove string                              `json:"destinationDeviceIdToRemove,omitempty"`
	TargetHasWorkloadPod        bool                                `json:"targetHasWorkloadPod,omitempty"`
	SourceDeviceId              string                              `json:"sourceDeviceId,omitempty"`
	SourceInUse                 bool                                `json:"sourceInUse,omitempty"`
	BulkSyncTargetPodUid        string                              `json:"bulkSyncTargetPodUid,omitempty"`
	BulkSyncAttempt             *float32                            `json:"bulkSyncAttempt,omitempty"`
	BulkSyncCompletedAt         string                              `json:"bulkSyncCompletedAt,omitempty"`
	BulkSyncProgressPercent     *float32                            `json:"bulkSyncProgressPercent,omitempty"`
	BulkSyncTransferredBytes    *float32                            `json:"bulkSyncTransferredBytes,omitempty"`
	BulkSyncRate                string                              `json:"bulkSyncRate,omitempty"`
	BulkSyncEta                 string                              `json:"bulkSyncEta,omitempty"`
}

type CopyVolumeStatusClusterIdByLocation added in v1.1.24

type CopyVolumeStatusClusterIdByLocation map[string]string

type CopyVolumeStatusNewVolumeAttributes added in v1.1.24

type CopyVolumeStatusNewVolumeAttributes map[string]string

type CopyVolumeStatusSource added in v1.1.24

type CopyVolumeStatusSource struct {
	Stage                CopyVolumeStatusSourceStage `json:"stage,omitempty"`
	Messages             []string                    `json:"messages,omitempty"`
	LockNames            []string                    `json:"lockNames,omitempty"`
	TempStorageClassName string                      `json:"tempStorageClassName,omitempty"`
	Complete             bool                        `json:"complete,omitempty"`
	CleanedUp            bool                        `json:"cleanedUp,omitempty"`
}

type CopyVolumeStatusSourceStage added in v1.1.24

type CopyVolumeStatusSourceStage string
const (
	CopyVolumeStatusSourceStageCaptureSource                 CopyVolumeStatusSourceStage = "capture-source"
	CopyVolumeStatusSourceStageAwaitReceiver                 CopyVolumeStatusSourceStage = "await-receiver"
	CopyVolumeStatusSourceStageApplySourceEgress             CopyVolumeStatusSourceStage = "apply-source-egress"
	CopyVolumeStatusSourceStageRunBulkSync                   CopyVolumeStatusSourceStage = "run-bulk-sync"
	CopyVolumeStatusSourceStagePrepareDestination            CopyVolumeStatusSourceStage = "prepare-destination"
	CopyVolumeStatusSourceStageApplyReceiver                 CopyVolumeStatusSourceStage = "apply-receiver"
	CopyVolumeStatusSourceStageAwaitBulkSync                 CopyVolumeStatusSourceStage = "await-bulk-sync"
	CopyVolumeStatusSourceStageCommitAndPrepareSwap          CopyVolumeStatusSourceStage = "commit-and-prepare-swap"
	CopyVolumeStatusSourceStageShutdownTargetReplica         CopyVolumeStatusSourceStage = "shutdown-target-replica"
	CopyVolumeStatusSourceStageAwaitTargetReplicaTermination CopyVolumeStatusSourceStage = "await-target-replica-termination"
	CopyVolumeStatusSourceStageCleanupK8S                    CopyVolumeStatusSourceStage = "cleanup-k8s"
	CopyVolumeStatusSourceStageFail                          CopyVolumeStatusSourceStage = "fail"
)

type CopyVolumeStatusTarget added in v1.1.24

type CopyVolumeStatusTarget struct {
	Stage                CopyVolumeStatusTargetStage `json:"stage,omitempty"`
	Messages             []string                    `json:"messages,omitempty"`
	LockNames            []string                    `json:"lockNames,omitempty"`
	TempStorageClassName string                      `json:"tempStorageClassName,omitempty"`
	Complete             bool                        `json:"complete,omitempty"`
	CleanedUp            bool                        `json:"cleanedUp,omitempty"`
}

type CopyVolumeStatusTargetStage added in v1.1.24

type CopyVolumeStatusTargetStage string
const (
	CopyVolumeStatusTargetStageCaptureSource                 CopyVolumeStatusTargetStage = "capture-source"
	CopyVolumeStatusTargetStageAwaitReceiver                 CopyVolumeStatusTargetStage = "await-receiver"
	CopyVolumeStatusTargetStageApplySourceEgress             CopyVolumeStatusTargetStage = "apply-source-egress"
	CopyVolumeStatusTargetStageRunBulkSync                   CopyVolumeStatusTargetStage = "run-bulk-sync"
	CopyVolumeStatusTargetStagePrepareDestination            CopyVolumeStatusTargetStage = "prepare-destination"
	CopyVolumeStatusTargetStageApplyReceiver                 CopyVolumeStatusTargetStage = "apply-receiver"
	CopyVolumeStatusTargetStageAwaitBulkSync                 CopyVolumeStatusTargetStage = "await-bulk-sync"
	CopyVolumeStatusTargetStageCommitAndPrepareSwap          CopyVolumeStatusTargetStage = "commit-and-prepare-swap"
	CopyVolumeStatusTargetStageShutdownTargetReplica         CopyVolumeStatusTargetStage = "shutdown-target-replica"
	CopyVolumeStatusTargetStageAwaitTargetReplicaTermination CopyVolumeStatusTargetStage = "await-target-replica-termination"
	CopyVolumeStatusTargetStageCleanupK8S                    CopyVolumeStatusTargetStage = "cleanup-k8s"
	CopyVolumeStatusTargetStageFail                          CopyVolumeStatusTargetStage = "fail"
)

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,omitempty"`
	CreationStartTime   string                                        `json:"creationStartTime,omitempty"`
}

type CreateVolumeSnapshotStatusClusterIdByLocation

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 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

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,omitempty"`
	CurrentBytesFree    *float32                                 `json:"currentBytesFree,omitempty"`
	Iops                *float32                                 `json:"iops,omitempty"`
	Throughput          *float32                                 `json:"throughput,omitempty"`
	Driver              string                                   `json:"driver"`
	DiskType            DeleteCloudDevicesStatusVolumeDiskType   `json:"diskType,omitempty"`
	VolumeSnapshots     []volumeSet.VolumeSnapshot               `json:"volumeSnapshots,omitempty"`
	Attributes          DeleteCloudDevicesStatusVolumeAttributes `json:"attributes,omitempty"`
	Zone                string                                   `json:"zone,omitempty"`
	Node                string                                   `json:"node,omitempty"`
}

type DeleteCloudDevicesStatusVolumeAttributes

type DeleteCloudDevicesStatusVolumeAttributes map[string]string

type DeleteCloudDevicesStatusVolumeDiskType added in v1.1.22

type DeleteCloudDevicesStatusVolumeDiskType string
const (
	DeleteCloudDevicesStatusVolumeDiskTypeGp3                DeleteCloudDevicesStatusVolumeDiskType = "gp3"
	DeleteCloudDevicesStatusVolumeDiskTypePdBalanced         DeleteCloudDevicesStatusVolumeDiskType = "pd-balanced"
	DeleteCloudDevicesStatusVolumeDiskTypePdSsd              DeleteCloudDevicesStatusVolumeDiskType = "pd-ssd"
	DeleteCloudDevicesStatusVolumeDiskTypeHyperdiskBalanced  DeleteCloudDevicesStatusVolumeDiskType = "hyperdisk-balanced"
	DeleteCloudDevicesStatusVolumeDiskTypePremiumV2Lrs       DeleteCloudDevicesStatusVolumeDiskType = "PremiumV2_LRS"
	DeleteCloudDevicesStatusVolumeDiskTypeDoBlockStorage     DeleteCloudDevicesStatusVolumeDiskType = "do-block-storage"
	DeleteCloudDevicesStatusVolumeDiskTypeHcloudVolume       DeleteCloudDevicesStatusVolumeDiskType = "hcloud-volume"
	DeleteCloudDevicesStatusVolumeDiskTypeLinodeBlockStorage DeleteCloudDevicesStatusVolumeDiskType = "linode-block-storage"
	DeleteCloudDevicesStatusVolumeDiskTypeOciBvBalanced      DeleteCloudDevicesStatusVolumeDiskType = "oci-bv-balanced"
	DeleteCloudDevicesStatusVolumeDiskTypeJuicefs            DeleteCloudDevicesStatusVolumeDiskType = "juicefs"
	DeleteCloudDevicesStatusVolumeDiskTypeHostpath           DeleteCloudDevicesStatusVolumeDiskType = "hostpath"
)

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

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

type DeleteOrphanedVolumeSnapshotStatus

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

type DeleteOrphanedVolumeSnapshotStatusClusterIdByLocation map[string]string

type DeleteOrphanedVolumeSnapshotStatusStage

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

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,omitempty"`
	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

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

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,omitempty"`
	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

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,omitempty"`
}

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"`
	StorageDeviceId       string                                `json:"storageDeviceId,omitempty"`
}

type ExpandVolumeStatusClusterIdByLocation

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,omitempty"`
	TempStorageClassName    string                                 `json:"tempStorageClassName,omitempty"`
	LockNames               []string                               `json:"lockNames,omitempty"`
}

type ReplaceVolumeStatusClusterIdByLocation

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"`
	ScheduleName          string                       `json:"scheduleName,omitempty"`
	ContainerOverrides    []workload.ContainerOverride `json:"containerOverrides,omitempty"`
	ActiveDeadlineSeconds *float32                     `json:"activeDeadlineSeconds,omitempty"`
}

type RunCronWorkloadStatus

type RunCronWorkloadStatus struct {
	Replica                     string                                    `json:"replica,omitempty"`
	ClusterIdByLocation         RunCronWorkloadStatusClusterIdByLocation  `json:"clusterIdByLocation,omitempty"`
	MinimumWorkloadVersion      *float32                                  `json:"minimumWorkloadVersion,omitempty"`
	Messages                    []string                                  `json:"messages,omitempty"`
	AdmissionRetries            *float32                                  `json:"admissionRetries,omitempty"`
	FirstAdmissionRejectionTime string                                    `json:"firstAdmissionRejectionTime,omitempty"`
	LastRejectedReplica         string                                    `json:"lastRejectedReplica,omitempty"`
	AdmissionRetryRequested     bool                                      `json:"admissionRetryRequested,omitempty"`
	RetryReason                 RunCronWorkloadStatusRetryReason          `json:"retryReason,omitempty"`
	InfraRetries                *float32                                  `json:"infraRetries,omitempty"`
	Disruptions                 *float32                                  `json:"disruptions,omitempty"`
	LastDisruptedReplica        string                                    `json:"lastDisruptedReplica,omitempty"`
	PendingTerminalStage        RunCronWorkloadStatusPendingTerminalStage `json:"pendingTerminalStage,omitempty"`
	JobName                     string                                    `json:"jobName,omitempty"`
	WorkloadVersion             *float32                                  `json:"workloadVersion,omitempty"`
	StartTime                   string                                    `json:"startTime,omitempty"`
	CompletionTime              string                                    `json:"completionTime,omitempty"`
	Conditions                  []cronjob.JobExecutionCondition           `json:"conditions,omitempty"`
	Containers                  RunCronWorkloadStatusContainers           `json:"containers,omitempty"`
	FirstImagePullBackOffTime   string                                    `json:"firstImagePullBackOffTime,omitempty"`
	Details                     RunCronWorkloadStatusDetails              `json:"details,omitempty"`
}

type RunCronWorkloadStatusClusterIdByLocation

type RunCronWorkloadStatusClusterIdByLocation map[string]string

type RunCronWorkloadStatusContainers added in v1.1.23

type RunCronWorkloadStatusContainers map[string]containerstatus.ContainerStatus

type RunCronWorkloadStatusDetails added in v1.1.23

type RunCronWorkloadStatusDetails string
const (
	RunCronWorkloadStatusDetailsInvalid RunCronWorkloadStatusDetails = "invalid"
	RunCronWorkloadStatusDetailsRemoved RunCronWorkloadStatusDetails = "removed"
)

type RunCronWorkloadStatusPendingTerminalStage added in v1.1.17

type RunCronWorkloadStatusPendingTerminalStage string
const (
	RunCronWorkloadStatusPendingTerminalStageCompleted RunCronWorkloadStatusPendingTerminalStage = "completed"
	RunCronWorkloadStatusPendingTerminalStageFailed    RunCronWorkloadStatusPendingTerminalStage = "failed"
)

type RunCronWorkloadStatusRetryReason added in v1.1.22

type RunCronWorkloadStatusRetryReason string
const (
	RunCronWorkloadStatusRetryReasonAdmissionRejection RunCronWorkloadStatusRetryReason = "admission-rejection"
	RunCronWorkloadStatusRetryReasonNeverStarted       RunCronWorkloadStatusRetryReason = "never-started"
)

type ShrinkVolumeSpec

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

type ShrinkVolumeStatus added in v1.1.4

type ShrinkVolumeStatus struct {
	Stage                   ShrinkVolumeStatusStage               `json:"stage,omitempty"`
	Messages                []string                              `json:"messages,omitempty"`
	ClusterId               string                                `json:"clusterId,omitempty"`
	ClusterIdByLocation     ShrinkVolumeStatusClusterIdByLocation `json:"clusterIdByLocation,omitempty"`
	InUseByWorkloadId       string                                `json:"inUseByWorkloadId,omitempty"`
	StorageDeviceIdToRemove string                                `json:"storageDeviceIdToRemove,omitempty"`
	OldVolumeAttributes     ShrinkVolumeStatusOldVolumeAttributes `json:"oldVolumeAttributes,omitempty"`
	OldVolumeSize           *float32                              `json:"oldVolumeSize,omitempty"`
	OldDiskType             ShrinkVolumeStatusOldDiskType         `json:"oldDiskType,omitempty"`
	NewStorageDeviceId      string                                `json:"newStorageDeviceId,omitempty"`
	NewVolumeAttributes     ShrinkVolumeStatusNewVolumeAttributes `json:"newVolumeAttributes,omitempty"`
	NewResourceName         string                                `json:"newResourceName,omitempty"`
	NextVolumeSize          *float32                              `json:"nextVolumeSize,omitempty"`
	TempStorageClassName    string                                `json:"tempStorageClassName,omitempty"`
	LockNames               []string                              `json:"lockNames,omitempty"`
	PresyncTargetPodUid     string                                `json:"presyncTargetPodUid,omitempty"`
	PresyncAttempt          *float32                              `json:"presyncAttempt,omitempty"`
	PresyncProgressPercent  *float32                              `json:"presyncProgressPercent,omitempty"`
	FinalSyncCompletedAt    string                                `json:"finalSyncCompletedAt,omitempty"`
	AwaitDataReadySince     string                                `json:"awaitDataReadySince,omitempty"`
}

type ShrinkVolumeStatusClusterIdByLocation added in v1.1.4

type ShrinkVolumeStatusClusterIdByLocation map[string]string

type ShrinkVolumeStatusNewVolumeAttributes added in v1.1.15

type ShrinkVolumeStatusNewVolumeAttributes map[string]string

type ShrinkVolumeStatusOldDiskType added in v1.1.25

type ShrinkVolumeStatusOldDiskType string
const (
	ShrinkVolumeStatusOldDiskTypeGp3                ShrinkVolumeStatusOldDiskType = "gp3"
	ShrinkVolumeStatusOldDiskTypePdBalanced         ShrinkVolumeStatusOldDiskType = "pd-balanced"
	ShrinkVolumeStatusOldDiskTypePdSsd              ShrinkVolumeStatusOldDiskType = "pd-ssd"
	ShrinkVolumeStatusOldDiskTypeHyperdiskBalanced  ShrinkVolumeStatusOldDiskType = "hyperdisk-balanced"
	ShrinkVolumeStatusOldDiskTypePremiumV2Lrs       ShrinkVolumeStatusOldDiskType = "PremiumV2_LRS"
	ShrinkVolumeStatusOldDiskTypeDoBlockStorage     ShrinkVolumeStatusOldDiskType = "do-block-storage"
	ShrinkVolumeStatusOldDiskTypeHcloudVolume       ShrinkVolumeStatusOldDiskType = "hcloud-volume"
	ShrinkVolumeStatusOldDiskTypeLinodeBlockStorage ShrinkVolumeStatusOldDiskType = "linode-block-storage"
	ShrinkVolumeStatusOldDiskTypeOciBvBalanced      ShrinkVolumeStatusOldDiskType = "oci-bv-balanced"
	ShrinkVolumeStatusOldDiskTypeJuicefs            ShrinkVolumeStatusOldDiskType = "juicefs"
	ShrinkVolumeStatusOldDiskTypeHostpath           ShrinkVolumeStatusOldDiskType = "hostpath"
)

type ShrinkVolumeStatusOldVolumeAttributes added in v1.1.25

type ShrinkVolumeStatusOldVolumeAttributes map[string]string

type ShrinkVolumeStatusStage added in v1.1.4

type ShrinkVolumeStatusStage string
const (
	ShrinkVolumeStatusStageCreateVolume            ShrinkVolumeStatusStage = "create-volume"
	ShrinkVolumeStatusStageApplyPresyncResources   ShrinkVolumeStatusStage = "apply-presync-resources"
	ShrinkVolumeStatusStageInjectAndAwaitPresync   ShrinkVolumeStatusStage = "inject-and-await-presync"
	ShrinkVolumeStatusStageApplyDeltaSource        ShrinkVolumeStatusStage = "apply-delta-source"
	ShrinkVolumeStatusStageCommitAndPrepareSwap    ShrinkVolumeStatusStage = "commit-and-prepare-swap"
	ShrinkVolumeStatusStageShutdownReplica         ShrinkVolumeStatusStage = "shutdown-replica"
	ShrinkVolumeStatusStageAwaitReplicaTermination ShrinkVolumeStatusStage = "await-replica-termination"
	ShrinkVolumeStatusStageAwaitDataReady          ShrinkVolumeStatusStage = "await-data-ready"
	ShrinkVolumeStatusStageCleanupK8S              ShrinkVolumeStatusStage = "cleanup-k8s"
	ShrinkVolumeStatusStageFail                    ShrinkVolumeStatusStage = "fail"
)

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

type StopReplicaStatusClusterIdByLocation map[string]string

Jump to

Keyboard shortcuts

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