runtime

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_resource_definitions_runtime_runtime_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KernelModuleSpecSpec

type KernelModuleSpecSpec struct {
	Name       string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

KernelModuleSpecSpec describes Linux kernel module to load.

func (*KernelModuleSpecSpec) Descriptor deprecated

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

Deprecated: Use KernelModuleSpecSpec.ProtoReflect.Descriptor instead.

func (*KernelModuleSpecSpec) GetName

func (x *KernelModuleSpecSpec) GetName() string

func (*KernelModuleSpecSpec) GetParameters

func (x *KernelModuleSpecSpec) GetParameters() []string

func (*KernelModuleSpecSpec) MarshalToSizedBufferVT

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

func (*KernelModuleSpecSpec) MarshalToVT

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

func (*KernelModuleSpecSpec) MarshalVT

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

func (*KernelModuleSpecSpec) ProtoMessage

func (*KernelModuleSpecSpec) ProtoMessage()

func (*KernelModuleSpecSpec) ProtoReflect

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

func (*KernelModuleSpecSpec) Reset

func (x *KernelModuleSpecSpec) Reset()

func (*KernelModuleSpecSpec) SizeVT

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

func (*KernelModuleSpecSpec) String

func (x *KernelModuleSpecSpec) String() string

func (*KernelModuleSpecSpec) UnmarshalVT

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

type KernelParamSpecSpec

type KernelParamSpecSpec struct {
	Value        string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	IgnoreErrors bool   `protobuf:"varint,2,opt,name=ignore_errors,json=ignoreErrors,proto3" json:"ignore_errors,omitempty"`
	// contains filtered or unexported fields
}

KernelParamSpecSpec describes status of the defined sysctls.

func (*KernelParamSpecSpec) Descriptor deprecated

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

Deprecated: Use KernelParamSpecSpec.ProtoReflect.Descriptor instead.

func (*KernelParamSpecSpec) GetIgnoreErrors

func (x *KernelParamSpecSpec) GetIgnoreErrors() bool

func (*KernelParamSpecSpec) GetValue

func (x *KernelParamSpecSpec) GetValue() string

func (*KernelParamSpecSpec) MarshalToSizedBufferVT

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

func (*KernelParamSpecSpec) MarshalToVT

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

func (*KernelParamSpecSpec) MarshalVT

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

func (*KernelParamSpecSpec) ProtoMessage

func (*KernelParamSpecSpec) ProtoMessage()

func (*KernelParamSpecSpec) ProtoReflect

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

func (*KernelParamSpecSpec) Reset

func (x *KernelParamSpecSpec) Reset()

func (*KernelParamSpecSpec) SizeVT

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

func (*KernelParamSpecSpec) String

func (x *KernelParamSpecSpec) String() string

func (*KernelParamSpecSpec) UnmarshalVT

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

type KernelParamStatusSpec

type KernelParamStatusSpec struct {
	Current     string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
	Default     string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"`
	Unsupported bool   `protobuf:"varint,3,opt,name=unsupported,proto3" json:"unsupported,omitempty"`
	// contains filtered or unexported fields
}

KernelParamStatusSpec describes status of the defined sysctls.

func (*KernelParamStatusSpec) Descriptor deprecated

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

Deprecated: Use KernelParamStatusSpec.ProtoReflect.Descriptor instead.

func (*KernelParamStatusSpec) GetCurrent

func (x *KernelParamStatusSpec) GetCurrent() string

func (*KernelParamStatusSpec) GetDefault

func (x *KernelParamStatusSpec) GetDefault() string

func (*KernelParamStatusSpec) GetUnsupported

func (x *KernelParamStatusSpec) GetUnsupported() bool

func (*KernelParamStatusSpec) MarshalToSizedBufferVT

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

func (*KernelParamStatusSpec) MarshalToVT

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

func (*KernelParamStatusSpec) MarshalVT

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

func (*KernelParamStatusSpec) ProtoMessage

func (*KernelParamStatusSpec) ProtoMessage()

func (*KernelParamStatusSpec) ProtoReflect

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

func (*KernelParamStatusSpec) Reset

func (x *KernelParamStatusSpec) Reset()

func (*KernelParamStatusSpec) SizeVT

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

func (*KernelParamStatusSpec) String

func (x *KernelParamStatusSpec) String() string

func (*KernelParamStatusSpec) UnmarshalVT

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

type MachineStatusSpec

type MachineStatusSpec struct {
	Stage  enums.RuntimeMachineStage `protobuf:"varint,1,opt,name=stage,proto3,enum=talos.resource.definitions.enums.RuntimeMachineStage" json:"stage,omitempty"`
	Status *MachineStatusStatus      `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

MachineStatusSpec describes status of the defined sysctls.

func (*MachineStatusSpec) Descriptor deprecated

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

Deprecated: Use MachineStatusSpec.ProtoReflect.Descriptor instead.

func (*MachineStatusSpec) GetStage

func (*MachineStatusSpec) GetStatus

func (x *MachineStatusSpec) GetStatus() *MachineStatusStatus

func (*MachineStatusSpec) MarshalToSizedBufferVT

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

func (*MachineStatusSpec) MarshalToVT

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

func (*MachineStatusSpec) MarshalVT

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

func (*MachineStatusSpec) ProtoMessage

func (*MachineStatusSpec) ProtoMessage()

func (*MachineStatusSpec) ProtoReflect

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

func (*MachineStatusSpec) Reset

func (x *MachineStatusSpec) Reset()

func (*MachineStatusSpec) SizeVT

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

func (*MachineStatusSpec) String

func (x *MachineStatusSpec) String() string

func (*MachineStatusSpec) UnmarshalVT

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

type MachineStatusStatus

type MachineStatusStatus struct {
	Ready           bool              `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	UnmetConditions []*UnmetCondition `protobuf:"bytes,2,rep,name=unmet_conditions,json=unmetConditions,proto3" json:"unmet_conditions,omitempty"`
	// contains filtered or unexported fields
}

MachineStatusStatus describes machine current status at the stage.

func (*MachineStatusStatus) Descriptor deprecated

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

Deprecated: Use MachineStatusStatus.ProtoReflect.Descriptor instead.

func (*MachineStatusStatus) GetReady

func (x *MachineStatusStatus) GetReady() bool

func (*MachineStatusStatus) GetUnmetConditions

func (x *MachineStatusStatus) GetUnmetConditions() []*UnmetCondition

func (*MachineStatusStatus) MarshalToSizedBufferVT

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

func (*MachineStatusStatus) MarshalToVT

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

func (*MachineStatusStatus) MarshalVT

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

func (*MachineStatusStatus) ProtoMessage

func (*MachineStatusStatus) ProtoMessage()

func (*MachineStatusStatus) ProtoReflect

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

func (*MachineStatusStatus) Reset

func (x *MachineStatusStatus) Reset()

func (*MachineStatusStatus) SizeVT

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

func (*MachineStatusStatus) String

func (x *MachineStatusStatus) String() string

func (*MachineStatusStatus) UnmarshalVT

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

type MountStatusSpec

type MountStatusSpec struct {
	Source         string   `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Target         string   `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	FilesystemType string   `protobuf:"bytes,3,opt,name=filesystem_type,json=filesystemType,proto3" json:"filesystem_type,omitempty"`
	Options        []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

MountStatusSpec describes status of the defined sysctls.

func (*MountStatusSpec) Descriptor deprecated

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

Deprecated: Use MountStatusSpec.ProtoReflect.Descriptor instead.

func (*MountStatusSpec) GetFilesystemType

func (x *MountStatusSpec) GetFilesystemType() string

func (*MountStatusSpec) GetOptions

func (x *MountStatusSpec) GetOptions() []string

func (*MountStatusSpec) GetSource

func (x *MountStatusSpec) GetSource() string

func (*MountStatusSpec) GetTarget

func (x *MountStatusSpec) GetTarget() string

func (*MountStatusSpec) MarshalToSizedBufferVT

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

func (*MountStatusSpec) MarshalToVT

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

func (*MountStatusSpec) MarshalVT

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

func (*MountStatusSpec) ProtoMessage

func (*MountStatusSpec) ProtoMessage()

func (*MountStatusSpec) ProtoReflect

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

func (*MountStatusSpec) Reset

func (x *MountStatusSpec) Reset()

func (*MountStatusSpec) SizeVT

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

func (*MountStatusSpec) String

func (x *MountStatusSpec) String() string

func (*MountStatusSpec) UnmarshalVT

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

type PlatformMetadataSpec

type PlatformMetadataSpec struct {
	Platform     string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	Hostname     string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Region       string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	Zone         string `protobuf:"bytes,4,opt,name=zone,proto3" json:"zone,omitempty"`
	InstanceType string `protobuf:"bytes,5,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
	InstanceId   string `protobuf:"bytes,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	ProviderId   string `protobuf:"bytes,7,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	Spot         bool   `protobuf:"varint,8,opt,name=spot,proto3" json:"spot,omitempty"`
	// contains filtered or unexported fields
}

PlatformMetadataSpec describes platform metadata properties.

func (*PlatformMetadataSpec) Descriptor deprecated

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

Deprecated: Use PlatformMetadataSpec.ProtoReflect.Descriptor instead.

func (*PlatformMetadataSpec) GetHostname

func (x *PlatformMetadataSpec) GetHostname() string

func (*PlatformMetadataSpec) GetInstanceId

func (x *PlatformMetadataSpec) GetInstanceId() string

func (*PlatformMetadataSpec) GetInstanceType

func (x *PlatformMetadataSpec) GetInstanceType() string

func (*PlatformMetadataSpec) GetPlatform

func (x *PlatformMetadataSpec) GetPlatform() string

func (*PlatformMetadataSpec) GetProviderId

func (x *PlatformMetadataSpec) GetProviderId() string

func (*PlatformMetadataSpec) GetRegion

func (x *PlatformMetadataSpec) GetRegion() string

func (*PlatformMetadataSpec) GetSpot

func (x *PlatformMetadataSpec) GetSpot() bool

func (*PlatformMetadataSpec) GetZone

func (x *PlatformMetadataSpec) GetZone() string

func (*PlatformMetadataSpec) MarshalToSizedBufferVT

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

func (*PlatformMetadataSpec) MarshalToVT

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

func (*PlatformMetadataSpec) MarshalVT

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

func (*PlatformMetadataSpec) ProtoMessage

func (*PlatformMetadataSpec) ProtoMessage()

func (*PlatformMetadataSpec) ProtoReflect

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

func (*PlatformMetadataSpec) Reset

func (x *PlatformMetadataSpec) Reset()

func (*PlatformMetadataSpec) SizeVT

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

func (*PlatformMetadataSpec) String

func (x *PlatformMetadataSpec) String() string

func (*PlatformMetadataSpec) UnmarshalVT

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

type UnmetCondition

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

UnmetCondition is a failure which prevents machine from being ready at the stage.

func (*UnmetCondition) Descriptor deprecated

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

Deprecated: Use UnmetCondition.ProtoReflect.Descriptor instead.

func (*UnmetCondition) GetName

func (x *UnmetCondition) GetName() string

func (*UnmetCondition) GetReason

func (x *UnmetCondition) GetReason() string

func (*UnmetCondition) MarshalToSizedBufferVT

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

func (*UnmetCondition) MarshalToVT

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

func (*UnmetCondition) MarshalVT

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

func (*UnmetCondition) ProtoMessage

func (*UnmetCondition) ProtoMessage()

func (*UnmetCondition) ProtoReflect

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

func (*UnmetCondition) Reset

func (x *UnmetCondition) Reset()

func (*UnmetCondition) SizeVT

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

func (*UnmetCondition) String

func (x *UnmetCondition) String() string

func (*UnmetCondition) UnmarshalVT

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

Jump to

Keyboard shortcuts

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