infrav2

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 9 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_metalstack_infra_v2_bmc_proto protoreflect.FileDescriptor
View Source
var File_metalstack_infra_v2_boot_proto protoreflect.FileDescriptor
View Source
var File_metalstack_infra_v2_component_proto protoreflect.FileDescriptor
View Source
var File_metalstack_infra_v2_event_proto protoreflect.FileDescriptor
View Source
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 is the response payload for BMC command completion.

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 (*BootServiceInstallationSucceededRequest) ProtoMessage added in v0.0.41

func (*BootServiceInstallationSucceededRequest) ProtoReflect added in v0.0.41

func (*BootServiceInstallationSucceededRequest) Reset added in v0.0.41

func (*BootServiceInstallationSucceededRequest) String added in v0.0.41

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) ProtoReflect added in v0.0.41

func (*BootServiceInstallationSucceededResponse) Reset added in v0.0.41

func (*BootServiceInstallationSucceededResponse) String added in v0.0.41

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 (*BootServiceRegisterRequest) GetBmc added in v0.0.41

func (*BootServiceRegisterRequest) GetFru added in v0.0.41

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 (*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 (*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 (*BootServiceSuperUserPasswordRequest) ProtoMessage added in v0.0.41

func (*BootServiceSuperUserPasswordRequest) ProtoMessage()

func (*BootServiceSuperUserPasswordRequest) ProtoReflect added in v0.0.41

func (*BootServiceSuperUserPasswordRequest) Reset added in v0.0.41

func (*BootServiceSuperUserPasswordRequest) String added in v0.0.41

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 (*BootServiceSuperUserPasswordResponse) Reset added in v0.0.41

func (*BootServiceSuperUserPasswordResponse) String added in v0.0.41

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 ComponentServicePingRequest added in v0.0.50

type ComponentServicePingRequest struct {

	// Type defines which service is actually pinging
	Type v2.ComponentType `protobuf:"varint,1,opt,name=type,proto3,enum=metalstack.api.v2.ComponentType" json:"type,omitempty"`
	// Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// StartedAt is the timestamp this service was started
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Interval at which the ping is scheduled, must be between 5 seconds and 1 hour
	Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
	// Version of this service
	Version *v2.Version `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

ComponentServicePingRequest is the request payload for pinging a microservice.

func (*ComponentServicePingRequest) Descriptor deprecated added in v0.0.50

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

Deprecated: Use ComponentServicePingRequest.ProtoReflect.Descriptor instead.

func (*ComponentServicePingRequest) GetIdentifier added in v0.0.50

func (x *ComponentServicePingRequest) GetIdentifier() string

func (*ComponentServicePingRequest) GetInterval added in v0.0.50

func (*ComponentServicePingRequest) GetStartedAt added in v0.0.50

func (*ComponentServicePingRequest) GetType added in v0.0.50

func (*ComponentServicePingRequest) GetVersion added in v0.0.50

func (x *ComponentServicePingRequest) GetVersion() *v2.Version

func (*ComponentServicePingRequest) ProtoMessage added in v0.0.50

func (*ComponentServicePingRequest) ProtoMessage()

func (*ComponentServicePingRequest) ProtoReflect added in v0.0.50

func (*ComponentServicePingRequest) Reset added in v0.0.50

func (x *ComponentServicePingRequest) Reset()

func (*ComponentServicePingRequest) String added in v0.0.50

func (x *ComponentServicePingRequest) String() string

type ComponentServicePingResponse added in v0.0.50

type ComponentServicePingResponse struct {
	// contains filtered or unexported fields
}

ComponentServicePingResponse is the response payload for pinging a microservice.

func (*ComponentServicePingResponse) Descriptor deprecated added in v0.0.50

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

Deprecated: Use ComponentServicePingResponse.ProtoReflect.Descriptor instead.

func (*ComponentServicePingResponse) ProtoMessage added in v0.0.50

func (*ComponentServicePingResponse) ProtoMessage()

func (*ComponentServicePingResponse) ProtoReflect added in v0.0.50

func (*ComponentServicePingResponse) Reset added in v0.0.50

func (x *ComponentServicePingResponse) Reset()

func (*ComponentServicePingResponse) String added in v0.0.50

type EventServiceSendRequest added in v0.0.36

type EventServiceSendRequest struct {

	// Events grouped by machine IDs
	Events map[string]*v2.MachineProvisioningEvent `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

EventServiceSendRequest is the request payload for sending provisioning events.

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 (*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 is the response payload for sending provisioning events.

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 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 is the request payload for getting a switch.

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 contains the requested switch
	Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
	// contains filtered or unexported fields
}

SwitchServiceGetResponse is the response payload for getting a switch.

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 is the request payload for sending a switch heartbeat.

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 (*SwitchServiceHeartbeatRequest) GetError added in v0.0.23

func (x *SwitchServiceHeartbeatRequest) GetError() string

func (*SwitchServiceHeartbeatRequest) GetId added in v0.0.29

func (*SwitchServiceHeartbeatRequest) GetPortStates added in v0.0.23

func (*SwitchServiceHeartbeatRequest) ProtoMessage added in v0.0.23

func (*SwitchServiceHeartbeatRequest) ProtoMessage()

func (*SwitchServiceHeartbeatRequest) ProtoReflect added in v0.0.23

func (*SwitchServiceHeartbeatRequest) Reset added in v0.0.23

func (x *SwitchServiceHeartbeatRequest) Reset()

func (*SwitchServiceHeartbeatRequest) String added in v0.0.23

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 is the response payload for sending a switch heartbeat.

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 (*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 (*SwitchServiceHeartbeatResponse) Reset added in v0.0.23

func (x *SwitchServiceHeartbeatResponse) Reset()

func (*SwitchServiceHeartbeatResponse) String added in v0.0.23

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 is the request payload for registering a switch.

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 (*SwitchServiceRegisterRequest) Reset added in v0.0.8

func (x *SwitchServiceRegisterRequest) Reset()

func (*SwitchServiceRegisterRequest) String added in v0.0.8

type SwitchServiceRegisterResponse added in v0.0.8

type SwitchServiceRegisterResponse struct {

	// Switch contains the registered switch
	Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
	// contains filtered or unexported fields
}

SwitchServiceRegisterResponse is the response payload for registering a switch.

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 (*SwitchServiceRegisterResponse) Reset added in v0.0.8

func (x *SwitchServiceRegisterResponse) Reset()

func (*SwitchServiceRegisterResponse) String added in v0.0.8

type UpdateBMCInfoRequest

type UpdateBMCInfoRequest struct {

	// Partition is 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 is the request payload for updating BMC information.

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 is the response payload for updating BMC information.

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 is 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 is the request payload for waiting for a BMC command.

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 BMC command 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 is the response payload for waiting for a BMC command.

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 (*WaitForBMCCommandResponse) Reset added in v0.0.41

func (x *WaitForBMCCommandResponse) Reset()

func (*WaitForBMCCommandResponse) String added in v0.0.41

func (x *WaitForBMCCommandResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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