lib

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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",
	}
	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.

View Source
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.

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",
	}
	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.

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",
	}
	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.

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",
	}
	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.

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",
	}
	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.

View Source
var File_pkg_local_lib_loopdevice_proto protoreflect.FileDescriptor
View Source
var File_projquota_proto protoreflect.FileDescriptor
View Source
var LoopDevice_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.LoopDevice",
	HandlerType: (*LoopDeviceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateLoopDevice",
			Handler:    _LoopDevice_CreateLoopDevice_Handler,
		},
		{
			MethodName: "DeleteLoopDevice",
			Handler:    _LoopDevice_DeleteLoopDevice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/local/lib/loopdevice.proto",
}

LoopDevice_ServiceDesc is the grpc.ServiceDesc for LoopDevice 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.Server, srv LVMServer)

func RegisterLoopDeviceServer added in v1.1.7

func RegisterLoopDeviceServer(s *grpc.Server, srv LoopDeviceServer)

func RegisterProjQuotaServer added in v1.1.1

func RegisterProjQuotaServer(s *grpc.Server, srv ProjQuotaServer)

Types

type AddTagLVReply

type AddTagLVReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTagLVReply) Descriptor deprecated

func (*AddTagLVReply) Descriptor() ([]byte, []int)

Deprecated: Use AddTagLVReply.ProtoReflect.Descriptor instead.

func (*AddTagLVReply) GetCommandOutput

func (x *AddTagLVReply) GetCommandOutput() string

func (*AddTagLVReply) ProtoMessage

func (*AddTagLVReply) ProtoMessage()

func (*AddTagLVReply) ProtoReflect added in v1.1.1

func (x *AddTagLVReply) ProtoReflect() protoreflect.Message

func (*AddTagLVReply) Reset

func (x *AddTagLVReply) Reset()

func (*AddTagLVReply) String

func (x *AddTagLVReply) String() string

type AddTagLVRequest

