Documentation
¶
Index ¶
- type CustomEncryptionRegion
- type FileSystem
- type FileSystemType
- type MountResources
- type PerformanceClass
- type PerformanceClassFeaturesSupported
- type PerformanceClassName
- type PersistentVolumeStatus
- type PersistentVolumeStatusAttributes
- type PersistentVolumeStatusLifecycle
- type SnapshotSpec
- type VolumeSet
- type VolumeSetSpec
- type VolumeSetSpecAutoscaling
- type VolumeSetSpecCustomEncryption
- type VolumeSetSpecCustomEncryptionRegions
- type VolumeSetSpecMountOptions
- type VolumeSetSpecMountOptionsResources
- type VolumeSetStatus
- type VolumeSetStatusLocation
- type VolumeSetTags
- type VolumeSnapshot
- type VolumeSnapshotTags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomEncryptionRegion ¶ added in v1.0.0
type CustomEncryptionRegion struct {
KeyId string `json:"keyId,omitempty"`
}
type FileSystem ¶
type FileSystemType ¶
type FileSystemType string
const ( FileSystemTypeExt4 FileSystemType = "ext4" FileSystemTypeXfs FileSystemType = "xfs" )
type MountResources ¶ added in v1.0.0
type PerformanceClass ¶
type PerformanceClass struct {
Name string `json:"name"`
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"`
VolumeSnapshots []VolumeSnapshot `json:"volumeSnapshots,omitempty"`
Attributes PersistentVolumeStatusAttributes `json:"attributes,omitempty"`
Zone string `json:"zone,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 VolumeSetTags `json:"tags,omitempty"`
Created string `json:"created,omitempty"`
LastModified string `json:"lastModified,omitempty"`
Links base.Links `json:"links,omitempty"`
Spec VolumeSetSpec `json:"spec"`
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"`
CustomEncryption *VolumeSetSpecCustomEncryption `json:"customEncryption,omitempty"`
Snapshots *SnapshotSpec `json:"snapshots,omitempty"`
Autoscaling *VolumeSetSpecAutoscaling `json:"autoscaling,omitempty"`
MountOptions *VolumeSetSpecMountOptions `json:"mountOptions,omitempty"`
}
type VolumeSetSpecCustomEncryption ¶ added in v1.0.0
type VolumeSetSpecCustomEncryption struct {
Regions VolumeSetSpecCustomEncryptionRegions `json:"regions,omitempty"`
}
type VolumeSetSpecCustomEncryptionRegions ¶ added in v1.0.0
type VolumeSetSpecCustomEncryptionRegions map[string]CustomEncryptionRegion
type VolumeSetSpecMountOptions ¶ added in v1.0.0
type VolumeSetSpecMountOptions struct {
Resources VolumeSetSpecMountOptionsResources `json:"resources,omitempty"`
}
type VolumeSetSpecMountOptionsResources ¶ added in v1.0.0
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"`
Volumes []PersistentVolumeStatus `json:"volumes,omitempty"`
DesiredVolumeCount float32 `json:"desiredVolumeCount"`
ClusterId string `json:"clusterId,omitempty"`
}
type VolumeSetTags ¶ added in v1.0.0
type VolumeSnapshot ¶
type VolumeSnapshotTags ¶
Click to show internal directories.
Click to hide internal directories.