infrav2

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 8 Imported by: 2

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

Functions

This section is empty.

Types

type SwitchServiceHeartbeatRequest added in v0.0.23

type SwitchServiceHeartbeatRequest struct {

	// Duration of the sync.
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// Error if any occurred during the sync.
	Error *string `protobuf:"bytes,2,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 (*SwitchServiceHeartbeatRequest) GetError added in v0.0.23

func (x *SwitchServiceHeartbeatRequest) GetError() string

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 *SwitchSync `protobuf:"bytes,2,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
	// LastSyncError holds information about the last erroneous sync.
	LastSyncError *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 (*SwitchServiceHeartbeatResponse) GetLastSync added in v0.0.23

func (x *SwitchServiceHeartbeatResponse) GetLastSync() *SwitchSync

func (*SwitchServiceHeartbeatResponse) GetLastSyncError added in v0.0.23

func (x *SwitchServiceHeartbeatResponse) GetLastSyncError() *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.

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

func (x *SwitchServiceRegisterResponse) Reset()

func (*SwitchServiceRegisterResponse) String added in v0.0.8

type SwitchSync added in v0.0.23

type SwitchSync struct {

	// Time of the sync.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Duration of the sync.
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// Error if any occurred.
	Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

SwitchSync summarizes information about a switch sync.

func (*SwitchSync) Descriptor deprecated added in v0.0.23

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

Deprecated: Use SwitchSync.ProtoReflect.Descriptor instead.

func (*SwitchSync) GetDuration added in v0.0.23

func (x *SwitchSync) GetDuration() *durationpb.Duration

func (*SwitchSync) GetError added in v0.0.23

func (x *SwitchSync) GetError() string

func (*SwitchSync) GetTime added in v0.0.23

func (x *SwitchSync) GetTime() *timestamppb.Timestamp

func (*SwitchSync) ProtoMessage added in v0.0.23

func (*SwitchSync) ProtoMessage()

func (*SwitchSync) ProtoReflect added in v0.0.23

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

func (*SwitchSync) Reset added in v0.0.23

func (x *SwitchSync) Reset()

func (*SwitchSync) String added in v0.0.23

func (x *SwitchSync) String() string

type UpdateBMCInfoRequest

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

UpdateBMCInfoRequest

func (*UpdateBMCInfoRequest) Descriptor deprecated

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

Deprecated: Use UpdateBMCInfoRequest.ProtoReflect.Descriptor instead.

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 {
	// contains filtered or unexported fields
}

UpdateBMCInfoResponse

func (*UpdateBMCInfoResponse) Descriptor deprecated

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

Deprecated: Use UpdateBMCInfoResponse.ProtoReflect.Descriptor instead.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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