block

package
v0.0.0-...-ffdfc10 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MPL-2.0 Imports: 10 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"`
	Secondaries     []string `protobuf:"bytes,9,rep,name=secondaries,proto3" json:"secondaries,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) GetSecondaries

func (x *DeviceSpec) GetSecondaries() []string

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"`
	DevPath             string `protobuf:"bytes,17,opt,name=dev_path,json=devPath,proto3" json:"dev_path,omitempty"`
	ParentDevPath       string `protobuf:"bytes,18,opt,name=parent_dev_path,json=parentDevPath,proto3" json:"parent_dev_path,omitempty"`
	PrettySize          string `protobuf:"bytes,19,opt,name=pretty_size,json=prettySize,proto3" json:"pretty_size,omitempty"`
	// contains filtered or unexported fields
}

DiscoveredVolumeSpec is the spec for DiscoveredVolumes resource.

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) GetDevPath

func (x *DiscoveredVolumeSpec) GetDevPath() string

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) GetParentDevPath

func (x *DiscoveredVolumeSpec) GetParentDevPath() 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) GetPrettySize

func (x *DiscoveredVolumeSpec) GetPrettySize() 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

type DiscoveryRefreshRequestSpec

type DiscoveryRefreshRequestSpec struct {
	Request int64 `protobuf:"varint,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

DiscoveryRefreshRequestSpec is the spec for DiscoveryRefreshRequest.

func (*DiscoveryRefreshRequestSpec) Descriptor deprecated

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

Deprecated: Use DiscoveryRefreshRequestSpec.ProtoReflect.Descriptor instead.

func (*DiscoveryRefreshRequestSpec) GetRequest

func (x *DiscoveryRefreshRequestSpec) GetRequest() int64

func (*DiscoveryRefreshRequestSpec) MarshalToSizedBufferVT

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

func (*DiscoveryRefreshRequestSpec) MarshalToVT

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

func (*DiscoveryRefreshRequestSpec) MarshalVT

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

func (*DiscoveryRefreshRequestSpec) ProtoMessage

func (*DiscoveryRefreshRequestSpec) ProtoMessage()

func (*DiscoveryRefreshRequestSpec) ProtoReflect

func (*DiscoveryRefreshRequestSpec) Reset

func (x *DiscoveryRefreshRequestSpec) Reset()

func (*DiscoveryRefreshRequestSpec) SizeVT

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

func (*DiscoveryRefreshRequestSpec) String

func (x *DiscoveryRefreshRequestSpec) String() string

func (*DiscoveryRefreshRequestSpec) UnmarshalVT

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

type DiscoveryRefreshStatusSpec

type DiscoveryRefreshStatusSpec struct {
	Request int64 `protobuf:"varint,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

DiscoveryRefreshStatusSpec is the spec for DiscoveryRefreshStatus status.

func (*DiscoveryRefreshStatusSpec) Descriptor deprecated

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

Deprecated: Use DiscoveryRefreshStatusSpec.ProtoReflect.Descriptor instead.

func (*DiscoveryRefreshStatusSpec) GetRequest

func (x *DiscoveryRefreshStatusSpec) GetRequest() int64

func (*DiscoveryRefreshStatusSpec) MarshalToSizedBufferVT

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

func (*DiscoveryRefreshStatusSpec) MarshalToVT

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

func (*DiscoveryRefreshStatusSpec) MarshalVT

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

func (*DiscoveryRefreshStatusSpec) ProtoMessage

func (*DiscoveryRefreshStatusSpec) ProtoMessage()

func (*DiscoveryRefreshStatusSpec) ProtoReflect

func (*DiscoveryRefreshStatusSpec) Reset

func (x *DiscoveryRefreshStatusSpec) Reset()

func (*DiscoveryRefreshStatusSpec) SizeVT

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

func (*DiscoveryRefreshStatusSpec) String

func (x *DiscoveryRefreshStatusSpec) String() string

func (*DiscoveryRefreshStatusSpec) UnmarshalVT

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

type DiskSelector

type DiskSelector struct {
	Match *v1alpha1.CheckedExpr `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	// contains filtered or unexported fields
}

DiskSelector selects a disk for the volume.

func (*DiskSelector) Descriptor deprecated

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

Deprecated: Use DiskSelector.ProtoReflect.Descriptor instead.

func (*DiskSelector) GetMatch

func (x *DiskSelector) GetMatch() *v1alpha1.CheckedExpr

func (*DiskSelector) MarshalToSizedBufferVT

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

func (*DiskSelector) MarshalToVT

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

func (*DiskSelector) MarshalVT

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

func (*DiskSelector) ProtoMessage

func (*DiskSelector) ProtoMessage()

func (*DiskSelector) ProtoReflect

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

func (*DiskSelector) Reset

func (x *DiskSelector) Reset()

func (*DiskSelector) SizeVT

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

func (*DiskSelector) String

func (x *DiskSelector) String() string

func (*DiskSelector) UnmarshalVT

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

type DiskSpec

type DiskSpec struct {
	Size           uint64   `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	IoSize         uint64   `protobuf:"varint,2,opt,name=io_size,json=ioSize,proto3" json:"io_size,omitempty"`
	SectorSize     uint64   `protobuf:"varint,3,opt,name=sector_size,json=sectorSize,proto3" json:"sector_size,omitempty"`
	Readonly       bool     `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Model          string   `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	Serial         string   `protobuf:"bytes,6,opt,name=serial,proto3" json:"serial,omitempty"`
	Modalias       string   `protobuf:"bytes,7,opt,name=modalias,proto3" json:"modalias,omitempty"`
	Wwid           string   `protobuf:"bytes,8,opt,name=wwid,proto3" json:"wwid,omitempty"`
	BusPath        string   `protobuf:"bytes,9,opt,name=bus_path,json=busPath,proto3" json:"bus_path,omitempty"`
	SubSystem      string   `protobuf:"bytes,10,opt,name=sub_system,json=subSystem,proto3" json:"sub_system,omitempty"`
	Transport      string   `protobuf:"bytes,11,opt,name=transport,proto3" json:"transport,omitempty"`
	Rotational     bool     `protobuf:"varint,12,opt,name=rotational,proto3" json:"rotational,omitempty"`
	Cdrom          bool     `protobuf:"varint,13,opt,name=cdrom,proto3" json:"cdrom,omitempty"`
	DevPath        string   `protobuf:"bytes,14,opt,name=dev_path,json=devPath,proto3" json:"dev_path,omitempty"`
	PrettySize     string   `protobuf:"bytes,15,opt,name=pretty_size,json=prettySize,proto3" json:"pretty_size,omitempty"`
	SecondaryDisks []string `protobuf:"bytes,16,rep,name=secondary_disks,json=secondaryDisks,proto3" json:"secondary_disks,omitempty"`
	// contains filtered or unexported fields
}

DiskSpec is the spec for Disks status.

func (*DiskSpec) Descriptor deprecated

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

Deprecated: Use DiskSpec.ProtoReflect.Descriptor instead.

func (*DiskSpec) GetBusPath

func (x *DiskSpec) GetBusPath() string

func (*DiskSpec) GetCdrom

func (x *DiskSpec) GetCdrom() bool

func (*DiskSpec) GetDevPath

func (x *DiskSpec) GetDevPath() string

func (*DiskSpec) GetIoSize

func (x *DiskSpec) GetIoSize() uint64

func (*DiskSpec) GetModalias

func (x *DiskSpec) GetModalias() string

func (*DiskSpec) GetModel

func (x *DiskSpec) GetModel() string

func (*DiskSpec) GetPrettySize

func (x *DiskSpec) GetPrettySize() string

func (*DiskSpec) GetReadonly

func (x *DiskSpec) GetReadonly() bool

func (*DiskSpec) GetRotational

func (x *DiskSpec) GetRotational() bool

func (*DiskSpec) GetSecondaryDisks

func (x *DiskSpec) GetSecondaryDisks() []string

func (*DiskSpec) GetSectorSize

func (x *DiskSpec) GetSectorSize() uint64

func (*DiskSpec) GetSerial

func (x *DiskSpec) GetSerial() string

func (*DiskSpec) GetSize

func (x *DiskSpec) GetSize() uint64

func (*DiskSpec) GetSubSystem

func (x *DiskSpec) GetSubSystem() string

func (*DiskSpec) GetTransport

func (x *DiskSpec) GetTransport() string

func (*DiskSpec) GetWwid

func (x *DiskSpec) GetWwid() string

func (*DiskSpec) MarshalToSizedBufferVT

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

func (*DiskSpec) MarshalToVT

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

func (*DiskSpec) MarshalVT

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

func (*DiskSpec) ProtoMessage

func (*DiskSpec) ProtoMessage()

func (*DiskSpec) ProtoReflect

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

func (*DiskSpec) Reset

func (x *DiskSpec) Reset()

func (*DiskSpec) SizeVT

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

func (*DiskSpec) String

func (x *DiskSpec) String() string

func (*DiskSpec) UnmarshalVT

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

type EncryptionKey

type EncryptionKey struct {
	Slot                             int64                        `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	Type                             enums.BlockEncryptionKeyType `protobuf:"varint,2,opt,name=type,proto3,enum=talos.resource.definitions.enums.BlockEncryptionKeyType" json:"type,omitempty"`
	StaticPassphrase                 []byte                       `protobuf:"bytes,3,opt,name=static_passphrase,json=staticPassphrase,proto3" json:"static_passphrase,omitempty"`
	KmsEndpoint                      string                       `protobuf:"bytes,4,opt,name=kms_endpoint,json=kmsEndpoint,proto3" json:"kms_endpoint,omitempty"`
	TpmCheckSecurebootStatusOnEnroll bool                         `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

EncryptionKey is the spec for volume encryption key.

func (*EncryptionKey) Descriptor deprecated

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

Deprecated: Use EncryptionKey.ProtoReflect.Descriptor instead.

func (*EncryptionKey) GetKmsEndpoint

func (x *EncryptionKey) GetKmsEndpoint() string

func (*EncryptionKey) GetSlot

func (x *EncryptionKey) GetSlot() int64

func (*EncryptionKey) GetStaticPassphrase

func (x *EncryptionKey) GetStaticPassphrase() []byte

func (*EncryptionKey) GetTpmCheckSecurebootStatusOnEnroll

func (x *EncryptionKey) GetTpmCheckSecurebootStatusOnEnroll() bool

func (*EncryptionKey) GetType

func (*EncryptionKey) MarshalToSizedBufferVT

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

func (*EncryptionKey) MarshalToVT

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

func (*EncryptionKey) MarshalVT

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

func (*EncryptionKey) ProtoMessage

func (*EncryptionKey) ProtoMessage()

func (*EncryptionKey) ProtoReflect

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

func (*EncryptionKey) Reset

func (x *EncryptionKey) Reset()

func (*EncryptionKey) SizeVT

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

func (*EncryptionKey) String

func (x *EncryptionKey) String() string

func (*EncryptionKey) UnmarshalVT

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

type EncryptionSpec

type EncryptionSpec struct {
	Provider    enums.BlockEncryptionProviderType `` /* 136-byte string literal not displayed */
	Keys        []*EncryptionKey                  `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	Cipher      string                            `protobuf:"bytes,3,opt,name=cipher,proto3" json:"cipher,omitempty"`
	KeySize     uint64                            `protobuf:"varint,4,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"`
	BlockSize   uint64                            `protobuf:"varint,5,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	PerfOptions []string                          `protobuf:"bytes,6,rep,name=perf_options,json=perfOptions,proto3" json:"perf_options,omitempty"`
	// contains filtered or unexported fields
}

EncryptionSpec is the spec for volume encryption.

func (*EncryptionSpec) Descriptor deprecated

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

Deprecated: Use EncryptionSpec.ProtoReflect.Descriptor instead.

func (*EncryptionSpec) GetBlockSize

func (x *EncryptionSpec) GetBlockSize() uint64

func (*EncryptionSpec) GetCipher

func (x *EncryptionSpec) GetCipher() string

func (*EncryptionSpec) GetKeySize

func (x *EncryptionSpec) GetKeySize() uint64

func (*EncryptionSpec) GetKeys

func (x *EncryptionSpec) GetKeys() []*EncryptionKey

func (*EncryptionSpec) GetPerfOptions

func (x *EncryptionSpec) GetPerfOptions() []string

func (*EncryptionSpec) GetProvider

func (*EncryptionSpec) MarshalToSizedBufferVT

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

func (*EncryptionSpec) MarshalToVT

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

func (*EncryptionSpec) MarshalVT

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

func (*EncryptionSpec) ProtoMessage

func (*EncryptionSpec) ProtoMessage()

func (*EncryptionSpec) ProtoReflect

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

func (*EncryptionSpec) Reset

func (x *EncryptionSpec) Reset()

func (*EncryptionSpec) SizeVT

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

func (*EncryptionSpec) String

func (x *EncryptionSpec) String() string

func (*EncryptionSpec) UnmarshalVT

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

type FilesystemSpec

type FilesystemSpec struct {
	Type  enums.BlockFilesystemType `protobuf:"varint,1,opt,name=type,proto3,enum=talos.resource.definitions.enums.BlockFilesystemType" json:"type,omitempty"`
	Label string                    `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

FilesystemSpec is the spec for volume filesystem.

func (*FilesystemSpec) Descriptor deprecated

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

Deprecated: Use FilesystemSpec.ProtoReflect.Descriptor instead.

func (*FilesystemSpec) GetLabel

func (x *FilesystemSpec) GetLabel() string

func (*FilesystemSpec) GetType

func (*FilesystemSpec) MarshalToSizedBufferVT

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

func (*FilesystemSpec) MarshalToVT

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

func (*FilesystemSpec) MarshalVT

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

func (*FilesystemSpec) ProtoMessage

func (*FilesystemSpec) ProtoMessage()

func (*FilesystemSpec) ProtoReflect

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

func (*FilesystemSpec) Reset

func (x *FilesystemSpec) Reset()

func (*FilesystemSpec) SizeVT

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

func (*FilesystemSpec) String

func (x *FilesystemSpec) String() string

func (*FilesystemSpec) UnmarshalVT

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

type LocatorSpec

type LocatorSpec struct {
	Match *v1alpha1.CheckedExpr `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	// contains filtered or unexported fields
}

LocatorSpec is the spec for volume locator.

func (*LocatorSpec) Descriptor deprecated

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

Deprecated: Use LocatorSpec.ProtoReflect.Descriptor instead.

func (*LocatorSpec) GetMatch

func (x *LocatorSpec) GetMatch() *v1alpha1.CheckedExpr

func (*LocatorSpec) MarshalToSizedBufferVT

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

func (*LocatorSpec) MarshalToVT

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

func (*LocatorSpec) MarshalVT

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

func (*LocatorSpec) ProtoMessage

func (*LocatorSpec) ProtoMessage()

func (*LocatorSpec) ProtoReflect

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

func (*LocatorSpec) Reset

func (x *LocatorSpec) Reset()

func (*LocatorSpec) SizeVT

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

func (*LocatorSpec) String

func (x *LocatorSpec) String() string

func (*LocatorSpec) UnmarshalVT

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

type MountSpec

type MountSpec struct {
	TargetPath   string `protobuf:"bytes,1,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"`
	SelinuxLabel string `protobuf:"bytes,2,opt,name=selinux_label,json=selinuxLabel,proto3" json:"selinux_label,omitempty"`
	// contains filtered or unexported fields
}

MountSpec is the spec for volume mount.

func (*MountSpec) Descriptor deprecated

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

Deprecated: Use MountSpec.ProtoReflect.Descriptor instead.

func (*MountSpec) GetSelinuxLabel

func (x *MountSpec) GetSelinuxLabel() string

func (*MountSpec) GetTargetPath

func (x *MountSpec) GetTargetPath() string

func (*MountSpec) MarshalToSizedBufferVT

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

func (*MountSpec) MarshalToVT

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

func (*MountSpec) MarshalVT

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

func (*MountSpec) ProtoMessage

func (*MountSpec) ProtoMessage()

func (*MountSpec) ProtoReflect

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

func (*MountSpec) Reset

func (x *MountSpec) Reset()

func (*MountSpec) SizeVT

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

func (*MountSpec) String

func (x *MountSpec) String() string

func (*MountSpec) UnmarshalVT

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

type PartitionSpec

type PartitionSpec struct {
	MinSize  uint64 `protobuf:"varint,1,opt,name=min_size,json=minSize,proto3" json:"min_size,omitempty"`
	MaxSize  uint64 `protobuf:"varint,2,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	Grow     bool   `protobuf:"varint,3,opt,name=grow,proto3" json:"grow,omitempty"`
	Label    string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	TypeUuid string `protobuf:"bytes,5,opt,name=type_uuid,json=typeUuid,proto3" json:"type_uuid,omitempty"`
	// contains filtered or unexported fields
}

PartitionSpec is the spec for volume partitioning.

func (*PartitionSpec) Descriptor deprecated

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

Deprecated: Use PartitionSpec.ProtoReflect.Descriptor instead.

func (*PartitionSpec) GetGrow

func (x *PartitionSpec) GetGrow() bool

func (*PartitionSpec) GetLabel

func (x *PartitionSpec) GetLabel() string

func (*PartitionSpec) GetMaxSize

func (x *PartitionSpec) GetMaxSize() uint64

func (*PartitionSpec) GetMinSize

func (x *PartitionSpec) GetMinSize() uint64

func (*PartitionSpec) GetTypeUuid

func (x *PartitionSpec) GetTypeUuid() string

func (*PartitionSpec) MarshalToSizedBufferVT

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

func (*PartitionSpec) MarshalToVT

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

func (*PartitionSpec) MarshalVT

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

func (*PartitionSpec) ProtoMessage

func (*PartitionSpec) ProtoMessage()

func (*PartitionSpec) ProtoReflect

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

func (*PartitionSpec) Reset

func (x *PartitionSpec) Reset()

func (*PartitionSpec) SizeVT

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

func (*PartitionSpec) String

func (x *PartitionSpec) String() string

func (*PartitionSpec) UnmarshalVT

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

type ProvisioningSpec

type ProvisioningSpec struct {
	DiskSelector   *DiskSelector   `protobuf:"bytes,1,opt,name=disk_selector,json=diskSelector,proto3" json:"disk_selector,omitempty"`
	PartitionSpec  *PartitionSpec  `protobuf:"bytes,2,opt,name=partition_spec,json=partitionSpec,proto3" json:"partition_spec,omitempty"`
	Wave           int64           `protobuf:"varint,3,opt,name=wave,proto3" json:"wave,omitempty"`
	FilesystemSpec *FilesystemSpec `protobuf:"bytes,4,opt,name=filesystem_spec,json=filesystemSpec,proto3" json:"filesystem_spec,omitempty"`
	// contains filtered or unexported fields
}

ProvisioningSpec is the spec for volume provisioning.

func (*ProvisioningSpec) Descriptor deprecated

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

Deprecated: Use ProvisioningSpec.ProtoReflect.Descriptor instead.

func (*ProvisioningSpec) GetDiskSelector

func (x *ProvisioningSpec) GetDiskSelector() *DiskSelector

func (*ProvisioningSpec) GetFilesystemSpec

func (x *ProvisioningSpec) GetFilesystemSpec() *FilesystemSpec

func (*ProvisioningSpec) GetPartitionSpec

func (x *ProvisioningSpec) GetPartitionSpec() *PartitionSpec

func (*ProvisioningSpec) GetWave

func (x *ProvisioningSpec) GetWave() int64

func (*ProvisioningSpec) MarshalToSizedBufferVT

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

func (*ProvisioningSpec) MarshalToVT

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

func (*ProvisioningSpec) MarshalVT

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

func (*ProvisioningSpec) ProtoMessage

func (*ProvisioningSpec) ProtoMessage()

func (*ProvisioningSpec) ProtoReflect

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

func (*ProvisioningSpec) Reset

func (x *ProvisioningSpec) Reset()

func (*ProvisioningSpec) SizeVT

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

func (*ProvisioningSpec) String

func (x *ProvisioningSpec) String() string

func (*ProvisioningSpec) UnmarshalVT

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

type SystemDiskSpec

type SystemDiskSpec struct {
	DiskId  string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"`
	DevPath string `protobuf:"bytes,2,opt,name=dev_path,json=devPath,proto3" json:"dev_path,omitempty"`
	// contains filtered or unexported fields
}

SystemDiskSpec is the spec for SystemDisks resource.

func (*SystemDiskSpec) Descriptor deprecated

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

Deprecated: Use SystemDiskSpec.ProtoReflect.Descriptor instead.

func (*SystemDiskSpec) GetDevPath

func (x *SystemDiskSpec) GetDevPath() string

func (*SystemDiskSpec) GetDiskId

func (x *SystemDiskSpec) GetDiskId() string

func (*SystemDiskSpec) MarshalToSizedBufferVT

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

func (*SystemDiskSpec) MarshalToVT

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

func (*SystemDiskSpec) MarshalVT

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

func (*SystemDiskSpec) ProtoMessage

func (*SystemDiskSpec) ProtoMessage()

func (*SystemDiskSpec) ProtoReflect

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

func (*SystemDiskSpec) Reset

func (x *SystemDiskSpec) Reset()

func (*SystemDiskSpec) SizeVT

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

func (*SystemDiskSpec) String

func (x *SystemDiskSpec) String() string

func (*SystemDiskSpec) UnmarshalVT

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

type UserDiskConfigStatusSpec

type UserDiskConfigStatusSpec struct {
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

UserDiskConfigStatusSpec is the spec for UserDiskConfigStatus resource.

func (*UserDiskConfigStatusSpec) Descriptor deprecated

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

Deprecated: Use UserDiskConfigStatusSpec.ProtoReflect.Descriptor instead.

func (*UserDiskConfigStatusSpec) GetReady

func (x *UserDiskConfigStatusSpec) GetReady() bool

func (*UserDiskConfigStatusSpec) MarshalToSizedBufferVT

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

func (*UserDiskConfigStatusSpec) MarshalToVT

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

func (*UserDiskConfigStatusSpec) MarshalVT

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

func (*UserDiskConfigStatusSpec) ProtoMessage

func (*UserDiskConfigStatusSpec) ProtoMessage()

func (*UserDiskConfigStatusSpec) ProtoReflect

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

func (*UserDiskConfigStatusSpec) Reset

func (x *UserDiskConfigStatusSpec) Reset()

func (*UserDiskConfigStatusSpec) SizeVT

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

func (*UserDiskConfigStatusSpec) String

func (x *UserDiskConfigStatusSpec) String() string

func (*UserDiskConfigStatusSpec) UnmarshalVT

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

type VolumeConfigSpec

type VolumeConfigSpec struct {
	ParentId     string                `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Type         enums.BlockVolumeType `protobuf:"varint,2,opt,name=type,proto3,enum=talos.resource.definitions.enums.BlockVolumeType" json:"type,omitempty"`
	Provisioning *ProvisioningSpec     `protobuf:"bytes,3,opt,name=provisioning,proto3" json:"provisioning,omitempty"`
	Locator      *LocatorSpec          `protobuf:"bytes,4,opt,name=locator,proto3" json:"locator,omitempty"`
	Mount        *MountSpec            `protobuf:"bytes,5,opt,name=mount,proto3" json:"mount,omitempty"`
	Encryption   *EncryptionSpec       `protobuf:"bytes,6,opt,name=encryption,proto3" json:"encryption,omitempty"`
	// contains filtered or unexported fields
}

VolumeConfigSpec is the spec for VolumeConfig resource.

func (*VolumeConfigSpec) Descriptor deprecated

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

Deprecated: Use VolumeConfigSpec.ProtoReflect.Descriptor instead.

func (*VolumeConfigSpec) GetEncryption

func (x *VolumeConfigSpec) GetEncryption() *EncryptionSpec

func (*VolumeConfigSpec) GetLocator

func (x *VolumeConfigSpec) GetLocator() *LocatorSpec

func (*VolumeConfigSpec) GetMount

func (x *VolumeConfigSpec) GetMount() *MountSpec

func (*VolumeConfigSpec) GetParentId

func (x *VolumeConfigSpec) GetParentId() string

func (*VolumeConfigSpec) GetProvisioning

func (x *VolumeConfigSpec) GetProvisioning() *ProvisioningSpec

func (*VolumeConfigSpec) GetType

func (x *VolumeConfigSpec) GetType() enums.BlockVolumeType

func (*VolumeConfigSpec) MarshalToSizedBufferVT

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

func (*VolumeConfigSpec) MarshalToVT

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

func (*VolumeConfigSpec) MarshalVT

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

func (*VolumeConfigSpec) ProtoMessage

func (*VolumeConfigSpec) ProtoMessage()

func (*VolumeConfigSpec) ProtoReflect

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

func (*VolumeConfigSpec) Reset

func (x *VolumeConfigSpec) Reset()

func (*VolumeConfigSpec) SizeVT

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

func (*VolumeConfigSpec) String

func (x *VolumeConfigSpec) String() string

func (*VolumeConfigSpec) UnmarshalVT

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

type VolumeStatusSpec

type VolumeStatusSpec struct {
	Phase                 enums.BlockVolumePhase            `protobuf:"varint,1,opt,name=phase,proto3,enum=talos.resource.definitions.enums.BlockVolumePhase" json:"phase,omitempty"`
	Location              string                            `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	ErrorMessage          string                            `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	Uuid                  string                            `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	PartitionUuid         string                            `protobuf:"bytes,5,opt,name=partition_uuid,json=partitionUuid,proto3" json:"partition_uuid,omitempty"`
	PreFailPhase          enums.BlockVolumePhase            `` /* 155-byte string literal not displayed */
	ParentLocation        string                            `protobuf:"bytes,7,opt,name=parent_location,json=parentLocation,proto3" json:"parent_location,omitempty"`
	PartitionIndex        int64                             `protobuf:"varint,8,opt,name=partition_index,json=partitionIndex,proto3" json:"partition_index,omitempty"`
	Size                  uint64                            `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	Filesystem            enums.BlockFilesystemType         `` /* 133-byte string literal not displayed */
	MountLocation         string                            `protobuf:"bytes,11,opt,name=mount_location,json=mountLocation,proto3" json:"mount_location,omitempty"`
	EncryptionProvider    enums.BlockEncryptionProviderType `` /* 183-byte string literal not displayed */
	PrettySize            string                            `protobuf:"bytes,13,opt,name=pretty_size,json=prettySize,proto3" json:"pretty_size,omitempty"`
	EncryptionFailedSyncs []string                          `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

VolumeStatusSpec is the spec for VolumeStatus resource.

func (*VolumeStatusSpec) Descriptor deprecated

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

Deprecated: Use VolumeStatusSpec.ProtoReflect.Descriptor instead.

func (*VolumeStatusSpec) GetEncryptionFailedSyncs

func (x *VolumeStatusSpec) GetEncryptionFailedSyncs() []string

func (*VolumeStatusSpec) GetEncryptionProvider

func (x *VolumeStatusSpec) GetEncryptionProvider() enums.BlockEncryptionProviderType

func (*VolumeStatusSpec) GetErrorMessage

func (x *VolumeStatusSpec) GetErrorMessage() string

func (*VolumeStatusSpec) GetFilesystem

func (x *VolumeStatusSpec) GetFilesystem() enums.BlockFilesystemType

func (*VolumeStatusSpec) GetLocation

func (x *VolumeStatusSpec) GetLocation() string

func (*VolumeStatusSpec) GetMountLocation

func (x *VolumeStatusSpec) GetMountLocation() string

func (*VolumeStatusSpec) GetParentLocation

func (x *VolumeStatusSpec) GetParentLocation() string

func (*VolumeStatusSpec) GetPartitionIndex

func (x *VolumeStatusSpec) GetPartitionIndex() int64

func (*VolumeStatusSpec) GetPartitionUuid

func (x *VolumeStatusSpec) GetPartitionUuid() string

func (*VolumeStatusSpec) GetPhase

func (x *VolumeStatusSpec) GetPhase() enums.BlockVolumePhase

func (*VolumeStatusSpec) GetPreFailPhase

func (x *VolumeStatusSpec) GetPreFailPhase() enums.BlockVolumePhase

func (*VolumeStatusSpec) GetPrettySize

func (x *VolumeStatusSpec) GetPrettySize() string

func (*VolumeStatusSpec) GetSize

func (x *VolumeStatusSpec) GetSize() uint64

func (*VolumeStatusSpec) GetUuid

func (x *VolumeStatusSpec) GetUuid() string

func (*VolumeStatusSpec) MarshalToSizedBufferVT

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

func (*VolumeStatusSpec) MarshalToVT

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

func (*VolumeStatusSpec) MarshalVT

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

func (*VolumeStatusSpec) ProtoMessage

func (*VolumeStatusSpec) ProtoMessage()

func (*VolumeStatusSpec) ProtoReflect

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

func (*VolumeStatusSpec) Reset

func (x *VolumeStatusSpec) Reset()

func (*VolumeStatusSpec) SizeVT

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

func (*VolumeStatusSpec) String

func (x *VolumeStatusSpec) String() string

func (*VolumeStatusSpec) UnmarshalVT

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

Jump to

Keyboard shortcuts

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