Documentation
¶
Index ¶
- Variables
- type BMCCommandDoneRequest
- func (*BMCCommandDoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BMCCommandDoneRequest) GetCommandId() string
- func (x *BMCCommandDoneRequest) GetError() string
- func (*BMCCommandDoneRequest) ProtoMessage()
- func (x *BMCCommandDoneRequest) ProtoReflect() protoreflect.Message
- func (x *BMCCommandDoneRequest) Reset()
- func (x *BMCCommandDoneRequest) String() string
- type BMCCommandDoneResponse
- type BootServiceBootRequest
- func (*BootServiceBootRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceBootRequest) GetMac() string
- func (x *BootServiceBootRequest) GetPartition() string
- func (*BootServiceBootRequest) ProtoMessage()
- func (x *BootServiceBootRequest) ProtoReflect() protoreflect.Message
- func (x *BootServiceBootRequest) Reset()
- func (x *BootServiceBootRequest) String() string
- type BootServiceBootResponse
- func (*BootServiceBootResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceBootResponse) GetCmdline() string
- func (x *BootServiceBootResponse) GetInitRamDisks() []string
- func (x *BootServiceBootResponse) GetKernel() string
- func (*BootServiceBootResponse) ProtoMessage()
- func (x *BootServiceBootResponse) ProtoReflect() protoreflect.Message
- func (x *BootServiceBootResponse) Reset()
- func (x *BootServiceBootResponse) String() string
- type BootServiceDhcpRequest
- func (*BootServiceDhcpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceDhcpRequest) GetPartition() string
- func (x *BootServiceDhcpRequest) GetUuid() string
- func (*BootServiceDhcpRequest) ProtoMessage()
- func (x *BootServiceDhcpRequest) ProtoReflect() protoreflect.Message
- func (x *BootServiceDhcpRequest) Reset()
- func (x *BootServiceDhcpRequest) String() string
- type BootServiceDhcpResponse
- type BootServiceInstallationSucceededRequest
- func (*BootServiceInstallationSucceededRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceInstallationSucceededRequest) GetConsolePassword() string
- func (x *BootServiceInstallationSucceededRequest) GetUuid() string
- func (*BootServiceInstallationSucceededRequest) ProtoMessage()
- func (x *BootServiceInstallationSucceededRequest) ProtoReflect() protoreflect.Message
- func (x *BootServiceInstallationSucceededRequest) Reset()
- func (x *BootServiceInstallationSucceededRequest) String() string
- type BootServiceInstallationSucceededResponse
- func (*BootServiceInstallationSucceededResponse) Descriptor() ([]byte, []int)deprecated
- func (*BootServiceInstallationSucceededResponse) ProtoMessage()
- func (x *BootServiceInstallationSucceededResponse) ProtoReflect() protoreflect.Message
- func (x *BootServiceInstallationSucceededResponse) Reset()
- func (x *BootServiceInstallationSucceededResponse) String() string
- type BootServiceRegisterRequest
- func (*BootServiceRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceRegisterRequest) GetBios() *v2.MachineBios
- func (x *BootServiceRegisterRequest) GetBmc() *v2.MachineBMC
- func (x *BootServiceRegisterRequest) GetFru() *v2.MachineFRU
- func (x *BootServiceRegisterRequest) GetHardware() *v2.MachineHardware
- func (x *BootServiceRegisterRequest) GetMetalHammerVersion() string
- func (x *BootServiceRegisterRequest) GetPartition() string
- func (x *BootServiceRegisterRequest) GetTags() []string
- func (x *BootServiceRegisterRequest) GetUuid() string
- func (*BootServiceRegisterRequest) ProtoMessage()
- func (x *BootServiceRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *BootServiceRegisterRequest) Reset()
- func (x *BootServiceRegisterRequest) String() string
- type BootServiceRegisterResponse
- func (*BootServiceRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceRegisterResponse) GetPartition() string
- func (x *BootServiceRegisterResponse) GetSize() string
- func (x *BootServiceRegisterResponse) GetUuid() string
- func (*BootServiceRegisterResponse) ProtoMessage()
- func (x *BootServiceRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *BootServiceRegisterResponse) Reset()
- func (x *BootServiceRegisterResponse) String() string
- type BootServiceSuperUserPasswordRequest
- func (*BootServiceSuperUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceSuperUserPasswordRequest) GetUuid() string
- func (*BootServiceSuperUserPasswordRequest) ProtoMessage()
- func (x *BootServiceSuperUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *BootServiceSuperUserPasswordRequest) Reset()
- func (x *BootServiceSuperUserPasswordRequest) String() string
- type BootServiceSuperUserPasswordResponse
- func (*BootServiceSuperUserPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceSuperUserPasswordResponse) GetFeatureDisabled() bool
- func (x *BootServiceSuperUserPasswordResponse) GetSuperUserPassword() string
- func (*BootServiceSuperUserPasswordResponse) ProtoMessage()
- func (x *BootServiceSuperUserPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *BootServiceSuperUserPasswordResponse) Reset()
- func (x *BootServiceSuperUserPasswordResponse) String() string
- type BootServiceWaitRequest
- func (*BootServiceWaitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceWaitRequest) GetUuid() string
- func (*BootServiceWaitRequest) ProtoMessage()
- func (x *BootServiceWaitRequest) ProtoReflect() protoreflect.Message
- func (x *BootServiceWaitRequest) Reset()
- func (x *BootServiceWaitRequest) String() string
- type BootServiceWaitResponse
- func (*BootServiceWaitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootServiceWaitResponse) GetAllocation() *v2.MachineAllocation
- func (*BootServiceWaitResponse) ProtoMessage()
- func (x *BootServiceWaitResponse) ProtoReflect() protoreflect.Message
- func (x *BootServiceWaitResponse) Reset()
- func (x *BootServiceWaitResponse) String() string
- type EventServiceSendRequest
- func (*EventServiceSendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventServiceSendRequest) GetEvents() map[string]*MachineProvisioningEvent
- func (*EventServiceSendRequest) ProtoMessage()
- func (x *EventServiceSendRequest) ProtoReflect() protoreflect.Message
- func (x *EventServiceSendRequest) Reset()
- func (x *EventServiceSendRequest) String() string
- type EventServiceSendResponse
- func (*EventServiceSendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventServiceSendResponse) GetEvents() uint64
- func (x *EventServiceSendResponse) GetFailed() []string
- func (*EventServiceSendResponse) ProtoMessage()
- func (x *EventServiceSendResponse) ProtoReflect() protoreflect.Message
- func (x *EventServiceSendResponse) Reset()
- func (x *EventServiceSendResponse) String() string
- type MachineProvisioningEvent
- func (*MachineProvisioningEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MachineProvisioningEvent) GetEvent() ProvisioningEventType
- func (x *MachineProvisioningEvent) GetMessage() string
- func (x *MachineProvisioningEvent) GetTime() *timestamppb.Timestamp
- func (*MachineProvisioningEvent) ProtoMessage()
- func (x *MachineProvisioningEvent) ProtoReflect() protoreflect.Message
- func (x *MachineProvisioningEvent) Reset()
- func (x *MachineProvisioningEvent) String() string
- type ProvisioningEventType
- func (ProvisioningEventType) Descriptor() protoreflect.EnumDescriptor
- func (x ProvisioningEventType) Enum() *ProvisioningEventType
- func (ProvisioningEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProvisioningEventType) Number() protoreflect.EnumNumber
- func (x ProvisioningEventType) String() string
- func (ProvisioningEventType) Type() protoreflect.EnumType
- type SwitchServiceGetRequest
- func (*SwitchServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchServiceGetRequest) GetId() string
- func (*SwitchServiceGetRequest) ProtoMessage()
- func (x *SwitchServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchServiceGetRequest) Reset()
- func (x *SwitchServiceGetRequest) String() string
- type SwitchServiceGetResponse
- func (*SwitchServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchServiceGetResponse) GetSwitch() *v2.Switch
- func (*SwitchServiceGetResponse) ProtoMessage()
- func (x *SwitchServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *SwitchServiceGetResponse) Reset()
- func (x *SwitchServiceGetResponse) String() string
- type SwitchServiceHeartbeatRequest
- func (*SwitchServiceHeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchServiceHeartbeatRequest) GetBgpPortStates() map[string]*v2.SwitchBGPPortState
- func (x *SwitchServiceHeartbeatRequest) GetDuration() *durationpb.Duration
- func (x *SwitchServiceHeartbeatRequest) GetError() string
- func (x *SwitchServiceHeartbeatRequest) GetId() string
- func (x *SwitchServiceHeartbeatRequest) GetPortStates() map[string]v2.SwitchPortStatus
- func (*SwitchServiceHeartbeatRequest) ProtoMessage()
- func (x *SwitchServiceHeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchServiceHeartbeatRequest) Reset()
- func (x *SwitchServiceHeartbeatRequest) String() string
- type SwitchServiceHeartbeatResponse
- func (*SwitchServiceHeartbeatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchServiceHeartbeatResponse) GetId() string
- func (x *SwitchServiceHeartbeatResponse) GetLastSync() *v2.SwitchSync
- func (x *SwitchServiceHeartbeatResponse) GetLastSyncError() *v2.SwitchSync
- func (*SwitchServiceHeartbeatResponse) ProtoMessage()
- func (x *SwitchServiceHeartbeatResponse) ProtoReflect() protoreflect.Message
- func (x *SwitchServiceHeartbeatResponse) Reset()
- func (x *SwitchServiceHeartbeatResponse) String() string
- type SwitchServiceRegisterRequest
- func (*SwitchServiceRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchServiceRegisterRequest) GetSwitch() *v2.Switch
- func (*SwitchServiceRegisterRequest) ProtoMessage()
- func (x *SwitchServiceRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchServiceRegisterRequest) Reset()
- func (x *SwitchServiceRegisterRequest) String() string
- type SwitchServiceRegisterResponse
- func (*SwitchServiceRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchServiceRegisterResponse) GetSwitch() *v2.Switch
- func (*SwitchServiceRegisterResponse) ProtoMessage()
- func (x *SwitchServiceRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *SwitchServiceRegisterResponse) Reset()
- func (x *SwitchServiceRegisterResponse) String() string
- type UpdateBMCInfoRequest
- func (*UpdateBMCInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBMCInfoRequest) GetBmcReports() map[string]*v2.MachineBMCReport
- func (x *UpdateBMCInfoRequest) GetPartition() string
- func (*UpdateBMCInfoRequest) ProtoMessage()
- func (x *UpdateBMCInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBMCInfoRequest) Reset()
- func (x *UpdateBMCInfoRequest) String() string
- type UpdateBMCInfoResponse
- func (*UpdateBMCInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBMCInfoResponse) GetCreatedMachines() []string
- func (x *UpdateBMCInfoResponse) GetUpdatedMachines() []string
- func (*UpdateBMCInfoResponse) ProtoMessage()
- func (x *UpdateBMCInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBMCInfoResponse) Reset()
- func (x *UpdateBMCInfoResponse) String() string
- type WaitForBMCCommandRequest
- func (*WaitForBMCCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForBMCCommandRequest) GetPartition() string
- func (*WaitForBMCCommandRequest) ProtoMessage()
- func (x *WaitForBMCCommandRequest) ProtoReflect() protoreflect.Message
- func (x *WaitForBMCCommandRequest) Reset()
- func (x *WaitForBMCCommandRequest) String() string
- type WaitForBMCCommandResponse
- func (*WaitForBMCCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForBMCCommandResponse) GetBmcCommand() v2.MachineBMCCommand
- func (x *WaitForBMCCommandResponse) GetCommandId() string
- func (x *WaitForBMCCommandResponse) GetMachineBmc() *v2.MachineBMC
- func (x *WaitForBMCCommandResponse) GetUuid() string
- func (*WaitForBMCCommandResponse) ProtoMessage()
- func (x *WaitForBMCCommandResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForBMCCommandResponse) Reset()
- func (x *WaitForBMCCommandResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ProvisioningEventType_name = map[int32]string{ 0: "PROVISIONING_EVENT_TYPE_UNSPECIFIED", 1: "PROVISIONING_EVENT_TYPE_ALIVE", 2: "PROVISIONING_EVENT_TYPE_CRASHED", 3: "PROVISIONING_EVENT_TYPE_PXE_BOOTING", 4: "PROVISIONING_EVENT_TYPE_PLANNED_REBOOT", 5: "PROVISIONING_EVENT_TYPE_PREPARING", 6: "PROVISIONING_EVENT_TYPE_REGISTERING", 7: "PROVISIONING_EVENT_TYPE_WAITING", 8: "PROVISIONING_EVENT_TYPE_INSTALLING", 9: "PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL", 10: "PROVISIONING_EVENT_TYPE_PHONED_HOME", 11: "PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM", } ProvisioningEventType_value = map[string]int32{ "PROVISIONING_EVENT_TYPE_UNSPECIFIED": 0, "PROVISIONING_EVENT_TYPE_ALIVE": 1, "PROVISIONING_EVENT_TYPE_CRASHED": 2, "PROVISIONING_EVENT_TYPE_PXE_BOOTING": 3, "PROVISIONING_EVENT_TYPE_PLANNED_REBOOT": 4, "PROVISIONING_EVENT_TYPE_PREPARING": 5, "PROVISIONING_EVENT_TYPE_REGISTERING": 6, "PROVISIONING_EVENT_TYPE_WAITING": 7, "PROVISIONING_EVENT_TYPE_INSTALLING": 8, "PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL": 9, "PROVISIONING_EVENT_TYPE_PHONED_HOME": 10, "PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM": 11, } )
Enum value maps for ProvisioningEventType.
var File_metalstack_infra_v2_bmc_proto protoreflect.FileDescriptor
var File_metalstack_infra_v2_boot_proto protoreflect.FileDescriptor
var File_metalstack_infra_v2_event_proto protoreflect.FileDescriptor
var File_metalstack_infra_v2_switch_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BMCCommandDoneRequest ¶ added in v0.0.41
type BMCCommandDoneRequest struct {
// CommandId is a unique ID which must be sent back after execution
// it is usually in the form: <machine-uuid>:machine-bmc-command
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
// Error of the command execution, nil if it was successful
Error *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
BMCCommandDoneRequest must be returned after command execution
func (*BMCCommandDoneRequest) Descriptor
deprecated
added in
v0.0.41
func (*BMCCommandDoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use BMCCommandDoneRequest.ProtoReflect.Descriptor instead.
func (*BMCCommandDoneRequest) GetCommandId ¶ added in v0.0.41
func (x *BMCCommandDoneRequest) GetCommandId() string
func (*BMCCommandDoneRequest) GetError ¶ added in v0.0.41
func (x *BMCCommandDoneRequest) GetError() string
func (*BMCCommandDoneRequest) ProtoMessage ¶ added in v0.0.41
func (*BMCCommandDoneRequest) ProtoMessage()
func (*BMCCommandDoneRequest) ProtoReflect ¶ added in v0.0.41
func (x *BMCCommandDoneRequest) ProtoReflect() protoreflect.Message
func (*BMCCommandDoneRequest) Reset ¶ added in v0.0.41
func (x *BMCCommandDoneRequest) Reset()
func (*BMCCommandDoneRequest) String ¶ added in v0.0.41
func (x *BMCCommandDoneRequest) String() string
type BMCCommandDoneResponse ¶ added in v0.0.41
type BMCCommandDoneResponse struct {
// contains filtered or unexported fields
}
BMCCommandDoneResponse
func (*BMCCommandDoneResponse) Descriptor
deprecated
added in
v0.0.41
func (*BMCCommandDoneResponse) Descriptor() ([]byte, []int)
Deprecated: Use BMCCommandDoneResponse.ProtoReflect.Descriptor instead.
func (*BMCCommandDoneResponse) ProtoMessage ¶ added in v0.0.41
func (*BMCCommandDoneResponse) ProtoMessage()
func (*BMCCommandDoneResponse) ProtoReflect ¶ added in v0.0.41
func (x *BMCCommandDoneResponse) ProtoReflect() protoreflect.Message
func (*BMCCommandDoneResponse) Reset ¶ added in v0.0.41
func (x *BMCCommandDoneResponse) Reset()
func (*BMCCommandDoneResponse) String ¶ added in v0.0.41
func (x *BMCCommandDoneResponse) String() string
type BootServiceBootRequest ¶ added in v0.0.41
type BootServiceBootRequest struct {
// Mac address of the machine
Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
// Partition where this machine is located
Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac
func (*BootServiceBootRequest) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceBootRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceBootRequest.ProtoReflect.Descriptor instead.
func (*BootServiceBootRequest) GetMac ¶ added in v0.0.41
func (x *BootServiceBootRequest) GetMac() string
func (*BootServiceBootRequest) GetPartition ¶ added in v0.0.41
func (x *BootServiceBootRequest) GetPartition() string
func (*BootServiceBootRequest) ProtoMessage ¶ added in v0.0.41
func (*BootServiceBootRequest) ProtoMessage()
func (*BootServiceBootRequest) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceBootRequest) ProtoReflect() protoreflect.Message
func (*BootServiceBootRequest) Reset ¶ added in v0.0.41
func (x *BootServiceBootRequest) Reset()
func (*BootServiceBootRequest) String ¶ added in v0.0.41
func (x *BootServiceBootRequest) String() string
type BootServiceBootResponse ¶ added in v0.0.41
type BootServiceBootResponse struct {
// Kernel is the url to the linux kernel to boot
Kernel string `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"`
// Initial ram disk is the url to the initial ram disk to boot
InitRamDisks []string `protobuf:"bytes,2,rep,name=init_ram_disks,json=initRamDisks,proto3" json:"init_ram_disks,omitempty"`
// CMDLine contains kernel command line parameters to boot
Cmdline *string `protobuf:"bytes,3,opt,name=cmdline,proto3,oneof" json:"cmdline,omitempty"`
// contains filtered or unexported fields
}
BootServiceBootResponse contains additional infos which are required to boot a machine
func (*BootServiceBootResponse) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceBootResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceBootResponse.ProtoReflect.Descriptor instead.
func (*BootServiceBootResponse) GetCmdline ¶ added in v0.0.41
func (x *BootServiceBootResponse) GetCmdline() string
func (*BootServiceBootResponse) GetInitRamDisks ¶ added in v0.0.41
func (x *BootServiceBootResponse) GetInitRamDisks() []string
func (*BootServiceBootResponse) GetKernel ¶ added in v0.0.41
func (x *BootServiceBootResponse) GetKernel() string
func (*BootServiceBootResponse) ProtoMessage ¶ added in v0.0.41
func (*BootServiceBootResponse) ProtoMessage()
func (*BootServiceBootResponse) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceBootResponse) ProtoReflect() protoreflect.Message
func (*BootServiceBootResponse) Reset ¶ added in v0.0.41
func (x *BootServiceBootResponse) Reset()
func (*BootServiceBootResponse) String ¶ added in v0.0.41
func (x *BootServiceBootResponse) String() string
type BootServiceDhcpRequest ¶ added in v0.0.41
type BootServiceDhcpRequest struct {
// UUID of the machine
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Partition where this machine is located
Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
BootServiceDhcpRequest is called once a machine issues a dhcp request
func (*BootServiceDhcpRequest) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceDhcpRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceDhcpRequest.ProtoReflect.Descriptor instead.
func (*BootServiceDhcpRequest) GetPartition ¶ added in v0.0.41
func (x *BootServiceDhcpRequest) GetPartition() string
func (*BootServiceDhcpRequest) GetUuid ¶ added in v0.0.41
func (x *BootServiceDhcpRequest) GetUuid() string
func (*BootServiceDhcpRequest) ProtoMessage ¶ added in v0.0.41
func (*BootServiceDhcpRequest) ProtoMessage()
func (*BootServiceDhcpRequest) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceDhcpRequest) ProtoReflect() protoreflect.Message
func (*BootServiceDhcpRequest) Reset ¶ added in v0.0.41
func (x *BootServiceDhcpRequest) Reset()
func (*BootServiceDhcpRequest) String ¶ added in v0.0.41
func (x *BootServiceDhcpRequest) String() string
type BootServiceDhcpResponse ¶ added in v0.0.41
type BootServiceDhcpResponse struct {
// contains filtered or unexported fields
}
BootServiceDhcpResponse contains the response to a dhcp request
func (*BootServiceDhcpResponse) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceDhcpResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceDhcpResponse.ProtoReflect.Descriptor instead.
func (*BootServiceDhcpResponse) ProtoMessage ¶ added in v0.0.41
func (*BootServiceDhcpResponse) ProtoMessage()
func (*BootServiceDhcpResponse) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceDhcpResponse) ProtoReflect() protoreflect.Message
func (*BootServiceDhcpResponse) Reset ¶ added in v0.0.41
func (x *BootServiceDhcpResponse) Reset()
func (*BootServiceDhcpResponse) String ¶ added in v0.0.41
func (x *BootServiceDhcpResponse) String() string
type BootServiceInstallationSucceededRequest ¶ added in v0.0.41
type BootServiceInstallationSucceededRequest struct {
// UUID of the machine to boot
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// ConsolePassword
ConsolePassword string `protobuf:"bytes,2,opt,name=console_password,json=consolePassword,proto3" json:"console_password,omitempty"`
// contains filtered or unexported fields
}
BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded
func (*BootServiceInstallationSucceededRequest) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceInstallationSucceededRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceInstallationSucceededRequest.ProtoReflect.Descriptor instead.
func (*BootServiceInstallationSucceededRequest) GetConsolePassword ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededRequest) GetConsolePassword() string
func (*BootServiceInstallationSucceededRequest) GetUuid ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededRequest) GetUuid() string
func (*BootServiceInstallationSucceededRequest) ProtoMessage ¶ added in v0.0.41
func (*BootServiceInstallationSucceededRequest) ProtoMessage()
func (*BootServiceInstallationSucceededRequest) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededRequest) ProtoReflect() protoreflect.Message
func (*BootServiceInstallationSucceededRequest) Reset ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededRequest) Reset()
func (*BootServiceInstallationSucceededRequest) String ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededRequest) String() string
type BootServiceInstallationSucceededResponse ¶ added in v0.0.41
type BootServiceInstallationSucceededResponse struct {
// contains filtered or unexported fields
}
BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest
func (*BootServiceInstallationSucceededResponse) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceInstallationSucceededResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceInstallationSucceededResponse.ProtoReflect.Descriptor instead.
func (*BootServiceInstallationSucceededResponse) ProtoMessage ¶ added in v0.0.41
func (*BootServiceInstallationSucceededResponse) ProtoMessage()
func (*BootServiceInstallationSucceededResponse) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededResponse) ProtoReflect() protoreflect.Message
func (*BootServiceInstallationSucceededResponse) Reset ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededResponse) Reset()
func (*BootServiceInstallationSucceededResponse) String ¶ added in v0.0.41
func (x *BootServiceInstallationSucceededResponse) String() string
type BootServiceRegisterRequest ¶ added in v0.0.41
type BootServiceRegisterRequest struct {
// UUID of this machine
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Hardware details of this machine
Hardware *v2.MachineHardware `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty"`
// Bios details of this machine
Bios *v2.MachineBios `protobuf:"bytes,3,opt,name=bios,proto3" json:"bios,omitempty"`
// BMC details of this machine
Bmc *v2.MachineBMC `protobuf:"bytes,4,opt,name=bmc,proto3" json:"bmc,omitempty"`
// FRU details of this machine
Fru *v2.MachineFRU `protobuf:"bytes,5,opt,name=fru,proto3" json:"fru,omitempty"`
// Tags of this machine
Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
// MetalHammer version this machine was bootet into
MetalHammerVersion string `protobuf:"bytes,7,opt,name=metal_hammer_version,json=metalHammerVersion,proto3" json:"metal_hammer_version,omitempty"`
// Partition where this machine is located
Partition string `protobuf:"bytes,8,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible
func (*BootServiceRegisterRequest) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceRegisterRequest.ProtoReflect.Descriptor instead.
func (*BootServiceRegisterRequest) GetBios ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetBios() *v2.MachineBios
func (*BootServiceRegisterRequest) GetBmc ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetBmc() *v2.MachineBMC
func (*BootServiceRegisterRequest) GetFru ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetFru() *v2.MachineFRU
func (*BootServiceRegisterRequest) GetHardware ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetHardware() *v2.MachineHardware
func (*BootServiceRegisterRequest) GetMetalHammerVersion ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetMetalHammerVersion() string
func (*BootServiceRegisterRequest) GetPartition ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetPartition() string
func (*BootServiceRegisterRequest) GetTags ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetTags() []string
func (*BootServiceRegisterRequest) GetUuid ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) GetUuid() string
func (*BootServiceRegisterRequest) ProtoMessage ¶ added in v0.0.41
func (*BootServiceRegisterRequest) ProtoMessage()
func (*BootServiceRegisterRequest) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) ProtoReflect() protoreflect.Message
func (*BootServiceRegisterRequest) Reset ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) Reset()
func (*BootServiceRegisterRequest) String ¶ added in v0.0.41
func (x *BootServiceRegisterRequest) String() string
type BootServiceRegisterResponse ¶ added in v0.0.41
type BootServiceRegisterResponse struct {
// UUID of this machine
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Size is the calculated size from given hardware details
Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
// Partition of this machine
Partition string `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
BootServiceRegisterResponse response to a BootServiceRegisterResponse request
func (*BootServiceRegisterResponse) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceRegisterResponse.ProtoReflect.Descriptor instead.
func (*BootServiceRegisterResponse) GetPartition ¶ added in v0.0.41
func (x *BootServiceRegisterResponse) GetPartition() string
func (*BootServiceRegisterResponse) GetSize ¶ added in v0.0.41
func (x *BootServiceRegisterResponse) GetSize() string
func (*BootServiceRegisterResponse) GetUuid ¶ added in v0.0.41
func (x *BootServiceRegisterResponse) GetUuid() string
func (*BootServiceRegisterResponse) ProtoMessage ¶ added in v0.0.41
func (*BootServiceRegisterResponse) ProtoMessage()
func (*BootServiceRegisterResponse) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceRegisterResponse) ProtoReflect() protoreflect.Message
func (*BootServiceRegisterResponse) Reset ¶ added in v0.0.41
func (x *BootServiceRegisterResponse) Reset()
func (*BootServiceRegisterResponse) String ¶ added in v0.0.41
func (x *BootServiceRegisterResponse) String() string
type BootServiceSuperUserPasswordRequest ¶ added in v0.0.41
type BootServiceSuperUserPasswordRequest struct {
// UUID of this machine
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// contains filtered or unexported fields
}
BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser
func (*BootServiceSuperUserPasswordRequest) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceSuperUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceSuperUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*BootServiceSuperUserPasswordRequest) GetUuid ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordRequest) GetUuid() string
func (*BootServiceSuperUserPasswordRequest) ProtoMessage ¶ added in v0.0.41
func (*BootServiceSuperUserPasswordRequest) ProtoMessage()
func (*BootServiceSuperUserPasswordRequest) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*BootServiceSuperUserPasswordRequest) Reset ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordRequest) Reset()
func (*BootServiceSuperUserPasswordRequest) String ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordRequest) String() string
type BootServiceSuperUserPasswordResponse ¶ added in v0.0.41
type BootServiceSuperUserPasswordResponse struct {
// FeatureDisabled on set the superuserpassword in the bmc if this feature is not disabled.
FeatureDisabled bool `protobuf:"varint,1,opt,name=feature_disabled,json=featureDisabled,proto3" json:"feature_disabled,omitempty"`
// SuperUserPassword is the password of the superuser on the ipmi device
SuperUserPassword string `protobuf:"bytes,2,opt,name=super_user_password,json=superUserPassword,proto3" json:"super_user_password,omitempty"`
// contains filtered or unexported fields
}
BootServiceSuperUserPasswordResponse the super user password is returned
func (*BootServiceSuperUserPasswordResponse) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceSuperUserPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceSuperUserPasswordResponse.ProtoReflect.Descriptor instead.
func (*BootServiceSuperUserPasswordResponse) GetFeatureDisabled ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordResponse) GetFeatureDisabled() bool
func (*BootServiceSuperUserPasswordResponse) GetSuperUserPassword ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordResponse) GetSuperUserPassword() string
func (*BootServiceSuperUserPasswordResponse) ProtoMessage ¶ added in v0.0.41
func (*BootServiceSuperUserPasswordResponse) ProtoMessage()
func (*BootServiceSuperUserPasswordResponse) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordResponse) ProtoReflect() protoreflect.Message
func (*BootServiceSuperUserPasswordResponse) Reset ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordResponse) Reset()
func (*BootServiceSuperUserPasswordResponse) String ¶ added in v0.0.41
func (x *BootServiceSuperUserPasswordResponse) String() string
type BootServiceWaitRequest ¶ added in v0.0.41
type BootServiceWaitRequest struct {
// UUID of this machine
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// contains filtered or unexported fields
}
BootServiceWaitRequest is called when a machine was registered and is waiting for allocation
func (*BootServiceWaitRequest) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceWaitRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceWaitRequest.ProtoReflect.Descriptor instead.
func (*BootServiceWaitRequest) GetUuid ¶ added in v0.0.41
func (x *BootServiceWaitRequest) GetUuid() string
func (*BootServiceWaitRequest) ProtoMessage ¶ added in v0.0.41
func (*BootServiceWaitRequest) ProtoMessage()
func (*BootServiceWaitRequest) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceWaitRequest) ProtoReflect() protoreflect.Message
func (*BootServiceWaitRequest) Reset ¶ added in v0.0.41
func (x *BootServiceWaitRequest) Reset()
func (*BootServiceWaitRequest) String ¶ added in v0.0.41
func (x *BootServiceWaitRequest) String() string
type BootServiceWaitResponse ¶ added in v0.0.41
type BootServiceWaitResponse struct {
// Allocation contains the machine.allocation to actually install the machine
Allocation *v2.MachineAllocation `protobuf:"bytes,1,opt,name=allocation,proto3" json:"allocation,omitempty"`
// contains filtered or unexported fields
}
BootServiceWaitResponse response to a wait request
func (*BootServiceWaitResponse) Descriptor
deprecated
added in
v0.0.41
func (*BootServiceWaitResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootServiceWaitResponse.ProtoReflect.Descriptor instead.
func (*BootServiceWaitResponse) GetAllocation ¶ added in v0.0.41
func (x *BootServiceWaitResponse) GetAllocation() *v2.MachineAllocation
func (*BootServiceWaitResponse) ProtoMessage ¶ added in v0.0.41
func (*BootServiceWaitResponse) ProtoMessage()
func (*BootServiceWaitResponse) ProtoReflect ¶ added in v0.0.41
func (x *BootServiceWaitResponse) ProtoReflect() protoreflect.Message
func (*BootServiceWaitResponse) Reset ¶ added in v0.0.41
func (x *BootServiceWaitResponse) Reset()
func (*BootServiceWaitResponse) String ¶ added in v0.0.41
func (x *BootServiceWaitResponse) String() string
type EventServiceSendRequest ¶ added in v0.0.36
type EventServiceSendRequest struct {
// Events grouped by machine IDs.
Events map[string]*MachineProvisioningEvent `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
EventServiceSendRequest.
func (*EventServiceSendRequest) Descriptor
deprecated
added in
v0.0.36
func (*EventServiceSendRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventServiceSendRequest.ProtoReflect.Descriptor instead.
func (*EventServiceSendRequest) GetEvents ¶ added in v0.0.36
func (x *EventServiceSendRequest) GetEvents() map[string]*MachineProvisioningEvent
func (*EventServiceSendRequest) ProtoMessage ¶ added in v0.0.36
func (*EventServiceSendRequest) ProtoMessage()
func (*EventServiceSendRequest) ProtoReflect ¶ added in v0.0.36
func (x *EventServiceSendRequest) ProtoReflect() protoreflect.Message
func (*EventServiceSendRequest) Reset ¶ added in v0.0.36
func (x *EventServiceSendRequest) Reset()
func (*EventServiceSendRequest) String ¶ added in v0.0.36
func (x *EventServiceSendRequest) String() string
type EventServiceSendResponse ¶ added in v0.0.36
type EventServiceSendResponse struct {
// Events counts the number of events successfully stored in the database.
Events uint64 `protobuf:"varint,1,opt,name=events,proto3" json:"events,omitempty"`
// Failed contains IDs of all machines whose events could not be stored in the database.
Failed []string `protobuf:"bytes,2,rep,name=failed,proto3" json:"failed,omitempty"`
// contains filtered or unexported fields
}
EventServiceSendResponse.
func (*EventServiceSendResponse) Descriptor
deprecated
added in
v0.0.36
func (*EventServiceSendResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventServiceSendResponse.ProtoReflect.Descriptor instead.
func (*EventServiceSendResponse) GetEvents ¶ added in v0.0.36
func (x *EventServiceSendResponse) GetEvents() uint64
func (*EventServiceSendResponse) GetFailed ¶ added in v0.0.36
func (x *EventServiceSendResponse) GetFailed() []string
func (*EventServiceSendResponse) ProtoMessage ¶ added in v0.0.36
func (*EventServiceSendResponse) ProtoMessage()
func (*EventServiceSendResponse) ProtoReflect ¶ added in v0.0.36
func (x *EventServiceSendResponse) ProtoReflect() protoreflect.Message
func (*EventServiceSendResponse) Reset ¶ added in v0.0.36
func (x *EventServiceSendResponse) Reset()
func (*EventServiceSendResponse) String ¶ added in v0.0.36
func (x *EventServiceSendResponse) String() string
type MachineProvisioningEvent ¶ added in v0.0.36
type MachineProvisioningEvent struct {
// Time the event occurred at.
Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
// Event that occurred.
Event ProvisioningEventType `protobuf:"varint,2,opt,name=event,proto3,enum=metalstack.infra.v2.ProvisioningEventType" json:"event,omitempty"`
// Message describing the event in more detail.
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
MachineProvisioningEvent contains details about an event.
func (*MachineProvisioningEvent) Descriptor
deprecated
added in
v0.0.36
func (*MachineProvisioningEvent) Descriptor() ([]byte, []int)
Deprecated: Use MachineProvisioningEvent.ProtoReflect.Descriptor instead.
func (*MachineProvisioningEvent) GetEvent ¶ added in v0.0.36
func (x *MachineProvisioningEvent) GetEvent() ProvisioningEventType
func (*MachineProvisioningEvent) GetMessage ¶ added in v0.0.36
func (x *MachineProvisioningEvent) GetMessage() string
func (*MachineProvisioningEvent) GetTime ¶ added in v0.0.36
func (x *MachineProvisioningEvent) GetTime() *timestamppb.Timestamp
func (*MachineProvisioningEvent) ProtoMessage ¶ added in v0.0.36
func (*MachineProvisioningEvent) ProtoMessage()
func (*MachineProvisioningEvent) ProtoReflect ¶ added in v0.0.36
func (x *MachineProvisioningEvent) ProtoReflect() protoreflect.Message
func (*MachineProvisioningEvent) Reset ¶ added in v0.0.36
func (x *MachineProvisioningEvent) Reset()
func (*MachineProvisioningEvent) String ¶ added in v0.0.36
func (x *MachineProvisioningEvent) String() string
type ProvisioningEventType ¶ added in v0.0.36
type ProvisioningEventType int32
ProvisioningEventType is a short description of a machine event.
const ( // PROVISIONING_EVENT_TYPE_UNSPECIFIED is unspecified. ProvisioningEventType_PROVISIONING_EVENT_TYPE_UNSPECIFIED ProvisioningEventType = 0 // PROVISIONING_EVENT_TYPE_ALIVE means the machine has reported itself to the API not long ago. ProvisioningEventType_PROVISIONING_EVENT_TYPE_ALIVE ProvisioningEventType = 1 // PROVISIONING_EVENT_TYPE_CRASHED means an irregularity in the machine's lifecycle. ProvisioningEventType_PROVISIONING_EVENT_TYPE_CRASHED ProvisioningEventType = 2 // PROVISIONING_EVENT_TYPE_PXE_BOOTING is sent when an unprovisioned machine requests a boot image via PXE. ProvisioningEventType_PROVISIONING_EVENT_TYPE_PXE_BOOTING ProvisioningEventType = 3 // PROVISIONING_EVENT_TYPE_PLANNED_REBOOT means the machine was scheduled for reboot. ProvisioningEventType_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT ProvisioningEventType = 4 // PROVISIONING_EVENT_TYPE_PREPARING means the metal-hammer has started. ProvisioningEventType_PROVISIONING_EVENT_TYPE_PREPARING ProvisioningEventType = 5 // PROVISIONING_EVENT_TYPE_REGISTERING means the metal-hammer is attempting to register the machine at the API. ProvisioningEventType_PROVISIONING_EVENT_TYPE_REGISTERING ProvisioningEventType = 6 // PROVISIONING_EVENT_TYPE_WAITING means the machine has successfully reached the state where it is waiting for allocation. ProvisioningEventType_PROVISIONING_EVENT_TYPE_WAITING ProvisioningEventType = 7 // PROVISIONING_EVENT_TYPE_INSTALLING means the machine was allocated and the requested OS is being installed. ProvisioningEventType_PROVISIONING_EVENT_TYPE_INSTALLING ProvisioningEventType = 8 // PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL means the machine has successfully been installed and is now booting into the new OS. ProvisioningEventType_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL ProvisioningEventType = 9 // PROVISIONING_EVENT_TYPE_PHONED_HOME is sent periodically by an allocated machine to indicate its liveliness. ProvisioningEventType_PROVISIONING_EVENT_TYPE_PHONED_HOME ProvisioningEventType = 10 // PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM means the machine was freed and is about to return into the pool of waiting machines. ProvisioningEventType_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM ProvisioningEventType = 11 )
func (ProvisioningEventType) Descriptor ¶ added in v0.0.36
func (ProvisioningEventType) Descriptor() protoreflect.EnumDescriptor
func (ProvisioningEventType) Enum ¶ added in v0.0.36
func (x ProvisioningEventType) Enum() *ProvisioningEventType
func (ProvisioningEventType) EnumDescriptor
deprecated
added in
v0.0.36
func (ProvisioningEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisioningEventType.Descriptor instead.
func (ProvisioningEventType) Number ¶ added in v0.0.36
func (x ProvisioningEventType) Number() protoreflect.EnumNumber
func (ProvisioningEventType) String ¶ added in v0.0.36
func (x ProvisioningEventType) String() string
func (ProvisioningEventType) Type ¶ added in v0.0.36
func (ProvisioningEventType) Type() protoreflect.EnumType
type SwitchServiceGetRequest ¶ added in v0.0.29
type SwitchServiceGetRequest struct {
// Id of the switch.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
SwitchServiceGetRequest.
func (*SwitchServiceGetRequest) Descriptor
deprecated
added in
v0.0.29
func (*SwitchServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchServiceGetRequest.ProtoReflect.Descriptor instead.
func (*SwitchServiceGetRequest) GetId ¶ added in v0.0.29
func (x *SwitchServiceGetRequest) GetId() string
func (*SwitchServiceGetRequest) ProtoMessage ¶ added in v0.0.29
func (*SwitchServiceGetRequest) ProtoMessage()
func (*SwitchServiceGetRequest) ProtoReflect ¶ added in v0.0.29
func (x *SwitchServiceGetRequest) ProtoReflect() protoreflect.Message
func (*SwitchServiceGetRequest) Reset ¶ added in v0.0.29
func (x *SwitchServiceGetRequest) Reset()
func (*SwitchServiceGetRequest) String ¶ added in v0.0.29
func (x *SwitchServiceGetRequest) String() string
type SwitchServiceGetResponse ¶ added in v0.0.29
type SwitchServiceGetResponse struct {
// Switch that was requested.
Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
// contains filtered or unexported fields
}
SwitchServiceGetResponse.
func (*SwitchServiceGetResponse) Descriptor
deprecated
added in
v0.0.29
func (*SwitchServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwitchServiceGetResponse.ProtoReflect.Descriptor instead.
func (*SwitchServiceGetResponse) GetSwitch ¶ added in v0.0.29
func (x *SwitchServiceGetResponse) GetSwitch() *v2.Switch
func (*SwitchServiceGetResponse) ProtoMessage ¶ added in v0.0.29
func (*SwitchServiceGetResponse) ProtoMessage()
func (*SwitchServiceGetResponse) ProtoReflect ¶ added in v0.0.29
func (x *SwitchServiceGetResponse) ProtoReflect() protoreflect.Message
func (*SwitchServiceGetResponse) Reset ¶ added in v0.0.29
func (x *SwitchServiceGetResponse) Reset()
func (*SwitchServiceGetResponse) String ¶ added in v0.0.29
func (x *SwitchServiceGetResponse) String() string
type SwitchServiceHeartbeatRequest ¶ added in v0.0.23
type SwitchServiceHeartbeatRequest struct {
// Id of the switch.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Duration of the sync.
Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
// Error if any occurred during the sync.
Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"`
// PortStates maps port identifiers to the respective port's operational state.
PortStates map[string]v2.SwitchPortStatus `` /* 206-byte string literal not displayed */
// BgpPortStates maps port identifiers to the respective port's BGP state.
BgpPortStates map[string]*v2.SwitchBGPPortState `` /* 176-byte string literal not displayed */
// contains filtered or unexported fields
}
SwitchServiceHeartbeatRequest.
func (*SwitchServiceHeartbeatRequest) Descriptor
deprecated
added in
v0.0.23
func (*SwitchServiceHeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchServiceHeartbeatRequest.ProtoReflect.Descriptor instead.
func (*SwitchServiceHeartbeatRequest) GetBgpPortStates ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) GetBgpPortStates() map[string]*v2.SwitchBGPPortState
func (*SwitchServiceHeartbeatRequest) GetDuration ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) GetDuration() *durationpb.Duration
func (*SwitchServiceHeartbeatRequest) GetError ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) GetError() string
func (*SwitchServiceHeartbeatRequest) GetId ¶ added in v0.0.29
func (x *SwitchServiceHeartbeatRequest) GetId() string
func (*SwitchServiceHeartbeatRequest) GetPortStates ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) GetPortStates() map[string]v2.SwitchPortStatus
func (*SwitchServiceHeartbeatRequest) ProtoMessage ¶ added in v0.0.23
func (*SwitchServiceHeartbeatRequest) ProtoMessage()
func (*SwitchServiceHeartbeatRequest) ProtoReflect ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) ProtoReflect() protoreflect.Message
func (*SwitchServiceHeartbeatRequest) Reset ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) Reset()
func (*SwitchServiceHeartbeatRequest) String ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatRequest) String() string
type SwitchServiceHeartbeatResponse ¶ added in v0.0.23
type SwitchServiceHeartbeatResponse struct {
// Id of the switch.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// LastSync holds information about the last sync.
LastSync *v2.SwitchSync `protobuf:"bytes,2,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
// LastSyncError holds information about the last erroneous sync.
LastSyncError *v2.SwitchSync `protobuf:"bytes,3,opt,name=last_sync_error,json=lastSyncError,proto3" json:"last_sync_error,omitempty"`
// contains filtered or unexported fields
}
SwitchServiceHeartbeatResponse.
func (*SwitchServiceHeartbeatResponse) Descriptor
deprecated
added in
v0.0.23
func (*SwitchServiceHeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwitchServiceHeartbeatResponse.ProtoReflect.Descriptor instead.
func (*SwitchServiceHeartbeatResponse) GetId ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatResponse) GetId() string
func (*SwitchServiceHeartbeatResponse) GetLastSync ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatResponse) GetLastSync() *v2.SwitchSync
func (*SwitchServiceHeartbeatResponse) GetLastSyncError ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatResponse) GetLastSyncError() *v2.SwitchSync
func (*SwitchServiceHeartbeatResponse) ProtoMessage ¶ added in v0.0.23
func (*SwitchServiceHeartbeatResponse) ProtoMessage()
func (*SwitchServiceHeartbeatResponse) ProtoReflect ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatResponse) ProtoReflect() protoreflect.Message
func (*SwitchServiceHeartbeatResponse) Reset ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatResponse) Reset()
func (*SwitchServiceHeartbeatResponse) String ¶ added in v0.0.23
func (x *SwitchServiceHeartbeatResponse) String() string
type SwitchServiceRegisterRequest ¶ added in v0.0.8
type SwitchServiceRegisterRequest struct {
// Switch to register.
Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
// contains filtered or unexported fields
}
SwitchServiceRegisterRequest.
func (*SwitchServiceRegisterRequest) Descriptor
deprecated
added in
v0.0.8
func (*SwitchServiceRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchServiceRegisterRequest.ProtoReflect.Descriptor instead.
func (*SwitchServiceRegisterRequest) GetSwitch ¶ added in v0.0.8
func (x *SwitchServiceRegisterRequest) GetSwitch() *v2.Switch
func (*SwitchServiceRegisterRequest) ProtoMessage ¶ added in v0.0.8
func (*SwitchServiceRegisterRequest) ProtoMessage()
func (*SwitchServiceRegisterRequest) ProtoReflect ¶ added in v0.0.8
func (x *SwitchServiceRegisterRequest) ProtoReflect() protoreflect.Message
func (*SwitchServiceRegisterRequest) Reset ¶ added in v0.0.8
func (x *SwitchServiceRegisterRequest) Reset()
func (*SwitchServiceRegisterRequest) String ¶ added in v0.0.8
func (x *SwitchServiceRegisterRequest) String() string
type SwitchServiceRegisterResponse ¶ added in v0.0.8
type SwitchServiceRegisterResponse struct {
// Switch that was registered.
Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
// contains filtered or unexported fields
}
SwitchServiceRegisterResponse.
func (*SwitchServiceRegisterResponse) Descriptor
deprecated
added in
v0.0.8
func (*SwitchServiceRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwitchServiceRegisterResponse.ProtoReflect.Descriptor instead.
func (*SwitchServiceRegisterResponse) GetSwitch ¶ added in v0.0.8
func (x *SwitchServiceRegisterResponse) GetSwitch() *v2.Switch
func (*SwitchServiceRegisterResponse) ProtoMessage ¶ added in v0.0.8
func (*SwitchServiceRegisterResponse) ProtoMessage()
func (*SwitchServiceRegisterResponse) ProtoReflect ¶ added in v0.0.8
func (x *SwitchServiceRegisterResponse) ProtoReflect() protoreflect.Message
func (*SwitchServiceRegisterResponse) Reset ¶ added in v0.0.8
func (x *SwitchServiceRegisterResponse) Reset()
func (*SwitchServiceRegisterResponse) String ¶ added in v0.0.8
func (x *SwitchServiceRegisterResponse) String() string
type UpdateBMCInfoRequest ¶
type UpdateBMCInfoRequest struct {
// Partition the partition id where metal-bmc wants to receive events
Partition string `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
// BmcReports contains maps the bmc report per machine uuid
BmcReports map[string]*v2.MachineBMCReport `` /* 165-byte string literal not displayed */
// contains filtered or unexported fields
}
UpdateBMCInfoRequest
func (*UpdateBMCInfoRequest) Descriptor
deprecated
func (*UpdateBMCInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBMCInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateBMCInfoRequest) GetBmcReports ¶ added in v0.0.41
func (x *UpdateBMCInfoRequest) GetBmcReports() map[string]*v2.MachineBMCReport
func (*UpdateBMCInfoRequest) GetPartition ¶ added in v0.0.41
func (x *UpdateBMCInfoRequest) GetPartition() string
func (*UpdateBMCInfoRequest) ProtoMessage ¶
func (*UpdateBMCInfoRequest) ProtoMessage()
func (*UpdateBMCInfoRequest) ProtoReflect ¶
func (x *UpdateBMCInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateBMCInfoRequest) Reset ¶
func (x *UpdateBMCInfoRequest) Reset()
func (*UpdateBMCInfoRequest) String ¶
func (x *UpdateBMCInfoRequest) String() string
type UpdateBMCInfoResponse ¶
type UpdateBMCInfoResponse struct {
// UpdatedMachines is a slice of machine uuids which were updated
UpdatedMachines []string `protobuf:"bytes,1,rep,name=updated_machines,json=updatedMachines,proto3" json:"updated_machines,omitempty"`
// CreatedMachines is a slice of machine uuids which were created
CreatedMachines []string `protobuf:"bytes,2,rep,name=created_machines,json=createdMachines,proto3" json:"created_machines,omitempty"`
// contains filtered or unexported fields
}
UpdateBMCInfoResponse
func (*UpdateBMCInfoResponse) Descriptor
deprecated
func (*UpdateBMCInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBMCInfoResponse.ProtoReflect.Descriptor instead.
func (*UpdateBMCInfoResponse) GetCreatedMachines ¶ added in v0.0.41
func (x *UpdateBMCInfoResponse) GetCreatedMachines() []string
func (*UpdateBMCInfoResponse) GetUpdatedMachines ¶ added in v0.0.41
func (x *UpdateBMCInfoResponse) GetUpdatedMachines() []string
func (*UpdateBMCInfoResponse) ProtoMessage ¶
func (*UpdateBMCInfoResponse) ProtoMessage()
func (*UpdateBMCInfoResponse) ProtoReflect ¶
func (x *UpdateBMCInfoResponse) ProtoReflect() protoreflect.Message
func (*UpdateBMCInfoResponse) Reset ¶
func (x *UpdateBMCInfoResponse) Reset()
func (*UpdateBMCInfoResponse) String ¶
func (x *UpdateBMCInfoResponse) String() string
type WaitForBMCCommandRequest ¶ added in v0.0.41
type WaitForBMCCommandRequest struct {
// Partition the partition id where metal-bmc wants to receive bmc commands
Partition string `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
WaitForBMCCommandRequest
func (*WaitForBMCCommandRequest) Descriptor
deprecated
added in
v0.0.41
func (*WaitForBMCCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForBMCCommandRequest.ProtoReflect.Descriptor instead.
func (*WaitForBMCCommandRequest) GetPartition ¶ added in v0.0.41
func (x *WaitForBMCCommandRequest) GetPartition() string
func (*WaitForBMCCommandRequest) ProtoMessage ¶ added in v0.0.41
func (*WaitForBMCCommandRequest) ProtoMessage()
func (*WaitForBMCCommandRequest) ProtoReflect ¶ added in v0.0.41
func (x *WaitForBMCCommandRequest) ProtoReflect() protoreflect.Message
func (*WaitForBMCCommandRequest) Reset ¶ added in v0.0.41
func (x *WaitForBMCCommandRequest) Reset()
func (*WaitForBMCCommandRequest) String ¶ added in v0.0.41
func (x *WaitForBMCCommandRequest) String() string
type WaitForBMCCommandResponse ¶ added in v0.0.41
type WaitForBMCCommandResponse struct {
// UUID of the machine to send the command to
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// BmcCommand to execute against the bmc of the machine
BmcCommand v2.MachineBMCCommand `` /* 133-byte string literal not displayed */
// MachineBmc contains connection details of the machine to issue the bmcCommand to
MachineBmc *v2.MachineBMC `protobuf:"bytes,3,opt,name=machine_bmc,json=machineBmc,proto3" json:"machine_bmc,omitempty"`
// CommandId is a unique ID which must be sent back after execution
// it is usually in the form: <machine-uuid>:machine-bmc-command:<command>
CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
// contains filtered or unexported fields
}
WaitForBMCCommandResponse
func (*WaitForBMCCommandResponse) Descriptor
deprecated
added in
v0.0.41
func (*WaitForBMCCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForBMCCommandResponse.ProtoReflect.Descriptor instead.
func (*WaitForBMCCommandResponse) GetBmcCommand ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) GetBmcCommand() v2.MachineBMCCommand
func (*WaitForBMCCommandResponse) GetCommandId ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) GetCommandId() string
func (*WaitForBMCCommandResponse) GetMachineBmc ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) GetMachineBmc() *v2.MachineBMC
func (*WaitForBMCCommandResponse) GetUuid ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) GetUuid() string
func (*WaitForBMCCommandResponse) ProtoMessage ¶ added in v0.0.41
func (*WaitForBMCCommandResponse) ProtoMessage()
func (*WaitForBMCCommandResponse) ProtoReflect ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) ProtoReflect() protoreflect.Message
func (*WaitForBMCCommandResponse) Reset ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) Reset()
func (*WaitForBMCCommandResponse) String ¶ added in v0.0.41
func (x *WaitForBMCCommandResponse) String() string