specs

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BootMode_name = map[int32]string{
		0: "BOOT_MODE_UNKNOWN",
		1: "BOOT_MODE_AGENT_PXE",
		2: "BOOT_MODE_TALOS_PXE",
		3: "BOOT_MODE_TALOS_DISK",
	}
	BootMode_value = map[string]int32{
		"BOOT_MODE_UNKNOWN":    0,
		"BOOT_MODE_AGENT_PXE":  1,
		"BOOT_MODE_TALOS_PXE":  2,
		"BOOT_MODE_TALOS_DISK": 3,
	}
)

Enum value maps for BootMode.

View Source
var (
	PowerState_name = map[int32]string{
		0: "POWER_STATE_UNKNOWN",
		1: "POWER_STATE_OFF",
		2: "POWER_STATE_ON",
	}
	PowerState_value = map[string]int32{
		"POWER_STATE_UNKNOWN": 0,
		"POWER_STATE_OFF":     1,
		"POWER_STATE_ON":      2,
	}
)

Enum value maps for PowerState.

View Source
var File_specs_specs_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BootMode

type BootMode int32
const (
	BootMode_BOOT_MODE_UNKNOWN    BootMode = 0
	BootMode_BOOT_MODE_AGENT_PXE  BootMode = 1
	BootMode_BOOT_MODE_TALOS_PXE  BootMode = 2
	BootMode_BOOT_MODE_TALOS_DISK BootMode = 3
)

func (BootMode) Descriptor

func (BootMode) Descriptor() protoreflect.EnumDescriptor

func (BootMode) Enum

func (x BootMode) Enum() *BootMode

func (BootMode) EnumDescriptor deprecated

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

Deprecated: Use BootMode.Descriptor instead.

func (BootMode) Number

func (x BootMode) Number() protoreflect.EnumNumber

func (BootMode) String

func (x BootMode) String() string

func (BootMode) Type

type MachineStatusSpec

type MachineStatusSpec struct {
	PowerManagement *PowerManagement `protobuf:"bytes,1,opt,name=power_management,json=powerManagement,proto3" json:"power_management,omitempty"`
	PowerState      PowerState       `` /* 131-byte string literal not displayed */
	// LastBootMode is the last observed boot mode of the machine. It is updated by the PXE server each time it boots a server,
	// and is also updated by the status of the agent connectivity.
	BootMode BootMode `protobuf:"varint,3,opt,name=boot_mode,json=bootMode,proto3,enum=baremetalproviderspecs.BootMode" json:"boot_mode,omitempty"`
	// LastWipeId is the ID of the last wipe operation that was performed on the machine.
	//
	// It is used to track if the machine needs to be wiped for an allocation.
	LastWipeId string `protobuf:"bytes,4,opt,name=last_wipe_id,json=lastWipeId,proto3" json:"last_wipe_id,omitempty"`
	// LastRebootTimestamp is the timestamp of the last reboot (or power on) of the machine.
	//
	// It is used to track the last reboot time of the machine, and to enforce the MinRebootInterval.
	LastRebootTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_reboot_timestamp,json=lastRebootTimestamp,proto3" json:"last_reboot_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineStatusSpec) CloneMessageVT

func (m *MachineStatusSpec) CloneMessageVT() proto.Message

func (*MachineStatusSpec) CloneVT

func (m *MachineStatusSpec) CloneVT() *MachineStatusSpec

func (*MachineStatusSpec) Descriptor deprecated

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

Deprecated: Use MachineStatusSpec.ProtoReflect.Descriptor instead.

func (*MachineStatusSpec) EqualMessageVT

func (this *MachineStatusSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*MachineStatusSpec) EqualVT

func (this *MachineStatusSpec) EqualVT(that *MachineStatusSpec) bool

func (*MachineStatusSpec) GetBootMode

func (x *MachineStatusSpec) GetBootMode() BootMode

func (*MachineStatusSpec) GetLastRebootTimestamp

func (x *MachineStatusSpec) GetLastRebootTimestamp() *timestamppb.Timestamp

func (*MachineStatusSpec) GetLastWipeId

func (x *MachineStatusSpec) GetLastWipeId() string

func (*MachineStatusSpec) GetPowerManagement

func (x *MachineStatusSpec) GetPowerManagement() *PowerManagement

func (*MachineStatusSpec) GetPowerState

func (x *MachineStatusSpec) GetPowerState() PowerState

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 PowerManagement

