Documentation ¶
Index ¶
- Variables
- type MachineConfigSpec
- func (*MachineConfigSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MachineConfigSpec) GetYamlMarshalled() []byte
- func (m *MachineConfigSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MachineConfigSpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *MachineConfigSpec) MarshalVT() (dAtA []byte, err error)
- func (*MachineConfigSpec) ProtoMessage()
- func (x *MachineConfigSpec) ProtoReflect() protoreflect.Message
- func (x *MachineConfigSpec) Reset()
- func (m *MachineConfigSpec) SizeVT() (n int)
- func (x *MachineConfigSpec) String() string
- func (m *MachineConfigSpec) UnmarshalVT(dAtA []byte) error
- type MachineType
- func (MachineType) Descriptor() protoreflect.EnumDescriptor
- func (x MachineType) Enum() *MachineType
- func (MachineType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineType) Number() protoreflect.EnumNumber
- func (x MachineType) String() string
- func (MachineType) Type() protoreflect.EnumType
- type MachineTypeSpec
- func (*MachineTypeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MachineTypeSpec) GetMachineType() MachineType
- func (m *MachineTypeSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MachineTypeSpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *MachineTypeSpec) MarshalVT() (dAtA []byte, err error)
- func (*MachineTypeSpec) ProtoMessage()
- func (x *MachineTypeSpec) ProtoReflect() protoreflect.Message
- func (x *MachineTypeSpec) Reset()
- func (m *MachineTypeSpec) SizeVT() (n int)
- func (x *MachineTypeSpec) String() string
- func (m *MachineTypeSpec) UnmarshalVT(dAtA []byte) error
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 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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (MachineType) Type() protoreflect.EnumType
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
Click to show internal directories.
Click to hide internal directories.