type AddTagLVRequest struct {
	VolumeGroup string   `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Tags        []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTagLVRequest) Descriptor deprecated

func (*AddTagLVRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddTagLVRequest.ProtoReflect.Descriptor instead.

func (*AddTagLVRequest) GetName

func (x *AddTagLVRequest) GetName() string

func (*AddTagLVRequest) GetTags

func (x *AddTagLVRequest) GetTags() []string

func (*AddTagLVRequest) GetVolumeGroup

func (x *AddTagLVRequest) GetVolumeGroup() string

func (*AddTagLVRequest) ProtoMessage

func (*AddTagLVRequest) ProtoMessage()

func (*AddTagLVRequest) ProtoReflect added in v1.1.1

func (x *AddTagLVRequest) ProtoReflect() protoreflect.Message

func (*AddTagLVRequest) Reset

func (x *AddTagLVRequest) Reset()

func (*AddTagLVRequest) String

func (x *AddTagLVRequest) String() string

type CleanPathReply

type CleanPathReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*CleanPathReply) Descriptor deprecated added in v1.1.1

func (*CleanPathReply) Descriptor() ([]byte, []int)

Deprecated: Use CleanPathReply.ProtoReflect.Descriptor instead.

func (*CleanPathReply) GetCommandOutput

func (x *CleanPathReply) GetCommandOutput() string

func (*CleanPathReply) ProtoMessage

func (*CleanPathReply) ProtoMessage()

func (*CleanPathReply) ProtoReflect added in v1.1.1

func (x *CleanPathReply) ProtoReflect() protoreflect.Message

func (*CleanPathReply) Reset

func (x *CleanPathReply) Reset()

func (*CleanPathReply) String

func (x *CleanPathReply) String() string

type CleanPathRequest

type CleanPathRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CleanPathRequest) Descriptor deprecated added in v1.1.1

func (*CleanPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use CleanPathRequest.ProtoReflect.Descriptor instead.

func (*CleanPathRequest) GetPath added in v1.1.1

func (x *CleanPathRequest) GetPath() string

func (*CleanPathRequest) ProtoMessage

func (*CleanPathRequest) ProtoMessage()

func (*CleanPathRequest) ProtoReflect added in v1.1.1

func (x *CleanPathRequest) ProtoReflect() protoreflect.Message

func (*CleanPathRequest) Reset

func (x *CleanPathRequest) Reset()

func (*CleanPathRequest) String

func (x *CleanPathRequest) String() string

type CloneLVReply

type CloneLVReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*CloneLVReply) Descriptor deprecated

func (*CloneLVReply) Descriptor() ([]byte, []int)

Deprecated: Use CloneLVReply.ProtoReflect.Descriptor instead.

func (*CloneLVReply) GetCommandOutput

func (x *CloneLVReply) GetCommandOutput() string

func (*CloneLVReply) ProtoMessage

func (*CloneLVReply) ProtoMessage()

func (*CloneLVReply) ProtoReflect added in v1.1.1

func (x *CloneLVReply) ProtoReflect() protoreflect.Message

func (*CloneLVReply) Reset

func (x *CloneLVReply) Reset()

func (*CloneLVReply) String

func (x *CloneLVReply) String() string

type CloneLVRequest

type CloneLVRequest struct {
	SourceName string `protobuf:"bytes,1,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"`
	DestName   string `protobuf:"bytes,2,opt,name=dest_name,json=destName,proto3" json:"dest_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CloneLVRequest) Descriptor deprecated

func (*CloneLVRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloneLVRequest.ProtoReflect.Descriptor instead.

func (*CloneLVRequest) GetDestName

func (x *CloneLVRequest) GetDestName() string

func (*CloneLVRequest) GetSourceName

func (x *CloneLVRequest) GetSourceName() string

func (*CloneLVRequest) ProtoMessage

func (*CloneLVRequest) ProtoMessage()

func (*CloneLVRequest) ProtoReflect added in v1.1.1

func (x *CloneLVRequest) ProtoReflect() protoreflect.Message

func (*CloneLVRequest) Reset

func (x *CloneLVRequest) Reset()

func (*CloneLVRequest) String

func (x *CloneLVRequest) String() string

type CreateLVReply

type CreateLVReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLVReply) Descriptor deprecated

func (*CreateLVReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateLVReply.ProtoReflect.Descriptor instead.

func (*CreateLVReply) GetCommandOutput

func (x *CreateLVReply) GetCommandOutput() string

func (*CreateLVReply) ProtoMessage

func (*CreateLVReply) ProtoMessage()

func (*CreateLVReply) ProtoReflect added in v1.1.1

func (x *CreateLVReply) ProtoReflect() protoreflect.Message

func (*CreateLVReply) Reset

func (x *CreateLVReply) Reset()

func (*CreateLVReply) String

func (x *CreateLVReply) String() string

type CreateLVRequest

type CreateLVRequest struct {
	VolumeGroup string   `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Size        uint64   `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Mirrors     uint32   `protobuf:"varint,4,opt,name=mirrors,proto3" json:"mirrors,omitempty"`
	Tags        []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	Striping    bool     `protobuf:"varint,6,opt,name=striping,proto3" json:"striping,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLVRequest) Descriptor deprecated

func (*CreateLVRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateLVRequest.ProtoReflect.Descriptor instead.

func (*CreateLVRequest) GetMirrors

func (x *CreateLVRequest) GetMirrors() uint32

func (*CreateLVRequest) GetName

func (x *CreateLVRequest) GetName() string

func (*CreateLVRequest) GetSize

func (x *CreateLVRequest) GetSize() uint64

func (*CreateLVRequest) GetStriping added in v1.1.1

func (x *CreateLVRequest) GetStriping() bool

func (*CreateLVRequest) GetTags

func (x *CreateLVRequest) GetTags() []string

func (*CreateLVRequest) GetVolumeGroup

func (x *CreateLVRequest) GetVolumeGroup() string

func (*CreateLVRequest) ProtoMessage

func (*CreateLVRequest) ProtoMessage()

func (*CreateLVRequest) ProtoReflect added in v1.1.1

func (x *CreateLVRequest) ProtoReflect() protoreflect.Message

func (*CreateLVRequest) Reset

func (x *CreateLVRequest) Reset()

func (*CreateLVRequest) String

func (x *CreateLVRequest) String() string

type CreateLoopDeviceReply added in v1.1.7

type CreateLoopDeviceReply struct {
	LoopDevicePath string `protobuf:"bytes,1,opt,name=loop_device_path,json=loopDevicePath,proto3" json:"loop_device_path,omitempty"`
	CommandOutput  string `protobuf:"bytes,2,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLoopDeviceReply) Descriptor deprecated added in v1.1.7

func (*CreateLoopDeviceReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateLoopDeviceReply.ProtoReflect.Descriptor instead.

func (*CreateLoopDeviceReply) GetCommandOutput added in v1.1.7

func (x *CreateLoopDeviceReply) GetCommandOutput() string

func (*CreateLoopDeviceReply) GetLoopDevicePath added in v1.1.7

func (x *CreateLoopDeviceReply) GetLoopDevicePath() string

func (*CreateLoopDeviceReply) ProtoMessage added in v1.1.7

func (*CreateLoopDeviceReply) ProtoMessage()

func (*CreateLoopDeviceReply) ProtoReflect added in v1.1.7

func (x *CreateLoopDeviceReply) ProtoReflect() protoreflect.Message

func (*CreateLoopDeviceReply) Reset added in v1.1.7

func (x *CreateLoopDeviceReply) Reset()

func (*CreateLoopDeviceReply) String added in v1.1.7

func (x *CreateLoopDeviceReply) String() string

type CreateLoopDeviceRequest added in v1.1.7

type CreateLoopDeviceRequest struct {
	PvName    string `protobuf:"bytes,1,opt,name=pv_name,json=pvName,proto3" json:"pv_name,omitempty"`
	QuotaSize string `protobuf:"bytes,2,opt,name=quota_size,json=quotaSize,proto3" json:"quota_size,omitempty"`
	RootPath  string `protobuf:"bytes,3,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLoopDeviceRequest) Descriptor deprecated added in v1.1.7

func (*CreateLoopDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateLoopDeviceRequest.ProtoReflect.Descriptor instead.

func (*CreateLoopDeviceRequest) GetPvName added in v1.1.7

func (x *CreateLoopDeviceRequest) GetPvName() string

func (*CreateLoopDeviceRequest) GetQuotaSize added in v1.1.7

func (x *CreateLoopDeviceRequest) GetQuotaSize() string

func (*CreateLoopDeviceRequest) GetRootPath added in v1.1.7

func (x *CreateLoopDeviceRequest) GetRootPath() string

func (*CreateLoopDeviceRequest) ProtoMessage added in v1.1.7

func (*CreateLoopDeviceRequest) ProtoMessage()

func (*CreateLoopDeviceRequest) ProtoReflect added in v1.1.7

func (x *CreateLoopDeviceRequest) ProtoReflect() protoreflect.Message

func (*CreateLoopDeviceRequest) Reset added in v1.1.7

func (x *CreateLoopDeviceRequest) Reset()

func (*CreateLoopDeviceRequest) String added in v1.1.7

func (x *CreateLoopDeviceRequest) String() string

type CreateNamespaceReply added in v1.1.1

type CreateNamespaceReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNamespaceReply) Descriptor deprecated added in v1.1.1

func (*CreateNamespaceReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateNamespaceReply.ProtoReflect.Descriptor instead.

func (*CreateNamespaceReply) GetCommandOutput added in v1.1.1

func (x *CreateNamespaceReply) GetCommandOutput() string

func (*CreateNamespaceReply) ProtoMessage added in v1.1.1

func (*CreateNamespaceReply) ProtoMessage()

func (*CreateNamespaceReply) ProtoReflect added in v1.1.1

func (x *CreateNamespaceReply) ProtoReflect() protoreflect.Message

func (*CreateNamespaceReply) Reset added in v1.1.1

func (x *CreateNamespaceReply) Reset()

func (*CreateNamespaceReply) String added in v1.1.1

func (x *CreateNamespaceReply) String() string

type CreateNamespaceRequest added in v1.1.1

type CreateNamespaceRequest struct {
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Size   uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNamespaceRequest) Descriptor deprecated added in v1.1.1

func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequest) GetName added in v1.1.1

func (x *CreateNamespaceRequest) GetName() string

func (*CreateNamespaceRequest) GetRegion added in v1.1.1

func (x *CreateNamespaceRequest) GetRegion() string

func (*CreateNamespaceRequest) GetSize added in v1.1.1

func (x *CreateNamespaceRequest) GetSize() uint64

func (*CreateNamespaceRequest) ProtoMessage added in v1.1.1

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) ProtoReflect added in v1.1.1

func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message

func (*CreateNamespaceRequest) Reset added in v1.1.1

func (x *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) String added in v1.1.1

func (x *CreateNamespaceRequest) String() string

type CreateProjQuotaSubpathReply added in v1.1.1

type CreateProjQuotaSubpathReply struct {
	ProjQuotaSubpath string `protobuf:"bytes,1,opt,name=proj_quota_subpath,json=projQuotaSubpath,proto3" json:"proj_quota_subpath,omitempty"`
	CommandOutput    string `protobuf:"bytes,2,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	ProjectId        string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjQuotaSubpathReply) Descriptor deprecated added in v1.1.1

func (*CreateProjQuotaSubpathReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjQuotaSubpathReply.ProtoReflect.Descriptor instead.

func (*CreateProjQuotaSubpathReply) GetCommandOutput added in v1.1.1

func (x *CreateProjQuotaSubpathReply) GetCommandOutput() string

func (*CreateProjQuotaSubpathReply) GetProjQuotaSubpath added in v1.1.1

func (x *CreateProjQuotaSubpathReply) GetProjQuotaSubpath() string

func (*CreateProjQuotaSubpathReply) GetProjectId added in v1.1.1

func (x *CreateProjQuotaSubpathReply) GetProjectId() string

func (*CreateProjQuotaSubpathReply) ProtoMessage added in v1.1.1

func (*CreateProjQuotaSubpathReply) ProtoMessage()

func (*CreateProjQuotaSubpathReply) ProtoReflect added in v1.1.1

func (*CreateProjQuotaSubpathReply) Reset added in v1.1.1

func (x *CreateProjQuotaSubpathReply) Reset()

func (*CreateProjQuotaSubpathReply) String added in v1.1.1

func (x *CreateProjQuotaSubpathReply) String() string

type CreateProjQuotaSubpathRequest added in v1.1.1

type CreateProjQuotaSubpathRequest struct {
	PvName    string `protobuf:"bytes,1,opt,name=pvName,proto3" json:"pvName,omitempty"`
	QuotaSize string `protobuf:"bytes,2,opt,name=quotaSize,proto3" json:"quotaSize,omitempty"`
	RootPath  string `protobuf:"bytes,3,opt,name=rootPath,proto3" json:"rootPath,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjQuotaSubpathRequest) Descriptor deprecated added in v1.1.1

func (*CreateProjQuotaSubpathRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjQuotaSubpathRequest.ProtoReflect.Descriptor instead.

func (*CreateProjQuotaSubpathRequest) GetPvName added in v1.1.1

func (x *CreateProjQuotaSubpathRequest) GetPvName() string

func (*CreateProjQuotaSubpathRequest) GetQuotaSize added in v1.1.1

func (x *CreateProjQuotaSubpathRequest) GetQuotaSize() string

func (*CreateProjQuotaSubpathRequest) GetRootPath added in v1.1.1

func (x *CreateProjQuotaSubpathRequest) GetRootPath() string

func (*CreateProjQuotaSubpathRequest) ProtoMessage added in v1.1.1

func (*CreateProjQuotaSubpathRequest) ProtoMessage()

func (*CreateProjQuotaSubpathRequest) ProtoReflect added in v1.1.1

func (*CreateProjQuotaSubpathRequest) Reset added in v1.1.1

func (x *CreateProjQuotaSubpathRequest) Reset()

func (*CreateProjQuotaSubpathRequest) String added in v1.1.1

type CreateVGReply

type CreateVGReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVGReply) Descriptor deprecated

func (*CreateVGReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateVGReply.ProtoReflect.Descriptor instead.

func (*CreateVGReply) GetCommandOutput

func (x *CreateVGReply) GetCommandOutput() string

func (*CreateVGReply) ProtoMessage

func (*CreateVGReply) ProtoMessage()

func (*CreateVGReply) ProtoReflect added in v1.1.1

func (x *CreateVGReply) ProtoReflect() protoreflect.Message

func (*CreateVGReply) Reset

func (x *CreateVGReply) Reset()

func (*CreateVGReply) String

func (x *CreateVGReply) String() string

type CreateVGRequest

type CreateVGRequest struct {
	Name           string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PhysicalVolume string   `protobuf:"bytes,2,opt,name=physical_volume,json=physicalVolume,proto3" json:"physical_volume,omitempty"`
	Tags           []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVGRequest) Descriptor deprecated

func (*CreateVGRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVGRequest.ProtoReflect.Descriptor instead.

func (*CreateVGRequest) GetName

func (x *CreateVGRequest) GetName() string

func (*CreateVGRequest) GetPhysicalVolume

func (x *CreateVGRequest) GetPhysicalVolume() string

func (*CreateVGRequest) GetTags

func (x *CreateVGRequest) GetTags() []string

func (*CreateVGRequest) ProtoMessage

func (*CreateVGRequest) ProtoMessage()

func (*CreateVGRequest) ProtoReflect added in v1.1.1

func (x *CreateVGRequest) ProtoReflect() protoreflect.Message

func (*CreateVGRequest) Reset

func (x *CreateVGRequest) Reset()

func (*CreateVGRequest) String

func (x *CreateVGRequest) String() string

type DeleteLoopDeviceReply added in v1.1.7

type DeleteLoopDeviceReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLoopDeviceReply) Descriptor deprecated added in v1.1.7

func (*DeleteLoopDeviceReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteLoopDeviceReply.ProtoReflect.Descriptor instead.

func (*DeleteLoopDeviceReply) GetCommandOutput added in v1.1.7

func (x *DeleteLoopDeviceReply) GetCommandOutput() string

func (*DeleteLoopDeviceReply) ProtoMessage added in v1.1.7

func (*DeleteLoopDeviceReply) ProtoMessage()

func (*DeleteLoopDeviceReply) ProtoReflect added in v1.1.7

func (x *DeleteLoopDeviceReply) ProtoReflect() protoreflect.Message

func (*DeleteLoopDeviceReply) Reset added in v1.1.7

func (x *DeleteLoopDeviceReply) Reset()

func (*DeleteLoopDeviceReply) String added in v1.1.7

func (x *DeleteLoopDeviceReply) String() string

type DeleteLoopDeviceRequest added in v1.1.7

type DeleteLoopDeviceRequest struct {
	PvName string `protobuf:"bytes,1,opt,name=pv_name,json=pvName,proto3" json:"pv_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLoopDeviceRequest) Descriptor deprecated added in v1.1.7

func (*DeleteLoopDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteLoopDeviceRequest.ProtoReflect.Descriptor instead.

func (*DeleteLoopDeviceRequest) GetPvName added in v1.1.7

func (x *DeleteLoopDeviceRequest) GetPvName() string

func (*DeleteLoopDeviceRequest) ProtoMessage added in v1.1.7

func (*DeleteLoopDeviceRequest) ProtoMessage()

func (*DeleteLoopDeviceRequest) ProtoReflect added in v1.1.7

func (x *DeleteLoopDeviceRequest) ProtoReflect() protoreflect.Message

func (*DeleteLoopDeviceRequest) Reset added in v1.1.7

func (x *DeleteLoopDeviceRequest) Reset()

func (*DeleteLoopDeviceRequest) String added in v1.1.7

func (x *DeleteLoopDeviceRequest) 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 ParseLV

func ParseLV(line string) (*LV, error)

ParseLV parses a line from lvs

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

ToProto returns lvm.LogicalVolume.Attributes representation of struct

type LVMClient

type LVMClient interface {
	ListLV(ctx context.Context, in *ListLVRequest, opts ...grpc.CallOption) (*ListLVReply, error)
	CreateLV(ctx context.Context, in *CreateLVRequest, opts ...grpc.CallOption) (*CreateLVReply, error)
	RemoveLV(ctx context.Context, in *RemoveLVRequest, opts ...grpc.CallOption) (*RemoveLVReply, error)
	CloneLV(ctx context.Context, in *CloneLVRequest, opts ...grpc.CallOption) (*CloneLVReply, error)
	AddTagLV(ctx context.Context, in *AddTagLVRequest, opts ...grpc.CallOption) (*AddTagLVReply, error)
	RemoveTagLV(ctx context.Context, in *RemoveTagLVRequest, opts ...grpc.CallOption) (*RemoveTagLVReply, error)
	ListVG(ctx context.Context, in *ListVGRequest, opts ...grpc.CallOption) (*ListVGReply, error)
	CreateVG(ctx context.Context, in *CreateVGRequest, opts ...grpc.CallOption) (*CreateVGReply, error)
	RemoveVG(ctx context.Context, in *CreateVGRequest, opts ...grpc.CallOption) (*RemoveVGReply, error)
	CleanPath(ctx context.Context, in *CleanPathRequest, opts ...grpc.CallOption) (*CleanPathReply, error)
	ListNamespace(ctx context.Context, in *ListNamespaceRequest, opts ...grpc.CallOption) (*ListNamespaceReply, error)
	CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceReply, error)
	RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceReply, error)
}

LVMClient is the client API for LVM service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLVMClient

func NewLVMClient(cc *grpc.ClientConn) LVMClient

type LVMServer

LVMServer is the server API for LVM service. All implementations must embed UnimplementedLVMServer for forward compatibility

type ListLVReply

type ListLVReply struct {
	Volumes []*LogicalVolume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLVReply) Descriptor deprecated

func (*ListLVReply) Descriptor() ([]byte, []int)

Deprecated: Use ListLVReply.ProtoReflect.Descriptor instead.

func (*ListLVReply) GetVolumes

func (x *ListLVReply) GetVolumes() []*LogicalVolume

func (*ListLVReply) ProtoMessage

func (*ListLVReply) ProtoMessage()

func (*ListLVReply) ProtoReflect added in v1.1.1

func (x *ListLVReply) ProtoReflect() protoreflect.Message

func (*ListLVReply) Reset

func (x *ListLVReply) Reset()

func (*ListLVReply) String

func (x *ListLVReply) String() string

type ListLVRequest

type ListLVRequest struct {
	VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLVRequest) Descriptor deprecated

func (*ListLVRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListLVRequest.ProtoReflect.Descriptor instead.

func (*ListLVRequest) GetVolumeGroup

func (x *ListLVRequest) GetVolumeGroup() string

func (*ListLVRequest) ProtoMessage

func (*ListLVRequest) ProtoMessage()

func (*ListLVRequest) ProtoReflect added in v1.1.1

func (x *ListLVRequest) ProtoReflect() protoreflect.Message

func (*ListLVRequest) Reset

func (x *ListLVRequest) Reset()

func (*ListLVRequest) String

func (x *ListLVRequest) String() string

type ListNamespaceReply added in v1.1.1

type ListNamespaceReply struct {
	NameSpace []*NameSpace `protobuf:"bytes,1,rep,name=name_space,json=nameSpace,proto3" json:"name_space,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespaceReply) Descriptor deprecated added in v1.1.1

func (*ListNamespaceReply) Descriptor() ([]byte, []int)

Deprecated: Use ListNamespaceReply.ProtoReflect.Descriptor instead.

func (*ListNamespaceReply) GetNameSpace added in v1.1.1

func (x *ListNamespaceReply) GetNameSpace() []*NameSpace

func (*ListNamespaceReply) ProtoMessage added in v1.1.1

func (*ListNamespaceReply) ProtoMessage()

func (*ListNamespaceReply) ProtoReflect added in v1.1.1

func (x *ListNamespaceReply) ProtoReflect() protoreflect.Message

func (*ListNamespaceReply) Reset added in v1.1.1

func (x *ListNamespaceReply) Reset()

func (*ListNamespaceReply) String added in v1.1.1

func (x *ListNamespaceReply) String() string

type ListNamespaceRequest added in v1.1.1

type ListNamespaceRequest struct {
	NameSpace string `protobuf:"bytes,1,opt,name=name_space,json=nameSpace,proto3" json:"name_space,omitempty"`
	Region    string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespaceRequest) Descriptor deprecated added in v1.1.1

func (*ListNamespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNamespaceRequest.ProtoReflect.Descriptor instead.

func (*ListNamespaceRequest) GetNameSpace added in v1.1.1

func (x *ListNamespaceRequest) GetNameSpace() string

func (*ListNamespaceRequest) GetRegion added in v1.1.1

func (x *ListNamespaceRequest) GetRegion() string

func (*ListNamespaceRequest) ProtoMessage added in v1.1.1

func (*ListNamespaceRequest) ProtoMessage()

func (*ListNamespaceRequest) ProtoReflect added in v1.1.1

func (x *ListNamespaceRequest) ProtoReflect() protoreflect.Message

func (*ListNamespaceRequest) Reset added in v1.1.1

func (x *ListNamespaceRequest) Reset()

func (*ListNamespaceRequest) String added in v1.1.1

func (x *ListNamespaceRequest) String() string

type ListVGReply

type ListVGReply struct {
	VolumeGroups []*VolumeGroup `protobuf:"bytes,1,rep,name=volume_groups,json=volumeGroups,proto3" json:"volume_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVGReply) Descriptor deprecated

func (*ListVGReply) Descriptor() ([]byte, []int)

Deprecated: Use ListVGReply.ProtoReflect.Descriptor instead.

func (*ListVGReply) GetVolumeGroups

func (x *ListVGReply) GetVolumeGroups() []*VolumeGroup

func (*ListVGReply) ProtoMessage

func (*ListVGReply) ProtoMessage()

func (*ListVGReply) ProtoReflect added in v1.1.1

func (x *ListVGReply) ProtoReflect() protoreflect.Message

func (*ListVGReply) Reset

func (x *ListVGReply) Reset()

func (*ListVGReply) String

func (x *ListVGReply) String() string

type ListVGRequest

type ListVGRequest struct {
	// contains filtered or unexported fields
}

func (*ListVGRequest) Descriptor deprecated

func (*ListVGRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVGRequest.ProtoReflect.Descriptor instead.

func (*ListVGRequest) ProtoMessage

func (*ListVGRequest) ProtoMessage()

func (*ListVGRequest) ProtoReflect added in v1.1.1

func (x *ListVGRequest) ProtoReflect() protoreflect.Message

func (*ListVGRequest) Reset

func (x *ListVGRequest) Reset()

func (*ListVGRequest) String

func (x *ListVGRequest) String() string

type LogicalVolume

type LogicalVolume struct {
	Name                 string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Size                 uint64                    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Uuid                 string                    `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Attributes           *LogicalVolume_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	CopyPercent          string                    `protobuf:"bytes,5,opt,name=copy_percent,json=copyPercent,proto3" json:"copy_percent,omitempty"`
	ActualDevMajorNumber uint32                    `` /* 126-byte string literal not displayed */
	ActualDevMinorNumber uint32                    `` /* 126-byte string literal not displayed */
	Tags                 []string                  `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*LogicalVolume) Descriptor deprecated

func (*LogicalVolume) Descriptor() ([]byte, []int)

Deprecated: Use LogicalVolume.ProtoReflect.Descriptor instead.

func (*LogicalVolume) GetActualDevMajorNumber

func (x *LogicalVolume) GetActualDevMajorNumber() uint32

func (*LogicalVolume) GetActualDevMinorNumber

func (x *LogicalVolume) GetActualDevMinorNumber() uint32

func (*LogicalVolume) GetAttributes

func (x *LogicalVolume) GetAttributes() *LogicalVolume_Attributes

func (*LogicalVolume) GetCopyPercent

func (x *LogicalVolume) GetCopyPercent() string

func (*LogicalVolume) GetName

func (x *LogicalVolume) GetName() string

func (*LogicalVolume) GetSize

func (x *LogicalVolume) GetSize() uint64

func (*LogicalVolume) GetTags

func (x *LogicalVolume) GetTags() []string

func (*LogicalVolume) GetUuid

func (x *LogicalVolume) GetUuid() string

func (*LogicalVolume) ProtoMessage

func (*LogicalVolume) ProtoMessage()

func (*LogicalVolume) ProtoReflect added in v1.1.1

func (x *LogicalVolume) ProtoReflect() protoreflect.Message

func (*LogicalVolume) Reset

func (x *LogicalVolume) Reset()

func (*LogicalVolume) String

func (x *LogicalVolume) String() string

type LogicalVolume_Attributes

type LogicalVolume_Attributes struct {
	Type              LogicalVolume_Attributes_Type        `protobuf:"varint,1,opt,name=type,proto3,enum=proto.LogicalVolume_Attributes_Type" json:"type,omitempty"`
	Permissions       LogicalVolume_Attributes_Permissions `protobuf:"varint,2,opt,name=permissions,proto3,enum=proto.LogicalVolume_Attributes_Permissions" json:"permissions,omitempty"`
	Allocation        LogicalVolume_Attributes_Allocation  `protobuf:"varint,3,opt,name=allocation,proto3,enum=proto.LogicalVolume_Attributes_Allocation" json:"allocation,omitempty"`
	FixedMinor        bool                                 `protobuf:"varint,4,opt,name=fixed_minor,json=fixedMinor,proto3" json:"fixed_minor,omitempty"`
	State             LogicalVolume_Attributes_State       `protobuf:"varint,5,opt,name=state,proto3,enum=proto.LogicalVolume_Attributes_State" json:"state,omitempty"`
	Open              bool                                 `protobuf:"varint,6,opt,name=open,proto3" json:"open,omitempty"`
	TargetType        LogicalVolume_Attributes_TargetType  `` /* 139-byte string literal not displayed */
	Zeroing           bool                                 `protobuf:"varint,8,opt,name=zeroing,proto3" json:"zeroing,omitempty"`
	Health            LogicalVolume_Attributes_Health      `protobuf:"varint,9,opt,name=health,proto3,enum=proto.LogicalVolume_Attributes_Health" json:"health,omitempty"`
	ActivationSkipped bool                                 `protobuf:"varint,10,opt,name=activation_skipped,json=activationSkipped,proto3" json:"activation_skipped,omitempty"`
	// contains filtered or unexported fields
}

func (*LogicalVolume_Attributes) Descriptor deprecated

func (*LogicalVolume_Attributes) Descriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes.ProtoReflect.Descriptor instead.

func (*LogicalVolume_Attributes) GetActivationSkipped

func (x *LogicalVolume_Attributes) GetActivationSkipped() bool

func (*LogicalVolume_Attributes) GetAllocation

func (*LogicalVolume_Attributes) GetFixedMinor

func (x *LogicalVolume_Attributes) GetFixedMinor() bool

func (*LogicalVolume_Attributes) GetHealth

func (*LogicalVolume_Attributes) GetOpen

func (x *LogicalVolume_Attributes) GetOpen() bool

func (*LogicalVolume_Attributes) GetPermissions

func (*LogicalVolume_Attributes) GetState

func (*LogicalVolume_Attributes) GetTargetType

func (*LogicalVolume_Attributes) GetType

func (*LogicalVolume_Attributes) GetZeroing

func (x *LogicalVolume_Attributes) GetZeroing() bool

func (*LogicalVolume_Attributes) ProtoMessage

func (*LogicalVolume_Attributes) ProtoMessage()

func (*LogicalVolume_Attributes) ProtoReflect added in v1.1.1

func (x *LogicalVolume_Attributes) ProtoReflect() protoreflect.Message

func (*LogicalVolume_Attributes) Reset

func (x *LogicalVolume_Attributes) Reset()

func (*LogicalVolume_Attributes) String

func (x *LogicalVolume_Attributes) String() string

type LogicalVolume_Attributes_Allocation

type LogicalVolume_Attributes_Allocation int32
const (
	LogicalVolume_Attributes_MALFORMED_ALLOCATION LogicalVolume_Attributes_Allocation = 0
	LogicalVolume_Attributes_ANYWHERE             LogicalVolume_Attributes_Allocation = 1
	LogicalVolume_Attributes_CONTIGUOUS           LogicalVolume_Attributes_Allocation = 2
	LogicalVolume_Attributes_INHERITED            LogicalVolume_Attributes_Allocation = 3
	LogicalVolume_Attributes_CLING                LogicalVolume_Attributes_Allocation = 4
	LogicalVolume_Attributes_NORMAL               LogicalVolume_Attributes_Allocation = 5
	LogicalVolume_Attributes_ANYWHERE_LOCKED      LogicalVolume_Attributes_Allocation = 6
	LogicalVolume_Attributes_CONTIGUOUS_LOCKED    LogicalVolume_Attributes_Allocation = 7
	LogicalVolume_Attributes_INHERITED_LOCKED     LogicalVolume_Attributes_Allocation = 8
	LogicalVolume_Attributes_CLING_LOCKED         LogicalVolume_Attributes_Allocation = 9
	LogicalVolume_Attributes_NORMAL_LOCKED        LogicalVolume_Attributes_Allocation = 10
)

func (LogicalVolume_Attributes_Allocation) Descriptor added in v1.1.1

func (LogicalVolume_Attributes_Allocation) Enum added in v1.1.1

func (LogicalVolume_Attributes_Allocation) EnumDescriptor deprecated

func (LogicalVolume_Attributes_Allocation) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes_Allocation.Descriptor instead.

func (LogicalVolume_Attributes_Allocation) Number added in v1.1.1

func (LogicalVolume_Attributes_Allocation) String

func (LogicalVolume_Attributes_Allocation) Type added in v1.1.1

type LogicalVolume_Attributes_Health

type LogicalVolume_Attributes_Health int32
const (
	LogicalVolume_Attributes_MALFORMED_HEALTH LogicalVolume_Attributes_Health = 0
	LogicalVolume_Attributes_OK               LogicalVolume_Attributes_Health = 1
	LogicalVolume_Attributes_PARTIAL          LogicalVolume_Attributes_Health = 2
	LogicalVolume_Attributes_REFRESH_NEEDED   LogicalVolume_Attributes_Health = 3
	LogicalVolume_Attributes_MISMATCHES_EXIST LogicalVolume_Attributes_Health = 4
	LogicalVolume_Attributes_WRITEMOSTLY      LogicalVolume_Attributes_Health = 5
)

func (LogicalVolume_Attributes_Health) Descriptor added in v1.1.1

func (LogicalVolume_Attributes_Health) Enum added in v1.1.1

func (LogicalVolume_Attributes_Health) EnumDescriptor deprecated

func (LogicalVolume_Attributes_Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes_Health.Descriptor instead.

func (LogicalVolume_Attributes_Health) Number added in v1.1.1

func (LogicalVolume_Attributes_Health) String

func (LogicalVolume_Attributes_Health) Type added in v1.1.1

type LogicalVolume_Attributes_Permissions

type LogicalVolume_Attributes_Permissions int32
const (
	LogicalVolume_Attributes_MALFORMED_PERMISSIONS LogicalVolume_Attributes_Permissions = 0
	LogicalVolume_Attributes_WRITEABLE             LogicalVolume_Attributes_Permissions = 1
	LogicalVolume_Attributes_READ_ONLY             LogicalVolume_Attributes_Permissions = 2
	LogicalVolume_Attributes_READ_ONLY_ACTIVATION  LogicalVolume_Attributes_Permissions = 3
)

func (LogicalVolume_Attributes_Permissions) Descriptor added in v1.1.1

func (LogicalVolume_Attributes_Permissions) Enum added in v1.1.1

func (LogicalVolume_Attributes_Permissions) EnumDescriptor deprecated

func (LogicalVolume_Attributes_Permissions) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes_Permissions.Descriptor instead.

func (LogicalVolume_Attributes_Permissions) Number added in v1.1.1

func (LogicalVolume_Attributes_Permissions) String

func (LogicalVolume_Attributes_Permissions) Type added in v1.1.1

type LogicalVolume_Attributes_State

type LogicalVolume_Attributes_State int32
const (
	LogicalVolume_Attributes_MALFORMED_STATE                           LogicalVolume_Attributes_State = 0
	LogicalVolume_Attributes_ACTIVE                                    LogicalVolume_Attributes_State = 1
	LogicalVolume_Attributes_SUSPENDED                                 LogicalVolume_Attributes_State = 2
	LogicalVolume_Attributes_INVALID_SNAPSHOT                          LogicalVolume_Attributes_State = 3
	LogicalVolume_Attributes_INVALID_SUSPENDED_SNAPSHOT                LogicalVolume_Attributes_State = 4
	LogicalVolume_Attributes_SNAPSHOT_MERGE_FAILED                     LogicalVolume_Attributes_State = 5
	LogicalVolume_Attributes_SUSPENDED_SNAPSHOT_MERGE_FAILED           LogicalVolume_Attributes_State = 6
	LogicalVolume_Attributes_MAPPED_DEVICE_PRESENT_WITHOUT_TABLES      LogicalVolume_Attributes_State = 7
	LogicalVolume_Attributes_MAPPED_DEVICE_PRESENT_WITH_INACTIVE_TABLE LogicalVolume_Attributes_State = 8
)

func (LogicalVolume_Attributes_State) Descriptor added in v1.1.1

func (LogicalVolume_Attributes_State) Enum added in v1.1.1

func (LogicalVolume_Attributes_State) EnumDescriptor deprecated

func (LogicalVolume_Attributes_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes_State.Descriptor instead.

func (LogicalVolume_Attributes_State) Number added in v1.1.1

func (LogicalVolume_Attributes_State) String

func (LogicalVolume_Attributes_State) Type added in v1.1.1

type LogicalVolume_Attributes_TargetType

type LogicalVolume_Attributes_TargetType int32
const (
	LogicalVolume_Attributes_MALFORMED_TARGET LogicalVolume_Attributes_TargetType = 0
	LogicalVolume_Attributes_MIRROR_TARGET    LogicalVolume_Attributes_TargetType = 1
	LogicalVolume_Attributes_RAID_TARGET      LogicalVolume_Attributes_TargetType = 2
	LogicalVolume_Attributes_SNAPSHOT_TARGET  LogicalVolume_Attributes_TargetType = 3
	LogicalVolume_Attributes_THIN_TARGET      LogicalVolume_Attributes_TargetType = 4
	LogicalVolume_Attributes_UNKNOWN_TARGET   LogicalVolume_Attributes_TargetType = 5
	LogicalVolume_Attributes_VIRTUAL_TARGET   LogicalVolume_Attributes_TargetType = 6
)

func (LogicalVolume_Attributes_TargetType) Descriptor added in v1.1.1

func (LogicalVolume_Attributes_TargetType) Enum added in v1.1.1

func (LogicalVolume_Attributes_TargetType) EnumDescriptor deprecated

func (LogicalVolume_Attributes_TargetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes_TargetType.Descriptor instead.

func (LogicalVolume_Attributes_TargetType) Number added in v1.1.1

func (LogicalVolume_Attributes_TargetType) String

func (LogicalVolume_Attributes_TargetType) Type added in v1.1.1

type LogicalVolume_Attributes_Type

type LogicalVolume_Attributes_Type int32
const (
	LogicalVolume_Attributes_MALFORMED_TYPE               LogicalVolume_Attributes_Type = 0
	LogicalVolume_Attributes_MIRRORED                     LogicalVolume_Attributes_Type = 1
	LogicalVolume_Attributes_MIRRORED_WITHOUT_SYNC        LogicalVolume_Attributes_Type = 2
	LogicalVolume_Attributes_ORIGIN                       LogicalVolume_Attributes_Type = 3
	LogicalVolume_Attributes_ORIGIN_WITH_MERGING_SNAPSHOT LogicalVolume_Attributes_Type = 4
	LogicalVolume_Attributes_RAID                         LogicalVolume_Attributes_Type = 5
	LogicalVolume_Attributes_RAID_WITHOUT_SYNC            LogicalVolume_Attributes_Type = 6
	LogicalVolume_Attributes_SNAPSHOT                     LogicalVolume_Attributes_Type = 7
	LogicalVolume_Attributes_MERGING_SNAPSHOT             LogicalVolume_Attributes_Type = 8
	LogicalVolume_Attributes_PV_MOVE                      LogicalVolume_Attributes_Type = 9
	LogicalVolume_Attributes_VIRTUAL_MIRROR               LogicalVolume_Attributes_Type = 10
	LogicalVolume_Attributes_VIRTUAL_RAID_IMAGE           LogicalVolume_Attributes_Type = 11
	LogicalVolume_Attributes_RAID_IMAGE_OUT_OF_SYNC       LogicalVolume_Attributes_Type = 12
	LogicalVolume_Attributes_MIRROR_LOG                   LogicalVolume_Attributes_Type = 13
	LogicalVolume_Attributes_UNDER_CONVERSION             LogicalVolume_Attributes_Type = 14
	LogicalVolume_Attributes_THIN                         LogicalVolume_Attributes_Type = 15
	LogicalVolume_Attributes_THIN_POOL                    LogicalVolume_Attributes_Type = 16
	LogicalVolume_Attributes_THIN_POOL_DATA               LogicalVolume_Attributes_Type = 17
	LogicalVolume_Attributes_RAID_OR_THIN_POOL_METADATA   LogicalVolume_Attributes_Type = 18
)

func (LogicalVolume_Attributes_Type) Descriptor added in v1.1.1

func (LogicalVolume_Attributes_Type) Enum added in v1.1.1

func (LogicalVolume_Attributes_Type) EnumDescriptor deprecated

func (LogicalVolume_Attributes_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogicalVolume_Attributes_Type.Descriptor instead.

func (LogicalVolume_Attributes_Type) Number added in v1.1.1

func (LogicalVolume_Attributes_Type) String

func (LogicalVolume_Attributes_Type) Type added in v1.1.1

type LoopDeviceClient added in v1.1.7

type LoopDeviceClient interface {
	CreateLoopDevice(ctx context.Context, in *CreateLoopDeviceRequest, opts ...grpc.CallOption) (*CreateLoopDeviceReply, error)
	DeleteLoopDevice(ctx context.Context, in *DeleteLoopDeviceRequest, opts ...grpc.CallOption) (*DeleteLoopDeviceReply, error)
}

LoopDeviceClient is the client API for LoopDevice 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 NewLoopDeviceClient added in v1.1.7

func NewLoopDeviceClient(cc grpc.ClientConnInterface) LoopDeviceClient

type LoopDeviceServer added in v1.1.7

type LoopDeviceServer interface {
	CreateLoopDevice(context.Context, *CreateLoopDeviceRequest) (*CreateLoopDeviceReply, error)
	DeleteLoopDevice(context.Context, *DeleteLoopDeviceRequest) (*DeleteLoopDeviceReply, error)
}

LoopDeviceServer is the server API for LoopDevice service. All implementations must embed UnimplementedLoopDeviceServer for forward compatibility

type NameSpace

type NameSpace struct {
	Dev        string `protobuf:"bytes,1,opt,name=dev,proto3" json:"dev,omitempty"`
	Mode       string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	MapType    string `protobuf:"bytes,3,opt,name=map_type,json=mapType,proto3" json:"map_type,omitempty"`
	Size       int64  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Uuid       string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
	SectorSize int64  `protobuf:"varint,6,opt,name=sector_size,json=sectorSize,proto3" json:"sector_size,omitempty"`
	Align      int64  `protobuf:"varint,7,opt,name=align,proto3" json:"align,omitempty"`
	BlockDev   string `protobuf:"bytes,8,opt,name=block_dev,json=blockDev,proto3" json:"block_dev,omitempty"`
	CharDev    string `protobuf:"bytes,9,opt,name=char_dev,json=charDev,proto3" json:"char_dev,omitempty"`
	Name       string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	Region     string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*NameSpace) Descriptor deprecated

func (*NameSpace) Descriptor() ([]byte, []int)

Deprecated: Use NameSpace.ProtoReflect.Descriptor instead.

func (*NameSpace) GetAlign added in v1.1.1

func (x *NameSpace) GetAlign() int64

func (*NameSpace) GetBlockDev added in v1.1.1

func (x *NameSpace) GetBlockDev() string

func (*NameSpace) GetCharDev

func (x *NameSpace) GetCharDev() string

func (*NameSpace) GetDev added in v1.1.1

func (x *NameSpace) GetDev() string

func (*NameSpace) GetMapType added in v1.1.1

func (x *NameSpace) GetMapType() string

func (*NameSpace) GetMode added in v1.1.1

func (x *NameSpace) GetMode() string

func (*NameSpace) GetName

func (x *NameSpace) GetName() string

func (*NameSpace) GetRegion added in v1.1.1

func (x *NameSpace) GetRegion() string

func (*NameSpace) GetSectorSize added in v1.1.1

func (x *NameSpace) GetSectorSize() int64

func (*NameSpace) GetSize

func (x *NameSpace) GetSize() int64

func (*NameSpace) GetUuid

func (x *NameSpace) GetUuid() string

func (*NameSpace) ProtoMessage

func (*NameSpace) ProtoMessage()

func (*NameSpace) ProtoReflect added in v1.1.1

func (x *NameSpace) ProtoReflect() protoreflect.Message

func (*NameSpace) Reset

func (x *NameSpace) Reset()

func (*NameSpace) String

func (x *NameSpace) String() string

type ProjQuotaClient added in v1.1.1

type ProjQuotaClient interface {
	CreateProjQuotaSubpath(ctx context.Context, in *CreateProjQuotaSubpathRequest, opts ...grpc.CallOption) (*CreateProjQuotaSubpathReply, error)
	SetSubpathProjQuota(ctx context.Context, in *SetSubpathProjQuotaRequest, opts ...grpc.CallOption) (*SetSubpathProjQuotaReply, error)
	RemoveProjQuotaSubpath(ctx context.Context, in *RemoveProjQuotaSubpathRequest, opts ...grpc.CallOption) (*RemoveProjQuotaSubpathReply, error)
}

ProjQuotaClient is the client API for ProjQuota service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewProjQuotaClient added in v1.1.1

func NewProjQuotaClient(cc *grpc.ClientConn) ProjQuotaClient

type ProjQuotaServer added in v1.1.1

ProjQuotaServer is the server API for ProjQuota service. All implementations must embed UnimplementedProjQuotaServer for forward compatibility

type RemoveLVReply

type RemoveLVReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveLVReply) Descriptor deprecated

func (*RemoveLVReply) Descriptor() ([]byte, []int)

Deprecated: Use RemoveLVReply.ProtoReflect.Descriptor instead.

func (*RemoveLVReply) GetCommandOutput

func (x *RemoveLVReply) GetCommandOutput() string

func (*RemoveLVReply) ProtoMessage

func (*RemoveLVReply) ProtoMessage()

func (*RemoveLVReply) ProtoReflect added in v1.1.1

func (x *RemoveLVReply) ProtoReflect() protoreflect.Message

func (*RemoveLVReply) Reset

func (x *RemoveLVReply) Reset()

func (*RemoveLVReply) String

func (x *RemoveLVReply) String() string

type RemoveLVRequest

type RemoveLVRequest struct {
	VolumeGroup string `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveLVRequest) Descriptor deprecated

func (*RemoveLVRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveLVRequest.ProtoReflect.Descriptor instead.

func (*RemoveLVRequest) GetName

func (x *RemoveLVRequest) GetName() string

func (*RemoveLVRequest) GetVolumeGroup

func (x *RemoveLVRequest) GetVolumeGroup() string

func (*RemoveLVRequest) ProtoMessage

func (*RemoveLVRequest) ProtoMessage()

func (*RemoveLVRequest) ProtoReflect added in v1.1.1

func (x *RemoveLVRequest) ProtoReflect() protoreflect.Message

func (*RemoveLVRequest) Reset

func (x *RemoveLVRequest) Reset()

func (*RemoveLVRequest) String

func (x *RemoveLVRequest) String() string

type RemoveNamespaceReply added in v1.1.1

type RemoveNamespaceReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveNamespaceReply) Descriptor deprecated added in v1.1.1

func (*RemoveNamespaceReply) Descriptor() ([]byte, []int)

Deprecated: Use RemoveNamespaceReply.ProtoReflect.Descriptor instead.

func (*RemoveNamespaceReply) GetCommandOutput added in v1.1.1

func (x *RemoveNamespaceReply) GetCommandOutput() string

func (*RemoveNamespaceReply) ProtoMessage added in v1.1.1

func (*RemoveNamespaceReply) ProtoMessage()

func (*RemoveNamespaceReply) ProtoReflect added in v1.1.1

func (x *RemoveNamespaceReply) ProtoReflect() protoreflect.Message

func (*RemoveNamespaceReply) Reset added in v1.1.1

func (x *RemoveNamespaceReply) Reset()

func (*RemoveNamespaceReply) String added in v1.1.1

func (x *RemoveNamespaceReply) String() string

type RemoveNamespaceRequest added in v1.1.1

type RemoveNamespaceRequest struct {
	NameSpace string `protobuf:"bytes,1,opt,name=name_space,json=nameSpace,proto3" json:"name_space,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveNamespaceRequest) Descriptor deprecated added in v1.1.1

func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveNamespaceRequest.ProtoReflect.Descriptor instead.

func (*RemoveNamespaceRequest) GetNameSpace added in v1.1.1

func (x *RemoveNamespaceRequest) GetNameSpace() string

func (*RemoveNamespaceRequest) ProtoMessage added in v1.1.1

func (*RemoveNamespaceRequest) ProtoMessage()

func (*RemoveNamespaceRequest) ProtoReflect added in v1.1.1

func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message

func (*RemoveNamespaceRequest) Reset added in v1.1.1

func (x *RemoveNamespaceRequest) Reset()

func (*RemoveNamespaceRequest) String added in v1.1.1

func (x *RemoveNamespaceRequest) String() string

type RemoveProjQuotaSubpathReply added in v1.1.1

type RemoveProjQuotaSubpathReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProjQuotaSubpathReply) Descriptor deprecated added in v1.1.1

func (*RemoveProjQuotaSubpathReply) Descriptor() ([]byte, []int)

Deprecated: Use RemoveProjQuotaSubpathReply.ProtoReflect.Descriptor instead.

func (*RemoveProjQuotaSubpathReply) GetCommandOutput added in v1.1.1

func (x *RemoveProjQuotaSubpathReply) GetCommandOutput() string

func (*RemoveProjQuotaSubpathReply) ProtoMessage added in v1.1.1

func (*RemoveProjQuotaSubpathReply) ProtoMessage()

func (*RemoveProjQuotaSubpathReply) ProtoReflect added in v1.1.1

func (*RemoveProjQuotaSubpathReply) Reset added in v1.1.1

func (x *RemoveProjQuotaSubpathReply) Reset()

func (*RemoveProjQuotaSubpathReply) String added in v1.1.1

func (x *RemoveProjQuotaSubpathReply) String() string

type RemoveProjQuotaSubpathRequest added in v1.1.1

type RemoveProjQuotaSubpathRequest struct {
	QuotaSubpath string `protobuf:"bytes,1,opt,name=quota_subpath,json=quotaSubpath,proto3" json:"quota_subpath,omitempty"`
	ProjectId    string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProjQuotaSubpathRequest) Descriptor deprecated added in v1.1.1

func (*RemoveProjQuotaSubpathRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveProjQuotaSubpathRequest.ProtoReflect.Descriptor instead.

func (*RemoveProjQuotaSubpathRequest) GetProjectId added in v1.1.1

func (x *RemoveProjQuotaSubpathRequest) GetProjectId() string

func (*RemoveProjQuotaSubpathRequest) GetQuotaSubpath added in v1.1.1

func (x *RemoveProjQuotaSubpathRequest) GetQuotaSubpath() string

func (*RemoveProjQuotaSubpathRequest) ProtoMessage added in v1.1.1

func (*RemoveProjQuotaSubpathRequest) ProtoMessage()

func (*RemoveProjQuotaSubpathRequest) ProtoReflect added in v1.1.1

func (*RemoveProjQuotaSubpathRequest) Reset added in v1.1.1

func (x *RemoveProjQuotaSubpathRequest) Reset()

func (*RemoveProjQuotaSubpathRequest) String added in v1.1.1

type RemoveTagLVReply

type RemoveTagLVReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTagLVReply) Descriptor deprecated

func (*RemoveTagLVReply) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTagLVReply.ProtoReflect.Descriptor instead.

func (*RemoveTagLVReply) GetCommandOutput

func (x *RemoveTagLVReply) GetCommandOutput() string

func (*RemoveTagLVReply) ProtoMessage

func (*RemoveTagLVReply) ProtoMessage()

func (*RemoveTagLVReply) ProtoReflect added in v1.1.1

func (x *RemoveTagLVReply) ProtoReflect() protoreflect.Message

func (*RemoveTagLVReply) Reset

func (x *RemoveTagLVReply) Reset()

func (*RemoveTagLVReply) String

func (x *RemoveTagLVReply) String() string

type RemoveTagLVRequest

type RemoveTagLVRequest struct {
	VolumeGroup string   `protobuf:"bytes,1,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Tags        []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTagLVRequest) Descriptor deprecated

func (*RemoveTagLVRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTagLVRequest.ProtoReflect.Descriptor instead.

func (*RemoveTagLVRequest) GetName

func (x *RemoveTagLVRequest) GetName() string

func (*RemoveTagLVRequest) GetTags

func (x *RemoveTagLVRequest) GetTags() []string

func (*RemoveTagLVRequest) GetVolumeGroup

func (x *RemoveTagLVRequest) GetVolumeGroup() string

func (*RemoveTagLVRequest) ProtoMessage

func (*RemoveTagLVRequest) ProtoMessage()

func (*RemoveTagLVRequest) ProtoReflect added in v1.1.1

func (x *RemoveTagLVRequest) ProtoReflect() protoreflect.Message

func (*RemoveTagLVRequest) Reset

func (x *RemoveTagLVRequest) Reset()

func (*RemoveTagLVRequest) String

func (x *RemoveTagLVRequest) String() string

type RemoveVGReply

type RemoveVGReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVGReply) Descriptor deprecated

func (*RemoveVGReply) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVGReply.ProtoReflect.Descriptor instead.

func (*RemoveVGReply) GetCommandOutput

func (x *RemoveVGReply) GetCommandOutput() string

func (*RemoveVGReply) ProtoMessage

func (*RemoveVGReply) ProtoMessage()

func (*RemoveVGReply) ProtoReflect added in v1.1.1

func (x *RemoveVGReply) ProtoReflect() protoreflect.Message

func (*RemoveVGReply) Reset

func (x *RemoveVGReply) Reset()

func (*RemoveVGReply) String

func (x *RemoveVGReply) String() string

type RemoveVGRequest

type RemoveVGRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVGRequest) Descriptor deprecated

func (*RemoveVGRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVGRequest.ProtoReflect.Descriptor instead.

func (*RemoveVGRequest) GetName

func (x *RemoveVGRequest) GetName() string

func (*RemoveVGRequest) ProtoMessage

func (*RemoveVGRequest) ProtoMessage()

func (*RemoveVGRequest) ProtoReflect added in v1.1.1

func (x *RemoveVGRequest) ProtoReflect() protoreflect.Message

func (*RemoveVGRequest) Reset

func (x *RemoveVGRequest) Reset()

func (*RemoveVGRequest) String

func (x *RemoveVGRequest) String() string

type SetSubpathProjQuotaReply added in v1.1.1

type SetSubpathProjQuotaReply struct {
	CommandOutput string `protobuf:"bytes,1,opt,name=command_output,json=commandOutput,proto3" json:"command_output,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSubpathProjQuotaReply) Descriptor deprecated added in v1.1.1

func (*SetSubpathProjQuotaReply) Descriptor() ([]byte, []int)

Deprecated: Use SetSubpathProjQuotaReply.ProtoReflect.Descriptor instead.

func (*SetSubpathProjQuotaReply) GetCommandOutput added in v1.1.1

func (x *SetSubpathProjQuotaReply) GetCommandOutput() string

func (*SetSubpathProjQuotaReply) ProtoMessage added in v1.1.1

func (*SetSubpathProjQuotaReply) ProtoMessage()

func (*SetSubpathProjQuotaReply) ProtoReflect added in v1.1.1

func (x *SetSubpathProjQuotaReply) ProtoReflect() protoreflect.Message

func (*SetSubpathProjQuotaReply) Reset added in v1.1.1

func (x *SetSubpathProjQuotaReply) Reset()

func (*SetSubpathProjQuotaReply) String added in v1.1.1

func (x *SetSubpathProjQuotaReply) String() string

type SetSubpathProjQuotaRequest added in v1.1.1

type SetSubpathProjQuotaRequest struct {
	ProjQuotaSubpath string `protobuf:"bytes,1,opt,name=proj_quota_subpath,json=projQuotaSubpath,proto3" json:"proj_quota_subpath,omitempty"`
	BlockSoftlimit   string `protobuf:"bytes,2,opt,name=block_softlimit,json=blockSoftlimit,proto3" json:"block_softlimit,omitempty"`
	BlockHardlimit   string `protobuf:"bytes,3,opt,name=block_hardlimit,json=blockHardlimit,proto3" json:"block_hardlimit,omitempty"`
	InodeSoftlimit   string `protobuf:"bytes,4,opt,name=inode_softlimit,json=inodeSoftlimit,proto3" json:"inode_softlimit,omitempty"`
	InodeHardlimit   string `protobuf:"bytes,5,opt,name=inode_hardlimit,json=inodeHardlimit,proto3" json:"inode_hardlimit,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSubpathProjQuotaRequest) Descriptor deprecated added in v1.1.1

func (*SetSubpathProjQuotaRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetSubpathProjQuotaRequest.ProtoReflect.Descriptor instead.

func (*SetSubpathProjQuotaRequest) GetBlockHardlimit added in v1.1.1

func (x *SetSubpathProjQuotaRequest) GetBlockHardlimit() string

func (*SetSubpathProjQuotaRequest) GetBlockSoftlimit added in v1.1.1

func (x *SetSubpathProjQuotaRequest) GetBlockSoftlimit() string

func (*SetSubpathProjQuotaRequest) GetInodeHardlimit added in v1.1.1

func (x *SetSubpathProjQuotaRequest) GetInodeHardlimit() string

func (*SetSubpathProjQuotaRequest) GetInodeSoftlimit added in v1.1.1

func (x *SetSubpathProjQuotaRequest) GetInodeSoftlimit() string

func (*SetSubpathProjQuotaRequest) GetProjQuotaSubpath added in v1.1.1

func (x *SetSubpathProjQuotaRequest) GetProjQuotaSubpath() string

func (*SetSubpathProjQuotaRequest) ProtoMessage added in v1.1.1

func (*SetSubpathProjQuotaRequest) ProtoMessage()

func (*SetSubpathProjQuotaRequest) ProtoReflect added in v1.1.1

func (*SetSubpathProjQuotaRequest) Reset added in v1.1.1

func (x *SetSubpathProjQuotaRequest) Reset()

func (*SetSubpathProjQuotaRequest) String added in v1.1.1

func (x *SetSubpathProjQuotaRequest) String() string

type UnimplementedLVMServer added in v1.1.1

type UnimplementedLVMServer struct {
}

UnimplementedLVMServer must be embedded to have forward compatible implementations.

func (UnimplementedLVMServer) AddTagLV added in v1.1.1

func (UnimplementedLVMServer) CleanPath added in v1.1.1

func (UnimplementedLVMServer) CloneLV added in v1.1.1

func (UnimplementedLVMServer) CreateLV added in v1.1.1

func (UnimplementedLVMServer) CreateNamespace added in v1.1.1

func (UnimplementedLVMServer) CreateVG added in v1.1.1

func (UnimplementedLVMServer) ListLV added in v1.1.1

func (UnimplementedLVMServer) ListNamespace added in v1.1.1

func (UnimplementedLVMServer) ListVG added in v1.1.1

func (UnimplementedLVMServer) RemoveLV added in v1.1.1

func (UnimplementedLVMServer) RemoveNamespace added in v1.1.1

func (UnimplementedLVMServer) RemoveTagLV added in v1.1.1

func (UnimplementedLVMServer) RemoveVG added in v1.1.1

type UnimplementedLoopDeviceServer added in v1.1.7

type UnimplementedLoopDeviceServer struct {
}

UnimplementedLoopDeviceServer must be embedded to have forward compatible implementations.

func (UnimplementedLoopDeviceServer) CreateLoopDevice added in v1.1.7

func (UnimplementedLoopDeviceServer) DeleteLoopDevice added in v1.1.7

type UnimplementedProjQuotaServer added in v1.1.1

type UnimplementedProjQuotaServer struct {
}

UnimplementedProjQuotaServer must be embedded to have forward compatible implementations.

func (UnimplementedProjQuotaServer) CreateProjQuotaSubpath added in v1.1.1

func (UnimplementedProjQuotaServer) RemoveProjQuotaSubpath added in v1.1.1

func (UnimplementedProjQuotaServer) SetSubpathProjQuota added in v1.1.1

type UnsafeLVMServer added in v1.1.1

type UnsafeLVMServer interface {
	// contains filtered or unexported methods
}

UnsafeLVMServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LVMServer will result in compilation errors.

type UnsafeLoopDeviceServer added in v1.1.7

type UnsafeLoopDeviceServer interface {
	// contains filtered or unexported methods
}

UnsafeLoopDeviceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoopDeviceServer will result in compilation errors.

type UnsafeProjQuotaServer added in v1.1.1

type UnsafeProjQuotaServer interface {
	// contains filtered or unexported methods
}

UnsafeProjQuotaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjQuotaServer will result in compilation errors.

type VG

type VG struct {
	Name     string
	Size     uint64
	FreeSize uint64
	UUID     string
	Tags     []string
	PvCount  uint64
}

VG is volume group

func ParseVGs added in v1.2.1

func ParseVGs(data []byte) ([]VG, error)

ParseVG parse volume group

func (VG) ToProto

func (vg VG) ToProto() *VolumeGroup

ToProto to proto

type VolumeActivationSkipped

type VolumeActivationSkipped rune

VolumeActivationSkipped is volume activation

const (
	VolumeActivationSkippedIsSkipped    VolumeActivationSkipped = 's'
	VolumeActivationSkippedIsNotSkipped VolumeActivationSkipped = '-'
)

activation

type VolumeAllocation

type VolumeAllocation rune

VolumeAllocation is volume allocation policy

const (
	VolumeAllocationAnywhere         VolumeAllocation = 'a'
	VolumeAllocationContiguous       VolumeAllocation = 'c'
	VolumeAllocationInherited        VolumeAllocation = 'i'
	VolumeAllocationCling            VolumeAllocation = 'l'
	VolumeAllocationNormal           VolumeAllocation = 'n'
	VolumeAllocationAnywhereLocked   VolumeAllocation = 'A'
	VolumeAllocationContiguousLocked VolumeAllocation = 'C'
	VolumeAllocationInheritedLocked  VolumeAllocation = 'I'
	VolumeAllocationClingLocked      VolumeAllocation = 'L'
	VolumeAllocationNormalLocked     VolumeAllocation = 'N'
)

allocations

type VolumeFixedMinor

type VolumeFixedMinor rune

VolumeFixedMinor is volume fixed minor

const (
	VolumeFixedMinorEnabled  VolumeFixedMinor = 'm'
	VolumeFixedMinorDisabled VolumeFixedMinor = '-'
)

fixed minor

type VolumeGroup

type VolumeGroup struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Size     uint64   `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	FreeSize uint64   `protobuf:"varint,3,opt,name=free_size,json=freeSize,proto3" json:"free_size,omitempty"`
	Uuid     string   `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Tags     []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	PvCount  uint64   `protobuf:"varint,6,opt,name=pv_count,json=pvCount,proto3" json:"pv_count,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeGroup) Descriptor deprecated

func (*VolumeGroup) Descriptor() ([]byte, []int)

Deprecated: Use VolumeGroup.ProtoReflect.Descriptor instead.

func (*VolumeGroup) GetFreeSize

func (x *VolumeGroup) GetFreeSize() uint64

func (*VolumeGroup) GetName

func (x *VolumeGroup) GetName() string

func (*VolumeGroup) GetPvCount

func (x *VolumeGroup) GetPvCount() uint64

func (*VolumeGroup) GetSize

func (x *VolumeGroup) GetSize() uint64

func (*VolumeGroup) GetTags

func (x *VolumeGroup) GetTags() []string

func (*VolumeGroup) GetUuid

func (x *VolumeGroup) GetUuid() string

func (*VolumeGroup) ProtoMessage

func (*VolumeGroup) ProtoMessage()

func (*VolumeGroup) ProtoReflect added in v1.1.1

func (x *VolumeGroup) ProtoReflect() protoreflect.Message

func (*VolumeGroup) Reset

func (x *VolumeGroup) Reset()

func (*VolumeGroup) String

func (x *VolumeGroup) String() string

type VolumeHealth

type VolumeHealth rune

VolumeHealth is volume health

const (
	VolumeHealthOK              VolumeHealth = '-'
	VolumeHealthPartial         VolumeHealth = 'p'
	VolumeHealthRefreshNeeded   VolumeHealth = 'r'
	VolumeHealthMismatchesExist VolumeHealth = 'm'
	VolumeHealthWritemostly     VolumeHealth = 'w'
)

health

type VolumeOpen

type VolumeOpen rune

VolumeOpen is volume open

const (
	VolumeOpenIsOpen    VolumeOpen = 'o'
	VolumeOpenIsNotOpen VolumeOpen = '-'
)

open

type VolumePermissions

type VolumePermissions rune

VolumePermissions is volume permissions

const (
	VolumePermissionsWriteable          VolumePermissions = 'w'
	VolumePermissionsReadOnly           VolumePermissions = 'r'
	VolumePermissionsReadOnlyActivation VolumePermissions = 'R'
)

permissions

type VolumeState

type VolumeState rune

VolumeState is volume state

const (
	VolumeStateActive                               VolumeState = 'a'
	VolumeStateSuspended                            VolumeState = 's'
	VolumeStateInvalidSnapshot                      VolumeState = 'I'
	VolumeStateInvalidSuspendedSnapshot             VolumeState = 'S'
	VolumeStateSnapshotMergeFailed                  VolumeState = 'm'
	VolumeStateSuspendedSnapshotMergeFailed         VolumeState = 'M'
	VolumeStateMappedDevicePresentWithoutTables     VolumeState = 'd'
	VolumeStateMappedDevicePresentWithInactiveTable VolumeState = 'i'
)

states

type VolumeTargetType

type VolumeTargetType rune

VolumeTargetType is volume taget type

const (
	VolumeTargetTypeMirror   VolumeTargetType = 'm'
	VolumeTargetTypeRAID     VolumeTargetType = 'r'
	VolumeTargetTypeSnapshot VolumeTargetType = 's'
	VolumeTargetTypeThin     VolumeTargetType = 't'
	VolumeTargetTypeUnknown  VolumeTargetType = 'u'
	VolumeTargetTypeVirtual  VolumeTargetType = 'v'
)

target type

type VolumeType

type VolumeType byte

VolumeType is volume type

const (
	VolumeTypeMirrored                  VolumeType = 'm'
	VolumeTypeMirroredWithoutSync       VolumeType = 'M'
	VolumeTypeOrigin                    VolumeType = 'o'
	VolumeTypeOriginWithMergingSnapshot VolumeType = 'O'
	VolumeTypeRAID                      VolumeType = 'r'
	VolumeTypeRAIDWithoutSync           VolumeType = 'R'
	VolumeTypeSnapshot                  VolumeType = 's'
	VolumeTypeMergingSnapshot           VolumeType = 'S'
	VolumeTypePVMove                    VolumeType = 'p'
	VolumeTypeVirtualMirror             VolumeType = 'v'
	VolumeTypeVirtualRaidImage          VolumeType = 'i'
	VolumeTypeRaidImageOutOfSync        VolumeType = 'I'
	VolumeTypeMirrorLog                 VolumeType = 'l'
	VolumeTypeUnderConversion           VolumeType = 'c'
	VolumeTypeThin                      VolumeType = 'V'
	VolumeTypeThinPool                  VolumeType = 't'
	VolumeTypeThinPoolData              VolumeType = 'T'
	VolumeTypeRaidOrThinPoolMetadata    VolumeType = 'e'
)

types

type VolumeZeroing

type VolumeZeroing rune

VolumeZeroing is volume zeroing

const (
	VolumeZeroingIsZeroing    VolumeZeroing = 'z'
	VolumeZeroingIsNonZeroing VolumeZeroing = '-'
)

zeroing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL