Documentation
¶
Index ¶
- type FileSystem
- type FileSystemType
- type PerformanceClass
- type PerformanceClassFeaturesSupported
- type PerformanceClassName
- type PersistentVolumeStatus
- type PersistentVolumeStatusAttributes
- type PersistentVolumeStatusLifecycle
- type SnapshotSpec
- type VolumeSet
- type VolumeSetSpec
- type VolumeSetSpecAutoscaling
- type VolumeSetStatus
- type VolumeSetStatusLocation
- type VolumeSnapshot
- type VolumeSnapshotTags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystemType ¶
type FileSystemType string
const ( FileSystemTypeExt4 FileSystemType = "ext4" FileSystemTypeXfs FileSystemType = "xfs" )
type PerformanceClass ¶
type PerformanceClass struct {
Name string `json:"name,omitempty"`
MinCapacity float32 `json:"minCapacity"`
MaxCapacity float32 `json:"maxCapacity"`
FeaturesSupported []PerformanceClassFeaturesSupported `json:"featuresSupported,omitempty"`
}
type PerformanceClassFeaturesSupported ¶
type PerformanceClassFeaturesSupported string
const ( PerformanceClassFeaturesSupportedAutomaticExpansion PerformanceClassFeaturesSupported = "automatic-expansion" PerformanceClassFeaturesSupportedSnapshots PerformanceClassFeaturesSupported = "snapshots" )
type PerformanceClassName ¶
type PerformanceClassName string
const ( PerformanceClassNameGeneralPurposeSsd PerformanceClassName = "general-purpose-ssd" PerformanceClassNameHighThroughputSsd PerformanceClassName = "high-throughput-ssd" )
type PersistentVolumeStatus ¶
type PersistentVolumeStatus struct {
Lifecycle PersistentVolumeStatusLifecycle `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 []VolumeSnapshot `json:"volumeSnapshots,omitempty"`
Attributes PersistentVolumeStatusAttributes `json:"attributes,omitempty"`
}
type PersistentVolumeStatusLifecycle ¶
type PersistentVolumeStatusLifecycle string
const ( PersistentVolumeStatusLifecycleCreating PersistentVolumeStatusLifecycle = "creating" PersistentVolumeStatusLifecycleUnused PersistentVolumeStatusLifecycle = "unused" PersistentVolumeStatusLifecycleUnbound PersistentVolumeStatusLifecycle = "unbound" PersistentVolumeStatusLifecycleBound PersistentVolumeStatusLifecycle = "bound" PersistentVolumeStatusLifecycleDeleted PersistentVolumeStatusLifecycle = "deleted" PersistentVolumeStatusLifecycleRepairing PersistentVolumeStatusLifecycle = "repairing" )
type SnapshotSpec ¶
type VolumeSet ¶
type VolumeSet 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 VolumeSetSpec `json:"spec,omitempty"`
Status VolumeSetStatus `json:"status,omitempty"`
Gvc any `json:"gvc,omitempty"`
}
type VolumeSetSpec ¶
type VolumeSetSpec struct {
InitialCapacity float32 `json:"initialCapacity"`
PerformanceClass PerformanceClassName `json:"performanceClass,omitempty"`
StorageClassSuffix string `json:"storageClassSuffix,omitempty"`
FileSystemType FileSystemType `json:"fileSystemType,omitempty"`
Snapshots SnapshotSpec `json:"snapshots,omitempty"`
Autoscaling VolumeSetSpecAutoscaling `json:"autoscaling,omitempty"`
}
type VolumeSetStatus ¶
type VolumeSetStatus struct {
ParentId string `json:"parentId,omitempty"`
UsedByWorkload string `json:"usedByWorkload,omitempty"`
WorkloadLinks []string `json:"workloadLinks,omitempty"`
BindingId string `json:"bindingId,omitempty"`
Locations []VolumeSetStatusLocation `json:"locations,omitempty"`
}
type VolumeSetStatusLocation ¶
type VolumeSetStatusLocation struct {
Name string `json:"name,omitempty"`
Volumes []PersistentVolumeStatus `json:"volumes,omitempty"`
DesiredVolumeCount float32 `json:"desiredVolumeCount"`
ClusterId string `json:"clusterId,omitempty"`
}
type VolumeSnapshot ¶
type VolumeSnapshotTags ¶
Click to show internal directories.
Click to hide internal directories.