Documentation
¶
Index ¶
- type Cluster
- type Clusters
- type Command
- type CommandLifecycleStage
- type CommandSpec
- type CommandStatus
- type CommandTags
- type CreateVolumeSnapshotSpec
- type CreateVolumeSnapshotSpecSnapshotTags
- type CreateVolumeSnapshotStatus
- type CreateVolumeSnapshotStatusClusterIdByLocation
- type CreateVolumeSnapshotStatusStage
- type CronWorkloadContainerOverrides
- type DeleteCloudDevicesStatus
- type DeleteCloudDevicesStatusClusterIdByLocation
- type DeleteCloudDevicesStatusPvcRef
- type DeleteCloudDevicesStatusSnapshotDeletionStatus
- type DeleteCloudDevicesStatusStage
- type DeleteCloudDevicesStatusVolume
- type DeleteCloudDevicesStatusVolumeAttributes
- type DeleteCloudDevicesStatusVolumeLifecycle
- type DeleteOrphanedVolumeSnapshotSpec
- type DeleteOrphanedVolumeSnapshotStatus
- type DeleteOrphanedVolumeSnapshotStatusClusterIdByLocation
- type DeleteOrphanedVolumeSnapshotStatusStage
- type DeleteOrphanedVolumeSpec
- type DeleteOrphanedVolumeStatus
- type DeleteOrphanedVolumeStatusClusterIdByLocation
- type DeleteOrphanedVolumeStatusStage
- type DeleteVolumeSetLocationStatus
- type DeleteVolumeSetLocationStatusStage
- type DeleteVolumeSetLocationStatusVolumes
- type DeleteVolumeSetSpec
- type DeleteVolumeSetSpecVolumeSet
- type DeleteVolumeSetSpecVolumeSetTags
- type DeleteVolumeSetStatus
- type DeleteVolumeSnapshotSpec
- type DeleteVolumeSnapshotStatus
- type DeleteVolumeSnapshotStatusClusterIdByLocation
- type DeleteVolumeSnapshotStatusSnapshot
- type DeleteVolumeSnapshotStatusSnapshotTags
- type DeleteVolumeSnapshotStatusStage
- type DeleteVolumeSpec
- type DeleteVolumeStatus
- type DeleteVolumeStatusClusterIdByLocation
- type DeleteVolumeStatusStage
- type ExpandVolumeSpec
- type ExpandVolumeStatus
- type ExpandVolumeStatusClusterIdByLocation
- type ExpandVolumeStatusStage
- type ReplaceVolumeSpec
- type ReplaceVolumeStatus
- type ReplaceVolumeStatusClusterIdByLocation
- type ReplaceVolumeStatusNewVolumeAttributes
- type ReplaceVolumeStatusStage
- type RestoreVolumeSpec
- type RunCronWorkloadSpec
- type RunCronWorkloadStatus
- type RunCronWorkloadStatusClusterIdByLocation
- type ShrinkVolumeSpec
- type SnapshotDeletionStatus
- type SnapshotDeletionStatusStage
- type StopReplicaSpec
- type StopReplicaStatus
- type StopReplicaStatusClusterIdByLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 CommandStatus ¶
type CommandTags ¶ added in v1.0.0
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 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 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 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 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 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 DeleteOrphanedVolumeSnapshotStatusStage ¶ added in v1.0.0
type DeleteOrphanedVolumeSnapshotStatusStage string
const ( DeleteOrphanedVolumeSnapshotStatusStageDeleteSnapshot DeleteOrphanedVolumeSnapshotStatusStage = "delete-snapshot" DeleteOrphanedVolumeSnapshotStatusStageUpdateVolumeSet DeleteOrphanedVolumeSnapshotStatusStage = "update-volume-set" DeleteOrphanedVolumeSnapshotStatusStageFail DeleteOrphanedVolumeSnapshotStatusStage = "fail" )
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 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 DeleteVolumeSetStatus ¶
type DeleteVolumeSetStatus map[string]DeleteVolumeSetLocationStatus
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 DeleteVolumeSnapshotStatusStage ¶
type DeleteVolumeSnapshotStatusStage string
const ( DeleteVolumeSnapshotStatusStageDeleteSnapshot DeleteVolumeSnapshotStatusStage = "delete-snapshot" DeleteVolumeSnapshotStatusStageUpdateVolumeSet DeleteVolumeSnapshotStatusStage = "update-volume-set" )
type DeleteVolumeSpec ¶
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 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 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 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 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 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 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 ShrinkVolumeSpec ¶ added in v1.0.0
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 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
Click to show internal directories.
Click to hide internal directories.