block

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resource_definitions_block_block_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceSpec

type DeviceSpec struct {
	Type            string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Major           int64  `protobuf:"varint,2,opt,name=major,proto3" json:"major,omitempty"`
	Minor           int64  `protobuf:"varint,3,opt,name=minor,proto3" json:"minor,omitempty"`
	PartitionName   string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	PartitionNumber int64  `protobuf:"varint,5,opt,name=partition_number,json=partitionNumber,proto3" json:"partition_number,omitempty"`
	Generation      int64  `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"`
	DevicePath      string `protobuf:"bytes,7,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
	Parent          string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

DeviceSpec is the spec for devices status.

func (*DeviceSpec) Descriptor deprecated

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

Deprecated: Use DeviceSpec.ProtoReflect.Descriptor instead.

func (*DeviceSpec) GetDevicePath

func (x *DeviceSpec) GetDevicePath() string

func (*DeviceSpec) GetGeneration

func (x *DeviceSpec) GetGeneration() int64

func (*DeviceSpec) GetMajor

func (x *DeviceSpec) GetMajor() int64

func (*DeviceSpec) GetMinor

func (x *DeviceSpec) GetMinor() int64

func (*DeviceSpec) GetParent

func (x *DeviceSpec) GetParent() string

func (*DeviceSpec) GetPartitionName

func (x *DeviceSpec) GetPartitionName() string

func (*DeviceSpec) GetPartitionNumber

func (x *DeviceSpec) GetPartitionNumber() int64

func (*DeviceSpec) GetType

func (x *DeviceSpec) GetType() string

func (*DeviceSpec) MarshalToSizedBufferVT

func (m *DeviceSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeviceSpec) MarshalToVT

func (m *DeviceSpec) MarshalToVT(dAtA []byte) (int, error)

func (*DeviceSpec) MarshalVT

func (m *DeviceSpec) MarshalVT() (dAtA []byte, err error)

func (*DeviceSpec) ProtoMessage

func (*DeviceSpec) ProtoMessage()

func (*DeviceSpec) ProtoReflect

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

func (*DeviceSpec) Reset

func (x *DeviceSpec) Reset()

func (*DeviceSpec) SizeVT

func (m *DeviceSpec) SizeVT() (n int)

func (*DeviceSpec) String

func (x *DeviceSpec) String() string

func (*DeviceSpec) UnmarshalVT

func (m *DeviceSpec) UnmarshalVT(dAtA []byte) error

type DiscoveredVolumeSpec

type DiscoveredVolumeSpec struct {
	Size                uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	SectorSize          uint64 `protobuf:"varint,2,opt,name=sector_size,json=sectorSize,proto3" json:"sector_size,omitempty"`
	IoSize              uint64 `protobuf:"varint,3,opt,name=io_size,json=ioSize,proto3" json:"io_size,omitempty"`
	Name                string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Uuid                string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Label               string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
	BlockSize           uint32 `protobuf:"varint,7,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	FilesystemBlockSize uint32 `protobuf:"varint,8,opt,name=filesystem_block_size,json=filesystemBlockSize,proto3" json:"filesystem_block_size,omitempty"`
	ProbedSize          uint64 `protobuf:"varint,9,opt,name=probed_size,json=probedSize,proto3" json:"probed_size,omitempty"`
	PartitionUuid       string `protobuf:"bytes,10,opt,name=partition_uuid,json=partitionUuid,proto3" json:"partition_uuid,omitempty"`
	PartitionType       string `protobuf:"bytes,11,opt,name=partition_type,json=partitionType,proto3" json:"partition_type,omitempty"`
	PartitionLabel      string `protobuf:"bytes,12,opt,name=partition_label,json=partitionLabel,proto3" json:"partition_label,omitempty"`
	PartitionIndex      uint64 `protobuf:"varint,13,opt,name=partition_index,json=partitionIndex,proto3" json:"partition_index,omitempty"`
	Type                string `protobuf:"bytes,14,opt,name=type,proto3" json:"type,omitempty"`
	DevicePath          string `protobuf:"bytes,15,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
	Parent              string `protobuf:"bytes,16,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

DiscoveredVolumeSpec is the spec for DiscoveredVolumes status.

func (*DiscoveredVolumeSpec) Descriptor deprecated

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

Deprecated: Use DiscoveredVolumeSpec.ProtoReflect.Descriptor instead.

func (*DiscoveredVolumeSpec) GetBlockSize

func (x *DiscoveredVolumeSpec) GetBlockSize() uint32

func (*DiscoveredVolumeSpec) GetDevicePath

func (x *DiscoveredVolumeSpec) GetDevicePath() string

func (*DiscoveredVolumeSpec) GetFilesystemBlockSize

func (x *DiscoveredVolumeSpec) GetFilesystemBlockSize() uint32

func (*DiscoveredVolumeSpec) GetIoSize

func (x *DiscoveredVolumeSpec) GetIoSize() uint64

func (*DiscoveredVolumeSpec) GetLabel

func (x *DiscoveredVolumeSpec) GetLabel() string

func (*DiscoveredVolumeSpec) GetName

func (x *DiscoveredVolumeSpec) GetName() string

func (*DiscoveredVolumeSpec) GetParent

func (x *DiscoveredVolumeSpec) GetParent() string

func (*DiscoveredVolumeSpec) GetPartitionIndex

func (x *DiscoveredVolumeSpec) GetPartitionIndex() uint64

func (*DiscoveredVolumeSpec) GetPartitionLabel

func (x *DiscoveredVolumeSpec) GetPartitionLabel() string

func (*DiscoveredVolumeSpec) GetPartitionType

func (x *DiscoveredVolumeSpec) GetPartitionType() string

func (*DiscoveredVolumeSpec) GetPartitionUuid

func (x *DiscoveredVolumeSpec) GetPartitionUuid() string

func (*DiscoveredVolumeSpec) GetProbedSize

func (x *DiscoveredVolumeSpec) GetProbedSize() uint64

func (*DiscoveredVolumeSpec) GetSectorSize

func (x *DiscoveredVolumeSpec) GetSectorSize() uint64

func (*DiscoveredVolumeSpec) GetSize

func (x *DiscoveredVolumeSpec) GetSize() uint64

func (*DiscoveredVolumeSpec) GetType

func (x *DiscoveredVolumeSpec) GetType() string

func (*DiscoveredVolumeSpec) GetUuid

func (x *DiscoveredVolumeSpec) GetUuid() string

func (*DiscoveredVolumeSpec) MarshalToSizedBufferVT

func (m *DiscoveredVolumeSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DiscoveredVolumeSpec) MarshalToVT

func (m *DiscoveredVolumeSpec) MarshalToVT(dAtA []byte) (int, error)

func (*DiscoveredVolumeSpec) MarshalVT

func (m *DiscoveredVolumeSpec) MarshalVT() (dAtA []byte, err error)

func (*DiscoveredVolumeSpec) ProtoMessage

func (*DiscoveredVolumeSpec) ProtoMessage()

func (*DiscoveredVolumeSpec) ProtoReflect

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

func (*DiscoveredVolumeSpec) Reset

func (x *DiscoveredVolumeSpec) Reset()

func (*DiscoveredVolumeSpec) SizeVT

func (m *DiscoveredVolumeSpec) SizeVT() (n int)

func (*DiscoveredVolumeSpec) String

func (x *DiscoveredVolumeSpec) String() string

func (*DiscoveredVolumeSpec) UnmarshalVT

func (m *DiscoveredVolumeSpec) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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