Documentation
¶
Index ¶
- type Cluster
- type Clusters
- type Command
- type CommandLifecycleStage
- type CommandSpec
- type CommandStatus
- type CreateVolumeSnapshotSpec
- type CreateVolumeSnapshotSpecSnapshotTags
- type CreateVolumeSnapshotStatus
- type CreateVolumeSnapshotStatusStage
- type CronWorkloadContainerOverrides
- type DeleteCloudDevicesStatus
- type DeleteCloudDevicesStatusPvcRef
- type DeleteCloudDevicesStatusSnapshotDeletionStatus
- type DeleteCloudDevicesStatusStage
- type DeleteCloudDevicesStatusVolume
- type DeleteCloudDevicesStatusVolumeAttributes
- type DeleteCloudDevicesStatusVolumeLifecycle
- type DeleteOrphanedVolumeSpec
- type DeleteOrphanedVolumeStatus
- type DeleteOrphanedVolumeStatusStage
- type DeleteVolumeSetLocationStatus
- type DeleteVolumeSetLocationStatusStage
- type DeleteVolumeSetLocationStatusVolumes
- type DeleteVolumeSetSpec
- type DeleteVolumeSetSpecVolumeSet
- type DeleteVolumeSetStatus
- type DeleteVolumeSnapshotSpec
- type DeleteVolumeSnapshotStatus
- type DeleteVolumeSnapshotStatusSnapshot
- type DeleteVolumeSnapshotStatusSnapshotTags
- type DeleteVolumeSnapshotStatusStage
- type DeleteVolumeSpec
- type DeleteVolumeStatus
- type DeleteVolumeStatusStage
- type ExpandVolumeSpec
- type ExpandVolumeStatus
- type ExpandVolumeStatusStage
- type ReplaceVolumeSpec
- type ReplaceVolumeStatus
- type ReplaceVolumeStatusNewVolumeAttributes
- type ReplaceVolumeStatusStage
- type RestoreVolumeSpec
- type RunCronWorkloadSpec
- type RunCronWorkloadStatus
- type SnapshotDeletionStatus
- type SnapshotDeletionStatusStage
- type StopReplicaSpec
- type StopReplicaStatus
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"`
Type string `json:"type,omitempty"`
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 CreateVolumeSnapshotSpec ¶
type CreateVolumeSnapshotSpec struct {
Location string `json:"location,omitempty"`
VolumeIndex float32 `json:"volumeIndex"`
SnapshotName string `json:"snapshotName,omitempty"`
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"`
NewSnapshotId string `json:"newSnapshotId,omitempty"`
NewSnapshotSize float32 `json:"newSnapshotSize"`
CreationStartTime string `json:"creationStartTime,omitempty"`
}
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,omitempty"`
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"`
Volume DeleteCloudDevicesStatusVolume `json:"volume,omitempty"`
Stage DeleteCloudDevicesStatusStage `json:"stage,omitempty"`
Messages []string `json:"messages,omitempty"`
PvcRef DeleteCloudDevicesStatusPvcRef `json:"pvcRef,omitempty"`
SnapshotDeletionStatus DeleteCloudDevicesStatusSnapshotDeletionStatus `json:"snapshotDeletionStatus,omitempty"`
}
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,omitempty"`
VolumeSnapshots []volumeSet.VolumeSnapshot `json:"volumeSnapshots,omitempty"`
Attributes DeleteCloudDevicesStatusVolumeAttributes `json:"attributes,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 DeleteOrphanedVolumeSpec ¶
type DeleteOrphanedVolumeSpec struct {
StorageDeviceId string `json:"storageDeviceId,omitempty"`
Org string `json:"org,omitempty"`
Gvc string `json:"gvc,omitempty"`
WorkloadName string `json:"workloadName,omitempty"`
VolumeSetUri string `json:"volumeSetUri,omitempty"`
Driver string `json:"driver,omitempty"`
}
type DeleteOrphanedVolumeStatus ¶
type DeleteOrphanedVolumeStatus struct {
ClusterId string `json:"clusterId,omitempty"`
Stage DeleteOrphanedVolumeStatusStage `json:"stage,omitempty"`
Messages []string `json:"messages,omitempty"`
}
type DeleteOrphanedVolumeStatusStage ¶
type DeleteOrphanedVolumeStatusStage string
const ( DeleteOrphanedVolumeStatusStageCreateDeletionRecords DeleteOrphanedVolumeStatusStage = "create-deletion-records" DeleteOrphanedVolumeStatusStageDelete DeleteOrphanedVolumeStatusStage = "delete" DeleteOrphanedVolumeStatusStageCleanupK8S DeleteOrphanedVolumeStatusStage = "cleanup-k8s" )
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,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 base.Tags `json:"tags,omitempty"`
Created string `json:"created,omitempty"`
LastModified string `json:"lastModified,omitempty"`
Links base.Links `json:"links,omitempty"`
Spec volumeSet.VolumeSetSpec `json:"spec,omitempty"`
Status volumeSet.VolumeSetStatus `json:"status,omitempty"`
Gvc any `json:"gvc,omitempty"`
}
type DeleteVolumeSetStatus ¶
type DeleteVolumeSetStatus map[string]DeleteVolumeSetLocationStatus
type DeleteVolumeSnapshotStatus ¶
type DeleteVolumeSnapshotStatus struct {
ClusterId string `json:"clusterId,omitempty"`
Snapshot DeleteVolumeSnapshotStatusSnapshot `json:"snapshot,omitempty"`
Stage DeleteVolumeSnapshotStatusStage `json:"stage,omitempty"`
Messages []string `json:"messages,omitempty"`
}
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"`
Messages []string `json:"messages,omitempty"`
InUseByWorkloadId string `json:"inUseByWorkloadId,omitempty"`
StorageDeviceIdToRemove string `json:"storageDeviceIdToRemove,omitempty"`
}
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"`
Messages []string `json:"messages,omitempty"`
Stage ExpandVolumeStatusStage `json:"stage,omitempty"`
ReplicaRestartedAt string `json:"replicaRestartedAt,omitempty"`
}
type ExpandVolumeStatusStage ¶
type ExpandVolumeStatusStage string
const ( ExpandVolumeStatusStageExpandVolume ExpandVolumeStatusStage = "expand-volume" 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"`
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 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,omitempty"`
ContainerOverrides []CronWorkloadContainerOverrides `json:"containerOverrides,omitempty"`
}
type RunCronWorkloadStatus ¶
type RunCronWorkloadStatus struct {
Replica string `json:"replica,omitempty"`
}
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 ¶
Click to show internal directories.
Click to hide internal directories.