Documentation ¶
Index ¶
- Variables
- func EnsureFolder(target string) error
- func RegisterLVMServer(s grpc.ServiceRegistrar, srv LVMServer)
- 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 CreateSnapshotReply
- func (*CreateSnapshotReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotReply) GetCommandOutput() string
- func (*CreateSnapshotReply) ProtoMessage()
- func (x *CreateSnapshotReply) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotReply) Reset()
- func (x *CreateSnapshotReply) String() string
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotRequest) GetLvName() string
- func (x *CreateSnapshotRequest) GetSize() uint64
- func (x *CreateSnapshotRequest) GetSnapName() string
- func (x *CreateSnapshotRequest) GetVolumeGroup() string
- func (*CreateSnapshotRequest) ProtoMessage()
- func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotRequest) Reset()
- func (x *CreateSnapshotRequest) 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 ExpandLVReply
- type ExpandLVRequest
- func (*ExpandLVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandLVRequest) GetName() string
- func (x *ExpandLVRequest) GetSize() uint64
- func (x *ExpandLVRequest) GetVolumeGroup() string
- func (*ExpandLVRequest) ProtoMessage()
- func (x *ExpandLVRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandLVRequest) Reset()
- func (x *ExpandLVRequest) String() string
- type LV
- type LVAttributes
- type LVMClient
- type LVMServer
- type ListLVReply
- type ListLVRequest
- 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 PV
- 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 RemoveSnapshotReply
- func (*RemoveSnapshotReply) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSnapshotReply) GetCommandOutput() string
- func (*RemoveSnapshotReply) ProtoMessage()
- func (x *RemoveSnapshotReply) ProtoReflect() protoreflect.Message
- func (x *RemoveSnapshotReply) Reset()
- func (x *RemoveSnapshotReply) String() string
- type RemoveSnapshotRequest
- func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSnapshotRequest) GetSnapName() string
- func (x *RemoveSnapshotRequest) GetVolumeGroup() string
- func (*RemoveSnapshotRequest) ProtoMessage()
- func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSnapshotRequest) Reset()
- func (x *RemoveSnapshotRequest) 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 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) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotReply, error)
- func (UnimplementedLVMServer) CreateVG(context.Context, *CreateVGRequest) (*CreateVGReply, error)
- func (UnimplementedLVMServer) ExpandLV(context.Context, *ExpandLVRequest) (*ExpandLVReply, error)
- func (UnimplementedLVMServer) ListLV(context.Context, *ListLVRequest) (*ListLVReply, error)
- func (UnimplementedLVMServer) ListVG(context.Context, *ListVGRequest) (*ListVGReply, error)
- func (UnimplementedLVMServer) RemoveLV(context.Context, *RemoveLVRequest) (*RemoveLVReply, error)
- func (UnimplementedLVMServer) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotReply, error)
- func (UnimplementedLVMServer) RemoveTagLV(context.Context, *RemoveTagLVRequest) (*RemoveTagLVReply, error)
- func (UnimplementedLVMServer) RemoveVG(context.Context, *CreateVGRequest) (*RemoveVGReply, error)
- type UnsafeLVMServer
- 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 LVM_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.LVM", HandlerType: (*LVMServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListLV", Handler: _LVM_ListLV_Handler, }, { MethodName: "CreateLV", Handler: _LVM_CreateLV_Handler, }, { MethodName: "RemoveLV", Handler: _LVM_RemoveLV_Handler, }, { MethodName: "CloneLV", Handler: _LVM_CloneLV_Handler, }, { MethodName: "ExpandLV", Handler: _LVM_ExpandLV_Handler, }, { MethodName: "CreateSnapshot", Handler: _LVM_CreateSnapshot_Handler, }, { MethodName: "RemoveSnapshot", Handler: _LVM_RemoveSnapshot_Handler, }, { MethodName: "AddTagLV", Handler: _LVM_AddTagLV_Handler, }, { MethodName: "RemoveTagLV", Handler: _LVM_RemoveTagLV_Handler, }, { MethodName: "ListVG", Handler: _LVM_ListVG_Handler, }, { MethodName: "CreateVG", Handler: _LVM_CreateVG_Handler, }, { MethodName: "RemoveVG", Handler: _LVM_RemoveVG_Handler, }, { MethodName: "CleanPath", Handler: _LVM_CleanPath_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lvm.proto", }
LVM_ServiceDesc is the grpc.ServiceDesc for LVM service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLVMServer ¶
func RegisterLVMServer(s grpc.ServiceRegistrar, srv LVMServer)
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 ¶
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 ¶
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
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 ¶
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
func (*CleanPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use CleanPathRequest.ProtoReflect.Descriptor instead.
func (*CleanPathRequest) GetPath ¶
func (x *CleanPathRequest) GetPath() string
func (*CleanPathRequest) ProtoMessage ¶
func (*CleanPathRequest) ProtoMessage()
func (*CleanPathRequest) ProtoReflect ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (x *CreateLVRequest) ProtoReflect() protoreflect.Message
func (*CreateLVRequest) Reset ¶
func (x *CreateLVRequest) Reset()
func (*CreateLVRequest) String ¶
func (x *CreateLVRequest) String() string
type CreateSnapshotReply ¶
type CreateSnapshotReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*CreateSnapshotReply) Descriptor
deprecated
func (*CreateSnapshotReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotReply.ProtoReflect.Descriptor instead.
func (*CreateSnapshotReply) GetCommandOutput ¶
func (x *CreateSnapshotReply) GetCommandOutput() string
func (*CreateSnapshotReply) ProtoMessage ¶
func (*CreateSnapshotReply) ProtoMessage()
func (*CreateSnapshotReply) ProtoReflect ¶
func (x *CreateSnapshotReply) ProtoReflect() protoreflect.Message
func (*CreateSnapshotReply) Reset ¶
func (x *CreateSnapshotReply) Reset()
func (*CreateSnapshotReply) String ¶
func (x *CreateSnapshotReply) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` SnapName string `protobuf:"bytes,2,opt,name=snap_name,json=snapName,proto3" json:"snap_name,omitempty"` LvName string `protobuf:"bytes,3,opt,name=lv_name,json=lvName,proto3" json:"lv_name,omitempty"` Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*CreateSnapshotRequest) Descriptor
deprecated
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetLvName ¶
func (x *CreateSnapshotRequest) GetLvName() string
func (*CreateSnapshotRequest) GetSize ¶
func (x *CreateSnapshotRequest) GetSize() uint64
func (*CreateSnapshotRequest) GetSnapName ¶
func (x *CreateSnapshotRequest) GetSnapName() string
func (*CreateSnapshotRequest) GetVolumeGroup ¶
func (x *CreateSnapshotRequest) GetVolumeGroup() string
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect ¶
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset ¶
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (x *CreateSnapshotRequest) 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 ¶
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 ¶
func (x *CreateVGRequest) ProtoReflect() protoreflect.Message
func (*CreateVGRequest) Reset ¶
func (x *CreateVGRequest) Reset()
func (*CreateVGRequest) String ¶
func (x *CreateVGRequest) String() string
type ExpandLVReply ¶
type ExpandLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*ExpandLVReply) Descriptor
deprecated
func (*ExpandLVReply) Descriptor() ([]byte, []int)
Deprecated: Use ExpandLVReply.ProtoReflect.Descriptor instead.
func (*ExpandLVReply) GetCommandOutput ¶
func (x *ExpandLVReply) GetCommandOutput() string
func (*ExpandLVReply) ProtoMessage ¶
func (*ExpandLVReply) ProtoMessage()
func (*ExpandLVReply) ProtoReflect ¶
func (x *ExpandLVReply) ProtoReflect() protoreflect.Message
func (*ExpandLVReply) Reset ¶
func (x *ExpandLVReply) Reset()
func (*ExpandLVReply) String ¶
func (x *ExpandLVReply) String() string
type ExpandLVRequest ¶
type ExpandLVRequest 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"` // contains filtered or unexported fields }
func (*ExpandLVRequest) Descriptor
deprecated
func (*ExpandLVRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpandLVRequest.ProtoReflect.Descriptor instead.
func (*ExpandLVRequest) GetName ¶
func (x *ExpandLVRequest) GetName() string
func (*ExpandLVRequest) GetSize ¶
func (x *ExpandLVRequest) GetSize() uint64
func (*ExpandLVRequest) GetVolumeGroup ¶
func (x *ExpandLVRequest) GetVolumeGroup() string
func (*ExpandLVRequest) ProtoMessage ¶
func (*ExpandLVRequest) ProtoMessage()
func (*ExpandLVRequest) ProtoReflect ¶
func (x *ExpandLVRequest) ProtoReflect() protoreflect.Message
func (*ExpandLVRequest) Reset ¶
func (x *ExpandLVRequest) Reset()
func (*ExpandLVRequest) String ¶
func (x *ExpandLVRequest) 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) ExpandLV(ctx context.Context, in *ExpandLVRequest, opts ...grpc.CallOption) (*ExpandLVReply, error) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotReply, error) RemoveSnapshot(ctx context.Context, in *RemoveSnapshotRequest, opts ...grpc.CallOption) (*RemoveSnapshotReply, 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) }
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.ClientConnInterface) 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) ExpandLV(context.Context, *ExpandLVRequest) (*ExpandLVReply, error) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotReply, error) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotReply, 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) // contains filtered or unexported methods }
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 ¶
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 ¶
func (x *ListLVRequest) ProtoReflect() protoreflect.Message
func (*ListLVRequest) Reset ¶
func (x *ListLVRequest) Reset()
func (*ListLVRequest) String ¶
func (x *ListLVRequest) 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_Allocation) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Allocation) Enum ¶
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 ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_Health) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Health) Enum ¶
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 ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_Permissions) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Permissions) Enum ¶
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 ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_State) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_State) Enum ¶
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 ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_TargetType) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_TargetType) Enum ¶
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 ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_Type) Descriptor() protoreflect.EnumDescriptor
func (LogicalVolume_Attributes_Type) Enum ¶
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 ¶
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 ¶
func (LogicalVolume_Attributes_Type) Type() protoreflect.EnumType
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 ¶
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 ¶
func (x *RemoveLVRequest) ProtoReflect() protoreflect.Message
func (*RemoveLVRequest) Reset ¶
func (x *RemoveLVRequest) Reset()
func (*RemoveLVRequest) String ¶
func (x *RemoveLVRequest) String() string
type RemoveSnapshotReply ¶
type RemoveSnapshotReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` // contains filtered or unexported fields }
func (*RemoveSnapshotReply) Descriptor
deprecated
func (*RemoveSnapshotReply) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSnapshotReply.ProtoReflect.Descriptor instead.
func (*RemoveSnapshotReply) GetCommandOutput ¶
func (x *RemoveSnapshotReply) GetCommandOutput() string
func (*RemoveSnapshotReply) ProtoMessage ¶
func (*RemoveSnapshotReply) ProtoMessage()
func (*RemoveSnapshotReply) ProtoReflect ¶
func (x *RemoveSnapshotReply) ProtoReflect() protoreflect.Message
func (*RemoveSnapshotReply) Reset ¶
func (x *RemoveSnapshotReply) Reset()
func (*RemoveSnapshotReply) String ¶
func (x *RemoveSnapshotReply) String() string
type RemoveSnapshotRequest ¶
type RemoveSnapshotRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` SnapName string `protobuf:"bytes,2,opt,name=snap_name,json=snapName,proto3" json:"snap_name,omitempty"` // contains filtered or unexported fields }
func (*RemoveSnapshotRequest) Descriptor
deprecated
func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RemoveSnapshotRequest) GetSnapName ¶
func (x *RemoveSnapshotRequest) GetSnapName() string
func (*RemoveSnapshotRequest) GetVolumeGroup ¶
func (x *RemoveSnapshotRequest) GetVolumeGroup() string
func (*RemoveSnapshotRequest) ProtoMessage ¶
func (*RemoveSnapshotRequest) ProtoMessage()
func (*RemoveSnapshotRequest) ProtoReflect ¶
func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message
func (*RemoveSnapshotRequest) Reset ¶
func (x *RemoveSnapshotRequest) Reset()
func (*RemoveSnapshotRequest) String ¶
func (x *RemoveSnapshotRequest) 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 ¶
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 ¶
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 ¶
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 ¶
func (x *RemoveVGRequest) ProtoReflect() protoreflect.Message
func (*RemoveVGRequest) Reset ¶
func (x *RemoveVGRequest) Reset()
func (*RemoveVGRequest) String ¶
func (x *RemoveVGRequest) String() string
type UnimplementedLVMServer ¶
type UnimplementedLVMServer struct { }
UnimplementedLVMServer must be embedded to have forward compatible implementations.
func (UnimplementedLVMServer) AddTagLV ¶
func (UnimplementedLVMServer) AddTagLV(context.Context, *AddTagLVRequest) (*AddTagLVReply, error)
func (UnimplementedLVMServer) CleanPath ¶
func (UnimplementedLVMServer) CleanPath(context.Context, *CleanPathRequest) (*CleanPathReply, error)
func (UnimplementedLVMServer) CloneLV ¶
func (UnimplementedLVMServer) CloneLV(context.Context, *CloneLVRequest) (*CloneLVReply, error)
func (UnimplementedLVMServer) CreateLV ¶
func (UnimplementedLVMServer) CreateLV(context.Context, *CreateLVRequest) (*CreateLVReply, error)
func (UnimplementedLVMServer) CreateSnapshot ¶
func (UnimplementedLVMServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotReply, error)
func (UnimplementedLVMServer) CreateVG ¶
func (UnimplementedLVMServer) CreateVG(context.Context, *CreateVGRequest) (*CreateVGReply, error)
func (UnimplementedLVMServer) ExpandLV ¶
func (UnimplementedLVMServer) ExpandLV(context.Context, *ExpandLVRequest) (*ExpandLVReply, error)
func (UnimplementedLVMServer) ListLV ¶
func (UnimplementedLVMServer) ListLV(context.Context, *ListLVRequest) (*ListLVReply, error)
func (UnimplementedLVMServer) ListVG ¶
func (UnimplementedLVMServer) ListVG(context.Context, *ListVGRequest) (*ListVGReply, error)
func (UnimplementedLVMServer) RemoveLV ¶
func (UnimplementedLVMServer) RemoveLV(context.Context, *RemoveLVRequest) (*RemoveLVReply, error)
func (UnimplementedLVMServer) RemoveSnapshot ¶
func (UnimplementedLVMServer) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotReply, error)
func (UnimplementedLVMServer) RemoveTagLV ¶
func (UnimplementedLVMServer) RemoveTagLV(context.Context, *RemoveTagLVRequest) (*RemoveTagLVReply, error)
func (UnimplementedLVMServer) RemoveVG ¶
func (UnimplementedLVMServer) RemoveVG(context.Context, *CreateVGRequest) (*RemoveVGReply, error)
type UnsafeLVMServer ¶
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 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 ¶
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