config

package
v1.4.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MachineType_name = map[int32]string{
		0: "UNKNOWN",
		1: "INIT",
		2: "CONTROL_PLANE",
		3: "WORKER",
	}
	MachineType_value = map[string]int32{
		"UNKNOWN":       0,
		"INIT":          1,
		"CONTROL_PLANE": 2,
		"WORKER":        3,
	}
)

Enum value maps for MachineType.

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_config_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MachineConfigSpec

type MachineConfigSpec struct {

	// Contains YAML marshalled machine configuration.
	//
	// Byte representation is preserved as the machine configuration was submitted to the node.
	YamlMarshalled []byte `protobuf:"bytes,1,opt,name=yaml_marshalled,json=yamlMarshalled,proto3" json:"yaml_marshalled,omitempty"`
	// contains filtered or unexported fields
}

MessageConfigSpec is the spec for the config.MachineConfig resource.

func (*MachineConfigSpec) Descriptor deprecated

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

Deprecated: Use MachineConfigSpec.ProtoReflect.Descriptor instead.

func (*MachineConfigSpec) GetYamlMarshalled

func (x *MachineConfigSpec) GetYamlMarshalled() []byte

func (*MachineConfigSpec) MarshalToSizedBufferVT

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

func (*MachineConfigSpec) MarshalToVT

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

func (*MachineConfigSpec) MarshalVT

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

func (*MachineConfigSpec) ProtoMessage

func (*MachineConfigSpec) ProtoMessage()

func (*MachineConfigSpec) ProtoReflect

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

func (*MachineConfigSpec) Reset

func (x *MachineConfigSpec) Reset()

func (*MachineConfigSpec) SizeVT

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

func (*MachineConfigSpec) String

func (x *MachineConfigSpec) String() string

func (*MachineConfigSpec) UnmarshalVT

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

type MachineType

type MachineType int32

MachineType matches machine.Type constants.

const (
	MachineType_UNKNOWN       MachineType = 0
	MachineType_INIT          MachineType = 1
	MachineType_CONTROL_PLANE MachineType = 2
	MachineType_WORKER        MachineType = 3
)

func (MachineType) Descriptor

func (MachineType) Enum

func (x MachineType) Enum() *MachineType

func (MachineType) EnumDescriptor deprecated

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

Deprecated: Use MachineType.Descriptor instead.

func (MachineType) Number

func (x MachineType) Number() protoreflect.EnumNumber

func (MachineType) String

func (x MachineType) String() string

func (MachineType) Type

type MachineTypeSpec

type MachineTypeSpec struct {
	MachineType MachineType `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

MachineTypeSpec is the spec for the config.MachineType resource.

func (*MachineTypeSpec) Descriptor deprecated

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

Deprecated: Use MachineTypeSpec.ProtoReflect.Descriptor instead.

func (*MachineTypeSpec) GetMachineType

func (x *MachineTypeSpec) GetMachineType() MachineType

func (*MachineTypeSpec) MarshalToSizedBufferVT

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

func (*MachineTypeSpec) MarshalToVT

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

func (*MachineTypeSpec) MarshalVT

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

func (*MachineTypeSpec) ProtoMessage

func (*MachineTypeSpec) ProtoMessage()

func (*MachineTypeSpec) ProtoReflect

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

func (*MachineTypeSpec) Reset

func (x *MachineTypeSpec) Reset()

func (*MachineTypeSpec) SizeVT

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

func (*MachineTypeSpec) String

func (x *MachineTypeSpec) String() string

func (*MachineTypeSpec) UnmarshalVT

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

Jump to

Keyboard shortcuts

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