type PowerManagement struct {
	Ipmi *PowerManagement_IPMI `protobuf:"bytes,1,opt,name=ipmi,proto3" json:"ipmi,omitempty"`
	Api  *PowerManagement_API  `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerManagement) CloneMessageVT

func (m *PowerManagement) CloneMessageVT() proto.Message

func (*PowerManagement) CloneVT

func (m *PowerManagement) CloneVT() *PowerManagement

func (*PowerManagement) Descriptor deprecated

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

Deprecated: Use PowerManagement.ProtoReflect.Descriptor instead.

func (*PowerManagement) EqualMessageVT

func (this *PowerManagement) EqualMessageVT(thatMsg proto.Message) bool

func (*PowerManagement) EqualVT

func (this *PowerManagement) EqualVT(that *PowerManagement) bool

func (*PowerManagement) GetApi

func (x *PowerManagement) GetApi() *PowerManagement_API

func (*PowerManagement) GetIpmi

func (x *PowerManagement) GetIpmi() *PowerManagement_IPMI

func (*PowerManagement) MarshalToSizedBufferVT

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

func (*PowerManagement) MarshalToVT

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

func (*PowerManagement) MarshalVT

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

func (*PowerManagement) ProtoMessage

func (*PowerManagement) ProtoMessage()

func (*PowerManagement) ProtoReflect

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

func (*PowerManagement) Reset

func (x *PowerManagement) Reset()

func (*PowerManagement) SizeVT

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

func (*PowerManagement) String

func (x *PowerManagement) String() string

func (*PowerManagement) UnmarshalVT

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

type PowerManagement_API

type PowerManagement_API struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerManagement_API) CloneMessageVT

func (m *PowerManagement_API) CloneMessageVT() proto.Message

func (*PowerManagement_API) CloneVT

func (*PowerManagement_API) Descriptor deprecated

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

Deprecated: Use PowerManagement_API.ProtoReflect.Descriptor instead.

func (*PowerManagement_API) EqualMessageVT

func (this *PowerManagement_API) EqualMessageVT(thatMsg proto.Message) bool

func (*PowerManagement_API) EqualVT

func (this *PowerManagement_API) EqualVT(that *PowerManagement_API) bool

func (*PowerManagement_API) GetAddress

func (x *PowerManagement_API) GetAddress() string

func (*PowerManagement_API) MarshalToSizedBufferVT

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

func (*PowerManagement_API) MarshalToVT

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

func (*PowerManagement_API) MarshalVT

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

func (*PowerManagement_API) ProtoMessage

func (*PowerManagement_API) ProtoMessage()

func (*PowerManagement_API) ProtoReflect

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

func (*PowerManagement_API) Reset

func (x *PowerManagement_API) Reset()

func (*PowerManagement_API) SizeVT

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

func (*PowerManagement_API) String

func (x *PowerManagement_API) String() string

func (*PowerManagement_API) UnmarshalVT

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

type PowerManagement_IPMI

type PowerManagement_IPMI struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Port     uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerManagement_IPMI) CloneMessageVT

func (m *PowerManagement_IPMI) CloneMessageVT() proto.Message

func (*PowerManagement_IPMI) CloneVT

func (*PowerManagement_IPMI) Descriptor deprecated

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

Deprecated: Use PowerManagement_IPMI.ProtoReflect.Descriptor instead.

func (*PowerManagement_IPMI) EqualMessageVT

func (this *PowerManagement_IPMI) EqualMessageVT(thatMsg proto.Message) bool

func (*PowerManagement_IPMI) EqualVT

func (this *PowerManagement_IPMI) EqualVT(that *PowerManagement_IPMI) bool

func (*PowerManagement_IPMI) GetAddress

func (x *PowerManagement_IPMI) GetAddress() string

func (*PowerManagement_IPMI) GetPassword

func (x *PowerManagement_IPMI) GetPassword() string

func (*PowerManagement_IPMI) GetPort

func (x *PowerManagement_IPMI) GetPort() uint32

func (*PowerManagement_IPMI) GetUsername

func (x *PowerManagement_IPMI) GetUsername() string

func (*PowerManagement_IPMI) MarshalToSizedBufferVT

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

func (*PowerManagement_IPMI) MarshalToVT

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

func (*PowerManagement_IPMI) MarshalVT

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

func (*PowerManagement_IPMI) ProtoMessage

func (*PowerManagement_IPMI) ProtoMessage()

func (*PowerManagement_IPMI) ProtoReflect

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

func (*PowerManagement_IPMI) Reset

func (x *PowerManagement_IPMI) Reset()

func (*PowerManagement_IPMI) SizeVT

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

func (*PowerManagement_IPMI) String

func (x *PowerManagement_IPMI) String() string

func (*PowerManagement_IPMI) UnmarshalVT

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

type PowerState

type PowerState int32
const (
	PowerState_POWER_STATE_UNKNOWN PowerState = 0
	PowerState_POWER_STATE_OFF     PowerState = 1
	PowerState_POWER_STATE_ON      PowerState = 2
)

func (PowerState) Descriptor

func (PowerState) Descriptor() protoreflect.EnumDescriptor

func (PowerState) Enum

func (x PowerState) Enum() *PowerState

func (PowerState) EnumDescriptor deprecated

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

Deprecated: Use PowerState.Descriptor instead.

func (PowerState) Number

func (x PowerState) Number() protoreflect.EnumNumber

func (PowerState) String

func (x PowerState) String() string

func (PowerState) Type

type PowerStatusSpec

type PowerStatusSpec struct {
	PowerState PowerState `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PowerStatusSpec) CloneMessageVT

func (m *PowerStatusSpec) CloneMessageVT() proto.Message

func (*PowerStatusSpec) CloneVT

func (m *PowerStatusSpec) CloneVT() *PowerStatusSpec

func (*PowerStatusSpec) Descriptor deprecated

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

Deprecated: Use PowerStatusSpec.ProtoReflect.Descriptor instead.

func (*PowerStatusSpec) EqualMessageVT

func (this *PowerStatusSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*PowerStatusSpec) EqualVT

func (this *PowerStatusSpec) EqualVT(that *PowerStatusSpec) bool

func (*PowerStatusSpec) GetPowerState

func (x *PowerStatusSpec) GetPowerState() PowerState

func (*PowerStatusSpec) MarshalToSizedBufferVT

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

func (*PowerStatusSpec) MarshalToVT

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

func (*PowerStatusSpec) MarshalVT

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

func (*PowerStatusSpec) ProtoMessage

func (*PowerStatusSpec) ProtoMessage()

func (*PowerStatusSpec) ProtoReflect

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

func (*PowerStatusSpec) Reset

func (x *PowerStatusSpec) Reset()

func (*PowerStatusSpec) SizeVT

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

func (*PowerStatusSpec) String

func (x *PowerStatusSpec) String() string

func (*PowerStatusSpec) UnmarshalVT

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

Jump to

Keyboard shortcuts

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