Documentation ¶
Index ¶
- Variables
- func RegisterLVMServer(s *grpc.Server, srv LVMServer)
- func RegisterProjQuotaServer(s *grpc.Server, srv ProjQuotaServer)
- type AddTagLVReply
- type AddTagLVRequest
- func (*AddTagLVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTagLVRequest) GetName() string
- func (x *AddTagLVRequest) GetTags() []string
- func (x *AddTagLVRequest) GetVolumeGroup() string
- func (*AddTagLVRequest) ProtoMessage()
- func (x *AddTagLVRequest) ProtoReflect() protoreflect.Message
- func (x *AddTagLVRequest) Reset()
- func (x *AddTagLVRequest) String() string
- type CleanPathReply
- type CleanPathRequest
- type CloneLVReply
- type CloneLVRequest
- func (*CloneLVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloneLVRequest) GetDestName() string
- func (x *CloneLVRequest) GetSourceName() string
- func (*CloneLVRequest) ProtoMessage()
- func (x *CloneLVRequest) ProtoReflect() protoreflect.Message
- func (x *CloneLVRequest) Reset()
- func (x *CloneLVRequest) String() string
- type CreateLVReply
- type CreateLVRequest
- func (*CreateLVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLVRequest) GetMirrors() uint32
- func (x *CreateLVRequest) GetName() string
- func (x *CreateLVRequest) GetSize() uint64
- func (x *CreateLVRequest) GetStriping() bool
- func (x *CreateLVRequest) GetTags() []string
- func (x *CreateLVRequest) GetVolumeGroup() string
- func (*CreateLVRequest) ProtoMessage()
- func (x *CreateLVRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLVRequest) Reset()
- func (x *CreateLVRequest) String() string
- type CreateNamespaceReply
- func (*CreateNamespaceReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceReply) GetCommandOutput() string
- func (*CreateNamespaceReply) ProtoMessage()
- func (x *CreateNamespaceReply) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceReply) Reset()
- func (x *CreateNamespaceReply) String() string
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetName() string
- func (x *CreateNamespaceRequest) GetRegion() string
- func (x *CreateNamespaceRequest) GetSize() uint64
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- type CreateProjQuotaSubpathReply
- func (*CreateProjQuotaSubpathReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjQuotaSubpathReply) GetCommandOutput() string
- func (x *CreateProjQuotaSubpathReply) GetProjQuotaSubpath() string
- func (x *CreateProjQuotaSubpathReply) GetProjectId() string
- func (*CreateProjQuotaSubpathReply) ProtoMessage()
- func (x *CreateProjQuotaSubpathReply) ProtoReflect() protoreflect.Message
- func (x *CreateProjQuotaSubpathReply) Reset()
- func (x *CreateProjQuotaSubpathReply) String() string
- type CreateProjQuotaSubpathRequest
- func (*CreateProjQuotaSubpathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjQuotaSubpathRequest) GetPvName() string
- func (x *CreateProjQuotaSubpathRequest) GetQuotaSize() string
- func (x *CreateProjQuotaSubpathRequest) GetRootPath() string
- func (*CreateProjQuotaSubpathRequest) ProtoMessage()
- func (x *CreateProjQuotaSubpathRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjQuotaSubpathRequest) Reset()
- func (x *CreateProjQuotaSubpathRequest) String() string
- type CreateVGReply
- type CreateVGRequest
- func (*CreateVGRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVGRequest) GetName() string
- func (x *CreateVGRequest) GetPhysicalVolume() string
- func (x *CreateVGRequest) GetTags() []string
- func (*CreateVGRequest) ProtoMessage()
- func (x *CreateVGRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVGRequest) Reset()
- func (x *CreateVGRequest) String() string
- type LV
- type LVAttributes
- type LVMClient
- type LVMServer
- type ListLVReply
- type ListLVRequest
- type ListNamespaceReply
- func (*ListNamespaceReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespaceReply) GetNameSpace() []*NameSpace
- func (*ListNamespaceReply) ProtoMessage()
- func (x *ListNamespaceReply) ProtoReflect() protoreflect.Message
- func (x *ListNamespaceReply) Reset()
- func (x *ListNamespaceReply) String() string
- type ListNamespaceRequest
- func (*ListNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespaceRequest) GetNameSpace() string
- func (x *ListNamespaceRequest) GetRegion() string
- func (*ListNamespaceRequest) ProtoMessage()
- func (x *ListNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *ListNamespaceRequest) Reset()
- func (x *ListNamespaceRequest) String() string
- type ListVGReply
- type ListVGRequest
- type LogicalVolume
- func (*LogicalVolume) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalVolume) GetActualDevMajorNumber() uint32
- func (x *LogicalVolume) GetActualDevMinorNumber() uint32
- func (x *LogicalVolume) GetAttributes() *LogicalVolume_Attributes
- func (x *LogicalVolume) GetCopyPercent() string
- func (x *LogicalVolume) GetName() string
- func (x *LogicalVolume) GetSize() uint64
- func (x *LogicalVolume) GetTags() []string
- func (x *LogicalVolume) GetUuid() string
- func (*LogicalVolume) ProtoMessage()
- func (x *LogicalVolume) ProtoReflect() protoreflect.Message
- func (x *LogicalVolume) Reset()
- func (x *LogicalVolume) String() string
- type LogicalVolume_Attributes
- func (*LogicalVolume_Attributes) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalVolume_Attributes) GetActivationSkipped() bool
- func (x *LogicalVolume_Attributes) GetAllocation() LogicalVolume_Attributes_Allocation
- func (x *LogicalVolume_Attributes) GetFixedMinor() bool
- func (x *LogicalVolume_Attributes) GetHealth() LogicalVolume_Attributes_Health
- func (x *LogicalVolume_Attributes) GetOpen() bool
- func (x *LogicalVolume_Attributes) GetPermissions() LogicalVolume_Attributes_Permissions
- func (x *LogicalVolume_Attributes) GetState() LogicalVolume_Attributes_State
- func (x *LogicalVolume_Attributes) GetTargetType() LogicalVolume_Attributes_TargetType
- func (x *LogicalVolume_Attributes) GetType() LogicalVolume_Attributes_Type
- func (x *LogicalVolume_Attributes) GetZeroing() bool
- func (*LogicalVolume_Attributes) ProtoMessage()
- func (x *LogicalVolume_Attributes) ProtoReflect() protoreflect.Message
- func (x *LogicalVolume_Attributes) Reset()
- func (x *LogicalVolume_Attributes) String() string
- type LogicalVolume_Attributes_Allocation
- func (LogicalVolume_Attributes_Allocation) Descriptor() protoreflect.EnumDescriptor
- func (x LogicalVolume_Attributes_Allocation) Enum() *LogicalVolume_Attributes_Allocation
- func (LogicalVolume_Attributes_Allocation) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogicalVolume_Attributes_Allocation) Number() protoreflect.EnumNumber
- func (x LogicalVolume_Attributes_Allocation) String() string
- func (LogicalVolume_Attributes_Allocation) Type() protoreflect.EnumType
- type LogicalVolume_Attributes_Health
- func (LogicalVolume_Attributes_Health) Descriptor() protoreflect.EnumDescriptor
- func (x LogicalVolume_Attributes_Health) Enum() *LogicalVolume_Attributes_Health
- func (LogicalVolume_Attributes_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogicalVolume_Attributes_Health) Number() protoreflect.EnumNumber
- func (x LogicalVolume_Attributes_Health) String() string
- func (LogicalVolume_Attributes_Health) Type() protoreflect.EnumType
- type LogicalVolume_Attributes_Permissions
- func (LogicalVolume_Attributes_Permissions) Descriptor() protoreflect.EnumDescriptor
- func (x LogicalVolume_Attributes_Permissions) Enum() *LogicalVolume_Attributes_Permissions
- func (LogicalVolume_Attributes_Permissions) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogicalVolume_Attributes_Permissions) Number() protoreflect.EnumNumber
- func (x LogicalVolume_Attributes_Permissions) String() string
- func (LogicalVolume_Attributes_Permissions) Type() protoreflect.EnumType
- type LogicalVolume_Attributes_State
- func (LogicalVolume_Attributes_State) Descriptor() protoreflect.EnumDescriptor
- func (x LogicalVolume_Attributes_State) Enum() *LogicalVolume_Attributes_State
- func (LogicalVolume_Attributes_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogicalVolume_Attributes_State) Number() protoreflect.EnumNumber
- func (x LogicalVolume_Attributes_State) String() string
- func (LogicalVolume_Attributes_State) Type() protoreflect.EnumType
- type LogicalVolume_Attributes_TargetType
- func (LogicalVolume_Attributes_TargetType) Descriptor() protoreflect.EnumDescriptor
- func (x LogicalVolume_Attributes_TargetType) Enum() *LogicalVolume_Attributes_TargetType
- func (LogicalVolume_Attributes_TargetType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogicalVolume_Attributes_TargetType) Number() protoreflect.EnumNumber
- func (x LogicalVolume_Attributes_TargetType) String() string
- func (LogicalVolume_Attributes_TargetType) Type() protoreflect.EnumType
- type LogicalVolume_Attributes_Type
- func (LogicalVolume_Attributes_Type) Descriptor() protoreflect.EnumDescriptor
- func (x LogicalVolume_Attributes_Type) Enum() *LogicalVolume_Attributes_Type
- func (LogicalVolume_Attributes_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogicalVolume_Attributes_Type) Number() protoreflect.EnumNumber
- func (x LogicalVolume_Attributes_Type) String() string
- func (LogicalVolume_Attributes_Type) Type() protoreflect.EnumType
- type NameSpace
- func (*NameSpace) Descriptor() ([]byte, []int)deprecated
- func (x *NameSpace) GetAlign() int64
- func (x *NameSpace) GetBlockDev() string
- func (x *NameSpace) GetCharDev() string
- func (x *NameSpace) GetDev() string
- func (x *NameSpace) GetMapType() string
- func (x *NameSpace) GetMode() string
- func (x *NameSpace) GetName() string
- func (x *NameSpace) GetRegion() string
- func (x *NameSpace) GetSectorSize() int64
- func (x *NameSpace) GetSize() int64
- func (x *NameSpace) GetUuid() string
- func (*NameSpace) ProtoMessage()
- func (x *NameSpace) ProtoReflect() protoreflect.Message
- func (x *NameSpace) Reset()
- func (x *NameSpace) String() string
- type ProjQuotaClient
- type ProjQuotaServer
- type RemoveLVReply
- type RemoveLVRequest
- func (*RemoveLVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveLVRequest) GetName() string
- func (x *RemoveLVRequest) GetVolumeGroup() string
- func (*RemoveLVRequest) ProtoMessage()
- func (x *RemoveLVRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveLVRequest) Reset()
- func (x *RemoveLVRequest) String() string
- type RemoveNamespaceReply
- func (*RemoveNamespaceReply) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNamespaceReply) GetCommandOutput() string
- func (*RemoveNamespaceReply) ProtoMessage()
- func (x *RemoveNamespaceReply) ProtoReflect() protoreflect.Message
- func (x *RemoveNamespaceReply) Reset()
- func (x *RemoveNamespaceReply) String() string
- type RemoveNamespaceRequest
- func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNamespaceRequest) GetNameSpace() string
- func (*RemoveNamespaceRequest) ProtoMessage()
- func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveNamespaceRequest) Reset()
- func (x *RemoveNamespaceRequest) String() string
- type RemoveProjQuotaSubpathReply
- func (*RemoveProjQuotaSubpathReply) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveProjQuotaSubpathReply) GetCommandOutput() string
- func (*RemoveProjQuotaSubpathReply) ProtoMessage()
- func (x *RemoveProjQuotaSubpathReply) ProtoReflect() protoreflect.Message
- func (x *RemoveProjQuotaSubpathReply) Reset()
- func (x *RemoveProjQuotaSubpathReply) String() string
- type RemoveProjQuotaSubpathRequest
- func (*RemoveProjQuotaSubpathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveProjQuotaSubpathRequest) GetProjectId() string
- func (x *RemoveProjQuotaSubpathRequest) GetQuotaSubpath() string
- func (*RemoveProjQuotaSubpathRequest) ProtoMessage()
- func (x *RemoveProjQuotaSubpathRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveProjQuotaSubpathRequest) Reset()
- func (x *RemoveProjQuotaSubpathRequest) String() string
- type RemoveTagLVReply
- type RemoveTagLVRequest
- func (*RemoveTagLVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTagLVRequest) GetName() string
- func (x *RemoveTagLVRequest) GetTags() []string
- func (x *RemoveTagLVRequest) GetVolumeGroup() string
- func (*RemoveTagLVRequest) ProtoMessage()
- func (x *RemoveTagLVRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTagLVRequest) Reset()
- func (x *RemoveTagLVRequest) String() string
- type RemoveVGReply
- type RemoveVGRequest
- type SetSubpathProjQuotaReply
- func (*SetSubpathProjQuotaReply) Descriptor() ([]byte, []int)deprecated
- func (x *SetSubpathProjQuotaReply) GetCommandOutput() string
- func (*SetSubpathProjQuotaReply) ProtoMessage()
- func (x *SetSubpathProjQuotaReply) ProtoReflect() protoreflect.Message
- func (x *SetSubpathProjQuotaReply) Reset()
- func (x *SetSubpathProjQuotaReply) String() string
- type SetSubpathProjQuotaRequest
- func (*SetSubpathProjQuotaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSubpathProjQuotaRequest) GetBlockHardlimit() string
- func (x *SetSubpathProjQuotaRequest) GetBlockSoftlimit() string
- func (x *SetSubpathProjQuotaRequest) GetInodeHardlimit() string
- func (x *SetSubpathProjQuotaRequest) GetInodeSoftlimit() string
- func (x *SetSubpathProjQuotaRequest) GetProjQuotaSubpath() string
- func (*SetSubpathProjQuotaRequest) ProtoMessage()
- func (x *SetSubpathProjQuotaRequest) ProtoReflect() protoreflect.Message
- func (x *SetSubpathProjQuotaRequest) Reset()
- func (x *SetSubpathProjQuotaRequest) String() string
- type UnimplementedLVMServer
- func (UnimplementedLVMServer) AddTagLV(context.Context, *AddTagLVRequest) (*AddTagLVReply, error)
- func (UnimplementedLVMServer) CleanPath(context.Context, *CleanPathRequest) (*CleanPathReply, error)
- func (UnimplementedLVMServer) CloneLV(context.Context, *CloneLVRequest) (*CloneLVReply, error)
- func (UnimplementedLVMServer) CreateLV(context.Context, *CreateLVRequest) (*CreateLVReply, error)
- func (UnimplementedLVMServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceReply, error)
- func (UnimplementedLVMServer) CreateVG(context.Context, *CreateVGRequest) (*CreateVGReply, error)
- func (UnimplementedLVMServer) ListLV(context.Context, *ListLVRequest) (*ListLVReply, error)
- func (UnimplementedLVMServer) ListNamespace(context.Context, *ListNamespaceRequest) (*ListNamespaceReply, error)
- func (UnimplementedLVMServer) ListVG(context.Context, *ListVGRequest) (*ListVGReply, error)
- func (UnimplementedLVMServer) RemoveLV(context.Context, *RemoveLVRequest) (*RemoveLVReply, error)
- func (UnimplementedLVMServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceReply, error)
- func (UnimplementedLVMServer) RemoveTagLV(context.Context, *RemoveTagLVRequest) (*RemoveTagLVReply, error)
- func (UnimplementedLVMServer) RemoveVG(context.Context, *CreateVGRequest) (*RemoveVGReply, error)
- type UnimplementedProjQuotaServer
- func (UnimplementedProjQuotaServer) CreateProjQuotaSubpath(context.Context, *CreateProjQuotaSubpathRequest) (*CreateProjQuotaSubpathReply, error)
- func (UnimplementedProjQuotaServer) RemoveProjQuotaSubpath(context.Context, *RemoveProjQuotaSubpathRequest) (*RemoveProjQuotaSubpathReply, error)
- func (UnimplementedProjQuotaServer) SetSubpathProjQuota(context.Context, *SetSubpathProjQuotaRequest) (*SetSubpathProjQuotaReply, error)
- type UnsafeLVMServer
- type UnsafeProjQuotaServer
- type VG
- type VolumeActivationSkipped
- type VolumeAllocation
- type VolumeFixedMinor
- type VolumeGroup
- func (*VolumeGroup) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeGroup) GetFreeSize() uint64
- func (x *VolumeGroup) GetName() string
- func (x *VolumeGroup) GetPvCount() uint64
- func (x *VolumeGroup) GetSize() uint64
- func (x *VolumeGroup) GetTags() []string
- func (x *VolumeGroup) GetUuid() string
- func (*VolumeGroup) ProtoMessage()
- func (x *VolumeGroup) ProtoReflect() protoreflect.Message
- func (x *VolumeGroup) Reset()
- func (x *VolumeGroup) String() string
- type VolumeHealth
- type VolumeOpen
- type VolumePermissions
- type VolumeState
- type VolumeTargetType
- type VolumeType
- type VolumeZeroing
Constants ¶
This section is empty.
Variables ¶
var ( LogicalVolume_Attributes_Type_name = map[int32]string{ 0: "MALFORMED_TYPE", 1: "MIRRORED", 2: "MIRRORED_WITHOUT_SYNC", 3: "ORIGIN", 4: "ORIGIN_WITH_MERGING_SNAPSHOT", 5: "RAID", 6: "RAID_WITHOUT_SYNC", 7: "SNAPSHOT", 8: "MERGING_SNAPSHOT", 9: "PV_MOVE", 10: "VIRTUAL_MIRROR", 11: "VIRTUAL_RAID_IMAGE", 12: "RAID_IMAGE_OUT_OF_SYNC", 13: "MIRROR_LOG", 14: "UNDER_CONVERSION", 15: "THIN", 16: "THIN_POOL", 17: "THIN_POOL_DATA", 18: "RAID_OR_THIN_POOL_METADATA", } LogicalVolume_Attributes_Type_value = map[string]int32{ "MALFORMED_TYPE": 0, "MIRRORED": 1, "MIRRORED_WITHOUT_SYNC": 2, "ORIGIN": 3, "ORIGIN_WITH_MERGING_SNAPSHOT": 4, "RAID": 5, "RAID_WITHOUT_SYNC": 6, "SNAPSHOT": 7, "MERGING_SNAPSHOT": 8, "PV_MOVE": 9, "VIRTUAL_MIRROR": 10, "VIRTUAL_RAID_IMAGE": 11, "RAID_IMAGE_OUT_OF_SYNC": 12, "MIRROR_LOG": 13, "UNDER_CONVERSION": 14, "THIN": 15, "THIN_POOL": 16, "THIN_POOL_DATA": 17, "RAID_OR_THIN_POOL_METADATA": 18, } )
Enum value maps for LogicalVolume_Attributes_Type.
var ( LogicalVolume_Attributes_Permissions_name = map[int32]string{ 0: "MALFORMED_PERMISSIONS", 1: "WRITEABLE", 2: "READ_ONLY", 3: "READ_ONLY_ACTIVATION", } LogicalVolume_Attributes_Permissions_value = map[string]int32{ "MALFORMED_PERMISSIONS": 0, "WRITEABLE": 1, "READ_ONLY": 2, "READ_ONLY_ACTIVATION": 3, } )
Enum value maps for LogicalVolume_Attributes_Permissions.
var ( LogicalVolume_Attributes_Allocation_name = map[int32]string{ 0: "MALFORMED_ALLOCATION", 1: "ANYWHERE", 2: "CONTIGUOUS", 3: "INHERITED", 4: "CLING", 5: "NORMAL", 6: "ANYWHERE_LOCKED", 7: "CONTIGUOUS_LOCKED", 8: "INHERITED_LOCKED", 9: "CLING_LOCKED", 10: "NORMAL_LOCKED", } LogicalVolume_Attributes_Allocation_value = map[string]int32{ "MALFORMED_ALLOCATION": 0, "ANYWHERE": 1, "CONTIGUOUS": 2, "INHERITED": 3, "CLING": 4, "NORMAL": 5, "ANYWHERE_LOCKED": 6, "CONTIGUOUS_LOCKED": 7, "INHERITED_LOCKED": 8, "CLING_LOCKED": 9, "NORMAL_LOCKED": 10, } )
Enum value maps for LogicalVolume_Attributes_Allocation.
var ( LogicalVolume_Attributes_State_name = map[int32]string{ 0: "MALFORMED_STATE", 1: "ACTIVE", 2: "SUSPENDED", 3: "INVALID_SNAPSHOT", 4: "INVALID_SUSPENDED_SNAPSHOT", 5: "SNAPSHOT_MERGE_FAILED", 6: "SUSPENDED_SNAPSHOT_MERGE_FAILED", 7: "MAPPED_DEVICE_PRESENT_WITHOUT_TABLES", 8: "MAPPED_DEVICE_PRESENT_WITH_INACTIVE_TABLE", } LogicalVolume_Attributes_State_value = map[string]int32{ "MALFORMED_STATE": 0, "ACTIVE": 1, "SUSPENDED": 2, "INVALID_SNAPSHOT": 3, "INVALID_SUSPENDED_SNAPSHOT": 4, "SNAPSHOT_MERGE_FAILED": 5, "SUSPENDED_SNAPSHOT_MERGE_FAILED": 6, "MAPPED_DEVICE_PRESENT_WITHOUT_TABLES": 7, "MAPPED_DEVICE_PRESENT_WITH_INACTIVE_TABLE": 8, } )
Enum value maps for LogicalVolume_Attributes_State.
var ( LogicalVolume_Attributes_TargetType_name = map[int32]string{ 0: "MALFORMED_TARGET", 1: "MIRROR_TARGET", 2: "RAID_TARGET", 3: "SNAPSHOT_TARGET", 4: "THIN_TARGET", 5: "UNKNOWN_TARGET", 6: "VIRTUAL_TARGET", } LogicalVolume_Attributes_TargetType_value = map[string]int32{ "MALFORMED_TARGET": 0, "MIRROR_TARGET": 1, "RAID_TARGET": 2, "SNAPSHOT_TARGET": 3, "THIN_TARGET": 4, "UNKNOWN_TARGET": 5, "VIRTUAL_TARGET": 6, } )
Enum value maps for LogicalVolume_Attributes_TargetType.
var ( LogicalVolume_Attributes_Health_name = map[int32]string{ 0: "MALFORMED_HEALTH", 1: "OK", 2: "PARTIAL", 3: "REFRESH_NEEDED", 4: "MISMATCHES_EXIST", 5: "WRITEMOSTLY", } LogicalVolume_Attributes_Health_value = map[string]int32{ "MALFORMED_HEALTH": 0, "OK": 1, "PARTIAL": 2, "REFRESH_NEEDED": 3, "MISMATCHES_EXIST": 4, "WRITEMOSTLY": 5, } )
Enum value maps for LogicalVolume_Attributes_Health.
var File_lvm_proto protoreflect.FileDescriptor
var File_projquota_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLVMServer ¶
func RegisterProjQuotaServer ¶ added in v1.1.1
func RegisterProjQuotaServer(s *grpc.Server, srv ProjQuotaServer)
Types ¶
type AddTagLVReply ¶
type AddTagLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*AddTagLVReply) Descriptor
deprecated
func (*AddTagLVReply) Descriptor() ([]byte, []int)
Deprecated: Use AddTagLVReply.ProtoReflect.Descriptor instead.
func (*AddTagLVReply) GetCommandOutput ¶
func (x *AddTagLVReply) GetCommandOutput() string
func (*AddTagLVReply) ProtoMessage ¶
func (*AddTagLVReply) ProtoMessage()
func (*AddTagLVReply) ProtoReflect ¶ added in v1.1.1
func (x *AddTagLVReply) ProtoReflect() protoreflect.Message
func (*AddTagLVReply) Reset ¶
func (x *AddTagLVReply) Reset()
func (*AddTagLVReply) String ¶
func (x *AddTagLVReply) String() string
type AddTagLVRequest ¶
type AddTagLVRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*AddTagLVRequest) Descriptor
deprecated
func (*AddTagLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTagLVRequest.ProtoReflect.Descriptor instead.
func (*AddTagLVRequest) GetName ¶
func (x *AddTagLVRequest) GetName() string
func (*AddTagLVRequest) GetTags ¶
func (x *AddTagLVRequest) GetTags() []string
func (*AddTagLVRequest) GetVolumeGroup ¶
func (x *AddTagLVRequest) GetVolumeGroup() string
func (*AddTagLVRequest) ProtoMessage ¶
func (*AddTagLVRequest) ProtoMessage()
func (*AddTagLVRequest) ProtoReflect ¶ added in v1.1.1
func (x *AddTagLVRequest) ProtoReflect() protoreflect.Message
func (*AddTagLVRequest) Reset ¶
func (x *AddTagLVRequest) Reset()
func (*AddTagLVRequest) String ¶
func (x *AddTagLVRequest) String() string
type CleanPathReply ¶
type CleanPathReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*CleanPathReply) Descriptor
deprecated
added in
v1.1.1
func (*CleanPathReply) Descriptor() ([]byte, []int)
Deprecated: Use CleanPathReply.ProtoReflect.Descriptor instead.
func (*CleanPathReply) GetCommandOutput ¶
func (x *CleanPathReply) GetCommandOutput() string
func (*CleanPathReply) ProtoMessage ¶
func (*CleanPathReply) ProtoMessage()
func (*CleanPathReply) ProtoReflect ¶ added in v1.1.1
func (x *CleanPathReply) ProtoReflect() protoreflect.Message
func (*CleanPathReply) Reset ¶
func (x *CleanPathReply) Reset()
func (*CleanPathReply) String ¶
func (x *CleanPathReply) String() string
type CleanPathRequest ¶
type CleanPathRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CleanPathRequest) Descriptor
deprecated
added in
v1.1.1
func (*CleanPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use CleanPathRequest.ProtoReflect.Descriptor instead.
func (*CleanPathRequest) GetPath ¶ added in v1.1.1
func (x *CleanPathRequest) GetPath() string
func (*CleanPathRequest) ProtoMessage ¶
func (*CleanPathRequest) ProtoMessage()
func (*CleanPathRequest) ProtoReflect ¶ added in v1.1.1
func (x *CleanPathRequest) ProtoReflect() protoreflect.Message
func (*CleanPathRequest) Reset ¶
func (x *CleanPathRequest) Reset()
func (*CleanPathRequest) String ¶
func (x *CleanPathRequest) String() string
type CloneLVReply ¶
type CloneLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*CloneLVReply) Descriptor
deprecated
func (*CloneLVReply) Descriptor() ([]byte, []int)
Deprecated: Use CloneLVReply.ProtoReflect.Descriptor instead.
func (*CloneLVReply) GetCommandOutput ¶
func (x *CloneLVReply) GetCommandOutput() string
func (*CloneLVReply) ProtoMessage ¶
func (*CloneLVReply) ProtoMessage()
func (*CloneLVReply) ProtoReflect ¶ added in v1.1.1
func (x *CloneLVReply) ProtoReflect() protoreflect.Message
func (*CloneLVReply) Reset ¶
func (x *CloneLVReply) Reset()
func (*CloneLVReply) String ¶
func (x *CloneLVReply) String() string
type CloneLVRequest ¶
type CloneLVRequest struct { SourceName string `protobuf:"bytes,1,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"` DestName string `protobuf:"bytes,2,opt,name=dest_name,json=destName,proto3" json:"dest_name,omitempty"` // contains filtered or unexported fields }
func (*CloneLVRequest) Descriptor
deprecated
func (*CloneLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloneLVRequest.ProtoReflect.Descriptor instead.
func (*CloneLVRequest) GetDestName ¶
func (x *CloneLVRequest) GetDestName() string
func (*CloneLVRequest) GetSourceName ¶
func (x *CloneLVRequest) GetSourceName() string
func (*CloneLVRequest) ProtoMessage ¶
func (*CloneLVRequest) ProtoMessage()
func (*CloneLVRequest) ProtoReflect ¶ added in v1.1.1
func (x *CloneLVRequest) ProtoReflect() protoreflect.Message
func (*CloneLVRequest) Reset ¶
func (x *CloneLVRequest) Reset()
func (*CloneLVRequest) String ¶
func (x *CloneLVRequest) String() string
type CreateLVReply ¶
type CreateLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*CreateLVReply) Descriptor
deprecated
func (*CreateLVReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateLVReply.ProtoReflect.Descriptor instead.
func (*CreateLVReply) GetCommandOutput ¶
func (x *CreateLVReply) GetCommandOutput() string
func (*CreateLVReply) ProtoMessage ¶
func (*CreateLVReply) ProtoMessage()
func (*CreateLVReply) ProtoReflect ¶ added in v1.1.1
func (x *CreateLVReply) ProtoReflect() protoreflect.Message
func (*CreateLVReply) Reset ¶
func (x *CreateLVReply) Reset()
func (*CreateLVReply) String ¶
func (x *CreateLVReply) String() string
type CreateLVRequest ¶
type CreateLVRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Mirrors uint32 `protobuf:"varint,4,opt,name=mirrors,proto3" json:"mirrors,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Striping bool `protobuf:"varint,6,opt,name=striping,proto3" json:"striping,omitempty"` // contains filtered or unexported fields }
func (*CreateLVRequest) Descriptor
deprecated
func (*CreateLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLVRequest.ProtoReflect.Descriptor instead.
func (*CreateLVRequest) GetMirrors ¶
func (x *CreateLVRequest) GetMirrors() uint32
func (*CreateLVRequest) GetName ¶
func (x *CreateLVRequest) GetName() string
func (*CreateLVRequest) GetSize ¶
func (x *CreateLVRequest) GetSize() uint64
func (*CreateLVRequest) GetStriping ¶ added in v1.1.1
func (x *CreateLVRequest) GetStriping() bool
func (*CreateLVRequest) GetTags ¶
func (x *CreateLVRequest) GetTags() []string
func (*CreateLVRequest) GetVolumeGroup ¶
func (x *CreateLVRequest) GetVolumeGroup() string
func (*CreateLVRequest) ProtoMessage ¶
func (*CreateLVRequest) ProtoMessage()
func (*CreateLVRequest) ProtoReflect ¶ added in v1.1.1
func (x *CreateLVRequest) ProtoReflect() protoreflect.Message
func (*CreateLVRequest) Reset ¶
func (x *CreateLVRequest) Reset()
func (*CreateLVRequest) String ¶
func (x *CreateLVRequest) String() string
type CreateNamespaceReply ¶ added in v1.1.1
type CreateNamespaceReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceReply) Descriptor
deprecated
added in
v1.1.1
func (*CreateNamespaceReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceReply.ProtoReflect.Descriptor instead.
func (*CreateNamespaceReply) GetCommandOutput ¶ added in v1.1.1
func (x *CreateNamespaceReply) GetCommandOutput() string
func (*CreateNamespaceReply) ProtoMessage ¶ added in v1.1.1
func (*CreateNamespaceReply) ProtoMessage()
func (*CreateNamespaceReply) ProtoReflect ¶ added in v1.1.1
func (x *CreateNamespaceReply) ProtoReflect() protoreflect.Message
func (*CreateNamespaceReply) Reset ¶ added in v1.1.1
func (x *CreateNamespaceReply) Reset()
func (*CreateNamespaceReply) String ¶ added in v1.1.1
func (x *CreateNamespaceReply) String() string
type CreateNamespaceRequest ¶ added in v1.1.1
type CreateNamespaceRequest struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceRequest) Descriptor
deprecated
added in
v1.1.1
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetName ¶ added in v1.1.1
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) GetRegion ¶ added in v1.1.1
func (x *CreateNamespaceRequest) GetRegion() string
func (*CreateNamespaceRequest) GetSize ¶ added in v1.1.1
func (x *CreateNamespaceRequest) GetSize() uint64
func (*CreateNamespaceRequest) ProtoMessage ¶ added in v1.1.1
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶ added in v1.1.1
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶ added in v1.1.1
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶ added in v1.1.1
func (x *CreateNamespaceRequest) String() string
type CreateProjQuotaSubpathReply ¶ added in v1.1.1
type CreateProjQuotaSubpathReply struct { ProjQuotaSubpath string `protobuf:"bytes,1,opt,name=proj_quota_subpath,json=projQuotaSubpath,proto3" json:"proj_quota_subpath,omitempty"` CommandOutput string `protobuf:"bytes,2,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*CreateProjQuotaSubpathReply) Descriptor
deprecated
added in
v1.1.1
func (*CreateProjQuotaSubpathReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjQuotaSubpathReply.ProtoReflect.Descriptor instead.
func (*CreateProjQuotaSubpathReply) GetCommandOutput ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathReply) GetCommandOutput() string
func (*CreateProjQuotaSubpathReply) GetProjQuotaSubpath ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathReply) GetProjQuotaSubpath() string
func (*CreateProjQuotaSubpathReply) GetProjectId ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathReply) GetProjectId() string
func (*CreateProjQuotaSubpathReply) ProtoMessage ¶ added in v1.1.1
func (*CreateProjQuotaSubpathReply) ProtoMessage()
func (*CreateProjQuotaSubpathReply) ProtoReflect ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathReply) ProtoReflect() protoreflect.Message
func (*CreateProjQuotaSubpathReply) Reset ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathReply) Reset()
func (*CreateProjQuotaSubpathReply) String ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathReply) String() string
type CreateProjQuotaSubpathRequest ¶ added in v1.1.1
type CreateProjQuotaSubpathRequest struct { PvName string `protobuf:"bytes,1,opt,name=pvName,proto3" json:"pvName,omitempty"` QuotaSize string `protobuf:"bytes,2,opt,name=quotaSize,proto3" json:"quotaSize,omitempty"` RootPath string `protobuf:"bytes,3,opt,name=rootPath,proto3" json:"rootPath,omitempty"` // contains filtered or unexported fields }
func (*CreateProjQuotaSubpathRequest) Descriptor
deprecated
added in
v1.1.1
func (*CreateProjQuotaSubpathRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjQuotaSubpathRequest.ProtoReflect.Descriptor instead.
func (*CreateProjQuotaSubpathRequest) GetPvName ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathRequest) GetPvName() string
func (*CreateProjQuotaSubpathRequest) GetQuotaSize ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathRequest) GetQuotaSize() string
func (*CreateProjQuotaSubpathRequest) GetRootPath ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathRequest) GetRootPath() string
func (*CreateProjQuotaSubpathRequest) ProtoMessage ¶ added in v1.1.1
func (*CreateProjQuotaSubpathRequest) ProtoMessage()
func (*CreateProjQuotaSubpathRequest) ProtoReflect ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathRequest) ProtoReflect() protoreflect.Message
func (*CreateProjQuotaSubpathRequest) Reset ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathRequest) Reset()
func (*CreateProjQuotaSubpathRequest) String ¶ added in v1.1.1
func (x *CreateProjQuotaSubpathRequest) String() string
type CreateVGReply ¶
type CreateVGReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*CreateVGReply) Descriptor
deprecated
func (*CreateVGReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateVGReply.ProtoReflect.Descriptor instead.
func (*CreateVGReply) GetCommandOutput ¶
func (x *CreateVGReply) GetCommandOutput() string
func (*CreateVGReply) ProtoMessage ¶
func (*CreateVGReply) ProtoMessage()
func (*CreateVGReply) ProtoReflect ¶ added in v1.1.1
func (x *CreateVGReply) ProtoReflect() protoreflect.Message
func (*CreateVGReply) Reset ¶
func (x *CreateVGReply) Reset()
func (*CreateVGReply) String ¶
func (x *CreateVGReply) String() string
type CreateVGRequest ¶
type CreateVGRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PhysicalVolume string `protobuf:"bytes,2,opt,name=physical_volume,json=physicalVolume,proto3" json:"physical_volume,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*CreateVGRequest) Descriptor
deprecated
func (*CreateVGRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVGRequest.ProtoReflect.Descriptor instead.
func (*CreateVGRequest) GetName ¶
func (x *CreateVGRequest) GetName() string
func (*CreateVGRequest) GetPhysicalVolume ¶
func (x *CreateVGRequest) GetPhysicalVolume() string
func (*CreateVGRequest) GetTags ¶
func (x *CreateVGRequest) GetTags() []string
func (*CreateVGRequest) ProtoMessage ¶
func (*CreateVGRequest) ProtoMessage()
func (*CreateVGRequest) ProtoReflect ¶ added in v1.1.1
func (x *CreateVGRequest) ProtoReflect() protoreflect.Message
func (*CreateVGRequest) Reset ¶
func (x *CreateVGRequest) Reset()
func (*CreateVGRequest) String ¶
func (x *CreateVGRequest) String() string
type LV ¶
type LV struct { Name string Size uint64 UUID string Attributes LVAttributes CopyPercent string ActualDevMajNumber uint32 ActualDevMinNumber uint32 Tags []string }
LV is a logical volume
func (LV) ToProto ¶
func (lv LV) ToProto() *LogicalVolume
ToProto returns lvm.LogicalVolume representation of struct
type LVAttributes ¶
type LVAttributes struct { Type VolumeType Permissions VolumePermissions Allocation VolumeAllocation FixedMinor VolumeFixedMinor State VolumeState Open VolumeOpen TargetType VolumeTargetType Zeroing VolumeZeroing Health VolumeHealth ActivationSkipped VolumeActivationSkipped }
LVAttributes is attributes
func (LVAttributes) ToProto ¶
func (a LVAttributes) ToProto() *LogicalVolume_Attributes
ToProto returns lvm.LogicalVolume.Attributes representation of struct
type LVMClient ¶
type LVMClient interface { ListLV(ctx context.Context, in *ListLVRequest, opts ...grpc.CallOption) (*ListLVReply, error) CreateLV(ctx context.Context, in *CreateLVRequest, opts ...grpc.CallOption) (*CreateLVReply, error) RemoveLV(ctx context.Context, in *RemoveLVRequest, opts ...grpc.CallOption) (*RemoveLVReply, error) CloneLV(ctx context.Context, in *CloneLVRequest, opts ...grpc.CallOption) (*CloneLVReply, error) AddTagLV(ctx context.Context, in *AddTagLVRequest, opts ...grpc.CallOption) (*AddTagLVReply, error) RemoveTagLV(ctx context.Context, in *RemoveTagLVRequest, opts ...grpc.CallOption) (*RemoveTagLVReply, error) ListVG(ctx context.Context, in *ListVGRequest, opts ...grpc.CallOption) (*ListVGReply, error) CreateVG(ctx context.Context, in *CreateVGRequest, opts ...grpc.CallOption) (*CreateVGReply, error) RemoveVG(ctx context.Context, in *CreateVGRequest, opts ...grpc.CallOption) (*RemoveVGReply, error) CleanPath(ctx context.Context, in *CleanPathRequest, opts ...grpc.CallOption) (*CleanPathReply, error) ListNamespace(ctx context.Context, in *ListNamespaceRequest, opts ...grpc.CallOption) (*ListNamespaceReply, error) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceReply, error) RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceReply, error) }
LVMClient is the client API for LVM service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLVMClient ¶
func NewLVMClient(cc *grpc.ClientConn) LVMClient
type LVMServer ¶
type LVMServer interface { ListLV(context.Context, *ListLVRequest) (*ListLVReply, error) CreateLV(context.Context, *CreateLVRequest) (*CreateLVReply, error) RemoveLV(context.Context, *RemoveLVRequest) (*RemoveLVReply, error) CloneLV(context.Context, *CloneLVRequest) (*CloneLVReply, error) AddTagLV(context.Context, *AddTagLVRequest) (*AddTagLVReply, error) RemoveTagLV(context.Context, *RemoveTagLVRequest) (*RemoveTagLVReply, error) ListVG(context.Context, *ListVGRequest) (*ListVGReply, error) CreateVG(context.Context, *CreateVGRequest) (*CreateVGReply, error) RemoveVG(context.Context, *CreateVGRequest) (*RemoveVGReply, error) CleanPath(context.Context, *CleanPathRequest) (*CleanPathReply, error) ListNamespace(context.Context, *ListNamespaceRequest) (*ListNamespaceReply, error) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceReply, error) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceReply, error) }
LVMServer is the server API for LVM service. All implementations must embed UnimplementedLVMServer for forward compatibility
type ListLVReply ¶
type ListLVReply struct { Volumes []*LogicalVolume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*ListLVReply) Descriptor
deprecated
func (*ListLVReply) Descriptor() ([]byte, []int)
Deprecated: Use ListLVReply.ProtoReflect.Descriptor instead.
func (*ListLVReply) GetVolumes ¶
func (x *ListLVReply) GetVolumes() []*LogicalVolume
func (*ListLVReply) ProtoMessage ¶
func (*ListLVReply) ProtoMessage()
func (*ListLVReply) ProtoReflect ¶ added in v1.1.1
func (x *ListLVReply) ProtoReflect() protoreflect.Message
func (*ListLVReply) Reset ¶
func (x *ListLVReply) Reset()
func (*ListLVReply) String ¶
func (x *ListLVReply) String() string
type ListLVRequest ¶
type ListLVRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` // contains filtered or unexported fields }
func (*ListLVRequest) Descriptor
deprecated
func (*ListLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLVRequest.ProtoReflect.Descriptor instead.
func (*ListLVRequest) GetVolumeGroup ¶
func (x *ListLVRequest) GetVolumeGroup() string
func (*ListLVRequest) ProtoMessage ¶
func (*ListLVRequest) ProtoMessage()
func (*ListLVRequest) ProtoReflect ¶ added in v1.1.1
func (x *ListLVRequest) ProtoReflect() protoreflect.Message
func (*ListLVRequest) Reset ¶
func (x *ListLVRequest) Reset()
func (*ListLVRequest) String ¶
func (x *ListLVRequest) String() string
type ListNamespaceReply ¶ added in v1.1.1
type ListNamespaceReply struct { NameSpace []*NameSpace `protobuf:"bytes,1,rep,name=name_space,json=nameSpace,proto3" json:"name_space,omitempty"` // contains filtered or unexported fields }
func (*ListNamespaceReply) Descriptor
deprecated
added in
v1.1.1
func (*ListNamespaceReply) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespaceReply.ProtoReflect.Descriptor instead.
func (*ListNamespaceReply) GetNameSpace ¶ added in v1.1.1
func (x *ListNamespaceReply) GetNameSpace() []*NameSpace
func (*ListNamespaceReply) ProtoMessage ¶ added in v1.1.1
func (*ListNamespaceReply) ProtoMessage()
func (*ListNamespaceReply) ProtoReflect ¶ added in v1.1.1
func (x *ListNamespaceReply) ProtoReflect() protoreflect.Message
func (*ListNamespaceReply) Reset ¶ added in v1.1.1
func (x *ListNamespaceReply) Reset()
func (*ListNamespaceReply) String ¶ added in v1.1.1
func (x *ListNamespaceReply) String() string
type ListNamespaceRequest ¶ added in v1.1.1
type ListNamespaceRequest struct { NameSpace string `protobuf:"bytes,1,opt,name=name_space,json=nameSpace,proto3" json:"name_space,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
func (*ListNamespaceRequest) Descriptor
deprecated
added in
v1.1.1
func (*ListNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespaceRequest.ProtoReflect.Descriptor instead.
func (*ListNamespaceRequest) GetNameSpace ¶ added in v1.1.1
func (x *ListNamespaceRequest) GetNameSpace() string
func (*ListNamespaceRequest) GetRegion ¶ added in v1.1.1
func (x *ListNamespaceRequest) GetRegion() string
func (*ListNamespaceRequest) ProtoMessage ¶ added in v1.1.1
func (*ListNamespaceRequest) ProtoMessage()
func (*ListNamespaceRequest) ProtoReflect ¶ added in v1.1.1
func (x *ListNamespaceRequest) ProtoReflect() protoreflect.Message
func (*ListNamespaceRequest) Reset ¶ added in v1.1.1
func (x *ListNamespaceRequest) Reset()
func (*ListNamespaceRequest) String ¶ added in v1.1.1
func (x *ListNamespaceRequest) String() string
type ListVGReply ¶
type ListVGReply struct { VolumeGroups []*VolumeGroup `protobuf:"bytes,1,rep,name=volume_groups,json=volumeGroups,proto3" json:"volume_groups,omitempty"` // contains filtered or unexported fields }
func (*ListVGReply) Descriptor
deprecated
func (*ListVGReply) Descriptor() ([]byte, []int)
Deprecated: Use ListVGReply.ProtoReflect.Descriptor instead.
func (*ListVGReply) GetVolumeGroups ¶
func (x *ListVGReply) GetVolumeGroups() []*VolumeGroup
func (*ListVGReply) ProtoMessage ¶
func (*ListVGReply) ProtoMessage()
func (*ListVGReply) ProtoReflect ¶ added in v1.1.1
func (x *ListVGReply) ProtoReflect() protoreflect.Message
func (*ListVGReply) Reset ¶
func (x *ListVGReply) Reset()
func (*ListVGReply) String ¶
func (x *ListVGReply) String() string
type ListVGRequest ¶
type ListVGRequest struct {
// contains filtered or unexported fields
}
func (*ListVGRequest) Descriptor
deprecated
func (*ListVGRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVGRequest.ProtoReflect.Descriptor instead.
func (*ListVGRequest) ProtoMessage ¶
func (*ListVGRequest) ProtoMessage()
func (*ListVGRequest) ProtoReflect ¶ added in v1.1.1
func (x *ListVGRequest) ProtoReflect() protoreflect.Message
func (*ListVGRequest) Reset ¶
func (x *ListVGRequest) Reset()
func (*ListVGRequest) String ¶
func (x *ListVGRequest) String() string
type LogicalVolume ¶
type LogicalVolume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` Attributes *LogicalVolume_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` CopyPercent string `protobuf:"bytes,5,opt,name=copy_percent,json=copyPercent,proto3" json:"copy_percent,omitempty"` ActualDevMajorNumber uint32 `` /* 126-byte string literal not displayed */ ActualDevMinorNumber uint32 `` /* 126-byte string literal not displayed */ Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*LogicalVolume) Descriptor
deprecated
func (*LogicalVolume) Descriptor() ([]byte, []int)
Deprecated: Use LogicalVolume.ProtoReflect.Descriptor instead.
func (*LogicalVolume) GetActualDevMajorNumber ¶
func (x *LogicalVolume) GetActualDevMajorNumber() uint32
func (*LogicalVolume) GetActualDevMinorNumber ¶
func (x *LogicalVolume) GetActualDevMinorNumber() uint32
func (*LogicalVolume) GetAttributes ¶
func (x *LogicalVolume) GetAttributes() *LogicalVolume_Attributes
func (*LogicalVolume) GetCopyPercent ¶
func (x *LogicalVolume) GetCopyPercent() string
func (*LogicalVolume) GetName ¶
func (x *LogicalVolume) GetName() string
func (*LogicalVolume) GetSize ¶
func (x *LogicalVolume) GetSize() uint64
func (*LogicalVolume) GetTags ¶
func (x *LogicalVolume) GetTags() []string
func (*LogicalVolume) GetUuid ¶
func (x *LogicalVolume) GetUuid() string
func (*LogicalVolume) ProtoMessage ¶
func (*LogicalVolume) ProtoMessage()
func (*LogicalVolume) ProtoReflect ¶ added in v1.1.1
func (x *LogicalVolume) ProtoReflect() protoreflect.Message
func (*LogicalVolume) Reset ¶
func (x *LogicalVolume) Reset()
func (*LogicalVolume) String ¶
func (x *LogicalVolume) String() string
type LogicalVolume_Attributes ¶
type LogicalVolume_Attributes struct { Type LogicalVolume_Attributes_Type `protobuf:"varint,1,opt,name=type,proto3,enum=proto.LogicalVolume_Attributes_Type" json:"type,omitempty"` Permissions LogicalVolume_Attributes_Permissions `protobuf:"varint,2,opt,name=permissions,proto3,enum=proto.LogicalVolume_Attributes_Permissions" json:"permissions,omitempty"` Allocation LogicalVolume_Attributes_Allocation `protobuf:"varint,3,opt,name=allocation,proto3,enum=proto.LogicalVolume_Attributes_Allocation" json:"allocation,omitempty"` FixedMinor bool `protobuf:"varint,4,opt,name=fixed_minor,json=fixedMinor,proto3" json:"fixed_minor,omitempty"` State LogicalVolume_Attributes_State `protobuf:"varint,5,opt,name=state,proto3,enum=proto.LogicalVolume_Attributes_State" json:"state,omitempty"` Open bool `protobuf:"varint,6,opt,name=open,proto3" json:"open,omitempty"` TargetType LogicalVolume_Attributes_TargetType `` /* 139-byte string literal not displayed */ Zeroing bool `protobuf:"varint,8,opt,name=zeroing,proto3" json:"zeroing,omitempty"` Health LogicalVolume_Attributes_Health `protobuf:"varint,9,opt,name=health,proto3,enum=proto.LogicalVolume_Attributes_Health" json:"health,omitempty"` ActivationSkipped bool `protobuf:"varint,10,opt,name=activation_skipped,json=activationSkipped,proto3" json:"activation_skipped,omitempty"` // contains filtered or unexported fields }
func (*LogicalVolume_Attributes) Descriptor
deprecated
func (*LogicalVolume_Attributes) Descriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes.ProtoReflect.Descriptor instead.
func (*LogicalVolume_Attributes) GetActivationSkipped ¶
func (x *LogicalVolume_Attributes) GetActivationSkipped() bool
func (*LogicalVolume_Attributes) GetAllocation ¶
func (x *LogicalVolume_Attributes) GetAllocation() LogicalVolume_Attributes_Allocation
func (*LogicalVolume_Attributes) GetFixedMinor ¶
func (x *LogicalVolume_Attributes) GetFixedMinor() bool
func (*LogicalVolume_Attributes) GetHealth ¶
func (x *LogicalVolume_Attributes) GetHealth() LogicalVolume_Attributes_Health
func (*LogicalVolume_Attributes) GetOpen ¶
func (x *LogicalVolume_Attributes) GetOpen() bool
func (*LogicalVolume_Attributes) GetPermissions ¶
func (x *LogicalVolume_Attributes) GetPermissions() LogicalVolume_Attributes_Permissions
func (*LogicalVolume_Attributes) GetState ¶
func (x *LogicalVolume_Attributes) GetState() LogicalVolume_Attributes_State
func (*LogicalVolume_Attributes) GetTargetType ¶
func (x *LogicalVolume_Attributes) GetTargetType() LogicalVolume_Attributes_TargetType
func (*LogicalVolume_Attributes) GetType ¶
func (x *LogicalVolume_Attributes) GetType() LogicalVolume_Attributes_Type
func (*LogicalVolume_Attributes) GetZeroing ¶
func (x *LogicalVolume_Attributes) GetZeroing() bool
func (*LogicalVolume_Attributes) ProtoMessage ¶
func (*LogicalVolume_Attributes) ProtoMessage()
func (*LogicalVolume_Attributes) ProtoReflect ¶ added in v1.1.1
func (x *LogicalVolume_Attributes) ProtoReflect() protoreflect.Message
func (*LogicalVolume_Attributes) Reset ¶
func (x *LogicalVolume_Attributes) Reset()
func (*LogicalVolume_Attributes) String ¶
func (x *LogicalVolume_Attributes) String() string
type LogicalVolume_Attributes_Allocation ¶
type LogicalVolume_Attributes_Allocation int32
const ( LogicalVolume_Attributes_MALFORMED_ALLOCATION LogicalVolume_Attributes_Allocation = 0 LogicalVolume_Attributes_ANYWHERE LogicalVolume_Attributes_Allocation = 1 LogicalVolume_Attributes_CONTIGUOUS LogicalVolume_Attributes_Allocation = 2 LogicalVolume_Attributes_INHERITED LogicalVolume_Attributes_Allocation = 3 LogicalVolume_Attributes_CLING LogicalVolume_Attributes_Allocation = 4 LogicalVolume_Attributes_NORMAL LogicalVolume_Attributes_Allocation = 5 LogicalVolume_Attributes_ANYWHERE_LOCKED LogicalVolume_Attributes_Allocation = 6 LogicalVolume_Attributes_CONTIGUOUS_LOCKED LogicalVolume_Attributes_Allocation = 7 LogicalVolume_Attributes_INHERITED_LOCKED LogicalVolume_Attributes_Allocation = 8 LogicalVolume_Attributes_CLING_LOCKED LogicalVolume_Attributes_Allocation = 9 LogicalVolume_Attributes_NORMAL_LOCKED LogicalVolume_Attributes_Allocation = 10 )
func (LogicalVolume_Attributes_Allocation) Descriptor ¶ added in v1.1.1
func (LogicalVolume_Attributes_Allocation) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Allocation) Enum ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Allocation) Enum() *LogicalVolume_Attributes_Allocation
func (LogicalVolume_Attributes_Allocation) EnumDescriptor
deprecated
func (LogicalVolume_Attributes_Allocation) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes_Allocation.Descriptor instead.
func (LogicalVolume_Attributes_Allocation) Number ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Allocation) Number() protoreflect.EnumNumber
func (LogicalVolume_Attributes_Allocation) String ¶
func (x LogicalVolume_Attributes_Allocation) String() string
func (LogicalVolume_Attributes_Allocation) Type ¶ added in v1.1.1
func (LogicalVolume_Attributes_Allocation) Type() protoreflect.EnumType
type LogicalVolume_Attributes_Health ¶
type LogicalVolume_Attributes_Health int32
const ( LogicalVolume_Attributes_MALFORMED_HEALTH LogicalVolume_Attributes_Health = 0 LogicalVolume_Attributes_OK LogicalVolume_Attributes_Health = 1 LogicalVolume_Attributes_PARTIAL LogicalVolume_Attributes_Health = 2 LogicalVolume_Attributes_REFRESH_NEEDED LogicalVolume_Attributes_Health = 3 LogicalVolume_Attributes_MISMATCHES_EXIST LogicalVolume_Attributes_Health = 4 LogicalVolume_Attributes_WRITEMOSTLY LogicalVolume_Attributes_Health = 5 )
func (LogicalVolume_Attributes_Health) Descriptor ¶ added in v1.1.1
func (LogicalVolume_Attributes_Health) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Health) Enum ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Health) Enum() *LogicalVolume_Attributes_Health
func (LogicalVolume_Attributes_Health) EnumDescriptor
deprecated
func (LogicalVolume_Attributes_Health) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes_Health.Descriptor instead.
func (LogicalVolume_Attributes_Health) Number ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Health) Number() protoreflect.EnumNumber
func (LogicalVolume_Attributes_Health) String ¶
func (x LogicalVolume_Attributes_Health) String() string
func (LogicalVolume_Attributes_Health) Type ¶ added in v1.1.1
func (LogicalVolume_Attributes_Health) Type() protoreflect.EnumType
type LogicalVolume_Attributes_Permissions ¶
type LogicalVolume_Attributes_Permissions int32
const ( LogicalVolume_Attributes_MALFORMED_PERMISSIONS LogicalVolume_Attributes_Permissions = 0 LogicalVolume_Attributes_WRITEABLE LogicalVolume_Attributes_Permissions = 1 LogicalVolume_Attributes_READ_ONLY LogicalVolume_Attributes_Permissions = 2 LogicalVolume_Attributes_READ_ONLY_ACTIVATION LogicalVolume_Attributes_Permissions = 3 )
func (LogicalVolume_Attributes_Permissions) Descriptor ¶ added in v1.1.1
func (LogicalVolume_Attributes_Permissions) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Permissions) Enum ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Permissions) Enum() *LogicalVolume_Attributes_Permissions
func (LogicalVolume_Attributes_Permissions) EnumDescriptor
deprecated
func (LogicalVolume_Attributes_Permissions) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes_Permissions.Descriptor instead.
func (LogicalVolume_Attributes_Permissions) Number ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Permissions) Number() protoreflect.EnumNumber
func (LogicalVolume_Attributes_Permissions) String ¶
func (x LogicalVolume_Attributes_Permissions) String() string
func (LogicalVolume_Attributes_Permissions) Type ¶ added in v1.1.1
func (LogicalVolume_Attributes_Permissions) Type() protoreflect.EnumType
type LogicalVolume_Attributes_State ¶
type LogicalVolume_Attributes_State int32
const ( LogicalVolume_Attributes_MALFORMED_STATE LogicalVolume_Attributes_State = 0 LogicalVolume_Attributes_ACTIVE LogicalVolume_Attributes_State = 1 LogicalVolume_Attributes_SUSPENDED LogicalVolume_Attributes_State = 2 LogicalVolume_Attributes_INVALID_SNAPSHOT LogicalVolume_Attributes_State = 3 LogicalVolume_Attributes_INVALID_SUSPENDED_SNAPSHOT LogicalVolume_Attributes_State = 4 LogicalVolume_Attributes_SNAPSHOT_MERGE_FAILED LogicalVolume_Attributes_State = 5 LogicalVolume_Attributes_SUSPENDED_SNAPSHOT_MERGE_FAILED LogicalVolume_Attributes_State = 6 LogicalVolume_Attributes_MAPPED_DEVICE_PRESENT_WITHOUT_TABLES LogicalVolume_Attributes_State = 7 LogicalVolume_Attributes_MAPPED_DEVICE_PRESENT_WITH_INACTIVE_TABLE LogicalVolume_Attributes_State = 8 )
func (LogicalVolume_Attributes_State) Descriptor ¶ added in v1.1.1
func (LogicalVolume_Attributes_State) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_State) Enum ¶ added in v1.1.1
func (x LogicalVolume_Attributes_State) Enum() *LogicalVolume_Attributes_State
func (LogicalVolume_Attributes_State) EnumDescriptor
deprecated
func (LogicalVolume_Attributes_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes_State.Descriptor instead.
func (LogicalVolume_Attributes_State) Number ¶ added in v1.1.1
func (x LogicalVolume_Attributes_State) Number() protoreflect.EnumNumber
func (LogicalVolume_Attributes_State) String ¶
func (x LogicalVolume_Attributes_State) String() string
func (LogicalVolume_Attributes_State) Type ¶ added in v1.1.1
func (LogicalVolume_Attributes_State) Type() protoreflect.EnumType
type LogicalVolume_Attributes_TargetType ¶
type LogicalVolume_Attributes_TargetType int32
const ( LogicalVolume_Attributes_MALFORMED_TARGET LogicalVolume_Attributes_TargetType = 0 LogicalVolume_Attributes_MIRROR_TARGET LogicalVolume_Attributes_TargetType = 1 LogicalVolume_Attributes_RAID_TARGET LogicalVolume_Attributes_TargetType = 2 LogicalVolume_Attributes_SNAPSHOT_TARGET LogicalVolume_Attributes_TargetType = 3 LogicalVolume_Attributes_THIN_TARGET LogicalVolume_Attributes_TargetType = 4 LogicalVolume_Attributes_UNKNOWN_TARGET LogicalVolume_Attributes_TargetType = 5 LogicalVolume_Attributes_VIRTUAL_TARGET LogicalVolume_Attributes_TargetType = 6 )
func (LogicalVolume_Attributes_TargetType) Descriptor ¶ added in v1.1.1
func (LogicalVolume_Attributes_TargetType) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_TargetType) Enum ¶ added in v1.1.1
func (x LogicalVolume_Attributes_TargetType) Enum() *LogicalVolume_Attributes_TargetType
func (LogicalVolume_Attributes_TargetType) EnumDescriptor
deprecated
func (LogicalVolume_Attributes_TargetType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes_TargetType.Descriptor instead.
func (LogicalVolume_Attributes_TargetType) Number ¶ added in v1.1.1
func (x LogicalVolume_Attributes_TargetType) Number() protoreflect.EnumNumber
func (LogicalVolume_Attributes_TargetType) String ¶
func (x LogicalVolume_Attributes_TargetType) String() string
func (LogicalVolume_Attributes_TargetType) Type ¶ added in v1.1.1
func (LogicalVolume_Attributes_TargetType) Type() protoreflect.EnumType
type LogicalVolume_Attributes_Type ¶
type LogicalVolume_Attributes_Type int32
const ( LogicalVolume_Attributes_MALFORMED_TYPE LogicalVolume_Attributes_Type = 0 LogicalVolume_Attributes_MIRRORED LogicalVolume_Attributes_Type = 1 LogicalVolume_Attributes_MIRRORED_WITHOUT_SYNC LogicalVolume_Attributes_Type = 2 LogicalVolume_Attributes_ORIGIN LogicalVolume_Attributes_Type = 3 LogicalVolume_Attributes_ORIGIN_WITH_MERGING_SNAPSHOT LogicalVolume_Attributes_Type = 4 LogicalVolume_Attributes_RAID LogicalVolume_Attributes_Type = 5 LogicalVolume_Attributes_RAID_WITHOUT_SYNC LogicalVolume_Attributes_Type = 6 LogicalVolume_Attributes_SNAPSHOT LogicalVolume_Attributes_Type = 7 LogicalVolume_Attributes_MERGING_SNAPSHOT LogicalVolume_Attributes_Type = 8 LogicalVolume_Attributes_PV_MOVE LogicalVolume_Attributes_Type = 9 LogicalVolume_Attributes_VIRTUAL_MIRROR LogicalVolume_Attributes_Type = 10 LogicalVolume_Attributes_VIRTUAL_RAID_IMAGE LogicalVolume_Attributes_Type = 11 LogicalVolume_Attributes_RAID_IMAGE_OUT_OF_SYNC LogicalVolume_Attributes_Type = 12 LogicalVolume_Attributes_MIRROR_LOG LogicalVolume_Attributes_Type = 13 LogicalVolume_Attributes_UNDER_CONVERSION LogicalVolume_Attributes_Type = 14 LogicalVolume_Attributes_THIN LogicalVolume_Attributes_Type = 15 LogicalVolume_Attributes_THIN_POOL LogicalVolume_Attributes_Type = 16 LogicalVolume_Attributes_THIN_POOL_DATA LogicalVolume_Attributes_Type = 17 LogicalVolume_Attributes_RAID_OR_THIN_POOL_METADATA LogicalVolume_Attributes_Type = 18 )
func (LogicalVolume_Attributes_Type) Descriptor ¶ added in v1.1.1
func (LogicalVolume_Attributes_Type) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Type) Enum ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Type) Enum() *LogicalVolume_Attributes_Type
func (LogicalVolume_Attributes_Type) EnumDescriptor
deprecated
func (LogicalVolume_Attributes_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogicalVolume_Attributes_Type.Descriptor instead.
func (LogicalVolume_Attributes_Type) Number ¶ added in v1.1.1
func (x LogicalVolume_Attributes_Type) Number() protoreflect.EnumNumber
func (LogicalVolume_Attributes_Type) String ¶
func (x LogicalVolume_Attributes_Type) String() string
func (LogicalVolume_Attributes_Type) Type ¶ added in v1.1.1
func (LogicalVolume_Attributes_Type) Type() protoreflect.EnumType
type NameSpace ¶
type NameSpace struct { Dev string `protobuf:"bytes,1,opt,name=dev,proto3" json:"dev,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` MapType string `protobuf:"bytes,3,opt,name=map_type,json=mapType,proto3" json:"map_type,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` SectorSize int64 `protobuf:"varint,6,opt,name=sector_size,json=sectorSize,proto3" json:"sector_size,omitempty"` Align int64 `protobuf:"varint,7,opt,name=align,proto3" json:"align,omitempty"` BlockDev string `protobuf:"bytes,8,opt,name=block_dev,json=blockDev,proto3" json:"block_dev,omitempty"` CharDev string `protobuf:"bytes,9,opt,name=char_dev,json=charDev,proto3" json:"char_dev,omitempty"` Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
func (*NameSpace) Descriptor
deprecated
func (*NameSpace) GetBlockDev ¶ added in v1.1.1
func (*NameSpace) GetCharDev ¶
func (*NameSpace) GetMapType ¶ added in v1.1.1
func (*NameSpace) GetSectorSize ¶ added in v1.1.1
func (*NameSpace) ProtoMessage ¶
func (*NameSpace) ProtoMessage()
func (*NameSpace) ProtoReflect ¶ added in v1.1.1
func (x *NameSpace) ProtoReflect() protoreflect.Message
type ProjQuotaClient ¶ added in v1.1.1
type ProjQuotaClient interface { CreateProjQuotaSubpath(ctx context.Context, in *CreateProjQuotaSubpathRequest, opts ...grpc.CallOption) (*CreateProjQuotaSubpathReply, error) SetSubpathProjQuota(ctx context.Context, in *SetSubpathProjQuotaRequest, opts ...grpc.CallOption) (*SetSubpathProjQuotaReply, error) RemoveProjQuotaSubpath(ctx context.Context, in *RemoveProjQuotaSubpathRequest, opts ...grpc.CallOption) (*RemoveProjQuotaSubpathReply, error) }
ProjQuotaClient is the client API for ProjQuota service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProjQuotaClient ¶ added in v1.1.1
func NewProjQuotaClient(cc *grpc.ClientConn) ProjQuotaClient
type ProjQuotaServer ¶ added in v1.1.1
type ProjQuotaServer interface { CreateProjQuotaSubpath(context.Context, *CreateProjQuotaSubpathRequest) (*CreateProjQuotaSubpathReply, error) SetSubpathProjQuota(context.Context, *SetSubpathProjQuotaRequest) (*SetSubpathProjQuotaReply, error) RemoveProjQuotaSubpath(context.Context, *RemoveProjQuotaSubpathRequest) (*RemoveProjQuotaSubpathReply, error) }
ProjQuotaServer is the server API for ProjQuota service. All implementations must embed UnimplementedProjQuotaServer for forward compatibility
type RemoveLVReply ¶
type RemoveLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*RemoveLVReply) Descriptor
deprecated
func (*RemoveLVReply) Descriptor() ([]byte, []int)
Deprecated: Use RemoveLVReply.ProtoReflect.Descriptor instead.
func (*RemoveLVReply) GetCommandOutput ¶
func (x *RemoveLVReply) GetCommandOutput() string
func (*RemoveLVReply) ProtoMessage ¶
func (*RemoveLVReply) ProtoMessage()
func (*RemoveLVReply) ProtoReflect ¶ added in v1.1.1
func (x *RemoveLVReply) ProtoReflect() protoreflect.Message
func (*RemoveLVReply) Reset ¶
func (x *RemoveLVReply) Reset()
func (*RemoveLVReply) String ¶
func (x *RemoveLVReply) String() string
type RemoveLVRequest ¶
type RemoveLVRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RemoveLVRequest) Descriptor
deprecated
func (*RemoveLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveLVRequest.ProtoReflect.Descriptor instead.
func (*RemoveLVRequest) GetName ¶
func (x *RemoveLVRequest) GetName() string
func (*RemoveLVRequest) GetVolumeGroup ¶
func (x *RemoveLVRequest) GetVolumeGroup() string
func (*RemoveLVRequest) ProtoMessage ¶
func (*RemoveLVRequest) ProtoMessage()
func (*RemoveLVRequest) ProtoReflect ¶ added in v1.1.1
func (x *RemoveLVRequest) ProtoReflect() protoreflect.Message
func (*RemoveLVRequest) Reset ¶
func (x *RemoveLVRequest) Reset()
func (*RemoveLVRequest) String ¶
func (x *RemoveLVRequest) String() string
type RemoveNamespaceReply ¶ added in v1.1.1
type RemoveNamespaceReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*RemoveNamespaceReply) Descriptor
deprecated
added in
v1.1.1
func (*RemoveNamespaceReply) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNamespaceReply.ProtoReflect.Descriptor instead.
func (*RemoveNamespaceReply) GetCommandOutput ¶ added in v1.1.1
func (x *RemoveNamespaceReply) GetCommandOutput() string
func (*RemoveNamespaceReply) ProtoMessage ¶ added in v1.1.1
func (*RemoveNamespaceReply) ProtoMessage()
func (*RemoveNamespaceReply) ProtoReflect ¶ added in v1.1.1
func (x *RemoveNamespaceReply) ProtoReflect() protoreflect.Message
func (*RemoveNamespaceReply) Reset ¶ added in v1.1.1
func (x *RemoveNamespaceReply) Reset()
func (*RemoveNamespaceReply) String ¶ added in v1.1.1
func (x *RemoveNamespaceReply) String() string
type RemoveNamespaceRequest ¶ added in v1.1.1
type RemoveNamespaceRequest struct { NameSpace string `protobuf:"bytes,1,opt,name=name_space,json=nameSpace,proto3" json:"name_space,omitempty"` // contains filtered or unexported fields }
func (*RemoveNamespaceRequest) Descriptor
deprecated
added in
v1.1.1
func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNamespaceRequest.ProtoReflect.Descriptor instead.
func (*RemoveNamespaceRequest) GetNameSpace ¶ added in v1.1.1
func (x *RemoveNamespaceRequest) GetNameSpace() string
func (*RemoveNamespaceRequest) ProtoMessage ¶ added in v1.1.1
func (*RemoveNamespaceRequest) ProtoMessage()
func (*RemoveNamespaceRequest) ProtoReflect ¶ added in v1.1.1
func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message
func (*RemoveNamespaceRequest) Reset ¶ added in v1.1.1
func (x *RemoveNamespaceRequest) Reset()
func (*RemoveNamespaceRequest) String ¶ added in v1.1.1
func (x *RemoveNamespaceRequest) String() string
type RemoveProjQuotaSubpathReply ¶ added in v1.1.1
type RemoveProjQuotaSubpathReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*RemoveProjQuotaSubpathReply) Descriptor
deprecated
added in
v1.1.1
func (*RemoveProjQuotaSubpathReply) Descriptor() ([]byte, []int)
Deprecated: Use RemoveProjQuotaSubpathReply.ProtoReflect.Descriptor instead.
func (*RemoveProjQuotaSubpathReply) GetCommandOutput ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathReply) GetCommandOutput() string
func (*RemoveProjQuotaSubpathReply) ProtoMessage ¶ added in v1.1.1
func (*RemoveProjQuotaSubpathReply) ProtoMessage()
func (*RemoveProjQuotaSubpathReply) ProtoReflect ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathReply) ProtoReflect() protoreflect.Message
func (*RemoveProjQuotaSubpathReply) Reset ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathReply) Reset()
func (*RemoveProjQuotaSubpathReply) String ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathReply) String() string
type RemoveProjQuotaSubpathRequest ¶ added in v1.1.1
type RemoveProjQuotaSubpathRequest struct { QuotaSubpath string `protobuf:"bytes,1,opt,name=quota_subpath,json=quotaSubpath,proto3" json:"quota_subpath,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveProjQuotaSubpathRequest) Descriptor
deprecated
added in
v1.1.1
func (*RemoveProjQuotaSubpathRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveProjQuotaSubpathRequest.ProtoReflect.Descriptor instead.
func (*RemoveProjQuotaSubpathRequest) GetProjectId ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathRequest) GetProjectId() string
func (*RemoveProjQuotaSubpathRequest) GetQuotaSubpath ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathRequest) GetQuotaSubpath() string
func (*RemoveProjQuotaSubpathRequest) ProtoMessage ¶ added in v1.1.1
func (*RemoveProjQuotaSubpathRequest) ProtoMessage()
func (*RemoveProjQuotaSubpathRequest) ProtoReflect ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathRequest) ProtoReflect() protoreflect.Message
func (*RemoveProjQuotaSubpathRequest) Reset ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathRequest) Reset()
func (*RemoveProjQuotaSubpathRequest) String ¶ added in v1.1.1
func (x *RemoveProjQuotaSubpathRequest) String() string
type RemoveTagLVReply ¶
type RemoveTagLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*RemoveTagLVReply) Descriptor
deprecated
func (*RemoveTagLVReply) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTagLVReply.ProtoReflect.Descriptor instead.
func (*RemoveTagLVReply) GetCommandOutput ¶
func (x *RemoveTagLVReply) GetCommandOutput() string
func (*RemoveTagLVReply) ProtoMessage ¶
func (*RemoveTagLVReply) ProtoMessage()
func (*RemoveTagLVReply) ProtoReflect ¶ added in v1.1.1
func (x *RemoveTagLVReply) ProtoReflect() protoreflect.Message
func (*RemoveTagLVReply) Reset ¶
func (x *RemoveTagLVReply) Reset()
func (*RemoveTagLVReply) String ¶
func (x *RemoveTagLVReply) String() string
type RemoveTagLVRequest ¶
type RemoveTagLVRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*RemoveTagLVRequest) Descriptor
deprecated
func (*RemoveTagLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTagLVRequest.ProtoReflect.Descriptor instead.
func (*RemoveTagLVRequest) GetName ¶
func (x *RemoveTagLVRequest) GetName() string
func (*RemoveTagLVRequest) GetTags ¶
func (x *RemoveTagLVRequest) GetTags() []string
func (*RemoveTagLVRequest) GetVolumeGroup ¶
func (x *RemoveTagLVRequest) GetVolumeGroup() string
func (*RemoveTagLVRequest) ProtoMessage ¶
func (*RemoveTagLVRequest) ProtoMessage()
func (*RemoveTagLVRequest) ProtoReflect ¶ added in v1.1.1
func (x *RemoveTagLVRequest) ProtoReflect() protoreflect.Message
func (*RemoveTagLVRequest) Reset ¶
func (x *RemoveTagLVRequest) Reset()
func (*RemoveTagLVRequest) String ¶
func (x *RemoveTagLVRequest) String() string
type RemoveVGReply ¶
type RemoveVGReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*RemoveVGReply) Descriptor
deprecated
func (*RemoveVGReply) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVGReply.ProtoReflect.Descriptor instead.
func (*RemoveVGReply) GetCommandOutput ¶
func (x *RemoveVGReply) GetCommandOutput() string
func (*RemoveVGReply) ProtoMessage ¶
func (*RemoveVGReply) ProtoMessage()
func (*RemoveVGReply) ProtoReflect ¶ added in v1.1.1
func (x *RemoveVGReply) ProtoReflect() protoreflect.Message
func (*RemoveVGReply) Reset ¶
func (x *RemoveVGReply) Reset()
func (*RemoveVGReply) String ¶
func (x *RemoveVGReply) String() string
type RemoveVGRequest ¶
type RemoveVGRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RemoveVGRequest) Descriptor
deprecated
func (*RemoveVGRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVGRequest.ProtoReflect.Descriptor instead.
func (*RemoveVGRequest) GetName ¶
func (x *RemoveVGRequest) GetName() string
func (*RemoveVGRequest) ProtoMessage ¶
func (*RemoveVGRequest) ProtoMessage()
func (*RemoveVGRequest) ProtoReflect ¶ added in v1.1.1
func (x *RemoveVGRequest) ProtoReflect() protoreflect.Message
func (*RemoveVGRequest) Reset ¶
func (x *RemoveVGRequest) Reset()
func (*RemoveVGRequest) String ¶
func (x *RemoveVGRequest) String() string
type SetSubpathProjQuotaReply ¶ added in v1.1.1
type SetSubpathProjQuotaReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*SetSubpathProjQuotaReply) Descriptor
deprecated
added in
v1.1.1
func (*SetSubpathProjQuotaReply) Descriptor() ([]byte, []int)
Deprecated: Use SetSubpathProjQuotaReply.ProtoReflect.Descriptor instead.
func (*SetSubpathProjQuotaReply) GetCommandOutput ¶ added in v1.1.1
func (x *SetSubpathProjQuotaReply) GetCommandOutput() string
func (*SetSubpathProjQuotaReply) ProtoMessage ¶ added in v1.1.1
func (*SetSubpathProjQuotaReply) ProtoMessage()
func (*SetSubpathProjQuotaReply) ProtoReflect ¶ added in v1.1.1
func (x *SetSubpathProjQuotaReply) ProtoReflect() protoreflect.Message
func (*SetSubpathProjQuotaReply) Reset ¶ added in v1.1.1
func (x *SetSubpathProjQuotaReply) Reset()
func (*SetSubpathProjQuotaReply) String ¶ added in v1.1.1
func (x *SetSubpathProjQuotaReply) String() string
type SetSubpathProjQuotaRequest ¶ added in v1.1.1
type SetSubpathProjQuotaRequest struct { ProjQuotaSubpath string `protobuf:"bytes,1,opt,name=proj_quota_subpath,json=projQuotaSubpath,proto3" json:"proj_quota_subpath,omitempty"` BlockSoftlimit string `protobuf:"bytes,2,opt,name=block_softlimit,json=blockSoftlimit,proto3" json:"block_softlimit,omitempty"` BlockHardlimit string `protobuf:"bytes,3,opt,name=block_hardlimit,json=blockHardlimit,proto3" json:"block_hardlimit,omitempty"` InodeSoftlimit string `protobuf:"bytes,4,opt,name=inode_softlimit,json=inodeSoftlimit,proto3" json:"inode_softlimit,omitempty"` InodeHardlimit string `protobuf:"bytes,5,opt,name=inode_hardlimit,json=inodeHardlimit,proto3" json:"inode_hardlimit,omitempty"` // contains filtered or unexported fields }
func (*SetSubpathProjQuotaRequest) Descriptor
deprecated
added in
v1.1.1
func (*SetSubpathProjQuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSubpathProjQuotaRequest.ProtoReflect.Descriptor instead.
func (*SetSubpathProjQuotaRequest) GetBlockHardlimit ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) GetBlockHardlimit() string
func (*SetSubpathProjQuotaRequest) GetBlockSoftlimit ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) GetBlockSoftlimit() string
func (*SetSubpathProjQuotaRequest) GetInodeHardlimit ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) GetInodeHardlimit() string
func (*SetSubpathProjQuotaRequest) GetInodeSoftlimit ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) GetInodeSoftlimit() string
func (*SetSubpathProjQuotaRequest) GetProjQuotaSubpath ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) GetProjQuotaSubpath() string
func (*SetSubpathProjQuotaRequest) ProtoMessage ¶ added in v1.1.1
func (*SetSubpathProjQuotaRequest) ProtoMessage()
func (*SetSubpathProjQuotaRequest) ProtoReflect ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) ProtoReflect() protoreflect.Message
func (*SetSubpathProjQuotaRequest) Reset ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) Reset()
func (*SetSubpathProjQuotaRequest) String ¶ added in v1.1.1
func (x *SetSubpathProjQuotaRequest) String() string
type UnimplementedLVMServer ¶ added in v1.1.1
type UnimplementedLVMServer struct { }
UnimplementedLVMServer must be embedded to have forward compatible implementations.
func (UnimplementedLVMServer) AddTagLV ¶ added in v1.1.1
func (UnimplementedLVMServer) AddTagLV(context.Context, *AddTagLVRequest) (*AddTagLVReply, error)
func (UnimplementedLVMServer) CleanPath ¶ added in v1.1.1
func (UnimplementedLVMServer) CleanPath(context.Context, *CleanPathRequest) (*CleanPathReply, error)
func (UnimplementedLVMServer) CloneLV ¶ added in v1.1.1
func (UnimplementedLVMServer) CloneLV(context.Context, *CloneLVRequest) (*CloneLVReply, error)
func (UnimplementedLVMServer) CreateLV ¶ added in v1.1.1
func (UnimplementedLVMServer) CreateLV(context.Context, *CreateLVRequest) (*CreateLVReply, error)
func (UnimplementedLVMServer) CreateNamespace ¶ added in v1.1.1
func (UnimplementedLVMServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceReply, error)
func (UnimplementedLVMServer) CreateVG ¶ added in v1.1.1
func (UnimplementedLVMServer) CreateVG(context.Context, *CreateVGRequest) (*CreateVGReply, error)
func (UnimplementedLVMServer) ListLV ¶ added in v1.1.1
func (UnimplementedLVMServer) ListLV(context.Context, *ListLVRequest) (*ListLVReply, error)
func (UnimplementedLVMServer) ListNamespace ¶ added in v1.1.1
func (UnimplementedLVMServer) ListNamespace(context.Context, *ListNamespaceRequest) (*ListNamespaceReply, error)
func (UnimplementedLVMServer) ListVG ¶ added in v1.1.1
func (UnimplementedLVMServer) ListVG(context.Context, *ListVGRequest) (*ListVGReply, error)
func (UnimplementedLVMServer) RemoveLV ¶ added in v1.1.1
func (UnimplementedLVMServer) RemoveLV(context.Context, *RemoveLVRequest) (*RemoveLVReply, error)
func (UnimplementedLVMServer) RemoveNamespace ¶ added in v1.1.1
func (UnimplementedLVMServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceReply, error)
func (UnimplementedLVMServer) RemoveTagLV ¶ added in v1.1.1
func (UnimplementedLVMServer) RemoveTagLV(context.Context, *RemoveTagLVRequest) (*RemoveTagLVReply, error)
func (UnimplementedLVMServer) RemoveVG ¶ added in v1.1.1
func (UnimplementedLVMServer) RemoveVG(context.Context, *CreateVGRequest) (*RemoveVGReply, error)
type UnimplementedProjQuotaServer ¶ added in v1.1.1
type UnimplementedProjQuotaServer struct { }
UnimplementedProjQuotaServer must be embedded to have forward compatible implementations.
func (UnimplementedProjQuotaServer) CreateProjQuotaSubpath ¶ added in v1.1.1
func (UnimplementedProjQuotaServer) CreateProjQuotaSubpath(context.Context, *CreateProjQuotaSubpathRequest) (*CreateProjQuotaSubpathReply, error)
func (UnimplementedProjQuotaServer) RemoveProjQuotaSubpath ¶ added in v1.1.1
func (UnimplementedProjQuotaServer) RemoveProjQuotaSubpath(context.Context, *RemoveProjQuotaSubpathRequest) (*RemoveProjQuotaSubpathReply, error)
func (UnimplementedProjQuotaServer) SetSubpathProjQuota ¶ added in v1.1.1
func (UnimplementedProjQuotaServer) SetSubpathProjQuota(context.Context, *SetSubpathProjQuotaRequest) (*SetSubpathProjQuotaReply, error)
type UnsafeLVMServer ¶ added in v1.1.1
type UnsafeLVMServer interface {
// contains filtered or unexported methods
}
UnsafeLVMServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LVMServer will result in compilation errors.
type UnsafeProjQuotaServer ¶ added in v1.1.1
type UnsafeProjQuotaServer interface {
// contains filtered or unexported methods
}
UnsafeProjQuotaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjQuotaServer will result in compilation errors.
type VolumeActivationSkipped ¶
type VolumeActivationSkipped rune
VolumeActivationSkipped is volume activation
const ( VolumeActivationSkippedIsSkipped VolumeActivationSkipped = 's' VolumeActivationSkippedIsNotSkipped VolumeActivationSkipped = '-' )
activation
type VolumeAllocation ¶
type VolumeAllocation rune
VolumeAllocation is volume allocation policy
const ( VolumeAllocationAnywhere VolumeAllocation = 'a' VolumeAllocationContiguous VolumeAllocation = 'c' VolumeAllocationInherited VolumeAllocation = 'i' VolumeAllocationCling VolumeAllocation = 'l' VolumeAllocationNormal VolumeAllocation = 'n' VolumeAllocationAnywhereLocked VolumeAllocation = 'A' VolumeAllocationContiguousLocked VolumeAllocation = 'C' VolumeAllocationInheritedLocked VolumeAllocation = 'I' VolumeAllocationClingLocked VolumeAllocation = 'L' VolumeAllocationNormalLocked VolumeAllocation = 'N' )
allocations
type VolumeFixedMinor ¶
type VolumeFixedMinor rune
VolumeFixedMinor is volume fixed minor
const ( VolumeFixedMinorEnabled VolumeFixedMinor = 'm' VolumeFixedMinorDisabled VolumeFixedMinor = '-' )
fixed minor
type VolumeGroup ¶
type VolumeGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` FreeSize uint64 `protobuf:"varint,3,opt,name=free_size,json=freeSize,proto3" json:"free_size,omitempty"` Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` PvCount uint64 `protobuf:"varint,6,opt,name=pv_count,json=pvCount,proto3" json:"pv_count,omitempty"` // contains filtered or unexported fields }
func (*VolumeGroup) Descriptor
deprecated
func (*VolumeGroup) Descriptor() ([]byte, []int)
Deprecated: Use VolumeGroup.ProtoReflect.Descriptor instead.
func (*VolumeGroup) GetFreeSize ¶
func (x *VolumeGroup) GetFreeSize() uint64
func (*VolumeGroup) GetName ¶
func (x *VolumeGroup) GetName() string
func (*VolumeGroup) GetPvCount ¶
func (x *VolumeGroup) GetPvCount() uint64
func (*VolumeGroup) GetSize ¶
func (x *VolumeGroup) GetSize() uint64
func (*VolumeGroup) GetTags ¶
func (x *VolumeGroup) GetTags() []string
func (*VolumeGroup) GetUuid ¶
func (x *VolumeGroup) GetUuid() string
func (*VolumeGroup) ProtoMessage ¶
func (*VolumeGroup) ProtoMessage()
func (*VolumeGroup) ProtoReflect ¶ added in v1.1.1
func (x *VolumeGroup) ProtoReflect() protoreflect.Message
func (*VolumeGroup) Reset ¶
func (x *VolumeGroup) Reset()
func (*VolumeGroup) String ¶
func (x *VolumeGroup) String() string
type VolumeHealth ¶
type VolumeHealth rune
VolumeHealth is volume health
const ( VolumeHealthOK VolumeHealth = '-' VolumeHealthPartial VolumeHealth = 'p' VolumeHealthRefreshNeeded VolumeHealth = 'r' VolumeHealthMismatchesExist VolumeHealth = 'm' VolumeHealthWritemostly VolumeHealth = 'w' )
health
type VolumeOpen ¶
type VolumeOpen rune
VolumeOpen is volume open
const ( VolumeOpenIsOpen VolumeOpen = 'o' VolumeOpenIsNotOpen VolumeOpen = '-' )
open
type VolumePermissions ¶
type VolumePermissions rune
VolumePermissions is volume permissions
const ( VolumePermissionsWriteable VolumePermissions = 'w' VolumePermissionsReadOnly VolumePermissions = 'r' VolumePermissionsReadOnlyActivation VolumePermissions = 'R' )
permissions
type VolumeState ¶
type VolumeState rune
VolumeState is volume state
const ( VolumeStateActive VolumeState = 'a' VolumeStateSuspended VolumeState = 's' VolumeStateInvalidSnapshot VolumeState = 'I' VolumeStateInvalidSuspendedSnapshot VolumeState = 'S' VolumeStateSnapshotMergeFailed VolumeState = 'm' VolumeStateSuspendedSnapshotMergeFailed VolumeState = 'M' VolumeStateMappedDevicePresentWithoutTables VolumeState = 'd' VolumeStateMappedDevicePresentWithInactiveTable VolumeState = 'i' )
states
type VolumeTargetType ¶
type VolumeTargetType rune
VolumeTargetType is volume taget type
const ( VolumeTargetTypeMirror VolumeTargetType = 'm' VolumeTargetTypeRAID VolumeTargetType = 'r' VolumeTargetTypeSnapshot VolumeTargetType = 's' VolumeTargetTypeThin VolumeTargetType = 't' VolumeTargetTypeUnknown VolumeTargetType = 'u' VolumeTargetTypeVirtual VolumeTargetType = 'v' )
target type
type VolumeType ¶
type VolumeType byte
VolumeType is volume type
const ( VolumeTypeMirrored VolumeType = 'm' VolumeTypeMirroredWithoutSync VolumeType = 'M' VolumeTypeOrigin VolumeType = 'o' VolumeTypeOriginWithMergingSnapshot VolumeType = 'O' VolumeTypeRAID VolumeType = 'r' VolumeTypeRAIDWithoutSync VolumeType = 'R' VolumeTypeSnapshot VolumeType = 's' VolumeTypeMergingSnapshot VolumeType = 'S' VolumeTypePVMove VolumeType = 'p' VolumeTypeVirtualMirror VolumeType = 'v' VolumeTypeVirtualRaidImage VolumeType = 'i' VolumeTypeRaidImageOutOfSync VolumeType = 'I' VolumeTypeMirrorLog VolumeType = 'l' VolumeTypeUnderConversion VolumeType = 'c' VolumeTypeThin VolumeType = 'V' VolumeTypeThinPool VolumeType = 't' VolumeTypeThinPoolData VolumeType = 'T' VolumeTypeRaidOrThinPoolMetadata VolumeType = 'e' )
types
type VolumeZeroing ¶
type VolumeZeroing rune
VolumeZeroing is volume zeroing
const ( VolumeZeroingIsZeroing VolumeZeroing = 'z' VolumeZeroingIsNonZeroing VolumeZeroing = '-' )
zeroing