Documentation ¶
Index ¶
- Variables
- func RegisterLVMServer(s *grpc.Server, srv LVMServer)
- type AddTagLVReply
- func (*AddTagLVReply) Descriptor() ([]byte, []int)
- func (m *AddTagLVReply) GetCommandOutput() string
- func (*AddTagLVReply) ProtoMessage()
- func (m *AddTagLVReply) Reset()
- func (m *AddTagLVReply) String() string
- func (m *AddTagLVReply) XXX_DiscardUnknown()
- func (m *AddTagLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddTagLVReply) XXX_Merge(src proto.Message)
- func (m *AddTagLVReply) XXX_Size() int
- func (m *AddTagLVReply) XXX_Unmarshal(b []byte) error
- type AddTagLVRequest
- func (*AddTagLVRequest) Descriptor() ([]byte, []int)
- func (m *AddTagLVRequest) GetName() string
- func (m *AddTagLVRequest) GetTags() []string
- func (m *AddTagLVRequest) GetVolumeGroup() string
- func (*AddTagLVRequest) ProtoMessage()
- func (m *AddTagLVRequest) Reset()
- func (m *AddTagLVRequest) String() string
- func (m *AddTagLVRequest) XXX_DiscardUnknown()
- func (m *AddTagLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddTagLVRequest) XXX_Merge(src proto.Message)
- func (m *AddTagLVRequest) XXX_Size() int
- func (m *AddTagLVRequest) XXX_Unmarshal(b []byte) error
- type CloneLVReply
- func (*CloneLVReply) Descriptor() ([]byte, []int)
- func (m *CloneLVReply) GetCommandOutput() string
- func (*CloneLVReply) ProtoMessage()
- func (m *CloneLVReply) Reset()
- func (m *CloneLVReply) String() string
- func (m *CloneLVReply) XXX_DiscardUnknown()
- func (m *CloneLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloneLVReply) XXX_Merge(src proto.Message)
- func (m *CloneLVReply) XXX_Size() int
- func (m *CloneLVReply) XXX_Unmarshal(b []byte) error
- type CloneLVRequest
- func (*CloneLVRequest) Descriptor() ([]byte, []int)
- func (m *CloneLVRequest) GetDestName() string
- func (m *CloneLVRequest) GetSourceName() string
- func (*CloneLVRequest) ProtoMessage()
- func (m *CloneLVRequest) Reset()
- func (m *CloneLVRequest) String() string
- func (m *CloneLVRequest) XXX_DiscardUnknown()
- func (m *CloneLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloneLVRequest) XXX_Merge(src proto.Message)
- func (m *CloneLVRequest) XXX_Size() int
- func (m *CloneLVRequest) XXX_Unmarshal(b []byte) error
- type CreateLVReply
- func (*CreateLVReply) Descriptor() ([]byte, []int)
- func (m *CreateLVReply) GetCommandOutput() string
- func (*CreateLVReply) ProtoMessage()
- func (m *CreateLVReply) Reset()
- func (m *CreateLVReply) String() string
- func (m *CreateLVReply) XXX_DiscardUnknown()
- func (m *CreateLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateLVReply) XXX_Merge(src proto.Message)
- func (m *CreateLVReply) XXX_Size() int
- func (m *CreateLVReply) XXX_Unmarshal(b []byte) error
- type CreateLVRequest
- func (*CreateLVRequest) Descriptor() ([]byte, []int)
- func (m *CreateLVRequest) GetMirrors() uint32
- func (m *CreateLVRequest) GetName() string
- func (m *CreateLVRequest) GetSize() uint64
- func (m *CreateLVRequest) GetTags() []string
- func (m *CreateLVRequest) GetVolumeGroup() string
- func (*CreateLVRequest) ProtoMessage()
- func (m *CreateLVRequest) Reset()
- func (m *CreateLVRequest) String() string
- func (m *CreateLVRequest) XXX_DiscardUnknown()
- func (m *CreateLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateLVRequest) XXX_Merge(src proto.Message)
- func (m *CreateLVRequest) XXX_Size() int
- func (m *CreateLVRequest) XXX_Unmarshal(b []byte) error
- type CreatePVReply
- func (*CreatePVReply) Descriptor() ([]byte, []int)
- func (m *CreatePVReply) GetCommandOutput() string
- func (*CreatePVReply) ProtoMessage()
- func (m *CreatePVReply) Reset()
- func (m *CreatePVReply) String() string
- func (m *CreatePVReply) XXX_DiscardUnknown()
- func (m *CreatePVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePVReply) XXX_Merge(src proto.Message)
- func (m *CreatePVReply) XXX_Size() int
- func (m *CreatePVReply) XXX_Unmarshal(b []byte) error
- type CreatePVRequest
- func (*CreatePVRequest) Descriptor() ([]byte, []int)
- func (m *CreatePVRequest) GetBlock() string
- func (*CreatePVRequest) ProtoMessage()
- func (m *CreatePVRequest) Reset()
- func (m *CreatePVRequest) String() string
- func (m *CreatePVRequest) XXX_DiscardUnknown()
- func (m *CreatePVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePVRequest) XXX_Merge(src proto.Message)
- func (m *CreatePVRequest) XXX_Size() int
- func (m *CreatePVRequest) XXX_Unmarshal(b []byte) error
- type CreateVGReply
- func (*CreateVGReply) Descriptor() ([]byte, []int)
- func (m *CreateVGReply) GetCommandOutput() string
- func (*CreateVGReply) ProtoMessage()
- func (m *CreateVGReply) Reset()
- func (m *CreateVGReply) String() string
- func (m *CreateVGReply) XXX_DiscardUnknown()
- func (m *CreateVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateVGReply) XXX_Merge(src proto.Message)
- func (m *CreateVGReply) XXX_Size() int
- func (m *CreateVGReply) XXX_Unmarshal(b []byte) error
- type CreateVGRequest
- func (*CreateVGRequest) Descriptor() ([]byte, []int)
- func (m *CreateVGRequest) GetName() string
- func (m *CreateVGRequest) GetPhysicalVolume() string
- func (m *CreateVGRequest) GetTags() []string
- func (*CreateVGRequest) ProtoMessage()
- func (m *CreateVGRequest) Reset()
- func (m *CreateVGRequest) String() string
- func (m *CreateVGRequest) XXX_DiscardUnknown()
- func (m *CreateVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateVGRequest) XXX_Merge(src proto.Message)
- func (m *CreateVGRequest) XXX_Size() int
- func (m *CreateVGRequest) XXX_Unmarshal(b []byte) error
- type DestoryReply
- func (*DestoryReply) Descriptor() ([]byte, []int)
- func (m *DestoryReply) GetCommandOutput() string
- func (*DestoryReply) ProtoMessage()
- func (m *DestoryReply) Reset()
- func (m *DestoryReply) String() string
- func (m *DestoryReply) XXX_DiscardUnknown()
- func (m *DestoryReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DestoryReply) XXX_Merge(src proto.Message)
- func (m *DestoryReply) XXX_Size() int
- func (m *DestoryReply) XXX_Unmarshal(b []byte) error
- type DestoryRequest
- func (*DestoryRequest) Descriptor() ([]byte, []int)
- func (m *DestoryRequest) GetBlock() string
- func (*DestoryRequest) ProtoMessage()
- func (m *DestoryRequest) Reset()
- func (m *DestoryRequest) String() string
- func (m *DestoryRequest) XXX_DiscardUnknown()
- func (m *DestoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DestoryRequest) XXX_Merge(src proto.Message)
- func (m *DestoryRequest) XXX_Size() int
- func (m *DestoryRequest) XXX_Unmarshal(b []byte) error
- type ExtendLVReply
- func (*ExtendLVReply) Descriptor() ([]byte, []int)
- func (m *ExtendLVReply) GetCommandOutput() string
- func (*ExtendLVReply) ProtoMessage()
- func (m *ExtendLVReply) Reset()
- func (m *ExtendLVReply) String() string
- func (m *ExtendLVReply) XXX_DiscardUnknown()
- func (m *ExtendLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendLVReply) XXX_Merge(src proto.Message)
- func (m *ExtendLVReply) XXX_Size() int
- func (m *ExtendLVReply) XXX_Unmarshal(b []byte) error
- type ExtendLVRequest
- func (*ExtendLVRequest) Descriptor() ([]byte, []int)
- func (m *ExtendLVRequest) GetName() string
- func (m *ExtendLVRequest) GetSize() string
- func (m *ExtendLVRequest) GetVolumeGroup() string
- func (*ExtendLVRequest) ProtoMessage()
- func (m *ExtendLVRequest) Reset()
- func (m *ExtendLVRequest) String() string
- func (m *ExtendLVRequest) XXX_DiscardUnknown()
- func (m *ExtendLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendLVRequest) XXX_Merge(src proto.Message)
- func (m *ExtendLVRequest) XXX_Size() int
- func (m *ExtendLVRequest) XXX_Unmarshal(b []byte) error
- type ExtendVGReply
- func (*ExtendVGReply) Descriptor() ([]byte, []int)
- func (m *ExtendVGReply) GetCommandOutput() string
- func (*ExtendVGReply) ProtoMessage()
- func (m *ExtendVGReply) Reset()
- func (m *ExtendVGReply) String() string
- func (m *ExtendVGReply) XXX_DiscardUnknown()
- func (m *ExtendVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendVGReply) XXX_Merge(src proto.Message)
- func (m *ExtendVGReply) XXX_Size() int
- func (m *ExtendVGReply) XXX_Unmarshal(b []byte) error
- type ExtendVGRequest
- func (*ExtendVGRequest) Descriptor() ([]byte, []int)
- func (m *ExtendVGRequest) GetName() string
- func (m *ExtendVGRequest) GetPhysicalVolume() string
- func (*ExtendVGRequest) ProtoMessage()
- func (m *ExtendVGRequest) Reset()
- func (m *ExtendVGRequest) String() string
- func (m *ExtendVGRequest) XXX_DiscardUnknown()
- func (m *ExtendVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendVGRequest) XXX_Merge(src proto.Message)
- func (m *ExtendVGRequest) XXX_Size() int
- func (m *ExtendVGRequest) XXX_Unmarshal(b []byte) error
- type GetPVNumReply
- func (*GetPVNumReply) Descriptor() ([]byte, []int)
- func (m *GetPVNumReply) GetCommandOutput() string
- func (*GetPVNumReply) ProtoMessage()
- func (m *GetPVNumReply) Reset()
- func (m *GetPVNumReply) String() string
- func (m *GetPVNumReply) XXX_DiscardUnknown()
- func (m *GetPVNumReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPVNumReply) XXX_Merge(src proto.Message)
- func (m *GetPVNumReply) XXX_Size() int
- func (m *GetPVNumReply) XXX_Unmarshal(b []byte) error
- type LVMClient
- type LVMServer
- type ListLVReply
- func (*ListLVReply) Descriptor() ([]byte, []int)
- func (m *ListLVReply) GetVolumes() []*LogicalVolume
- func (*ListLVReply) ProtoMessage()
- func (m *ListLVReply) Reset()
- func (m *ListLVReply) String() string
- func (m *ListLVReply) XXX_DiscardUnknown()
- func (m *ListLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListLVReply) XXX_Merge(src proto.Message)
- func (m *ListLVReply) XXX_Size() int
- func (m *ListLVReply) XXX_Unmarshal(b []byte) error
- type ListLVRequest
- func (*ListLVRequest) Descriptor() ([]byte, []int)
- func (m *ListLVRequest) GetVolumeGroup() string
- func (*ListLVRequest) ProtoMessage()
- func (m *ListLVRequest) Reset()
- func (m *ListLVRequest) String() string
- func (m *ListLVRequest) XXX_DiscardUnknown()
- func (m *ListLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListLVRequest) XXX_Merge(src proto.Message)
- func (m *ListLVRequest) XXX_Size() int
- func (m *ListLVRequest) XXX_Unmarshal(b []byte) error
- type ListPVReply
- func (*ListPVReply) Descriptor() ([]byte, []int)
- func (m *ListPVReply) GetPvinfos() []*PVInfo
- func (*ListPVReply) ProtoMessage()
- func (m *ListPVReply) Reset()
- func (m *ListPVReply) String() string
- func (m *ListPVReply) XXX_DiscardUnknown()
- func (m *ListPVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPVReply) XXX_Merge(src proto.Message)
- func (m *ListPVReply) XXX_Size() int
- func (m *ListPVReply) XXX_Unmarshal(b []byte) error
- type ListPVRequest
- func (*ListPVRequest) Descriptor() ([]byte, []int)
- func (*ListPVRequest) ProtoMessage()
- func (m *ListPVRequest) Reset()
- func (m *ListPVRequest) String() string
- func (m *ListPVRequest) XXX_DiscardUnknown()
- func (m *ListPVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPVRequest) XXX_Merge(src proto.Message)
- func (m *ListPVRequest) XXX_Size() int
- func (m *ListPVRequest) XXX_Unmarshal(b []byte) error
- type ListVGReply
- func (*ListVGReply) Descriptor() ([]byte, []int)
- func (m *ListVGReply) GetVolumeGroups() []*VolumeGroup
- func (*ListVGReply) ProtoMessage()
- func (m *ListVGReply) Reset()
- func (m *ListVGReply) String() string
- func (m *ListVGReply) XXX_DiscardUnknown()
- func (m *ListVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVGReply) XXX_Merge(src proto.Message)
- func (m *ListVGReply) XXX_Size() int
- func (m *ListVGReply) XXX_Unmarshal(b []byte) error
- type ListVGRequest
- func (*ListVGRequest) Descriptor() ([]byte, []int)
- func (*ListVGRequest) ProtoMessage()
- func (m *ListVGRequest) Reset()
- func (m *ListVGRequest) String() string
- func (m *ListVGRequest) XXX_DiscardUnknown()
- func (m *ListVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVGRequest) XXX_Merge(src proto.Message)
- func (m *ListVGRequest) XXX_Size() int
- func (m *ListVGRequest) XXX_Unmarshal(b []byte) error
- type LogicalVolume
- func (*LogicalVolume) Descriptor() ([]byte, []int)
- func (m *LogicalVolume) GetActualDevMajorNumber() uint32
- func (m *LogicalVolume) GetActualDevMinorNumber() uint32
- func (m *LogicalVolume) GetAttributes() *LogicalVolume_Attributes
- func (m *LogicalVolume) GetCopyPercent() string
- func (m *LogicalVolume) GetName() string
- func (m *LogicalVolume) GetSize() uint64
- func (m *LogicalVolume) GetTags() []string
- func (m *LogicalVolume) GetUuid() string
- func (*LogicalVolume) ProtoMessage()
- func (m *LogicalVolume) Reset()
- func (m *LogicalVolume) String() string
- func (m *LogicalVolume) XXX_DiscardUnknown()
- func (m *LogicalVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalVolume) XXX_Merge(src proto.Message)
- func (m *LogicalVolume) XXX_Size() int
- func (m *LogicalVolume) XXX_Unmarshal(b []byte) error
- type LogicalVolume_Attributes
- func (*LogicalVolume_Attributes) Descriptor() ([]byte, []int)
- func (m *LogicalVolume_Attributes) GetActivationSkipped() bool
- func (m *LogicalVolume_Attributes) GetAllocation() LogicalVolume_Attributes_Allocation
- func (m *LogicalVolume_Attributes) GetFixedMinor() bool
- func (m *LogicalVolume_Attributes) GetHealth() LogicalVolume_Attributes_Health
- func (m *LogicalVolume_Attributes) GetOpen() bool
- func (m *LogicalVolume_Attributes) GetPermissions() LogicalVolume_Attributes_Permissions
- func (m *LogicalVolume_Attributes) GetState() LogicalVolume_Attributes_State
- func (m *LogicalVolume_Attributes) GetTargetType() LogicalVolume_Attributes_TargetType
- func (m *LogicalVolume_Attributes) GetType() LogicalVolume_Attributes_Type
- func (m *LogicalVolume_Attributes) GetZeroing() bool
- func (*LogicalVolume_Attributes) ProtoMessage()
- func (m *LogicalVolume_Attributes) Reset()
- func (m *LogicalVolume_Attributes) String() string
- func (m *LogicalVolume_Attributes) XXX_DiscardUnknown()
- func (m *LogicalVolume_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalVolume_Attributes) XXX_Merge(src proto.Message)
- func (m *LogicalVolume_Attributes) XXX_Size() int
- func (m *LogicalVolume_Attributes) XXX_Unmarshal(b []byte) error
- type LogicalVolume_Attributes_Allocation
- type LogicalVolume_Attributes_Health
- type LogicalVolume_Attributes_Permissions
- type LogicalVolume_Attributes_State
- type LogicalVolume_Attributes_TargetType
- type LogicalVolume_Attributes_Type
- type MatchReply
- func (*MatchReply) Descriptor() ([]byte, []int)
- func (m *MatchReply) GetCommandOutput() string
- func (*MatchReply) ProtoMessage()
- func (m *MatchReply) Reset()
- func (m *MatchReply) String() string
- func (m *MatchReply) XXX_DiscardUnknown()
- func (m *MatchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchReply) XXX_Merge(src proto.Message)
- func (m *MatchReply) XXX_Size() int
- func (m *MatchReply) XXX_Unmarshal(b []byte) error
- type MatchRequest
- func (*MatchRequest) Descriptor() ([]byte, []int)
- func (m *MatchRequest) GetBlock() string
- func (*MatchRequest) ProtoMessage()
- func (m *MatchRequest) Reset()
- func (m *MatchRequest) String() string
- func (m *MatchRequest) XXX_DiscardUnknown()
- func (m *MatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchRequest) XXX_Merge(src proto.Message)
- func (m *MatchRequest) XXX_Size() int
- func (m *MatchRequest) XXX_Unmarshal(b []byte) error
- type PVInfo
- func (*PVInfo) Descriptor() ([]byte, []int)
- func (m *PVInfo) GetFmt() string
- func (m *PVInfo) GetFsize() uint64
- func (m *PVInfo) GetName() string
- func (m *PVInfo) GetSize() uint64
- func (m *PVInfo) GetUsize() uint64
- func (m *PVInfo) GetUuid() string
- func (*PVInfo) ProtoMessage()
- func (m *PVInfo) Reset()
- func (m *PVInfo) String() string
- func (m *PVInfo) XXX_DiscardUnknown()
- func (m *PVInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PVInfo) XXX_Merge(src proto.Message)
- func (m *PVInfo) XXX_Size() int
- func (m *PVInfo) XXX_Unmarshal(b []byte) error
- type RemoveLVReply
- func (*RemoveLVReply) Descriptor() ([]byte, []int)
- func (m *RemoveLVReply) GetCommandOutput() string
- func (*RemoveLVReply) ProtoMessage()
- func (m *RemoveLVReply) Reset()
- func (m *RemoveLVReply) String() string
- func (m *RemoveLVReply) XXX_DiscardUnknown()
- func (m *RemoveLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveLVReply) XXX_Merge(src proto.Message)
- func (m *RemoveLVReply) XXX_Size() int
- func (m *RemoveLVReply) XXX_Unmarshal(b []byte) error
- type RemoveLVRequest
- func (*RemoveLVRequest) Descriptor() ([]byte, []int)
- func (m *RemoveLVRequest) GetName() string
- func (m *RemoveLVRequest) GetVolumeGroup() string
- func (*RemoveLVRequest) ProtoMessage()
- func (m *RemoveLVRequest) Reset()
- func (m *RemoveLVRequest) String() string
- func (m *RemoveLVRequest) XXX_DiscardUnknown()
- func (m *RemoveLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveLVRequest) XXX_Merge(src proto.Message)
- func (m *RemoveLVRequest) XXX_Size() int
- func (m *RemoveLVRequest) XXX_Unmarshal(b []byte) error
- type RemovePVReply
- func (*RemovePVReply) Descriptor() ([]byte, []int)
- func (m *RemovePVReply) GetCommandOutput() string
- func (*RemovePVReply) ProtoMessage()
- func (m *RemovePVReply) Reset()
- func (m *RemovePVReply) String() string
- func (m *RemovePVReply) XXX_DiscardUnknown()
- func (m *RemovePVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePVReply) XXX_Merge(src proto.Message)
- func (m *RemovePVReply) XXX_Size() int
- func (m *RemovePVReply) XXX_Unmarshal(b []byte) error
- type RemovePVRequest
- func (*RemovePVRequest) Descriptor() ([]byte, []int)
- func (m *RemovePVRequest) GetBlock() string
- func (*RemovePVRequest) ProtoMessage()
- func (m *RemovePVRequest) Reset()
- func (m *RemovePVRequest) String() string
- func (m *RemovePVRequest) XXX_DiscardUnknown()
- func (m *RemovePVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePVRequest) XXX_Merge(src proto.Message)
- func (m *RemovePVRequest) XXX_Size() int
- func (m *RemovePVRequest) XXX_Unmarshal(b []byte) error
- type RemoveTagLVReply
- func (*RemoveTagLVReply) Descriptor() ([]byte, []int)
- func (m *RemoveTagLVReply) GetCommandOutput() string
- func (*RemoveTagLVReply) ProtoMessage()
- func (m *RemoveTagLVReply) Reset()
- func (m *RemoveTagLVReply) String() string
- func (m *RemoveTagLVReply) XXX_DiscardUnknown()
- func (m *RemoveTagLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveTagLVReply) XXX_Merge(src proto.Message)
- func (m *RemoveTagLVReply) XXX_Size() int
- func (m *RemoveTagLVReply) XXX_Unmarshal(b []byte) error
- type RemoveTagLVRequest
- func (*RemoveTagLVRequest) Descriptor() ([]byte, []int)
- func (m *RemoveTagLVRequest) GetName() string
- func (m *RemoveTagLVRequest) GetTags() []string
- func (m *RemoveTagLVRequest) GetVolumeGroup() string
- func (*RemoveTagLVRequest) ProtoMessage()
- func (m *RemoveTagLVRequest) Reset()
- func (m *RemoveTagLVRequest) String() string
- func (m *RemoveTagLVRequest) XXX_DiscardUnknown()
- func (m *RemoveTagLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveTagLVRequest) XXX_Merge(src proto.Message)
- func (m *RemoveTagLVRequest) XXX_Size() int
- func (m *RemoveTagLVRequest) XXX_Unmarshal(b []byte) error
- type RemoveVGReply
- func (*RemoveVGReply) Descriptor() ([]byte, []int)
- func (m *RemoveVGReply) GetCommandOutput() string
- func (*RemoveVGReply) ProtoMessage()
- func (m *RemoveVGReply) Reset()
- func (m *RemoveVGReply) String() string
- func (m *RemoveVGReply) XXX_DiscardUnknown()
- func (m *RemoveVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveVGReply) XXX_Merge(src proto.Message)
- func (m *RemoveVGReply) XXX_Size() int
- func (m *RemoveVGReply) XXX_Unmarshal(b []byte) error
- type RemoveVGRequest
- func (*RemoveVGRequest) Descriptor() ([]byte, []int)
- func (m *RemoveVGRequest) GetName() string
- func (*RemoveVGRequest) ProtoMessage()
- func (m *RemoveVGRequest) Reset()
- func (m *RemoveVGRequest) String() string
- func (m *RemoveVGRequest) XXX_DiscardUnknown()
- func (m *RemoveVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveVGRequest) XXX_Merge(src proto.Message)
- func (m *RemoveVGRequest) XXX_Size() int
- func (m *RemoveVGRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedLVMServer
- func (*UnimplementedLVMServer) AddTagLV(ctx context.Context, req *AddTagLVRequest) (*AddTagLVReply, error)
- func (*UnimplementedLVMServer) CloneLV(ctx context.Context, req *CloneLVRequest) (*CloneLVReply, error)
- func (*UnimplementedLVMServer) CreateLV(ctx context.Context, req *CreateLVRequest) (*CreateLVReply, error)
- func (*UnimplementedLVMServer) CreatePV(ctx context.Context, req *CreatePVRequest) (*CreatePVReply, error)
- func (*UnimplementedLVMServer) CreateVG(ctx context.Context, req *CreateVGRequest) (*CreateVGReply, error)
- func (*UnimplementedLVMServer) Destory(ctx context.Context, req *DestoryRequest) (*DestoryReply, error)
- func (*UnimplementedLVMServer) ExtendLV(ctx context.Context, req *ExtendLVRequest) (*ExtendLVReply, error)
- func (*UnimplementedLVMServer) ExtendVG(ctx context.Context, req *ExtendVGRequest) (*ExtendVGReply, error)
- func (*UnimplementedLVMServer) GetPVNum(ctx context.Context, req *CreateVGRequest) (*GetPVNumReply, error)
- func (*UnimplementedLVMServer) ListLV(ctx context.Context, req *ListLVRequest) (*ListLVReply, error)
- func (*UnimplementedLVMServer) ListPV(ctx context.Context, req *ListPVRequest) (*ListPVReply, error)
- func (*UnimplementedLVMServer) ListVG(ctx context.Context, req *ListVGRequest) (*ListVGReply, error)
- func (*UnimplementedLVMServer) Match(ctx context.Context, req *MatchRequest) (*MatchReply, error)
- func (*UnimplementedLVMServer) ReduceVG(ctx context.Context, req *ExtendVGRequest) (*ExtendVGReply, error)
- func (*UnimplementedLVMServer) RemoveLV(ctx context.Context, req *RemoveLVRequest) (*RemoveLVReply, error)
- func (*UnimplementedLVMServer) RemovePV(ctx context.Context, req *RemovePVRequest) (*RemovePVReply, error)
- func (*UnimplementedLVMServer) RemoveTagLV(ctx context.Context, req *RemoveTagLVRequest) (*RemoveTagLVReply, error)
- func (*UnimplementedLVMServer) RemoveVG(ctx context.Context, req *CreateVGRequest) (*RemoveVGReply, error)
- func (*UnimplementedLVMServer) Validate(ctx context.Context, req *ValidateRequest) (*ValidateReply, error)
- type ValidateReply
- func (*ValidateReply) Descriptor() ([]byte, []int)
- func (m *ValidateReply) GetValidate() bool
- func (*ValidateReply) ProtoMessage()
- func (m *ValidateReply) Reset()
- func (m *ValidateReply) String() string
- func (m *ValidateReply) XXX_DiscardUnknown()
- func (m *ValidateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateReply) XXX_Merge(src proto.Message)
- func (m *ValidateReply) XXX_Size() int
- func (m *ValidateReply) XXX_Unmarshal(b []byte) error
- type ValidateRequest
- func (*ValidateRequest) Descriptor() ([]byte, []int)
- func (m *ValidateRequest) GetBlock() string
- func (*ValidateRequest) ProtoMessage()
- func (m *ValidateRequest) Reset()
- func (m *ValidateRequest) String() string
- func (m *ValidateRequest) XXX_DiscardUnknown()
- func (m *ValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateRequest) XXX_Merge(src proto.Message)
- func (m *ValidateRequest) XXX_Size() int
- func (m *ValidateRequest) XXX_Unmarshal(b []byte) error
- type VolumeGroup
- func (*VolumeGroup) Descriptor() ([]byte, []int)
- func (m *VolumeGroup) GetFreeSize() uint64
- func (m *VolumeGroup) GetName() string
- func (m *VolumeGroup) GetSize() uint64
- func (m *VolumeGroup) GetTags() []string
- func (m *VolumeGroup) GetUuid() string
- func (*VolumeGroup) ProtoMessage()
- func (m *VolumeGroup) Reset()
- func (m *VolumeGroup) String() string
- func (m *VolumeGroup) XXX_DiscardUnknown()
- func (m *VolumeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeGroup) XXX_Merge(src proto.Message)
- func (m *VolumeGroup) XXX_Size() int
- func (m *VolumeGroup) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
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",
}
View Source
var 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,
}
View Source
var LogicalVolume_Attributes_Health_name = map[int32]string{
0: "MALFORMED_HEALTH",
1: "OK",
2: "PARTIAL",
3: "REFRESH_NEEDED",
4: "MISMATCHES_EXIST",
5: "WRITEMOSTLY",
}
View Source
var LogicalVolume_Attributes_Health_value = map[string]int32{
"MALFORMED_HEALTH": 0,
"OK": 1,
"PARTIAL": 2,
"REFRESH_NEEDED": 3,
"MISMATCHES_EXIST": 4,
"WRITEMOSTLY": 5,
}
View Source
var LogicalVolume_Attributes_Permissions_name = map[int32]string{
0: "MALFORMED_PERMISSIONS",
1: "WRITEABLE",
2: "READ_ONLY",
3: "READ_ONLY_ACTIVATION",
}
View Source
var LogicalVolume_Attributes_Permissions_value = map[string]int32{
"MALFORMED_PERMISSIONS": 0,
"WRITEABLE": 1,
"READ_ONLY": 2,
"READ_ONLY_ACTIVATION": 3,
}
View Source
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",
}
View Source
var 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,
}
View Source
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",
}
View Source
var 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,
}
View Source
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",
}
View Source
var 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,
}
Functions ¶
func RegisterLVMServer ¶
Types ¶
type AddTagLVReply ¶
type AddTagLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddTagLVReply) Descriptor ¶
func (*AddTagLVReply) Descriptor() ([]byte, []int)
func (*AddTagLVReply) GetCommandOutput ¶
func (m *AddTagLVReply) GetCommandOutput() string
func (*AddTagLVReply) ProtoMessage ¶
func (*AddTagLVReply) ProtoMessage()
func (*AddTagLVReply) Reset ¶
func (m *AddTagLVReply) Reset()
func (*AddTagLVReply) String ¶
func (m *AddTagLVReply) String() string
func (*AddTagLVReply) XXX_DiscardUnknown ¶
func (m *AddTagLVReply) XXX_DiscardUnknown()
func (*AddTagLVReply) XXX_Marshal ¶
func (m *AddTagLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddTagLVReply) XXX_Merge ¶
func (m *AddTagLVReply) XXX_Merge(src proto.Message)
func (*AddTagLVReply) XXX_Size ¶
func (m *AddTagLVReply) XXX_Size() int
func (*AddTagLVReply) XXX_Unmarshal ¶
func (m *AddTagLVReply) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddTagLVRequest) Descriptor ¶
func (*AddTagLVRequest) Descriptor() ([]byte, []int)
func (*AddTagLVRequest) GetName ¶
func (m *AddTagLVRequest) GetName() string
func (*AddTagLVRequest) GetTags ¶
func (m *AddTagLVRequest) GetTags() []string
func (*AddTagLVRequest) GetVolumeGroup ¶
func (m *AddTagLVRequest) GetVolumeGroup() string
func (*AddTagLVRequest) ProtoMessage ¶
func (*AddTagLVRequest) ProtoMessage()
func (*AddTagLVRequest) Reset ¶
func (m *AddTagLVRequest) Reset()
func (*AddTagLVRequest) String ¶
func (m *AddTagLVRequest) String() string
func (*AddTagLVRequest) XXX_DiscardUnknown ¶
func (m *AddTagLVRequest) XXX_DiscardUnknown()
func (*AddTagLVRequest) XXX_Marshal ¶
func (m *AddTagLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddTagLVRequest) XXX_Merge ¶
func (m *AddTagLVRequest) XXX_Merge(src proto.Message)
func (*AddTagLVRequest) XXX_Size ¶
func (m *AddTagLVRequest) XXX_Size() int
func (*AddTagLVRequest) XXX_Unmarshal ¶
func (m *AddTagLVRequest) XXX_Unmarshal(b []byte) error
type CloneLVReply ¶
type CloneLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloneLVReply) Descriptor ¶
func (*CloneLVReply) Descriptor() ([]byte, []int)
func (*CloneLVReply) GetCommandOutput ¶
func (m *CloneLVReply) GetCommandOutput() string
func (*CloneLVReply) ProtoMessage ¶
func (*CloneLVReply) ProtoMessage()
func (*CloneLVReply) Reset ¶
func (m *CloneLVReply) Reset()
func (*CloneLVReply) String ¶
func (m *CloneLVReply) String() string
func (*CloneLVReply) XXX_DiscardUnknown ¶
func (m *CloneLVReply) XXX_DiscardUnknown()
func (*CloneLVReply) XXX_Marshal ¶
func (m *CloneLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloneLVReply) XXX_Merge ¶
func (m *CloneLVReply) XXX_Merge(src proto.Message)
func (*CloneLVReply) XXX_Size ¶
func (m *CloneLVReply) XXX_Size() int
func (*CloneLVReply) XXX_Unmarshal ¶
func (m *CloneLVReply) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloneLVRequest) Descriptor ¶
func (*CloneLVRequest) Descriptor() ([]byte, []int)
func (*CloneLVRequest) GetDestName ¶
func (m *CloneLVRequest) GetDestName() string
func (*CloneLVRequest) GetSourceName ¶
func (m *CloneLVRequest) GetSourceName() string
func (*CloneLVRequest) ProtoMessage ¶
func (*CloneLVRequest) ProtoMessage()
func (*CloneLVRequest) Reset ¶
func (m *CloneLVRequest) Reset()
func (*CloneLVRequest) String ¶
func (m *CloneLVRequest) String() string
func (*CloneLVRequest) XXX_DiscardUnknown ¶
func (m *CloneLVRequest) XXX_DiscardUnknown()
func (*CloneLVRequest) XXX_Marshal ¶
func (m *CloneLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloneLVRequest) XXX_Merge ¶
func (m *CloneLVRequest) XXX_Merge(src proto.Message)
func (*CloneLVRequest) XXX_Size ¶
func (m *CloneLVRequest) XXX_Size() int
func (*CloneLVRequest) XXX_Unmarshal ¶
func (m *CloneLVRequest) XXX_Unmarshal(b []byte) error
type CreateLVReply ¶
type CreateLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateLVReply) Descriptor ¶
func (*CreateLVReply) Descriptor() ([]byte, []int)
func (*CreateLVReply) GetCommandOutput ¶
func (m *CreateLVReply) GetCommandOutput() string
func (*CreateLVReply) ProtoMessage ¶
func (*CreateLVReply) ProtoMessage()
func (*CreateLVReply) Reset ¶
func (m *CreateLVReply) Reset()
func (*CreateLVReply) String ¶
func (m *CreateLVReply) String() string
func (*CreateLVReply) XXX_DiscardUnknown ¶
func (m *CreateLVReply) XXX_DiscardUnknown()
func (*CreateLVReply) XXX_Marshal ¶
func (m *CreateLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateLVReply) XXX_Merge ¶
func (m *CreateLVReply) XXX_Merge(src proto.Message)
func (*CreateLVReply) XXX_Size ¶
func (m *CreateLVReply) XXX_Size() int
func (*CreateLVReply) XXX_Unmarshal ¶
func (m *CreateLVReply) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateLVRequest) Descriptor ¶
func (*CreateLVRequest) Descriptor() ([]byte, []int)
func (*CreateLVRequest) GetMirrors ¶
func (m *CreateLVRequest) GetMirrors() uint32
func (*CreateLVRequest) GetName ¶
func (m *CreateLVRequest) GetName() string
func (*CreateLVRequest) GetSize ¶
func (m *CreateLVRequest) GetSize() uint64
func (*CreateLVRequest) GetTags ¶
func (m *CreateLVRequest) GetTags() []string
func (*CreateLVRequest) GetVolumeGroup ¶
func (m *CreateLVRequest) GetVolumeGroup() string
func (*CreateLVRequest) ProtoMessage ¶
func (*CreateLVRequest) ProtoMessage()
func (*CreateLVRequest) Reset ¶
func (m *CreateLVRequest) Reset()
func (*CreateLVRequest) String ¶
func (m *CreateLVRequest) String() string
func (*CreateLVRequest) XXX_DiscardUnknown ¶
func (m *CreateLVRequest) XXX_DiscardUnknown()
func (*CreateLVRequest) XXX_Marshal ¶
func (m *CreateLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateLVRequest) XXX_Merge ¶
func (m *CreateLVRequest) XXX_Merge(src proto.Message)
func (*CreateLVRequest) XXX_Size ¶
func (m *CreateLVRequest) XXX_Size() int
func (*CreateLVRequest) XXX_Unmarshal ¶
func (m *CreateLVRequest) XXX_Unmarshal(b []byte) error
type CreatePVReply ¶
type CreatePVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreatePVReply) Descriptor ¶
func (*CreatePVReply) Descriptor() ([]byte, []int)
func (*CreatePVReply) GetCommandOutput ¶
func (m *CreatePVReply) GetCommandOutput() string
func (*CreatePVReply) ProtoMessage ¶
func (*CreatePVReply) ProtoMessage()
func (*CreatePVReply) Reset ¶
func (m *CreatePVReply) Reset()
func (*CreatePVReply) String ¶
func (m *CreatePVReply) String() string
func (*CreatePVReply) XXX_DiscardUnknown ¶
func (m *CreatePVReply) XXX_DiscardUnknown()
func (*CreatePVReply) XXX_Marshal ¶
func (m *CreatePVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePVReply) XXX_Merge ¶
func (m *CreatePVReply) XXX_Merge(src proto.Message)
func (*CreatePVReply) XXX_Size ¶
func (m *CreatePVReply) XXX_Size() int
func (*CreatePVReply) XXX_Unmarshal ¶
func (m *CreatePVReply) XXX_Unmarshal(b []byte) error
type CreatePVRequest ¶
type CreatePVRequest struct { Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreatePVRequest) Descriptor ¶
func (*CreatePVRequest) Descriptor() ([]byte, []int)
func (*CreatePVRequest) GetBlock ¶
func (m *CreatePVRequest) GetBlock() string
func (*CreatePVRequest) ProtoMessage ¶
func (*CreatePVRequest) ProtoMessage()
func (*CreatePVRequest) Reset ¶
func (m *CreatePVRequest) Reset()
func (*CreatePVRequest) String ¶
func (m *CreatePVRequest) String() string
func (*CreatePVRequest) XXX_DiscardUnknown ¶
func (m *CreatePVRequest) XXX_DiscardUnknown()
func (*CreatePVRequest) XXX_Marshal ¶
func (m *CreatePVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePVRequest) XXX_Merge ¶
func (m *CreatePVRequest) XXX_Merge(src proto.Message)
func (*CreatePVRequest) XXX_Size ¶
func (m *CreatePVRequest) XXX_Size() int
func (*CreatePVRequest) XXX_Unmarshal ¶
func (m *CreatePVRequest) XXX_Unmarshal(b []byte) error
type CreateVGReply ¶
type CreateVGReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVGReply) Descriptor ¶
func (*CreateVGReply) Descriptor() ([]byte, []int)
func (*CreateVGReply) GetCommandOutput ¶
func (m *CreateVGReply) GetCommandOutput() string
func (*CreateVGReply) ProtoMessage ¶
func (*CreateVGReply) ProtoMessage()
func (*CreateVGReply) Reset ¶
func (m *CreateVGReply) Reset()
func (*CreateVGReply) String ¶
func (m *CreateVGReply) String() string
func (*CreateVGReply) XXX_DiscardUnknown ¶
func (m *CreateVGReply) XXX_DiscardUnknown()
func (*CreateVGReply) XXX_Marshal ¶
func (m *CreateVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateVGReply) XXX_Merge ¶
func (m *CreateVGReply) XXX_Merge(src proto.Message)
func (*CreateVGReply) XXX_Size ¶
func (m *CreateVGReply) XXX_Size() int
func (*CreateVGReply) XXX_Unmarshal ¶
func (m *CreateVGReply) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVGRequest) Descriptor ¶
func (*CreateVGRequest) Descriptor() ([]byte, []int)
func (*CreateVGRequest) GetName ¶
func (m *CreateVGRequest) GetName() string
func (*CreateVGRequest) GetPhysicalVolume ¶
func (m *CreateVGRequest) GetPhysicalVolume() string
func (*CreateVGRequest) GetTags ¶
func (m *CreateVGRequest) GetTags() []string
func (*CreateVGRequest) ProtoMessage ¶
func (*CreateVGRequest) ProtoMessage()
func (*CreateVGRequest) Reset ¶
func (m *CreateVGRequest) Reset()
func (*CreateVGRequest) String ¶
func (m *CreateVGRequest) String() string
func (*CreateVGRequest) XXX_DiscardUnknown ¶
func (m *CreateVGRequest) XXX_DiscardUnknown()
func (*CreateVGRequest) XXX_Marshal ¶
func (m *CreateVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateVGRequest) XXX_Merge ¶
func (m *CreateVGRequest) XXX_Merge(src proto.Message)
func (*CreateVGRequest) XXX_Size ¶
func (m *CreateVGRequest) XXX_Size() int
func (*CreateVGRequest) XXX_Unmarshal ¶
func (m *CreateVGRequest) XXX_Unmarshal(b []byte) error
type DestoryReply ¶
type DestoryReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DestoryReply) Descriptor ¶
func (*DestoryReply) Descriptor() ([]byte, []int)
func (*DestoryReply) GetCommandOutput ¶
func (m *DestoryReply) GetCommandOutput() string
func (*DestoryReply) ProtoMessage ¶
func (*DestoryReply) ProtoMessage()
func (*DestoryReply) Reset ¶
func (m *DestoryReply) Reset()
func (*DestoryReply) String ¶
func (m *DestoryReply) String() string
func (*DestoryReply) XXX_DiscardUnknown ¶
func (m *DestoryReply) XXX_DiscardUnknown()
func (*DestoryReply) XXX_Marshal ¶
func (m *DestoryReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DestoryReply) XXX_Merge ¶
func (m *DestoryReply) XXX_Merge(src proto.Message)
func (*DestoryReply) XXX_Size ¶
func (m *DestoryReply) XXX_Size() int
func (*DestoryReply) XXX_Unmarshal ¶
func (m *DestoryReply) XXX_Unmarshal(b []byte) error
type DestoryRequest ¶
type DestoryRequest struct { Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DestoryRequest) Descriptor ¶
func (*DestoryRequest) Descriptor() ([]byte, []int)
func (*DestoryRequest) GetBlock ¶
func (m *DestoryRequest) GetBlock() string
func (*DestoryRequest) ProtoMessage ¶
func (*DestoryRequest) ProtoMessage()
func (*DestoryRequest) Reset ¶
func (m *DestoryRequest) Reset()
func (*DestoryRequest) String ¶
func (m *DestoryRequest) String() string
func (*DestoryRequest) XXX_DiscardUnknown ¶
func (m *DestoryRequest) XXX_DiscardUnknown()
func (*DestoryRequest) XXX_Marshal ¶
func (m *DestoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DestoryRequest) XXX_Merge ¶
func (m *DestoryRequest) XXX_Merge(src proto.Message)
func (*DestoryRequest) XXX_Size ¶
func (m *DestoryRequest) XXX_Size() int
func (*DestoryRequest) XXX_Unmarshal ¶
func (m *DestoryRequest) XXX_Unmarshal(b []byte) error
type ExtendLVReply ¶
type ExtendLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendLVReply) Descriptor ¶
func (*ExtendLVReply) Descriptor() ([]byte, []int)
func (*ExtendLVReply) GetCommandOutput ¶
func (m *ExtendLVReply) GetCommandOutput() string
func (*ExtendLVReply) ProtoMessage ¶
func (*ExtendLVReply) ProtoMessage()
func (*ExtendLVReply) Reset ¶
func (m *ExtendLVReply) Reset()
func (*ExtendLVReply) String ¶
func (m *ExtendLVReply) String() string
func (*ExtendLVReply) XXX_DiscardUnknown ¶
func (m *ExtendLVReply) XXX_DiscardUnknown()
func (*ExtendLVReply) XXX_Marshal ¶
func (m *ExtendLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendLVReply) XXX_Merge ¶
func (m *ExtendLVReply) XXX_Merge(src proto.Message)
func (*ExtendLVReply) XXX_Size ¶
func (m *ExtendLVReply) XXX_Size() int
func (*ExtendLVReply) XXX_Unmarshal ¶
func (m *ExtendLVReply) XXX_Unmarshal(b []byte) error
type ExtendLVRequest ¶
type ExtendLVRequest 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 string `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendLVRequest) Descriptor ¶
func (*ExtendLVRequest) Descriptor() ([]byte, []int)
func (*ExtendLVRequest) GetName ¶
func (m *ExtendLVRequest) GetName() string
func (*ExtendLVRequest) GetSize ¶
func (m *ExtendLVRequest) GetSize() string
func (*ExtendLVRequest) GetVolumeGroup ¶
func (m *ExtendLVRequest) GetVolumeGroup() string
func (*ExtendLVRequest) ProtoMessage ¶
func (*ExtendLVRequest) ProtoMessage()
func (*ExtendLVRequest) Reset ¶
func (m *ExtendLVRequest) Reset()
func (*ExtendLVRequest) String ¶
func (m *ExtendLVRequest) String() string
func (*ExtendLVRequest) XXX_DiscardUnknown ¶
func (m *ExtendLVRequest) XXX_DiscardUnknown()
func (*ExtendLVRequest) XXX_Marshal ¶
func (m *ExtendLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendLVRequest) XXX_Merge ¶
func (m *ExtendLVRequest) XXX_Merge(src proto.Message)
func (*ExtendLVRequest) XXX_Size ¶
func (m *ExtendLVRequest) XXX_Size() int
func (*ExtendLVRequest) XXX_Unmarshal ¶
func (m *ExtendLVRequest) XXX_Unmarshal(b []byte) error
type ExtendVGReply ¶
type ExtendVGReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendVGReply) Descriptor ¶
func (*ExtendVGReply) Descriptor() ([]byte, []int)
func (*ExtendVGReply) GetCommandOutput ¶
func (m *ExtendVGReply) GetCommandOutput() string
func (*ExtendVGReply) ProtoMessage ¶
func (*ExtendVGReply) ProtoMessage()
func (*ExtendVGReply) Reset ¶
func (m *ExtendVGReply) Reset()
func (*ExtendVGReply) String ¶
func (m *ExtendVGReply) String() string
func (*ExtendVGReply) XXX_DiscardUnknown ¶
func (m *ExtendVGReply) XXX_DiscardUnknown()
func (*ExtendVGReply) XXX_Marshal ¶
func (m *ExtendVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendVGReply) XXX_Merge ¶
func (m *ExtendVGReply) XXX_Merge(src proto.Message)
func (*ExtendVGReply) XXX_Size ¶
func (m *ExtendVGReply) XXX_Size() int
func (*ExtendVGReply) XXX_Unmarshal ¶
func (m *ExtendVGReply) XXX_Unmarshal(b []byte) error
type ExtendVGRequest ¶
type ExtendVGRequest 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendVGRequest) Descriptor ¶
func (*ExtendVGRequest) Descriptor() ([]byte, []int)
func (*ExtendVGRequest) GetName ¶
func (m *ExtendVGRequest) GetName() string
func (*ExtendVGRequest) GetPhysicalVolume ¶
func (m *ExtendVGRequest) GetPhysicalVolume() string
func (*ExtendVGRequest) ProtoMessage ¶
func (*ExtendVGRequest) ProtoMessage()
func (*ExtendVGRequest) Reset ¶
func (m *ExtendVGRequest) Reset()
func (*ExtendVGRequest) String ¶
func (m *ExtendVGRequest) String() string
func (*ExtendVGRequest) XXX_DiscardUnknown ¶
func (m *ExtendVGRequest) XXX_DiscardUnknown()
func (*ExtendVGRequest) XXX_Marshal ¶
func (m *ExtendVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendVGRequest) XXX_Merge ¶
func (m *ExtendVGRequest) XXX_Merge(src proto.Message)
func (*ExtendVGRequest) XXX_Size ¶
func (m *ExtendVGRequest) XXX_Size() int
func (*ExtendVGRequest) XXX_Unmarshal ¶
func (m *ExtendVGRequest) XXX_Unmarshal(b []byte) error
type GetPVNumReply ¶
type GetPVNumReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPVNumReply) Descriptor ¶
func (*GetPVNumReply) Descriptor() ([]byte, []int)
func (*GetPVNumReply) GetCommandOutput ¶
func (m *GetPVNumReply) GetCommandOutput() string
func (*GetPVNumReply) ProtoMessage ¶
func (*GetPVNumReply) ProtoMessage()
func (*GetPVNumReply) Reset ¶
func (m *GetPVNumReply) Reset()
func (*GetPVNumReply) String ¶
func (m *GetPVNumReply) String() string
func (*GetPVNumReply) XXX_DiscardUnknown ¶
func (m *GetPVNumReply) XXX_DiscardUnknown()
func (*GetPVNumReply) XXX_Marshal ¶
func (m *GetPVNumReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPVNumReply) XXX_Merge ¶
func (m *GetPVNumReply) XXX_Merge(src proto.Message)
func (*GetPVNumReply) XXX_Size ¶
func (m *GetPVNumReply) XXX_Size() int
func (*GetPVNumReply) XXX_Unmarshal ¶
func (m *GetPVNumReply) XXX_Unmarshal(b []byte) error
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) ExtendLV(ctx context.Context, in *ExtendLVRequest, opts ...grpc.CallOption) (*ExtendLVReply, 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) ExtendVG(ctx context.Context, in *ExtendVGRequest, opts ...grpc.CallOption) (*ExtendVGReply, error) ReduceVG(ctx context.Context, in *ExtendVGRequest, opts ...grpc.CallOption) (*ExtendVGReply, error) ListPV(ctx context.Context, in *ListPVRequest, opts ...grpc.CallOption) (*ListPVReply, error) CreatePV(ctx context.Context, in *CreatePVRequest, opts ...grpc.CallOption) (*CreatePVReply, error) RemovePV(ctx context.Context, in *RemovePVRequest, opts ...grpc.CallOption) (*RemovePVReply, error) Match(ctx context.Context, in *MatchRequest, opts ...grpc.CallOption) (*MatchReply, error) GetPVNum(ctx context.Context, in *CreateVGRequest, opts ...grpc.CallOption) (*GetPVNumReply, error) Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateReply, error) Destory(ctx context.Context, in *DestoryRequest, opts ...grpc.CallOption) (*DestoryReply, error) }
LVMClient is the client API for LVM service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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) ExtendLV(context.Context, *ExtendLVRequest) (*ExtendLVReply, 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) ExtendVG(context.Context, *ExtendVGRequest) (*ExtendVGReply, error) ReduceVG(context.Context, *ExtendVGRequest) (*ExtendVGReply, error) ListPV(context.Context, *ListPVRequest) (*ListPVReply, error) CreatePV(context.Context, *CreatePVRequest) (*CreatePVReply, error) RemovePV(context.Context, *RemovePVRequest) (*RemovePVReply, error) Match(context.Context, *MatchRequest) (*MatchReply, error) GetPVNum(context.Context, *CreateVGRequest) (*GetPVNumReply, error) Validate(context.Context, *ValidateRequest) (*ValidateReply, error) Destory(context.Context, *DestoryRequest) (*DestoryReply, error) }
LVMServer is the server API for LVM service.
type ListLVReply ¶
type ListLVReply struct { Volumes []*LogicalVolume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListLVReply) Descriptor ¶
func (*ListLVReply) Descriptor() ([]byte, []int)
func (*ListLVReply) GetVolumes ¶
func (m *ListLVReply) GetVolumes() []*LogicalVolume
func (*ListLVReply) ProtoMessage ¶
func (*ListLVReply) ProtoMessage()
func (*ListLVReply) Reset ¶
func (m *ListLVReply) Reset()
func (*ListLVReply) String ¶
func (m *ListLVReply) String() string
func (*ListLVReply) XXX_DiscardUnknown ¶
func (m *ListLVReply) XXX_DiscardUnknown()
func (*ListLVReply) XXX_Marshal ¶
func (m *ListLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListLVReply) XXX_Merge ¶
func (m *ListLVReply) XXX_Merge(src proto.Message)
func (*ListLVReply) XXX_Size ¶
func (m *ListLVReply) XXX_Size() int
func (*ListLVReply) XXX_Unmarshal ¶
func (m *ListLVReply) XXX_Unmarshal(b []byte) error
type ListLVRequest ¶
type ListLVRequest struct { VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListLVRequest) Descriptor ¶
func (*ListLVRequest) Descriptor() ([]byte, []int)
func (*ListLVRequest) GetVolumeGroup ¶
func (m *ListLVRequest) GetVolumeGroup() string
func (*ListLVRequest) ProtoMessage ¶
func (*ListLVRequest) ProtoMessage()
func (*ListLVRequest) Reset ¶
func (m *ListLVRequest) Reset()
func (*ListLVRequest) String ¶
func (m *ListLVRequest) String() string
func (*ListLVRequest) XXX_DiscardUnknown ¶
func (m *ListLVRequest) XXX_DiscardUnknown()
func (*ListLVRequest) XXX_Marshal ¶
func (m *ListLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListLVRequest) XXX_Merge ¶
func (m *ListLVRequest) XXX_Merge(src proto.Message)
func (*ListLVRequest) XXX_Size ¶
func (m *ListLVRequest) XXX_Size() int
func (*ListLVRequest) XXX_Unmarshal ¶
func (m *ListLVRequest) XXX_Unmarshal(b []byte) error
type ListPVReply ¶
type ListPVReply struct { Pvinfos []*PVInfo `protobuf:"bytes,1,rep,name=pvinfos,proto3" json:"pvinfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPVReply) Descriptor ¶
func (*ListPVReply) Descriptor() ([]byte, []int)
func (*ListPVReply) GetPvinfos ¶
func (m *ListPVReply) GetPvinfos() []*PVInfo
func (*ListPVReply) ProtoMessage ¶
func (*ListPVReply) ProtoMessage()
func (*ListPVReply) Reset ¶
func (m *ListPVReply) Reset()
func (*ListPVReply) String ¶
func (m *ListPVReply) String() string
func (*ListPVReply) XXX_DiscardUnknown ¶
func (m *ListPVReply) XXX_DiscardUnknown()
func (*ListPVReply) XXX_Marshal ¶
func (m *ListPVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPVReply) XXX_Merge ¶
func (m *ListPVReply) XXX_Merge(src proto.Message)
func (*ListPVReply) XXX_Size ¶
func (m *ListPVReply) XXX_Size() int
func (*ListPVReply) XXX_Unmarshal ¶
func (m *ListPVReply) XXX_Unmarshal(b []byte) error
type ListPVRequest ¶
type ListPVRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPVRequest) Descriptor ¶
func (*ListPVRequest) Descriptor() ([]byte, []int)
func (*ListPVRequest) ProtoMessage ¶
func (*ListPVRequest) ProtoMessage()
func (*ListPVRequest) Reset ¶
func (m *ListPVRequest) Reset()
func (*ListPVRequest) String ¶
func (m *ListPVRequest) String() string
func (*ListPVRequest) XXX_DiscardUnknown ¶
func (m *ListPVRequest) XXX_DiscardUnknown()
func (*ListPVRequest) XXX_Marshal ¶
func (m *ListPVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPVRequest) XXX_Merge ¶
func (m *ListPVRequest) XXX_Merge(src proto.Message)
func (*ListPVRequest) XXX_Size ¶
func (m *ListPVRequest) XXX_Size() int
func (*ListPVRequest) XXX_Unmarshal ¶
func (m *ListPVRequest) XXX_Unmarshal(b []byte) error
type ListVGReply ¶
type ListVGReply struct { VolumeGroups []*VolumeGroup `protobuf:"bytes,1,rep,name=volume_groups,json=volumeGroups,proto3" json:"volume_groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVGReply) Descriptor ¶
func (*ListVGReply) Descriptor() ([]byte, []int)
func (*ListVGReply) GetVolumeGroups ¶
func (m *ListVGReply) GetVolumeGroups() []*VolumeGroup
func (*ListVGReply) ProtoMessage ¶
func (*ListVGReply) ProtoMessage()
func (*ListVGReply) Reset ¶
func (m *ListVGReply) Reset()
func (*ListVGReply) String ¶
func (m *ListVGReply) String() string
func (*ListVGReply) XXX_DiscardUnknown ¶
func (m *ListVGReply) XXX_DiscardUnknown()
func (*ListVGReply) XXX_Marshal ¶
func (m *ListVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVGReply) XXX_Merge ¶
func (m *ListVGReply) XXX_Merge(src proto.Message)
func (*ListVGReply) XXX_Size ¶
func (m *ListVGReply) XXX_Size() int
func (*ListVGReply) XXX_Unmarshal ¶
func (m *ListVGReply) XXX_Unmarshal(b []byte) error
type ListVGRequest ¶
type ListVGRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVGRequest) Descriptor ¶
func (*ListVGRequest) Descriptor() ([]byte, []int)
func (*ListVGRequest) ProtoMessage ¶
func (*ListVGRequest) ProtoMessage()
func (*ListVGRequest) Reset ¶
func (m *ListVGRequest) Reset()
func (*ListVGRequest) String ¶
func (m *ListVGRequest) String() string
func (*ListVGRequest) XXX_DiscardUnknown ¶
func (m *ListVGRequest) XXX_DiscardUnknown()
func (*ListVGRequest) XXX_Marshal ¶
func (m *ListVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVGRequest) XXX_Merge ¶
func (m *ListVGRequest) XXX_Merge(src proto.Message)
func (*ListVGRequest) XXX_Size ¶
func (m *ListVGRequest) XXX_Size() int
func (*ListVGRequest) XXX_Unmarshal ¶
func (m *ListVGRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogicalVolume) Descriptor ¶
func (*LogicalVolume) Descriptor() ([]byte, []int)
func (*LogicalVolume) GetActualDevMajorNumber ¶
func (m *LogicalVolume) GetActualDevMajorNumber() uint32
func (*LogicalVolume) GetActualDevMinorNumber ¶
func (m *LogicalVolume) GetActualDevMinorNumber() uint32
func (*LogicalVolume) GetAttributes ¶
func (m *LogicalVolume) GetAttributes() *LogicalVolume_Attributes
func (*LogicalVolume) GetCopyPercent ¶
func (m *LogicalVolume) GetCopyPercent() string
func (*LogicalVolume) GetName ¶
func (m *LogicalVolume) GetName() string
func (*LogicalVolume) GetSize ¶
func (m *LogicalVolume) GetSize() uint64
func (*LogicalVolume) GetTags ¶
func (m *LogicalVolume) GetTags() []string
func (*LogicalVolume) GetUuid ¶
func (m *LogicalVolume) GetUuid() string
func (*LogicalVolume) ProtoMessage ¶
func (*LogicalVolume) ProtoMessage()
func (*LogicalVolume) Reset ¶
func (m *LogicalVolume) Reset()
func (*LogicalVolume) String ¶
func (m *LogicalVolume) String() string
func (*LogicalVolume) XXX_DiscardUnknown ¶
func (m *LogicalVolume) XXX_DiscardUnknown()
func (*LogicalVolume) XXX_Marshal ¶
func (m *LogicalVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogicalVolume) XXX_Merge ¶
func (m *LogicalVolume) XXX_Merge(src proto.Message)
func (*LogicalVolume) XXX_Size ¶
func (m *LogicalVolume) XXX_Size() int
func (*LogicalVolume) XXX_Unmarshal ¶
func (m *LogicalVolume) XXX_Unmarshal(b []byte) error
type LogicalVolume_Attributes ¶
type LogicalVolume_Attributes struct { Type LogicalVolume_Attributes_Type `protobuf:"varint,1,opt,name=type,proto3,enum=lvm.LogicalVolume_Attributes_Type" json:"type,omitempty"` Permissions LogicalVolume_Attributes_Permissions `protobuf:"varint,2,opt,name=permissions,proto3,enum=lvm.LogicalVolume_Attributes_Permissions" json:"permissions,omitempty"` Allocation LogicalVolume_Attributes_Allocation `protobuf:"varint,3,opt,name=allocation,proto3,enum=lvm.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=lvm.LogicalVolume_Attributes_State" json:"state,omitempty"` Open bool `protobuf:"varint,6,opt,name=open,proto3" json:"open,omitempty"` TargetType LogicalVolume_Attributes_TargetType `` /* 137-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=lvm.LogicalVolume_Attributes_Health" json:"health,omitempty"` ActivationSkipped bool `protobuf:"varint,10,opt,name=activation_skipped,json=activationSkipped,proto3" json:"activation_skipped,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogicalVolume_Attributes) Descriptor ¶
func (*LogicalVolume_Attributes) Descriptor() ([]byte, []int)
func (*LogicalVolume_Attributes) GetActivationSkipped ¶
func (m *LogicalVolume_Attributes) GetActivationSkipped() bool
func (*LogicalVolume_Attributes) GetAllocation ¶
func (m *LogicalVolume_Attributes) GetAllocation() LogicalVolume_Attributes_Allocation
func (*LogicalVolume_Attributes) GetFixedMinor ¶
func (m *LogicalVolume_Attributes) GetFixedMinor() bool
func (*LogicalVolume_Attributes) GetHealth ¶
func (m *LogicalVolume_Attributes) GetHealth() LogicalVolume_Attributes_Health
func (*LogicalVolume_Attributes) GetOpen ¶
func (m *LogicalVolume_Attributes) GetOpen() bool
func (*LogicalVolume_Attributes) GetPermissions ¶
func (m *LogicalVolume_Attributes) GetPermissions() LogicalVolume_Attributes_Permissions
func (*LogicalVolume_Attributes) GetState ¶
func (m *LogicalVolume_Attributes) GetState() LogicalVolume_Attributes_State
func (*LogicalVolume_Attributes) GetTargetType ¶
func (m *LogicalVolume_Attributes) GetTargetType() LogicalVolume_Attributes_TargetType
func (*LogicalVolume_Attributes) GetType ¶
func (m *LogicalVolume_Attributes) GetType() LogicalVolume_Attributes_Type
func (*LogicalVolume_Attributes) GetZeroing ¶
func (m *LogicalVolume_Attributes) GetZeroing() bool
func (*LogicalVolume_Attributes) ProtoMessage ¶
func (*LogicalVolume_Attributes) ProtoMessage()
func (*LogicalVolume_Attributes) Reset ¶
func (m *LogicalVolume_Attributes) Reset()
func (*LogicalVolume_Attributes) String ¶
func (m *LogicalVolume_Attributes) String() string
func (*LogicalVolume_Attributes) XXX_DiscardUnknown ¶
func (m *LogicalVolume_Attributes) XXX_DiscardUnknown()
func (*LogicalVolume_Attributes) XXX_Marshal ¶
func (m *LogicalVolume_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogicalVolume_Attributes) XXX_Merge ¶
func (m *LogicalVolume_Attributes) XXX_Merge(src proto.Message)
func (*LogicalVolume_Attributes) XXX_Size ¶
func (m *LogicalVolume_Attributes) XXX_Size() int
func (*LogicalVolume_Attributes) XXX_Unmarshal ¶
func (m *LogicalVolume_Attributes) XXX_Unmarshal(b []byte) error
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) EnumDescriptor ¶
func (LogicalVolume_Attributes_Allocation) EnumDescriptor() ([]byte, []int)
func (LogicalVolume_Attributes_Allocation) String ¶
func (x LogicalVolume_Attributes_Allocation) String() string
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) EnumDescriptor ¶
func (LogicalVolume_Attributes_Health) EnumDescriptor() ([]byte, []int)
func (LogicalVolume_Attributes_Health) String ¶
func (x LogicalVolume_Attributes_Health) String() string
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) EnumDescriptor ¶
func (LogicalVolume_Attributes_Permissions) EnumDescriptor() ([]byte, []int)
func (LogicalVolume_Attributes_Permissions) String ¶
func (x LogicalVolume_Attributes_Permissions) String() string
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) EnumDescriptor ¶
func (LogicalVolume_Attributes_State) EnumDescriptor() ([]byte, []int)
func (LogicalVolume_Attributes_State) String ¶
func (x LogicalVolume_Attributes_State) String() string
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) EnumDescriptor ¶
func (LogicalVolume_Attributes_TargetType) EnumDescriptor() ([]byte, []int)
func (LogicalVolume_Attributes_TargetType) String ¶
func (x LogicalVolume_Attributes_TargetType) String() string
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) EnumDescriptor ¶
func (LogicalVolume_Attributes_Type) EnumDescriptor() ([]byte, []int)
func (LogicalVolume_Attributes_Type) String ¶
func (x LogicalVolume_Attributes_Type) String() string
type MatchReply ¶
type MatchReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MatchReply) Descriptor ¶
func (*MatchReply) Descriptor() ([]byte, []int)
func (*MatchReply) GetCommandOutput ¶
func (m *MatchReply) GetCommandOutput() string
func (*MatchReply) ProtoMessage ¶
func (*MatchReply) ProtoMessage()
func (*MatchReply) Reset ¶
func (m *MatchReply) Reset()
func (*MatchReply) String ¶
func (m *MatchReply) String() string
func (*MatchReply) XXX_DiscardUnknown ¶
func (m *MatchReply) XXX_DiscardUnknown()
func (*MatchReply) XXX_Marshal ¶
func (m *MatchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchReply) XXX_Merge ¶
func (m *MatchReply) XXX_Merge(src proto.Message)
func (*MatchReply) XXX_Size ¶
func (m *MatchReply) XXX_Size() int
func (*MatchReply) XXX_Unmarshal ¶
func (m *MatchReply) XXX_Unmarshal(b []byte) error
type MatchRequest ¶
type MatchRequest struct { Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MatchRequest) Descriptor ¶
func (*MatchRequest) Descriptor() ([]byte, []int)
func (*MatchRequest) GetBlock ¶
func (m *MatchRequest) GetBlock() string
func (*MatchRequest) ProtoMessage ¶
func (*MatchRequest) ProtoMessage()
func (*MatchRequest) Reset ¶
func (m *MatchRequest) Reset()
func (*MatchRequest) String ¶
func (m *MatchRequest) String() string
func (*MatchRequest) XXX_DiscardUnknown ¶
func (m *MatchRequest) XXX_DiscardUnknown()
func (*MatchRequest) XXX_Marshal ¶
func (m *MatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchRequest) XXX_Merge ¶
func (m *MatchRequest) XXX_Merge(src proto.Message)
func (*MatchRequest) XXX_Size ¶
func (m *MatchRequest) XXX_Size() int
func (*MatchRequest) XXX_Unmarshal ¶
func (m *MatchRequest) XXX_Unmarshal(b []byte) error
type PVInfo ¶
type PVInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Fmt string `protobuf:"bytes,3,opt,name=fmt,proto3" json:"fmt,omitempty"` Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Usize uint64 `protobuf:"varint,5,opt,name=usize,proto3" json:"usize,omitempty"` Fsize uint64 `protobuf:"varint,6,opt,name=fsize,proto3" json:"fsize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PVInfo) Descriptor ¶
func (*PVInfo) ProtoMessage ¶
func (*PVInfo) ProtoMessage()
func (*PVInfo) XXX_DiscardUnknown ¶
func (m *PVInfo) XXX_DiscardUnknown()
func (*PVInfo) XXX_Marshal ¶
func (*PVInfo) XXX_Unmarshal ¶
type RemoveLVReply ¶
type RemoveLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveLVReply) Descriptor ¶
func (*RemoveLVReply) Descriptor() ([]byte, []int)
func (*RemoveLVReply) GetCommandOutput ¶
func (m *RemoveLVReply) GetCommandOutput() string
func (*RemoveLVReply) ProtoMessage ¶
func (*RemoveLVReply) ProtoMessage()
func (*RemoveLVReply) Reset ¶
func (m *RemoveLVReply) Reset()
func (*RemoveLVReply) String ¶
func (m *RemoveLVReply) String() string
func (*RemoveLVReply) XXX_DiscardUnknown ¶
func (m *RemoveLVReply) XXX_DiscardUnknown()
func (*RemoveLVReply) XXX_Marshal ¶
func (m *RemoveLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveLVReply) XXX_Merge ¶
func (m *RemoveLVReply) XXX_Merge(src proto.Message)
func (*RemoveLVReply) XXX_Size ¶
func (m *RemoveLVReply) XXX_Size() int
func (*RemoveLVReply) XXX_Unmarshal ¶
func (m *RemoveLVReply) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveLVRequest) Descriptor ¶
func (*RemoveLVRequest) Descriptor() ([]byte, []int)
func (*RemoveLVRequest) GetName ¶
func (m *RemoveLVRequest) GetName() string
func (*RemoveLVRequest) GetVolumeGroup ¶
func (m *RemoveLVRequest) GetVolumeGroup() string
func (*RemoveLVRequest) ProtoMessage ¶
func (*RemoveLVRequest) ProtoMessage()
func (*RemoveLVRequest) Reset ¶
func (m *RemoveLVRequest) Reset()
func (*RemoveLVRequest) String ¶
func (m *RemoveLVRequest) String() string
func (*RemoveLVRequest) XXX_DiscardUnknown ¶
func (m *RemoveLVRequest) XXX_DiscardUnknown()
func (*RemoveLVRequest) XXX_Marshal ¶
func (m *RemoveLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveLVRequest) XXX_Merge ¶
func (m *RemoveLVRequest) XXX_Merge(src proto.Message)
func (*RemoveLVRequest) XXX_Size ¶
func (m *RemoveLVRequest) XXX_Size() int
func (*RemoveLVRequest) XXX_Unmarshal ¶
func (m *RemoveLVRequest) XXX_Unmarshal(b []byte) error
type RemovePVReply ¶
type RemovePVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePVReply) Descriptor ¶
func (*RemovePVReply) Descriptor() ([]byte, []int)
func (*RemovePVReply) GetCommandOutput ¶
func (m *RemovePVReply) GetCommandOutput() string
func (*RemovePVReply) ProtoMessage ¶
func (*RemovePVReply) ProtoMessage()
func (*RemovePVReply) Reset ¶
func (m *RemovePVReply) Reset()
func (*RemovePVReply) String ¶
func (m *RemovePVReply) String() string
func (*RemovePVReply) XXX_DiscardUnknown ¶
func (m *RemovePVReply) XXX_DiscardUnknown()
func (*RemovePVReply) XXX_Marshal ¶
func (m *RemovePVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePVReply) XXX_Merge ¶
func (m *RemovePVReply) XXX_Merge(src proto.Message)
func (*RemovePVReply) XXX_Size ¶
func (m *RemovePVReply) XXX_Size() int
func (*RemovePVReply) XXX_Unmarshal ¶
func (m *RemovePVReply) XXX_Unmarshal(b []byte) error
type RemovePVRequest ¶
type RemovePVRequest struct { Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePVRequest) Descriptor ¶
func (*RemovePVRequest) Descriptor() ([]byte, []int)
func (*RemovePVRequest) GetBlock ¶
func (m *RemovePVRequest) GetBlock() string
func (*RemovePVRequest) ProtoMessage ¶
func (*RemovePVRequest) ProtoMessage()
func (*RemovePVRequest) Reset ¶
func (m *RemovePVRequest) Reset()
func (*RemovePVRequest) String ¶
func (m *RemovePVRequest) String() string
func (*RemovePVRequest) XXX_DiscardUnknown ¶
func (m *RemovePVRequest) XXX_DiscardUnknown()
func (*RemovePVRequest) XXX_Marshal ¶
func (m *RemovePVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePVRequest) XXX_Merge ¶
func (m *RemovePVRequest) XXX_Merge(src proto.Message)
func (*RemovePVRequest) XXX_Size ¶
func (m *RemovePVRequest) XXX_Size() int
func (*RemovePVRequest) XXX_Unmarshal ¶
func (m *RemovePVRequest) XXX_Unmarshal(b []byte) error
type RemoveTagLVReply ¶
type RemoveTagLVReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveTagLVReply) Descriptor ¶
func (*RemoveTagLVReply) Descriptor() ([]byte, []int)
func (*RemoveTagLVReply) GetCommandOutput ¶
func (m *RemoveTagLVReply) GetCommandOutput() string
func (*RemoveTagLVReply) ProtoMessage ¶
func (*RemoveTagLVReply) ProtoMessage()
func (*RemoveTagLVReply) Reset ¶
func (m *RemoveTagLVReply) Reset()
func (*RemoveTagLVReply) String ¶
func (m *RemoveTagLVReply) String() string
func (*RemoveTagLVReply) XXX_DiscardUnknown ¶
func (m *RemoveTagLVReply) XXX_DiscardUnknown()
func (*RemoveTagLVReply) XXX_Marshal ¶
func (m *RemoveTagLVReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveTagLVReply) XXX_Merge ¶
func (m *RemoveTagLVReply) XXX_Merge(src proto.Message)
func (*RemoveTagLVReply) XXX_Size ¶
func (m *RemoveTagLVReply) XXX_Size() int
func (*RemoveTagLVReply) XXX_Unmarshal ¶
func (m *RemoveTagLVReply) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveTagLVRequest) Descriptor ¶
func (*RemoveTagLVRequest) Descriptor() ([]byte, []int)
func (*RemoveTagLVRequest) GetName ¶
func (m *RemoveTagLVRequest) GetName() string
func (*RemoveTagLVRequest) GetTags ¶
func (m *RemoveTagLVRequest) GetTags() []string
func (*RemoveTagLVRequest) GetVolumeGroup ¶
func (m *RemoveTagLVRequest) GetVolumeGroup() string
func (*RemoveTagLVRequest) ProtoMessage ¶
func (*RemoveTagLVRequest) ProtoMessage()
func (*RemoveTagLVRequest) Reset ¶
func (m *RemoveTagLVRequest) Reset()
func (*RemoveTagLVRequest) String ¶
func (m *RemoveTagLVRequest) String() string
func (*RemoveTagLVRequest) XXX_DiscardUnknown ¶
func (m *RemoveTagLVRequest) XXX_DiscardUnknown()
func (*RemoveTagLVRequest) XXX_Marshal ¶
func (m *RemoveTagLVRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveTagLVRequest) XXX_Merge ¶
func (m *RemoveTagLVRequest) XXX_Merge(src proto.Message)
func (*RemoveTagLVRequest) XXX_Size ¶
func (m *RemoveTagLVRequest) XXX_Size() int
func (*RemoveTagLVRequest) XXX_Unmarshal ¶
func (m *RemoveTagLVRequest) XXX_Unmarshal(b []byte) error
type RemoveVGReply ¶
type RemoveVGReply struct { CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveVGReply) Descriptor ¶
func (*RemoveVGReply) Descriptor() ([]byte, []int)
func (*RemoveVGReply) GetCommandOutput ¶
func (m *RemoveVGReply) GetCommandOutput() string
func (*RemoveVGReply) ProtoMessage ¶
func (*RemoveVGReply) ProtoMessage()
func (*RemoveVGReply) Reset ¶
func (m *RemoveVGReply) Reset()
func (*RemoveVGReply) String ¶
func (m *RemoveVGReply) String() string
func (*RemoveVGReply) XXX_DiscardUnknown ¶
func (m *RemoveVGReply) XXX_DiscardUnknown()
func (*RemoveVGReply) XXX_Marshal ¶
func (m *RemoveVGReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveVGReply) XXX_Merge ¶
func (m *RemoveVGReply) XXX_Merge(src proto.Message)
func (*RemoveVGReply) XXX_Size ¶
func (m *RemoveVGReply) XXX_Size() int
func (*RemoveVGReply) XXX_Unmarshal ¶
func (m *RemoveVGReply) XXX_Unmarshal(b []byte) error
type RemoveVGRequest ¶
type RemoveVGRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveVGRequest) Descriptor ¶
func (*RemoveVGRequest) Descriptor() ([]byte, []int)
func (*RemoveVGRequest) GetName ¶
func (m *RemoveVGRequest) GetName() string
func (*RemoveVGRequest) ProtoMessage ¶
func (*RemoveVGRequest) ProtoMessage()
func (*RemoveVGRequest) Reset ¶
func (m *RemoveVGRequest) Reset()
func (*RemoveVGRequest) String ¶
func (m *RemoveVGRequest) String() string
func (*RemoveVGRequest) XXX_DiscardUnknown ¶
func (m *RemoveVGRequest) XXX_DiscardUnknown()
func (*RemoveVGRequest) XXX_Marshal ¶
func (m *RemoveVGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveVGRequest) XXX_Merge ¶
func (m *RemoveVGRequest) XXX_Merge(src proto.Message)
func (*RemoveVGRequest) XXX_Size ¶
func (m *RemoveVGRequest) XXX_Size() int
func (*RemoveVGRequest) XXX_Unmarshal ¶
func (m *RemoveVGRequest) XXX_Unmarshal(b []byte) error
type UnimplementedLVMServer ¶
type UnimplementedLVMServer struct { }
UnimplementedLVMServer can be embedded to have forward compatible implementations.
func (*UnimplementedLVMServer) AddTagLV ¶
func (*UnimplementedLVMServer) AddTagLV(ctx context.Context, req *AddTagLVRequest) (*AddTagLVReply, error)
func (*UnimplementedLVMServer) CloneLV ¶
func (*UnimplementedLVMServer) CloneLV(ctx context.Context, req *CloneLVRequest) (*CloneLVReply, error)
func (*UnimplementedLVMServer) CreateLV ¶
func (*UnimplementedLVMServer) CreateLV(ctx context.Context, req *CreateLVRequest) (*CreateLVReply, error)
func (*UnimplementedLVMServer) CreatePV ¶
func (*UnimplementedLVMServer) CreatePV(ctx context.Context, req *CreatePVRequest) (*CreatePVReply, error)
func (*UnimplementedLVMServer) CreateVG ¶
func (*UnimplementedLVMServer) CreateVG(ctx context.Context, req *CreateVGRequest) (*CreateVGReply, error)
func (*UnimplementedLVMServer) Destory ¶
func (*UnimplementedLVMServer) Destory(ctx context.Context, req *DestoryRequest) (*DestoryReply, error)
func (*UnimplementedLVMServer) ExtendLV ¶
func (*UnimplementedLVMServer) ExtendLV(ctx context.Context, req *ExtendLVRequest) (*ExtendLVReply, error)
func (*UnimplementedLVMServer) ExtendVG ¶
func (*UnimplementedLVMServer) ExtendVG(ctx context.Context, req *ExtendVGRequest) (*ExtendVGReply, error)
func (*UnimplementedLVMServer) GetPVNum ¶
func (*UnimplementedLVMServer) GetPVNum(ctx context.Context, req *CreateVGRequest) (*GetPVNumReply, error)
func (*UnimplementedLVMServer) ListLV ¶
func (*UnimplementedLVMServer) ListLV(ctx context.Context, req *ListLVRequest) (*ListLVReply, error)
func (*UnimplementedLVMServer) ListPV ¶
func (*UnimplementedLVMServer) ListPV(ctx context.Context, req *ListPVRequest) (*ListPVReply, error)
func (*UnimplementedLVMServer) ListVG ¶
func (*UnimplementedLVMServer) ListVG(ctx context.Context, req *ListVGRequest) (*ListVGReply, error)
func (*UnimplementedLVMServer) Match ¶
func (*UnimplementedLVMServer) Match(ctx context.Context, req *MatchRequest) (*MatchReply, error)
func (*UnimplementedLVMServer) ReduceVG ¶
func (*UnimplementedLVMServer) ReduceVG(ctx context.Context, req *ExtendVGRequest) (*ExtendVGReply, error)
func (*UnimplementedLVMServer) RemoveLV ¶
func (*UnimplementedLVMServer) RemoveLV(ctx context.Context, req *RemoveLVRequest) (*RemoveLVReply, error)
func (*UnimplementedLVMServer) RemovePV ¶
func (*UnimplementedLVMServer) RemovePV(ctx context.Context, req *RemovePVRequest) (*RemovePVReply, error)
func (*UnimplementedLVMServer) RemoveTagLV ¶
func (*UnimplementedLVMServer) RemoveTagLV(ctx context.Context, req *RemoveTagLVRequest) (*RemoveTagLVReply, error)
func (*UnimplementedLVMServer) RemoveVG ¶
func (*UnimplementedLVMServer) RemoveVG(ctx context.Context, req *CreateVGRequest) (*RemoveVGReply, error)
func (*UnimplementedLVMServer) Validate ¶
func (*UnimplementedLVMServer) Validate(ctx context.Context, req *ValidateRequest) (*ValidateReply, error)
type ValidateReply ¶
type ValidateReply struct { Validate bool `protobuf:"varint,1,opt,name=validate,proto3" json:"validate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidateReply) Descriptor ¶
func (*ValidateReply) Descriptor() ([]byte, []int)
func (*ValidateReply) GetValidate ¶
func (m *ValidateReply) GetValidate() bool
func (*ValidateReply) ProtoMessage ¶
func (*ValidateReply) ProtoMessage()
func (*ValidateReply) Reset ¶
func (m *ValidateReply) Reset()
func (*ValidateReply) String ¶
func (m *ValidateReply) String() string
func (*ValidateReply) XXX_DiscardUnknown ¶
func (m *ValidateReply) XXX_DiscardUnknown()
func (*ValidateReply) XXX_Marshal ¶
func (m *ValidateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateReply) XXX_Merge ¶
func (m *ValidateReply) XXX_Merge(src proto.Message)
func (*ValidateReply) XXX_Size ¶
func (m *ValidateReply) XXX_Size() int
func (*ValidateReply) XXX_Unmarshal ¶
func (m *ValidateReply) XXX_Unmarshal(b []byte) error
type ValidateRequest ¶
type ValidateRequest struct { Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidateRequest) Descriptor ¶
func (*ValidateRequest) Descriptor() ([]byte, []int)
func (*ValidateRequest) GetBlock ¶
func (m *ValidateRequest) GetBlock() string
func (*ValidateRequest) ProtoMessage ¶
func (*ValidateRequest) ProtoMessage()
func (*ValidateRequest) Reset ¶
func (m *ValidateRequest) Reset()
func (*ValidateRequest) String ¶
func (m *ValidateRequest) String() string
func (*ValidateRequest) XXX_DiscardUnknown ¶
func (m *ValidateRequest) XXX_DiscardUnknown()
func (*ValidateRequest) XXX_Marshal ¶
func (m *ValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateRequest) XXX_Merge ¶
func (m *ValidateRequest) XXX_Merge(src proto.Message)
func (*ValidateRequest) XXX_Size ¶
func (m *ValidateRequest) XXX_Size() int
func (*ValidateRequest) XXX_Unmarshal ¶
func (m *ValidateRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeGroup) Descriptor ¶
func (*VolumeGroup) Descriptor() ([]byte, []int)
func (*VolumeGroup) GetFreeSize ¶
func (m *VolumeGroup) GetFreeSize() uint64
func (*VolumeGroup) GetName ¶
func (m *VolumeGroup) GetName() string
func (*VolumeGroup) GetSize ¶
func (m *VolumeGroup) GetSize() uint64
func (*VolumeGroup) GetTags ¶
func (m *VolumeGroup) GetTags() []string
func (*VolumeGroup) GetUuid ¶
func (m *VolumeGroup) GetUuid() string
func (*VolumeGroup) ProtoMessage ¶
func (*VolumeGroup) ProtoMessage()
func (*VolumeGroup) Reset ¶
func (m *VolumeGroup) Reset()
func (*VolumeGroup) String ¶
func (m *VolumeGroup) String() string
func (*VolumeGroup) XXX_DiscardUnknown ¶
func (m *VolumeGroup) XXX_DiscardUnknown()
func (*VolumeGroup) XXX_Marshal ¶
func (m *VolumeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeGroup) XXX_Merge ¶
func (m *VolumeGroup) XXX_Merge(src proto.Message)
func (*VolumeGroup) XXX_Size ¶
func (m *VolumeGroup) XXX_Size() int
func (*VolumeGroup) XXX_Unmarshal ¶
func (m *VolumeGroup) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.