Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
- type Address
- type AgentClient
- type AgentServer
- type BMCInfo
- func (*BMCInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BMCInfo) GetIp() string
- func (x *BMCInfo) GetPass() string
- func (x *BMCInfo) GetPort() uint32
- func (x *BMCInfo) GetUser() string
- func (*BMCInfo) ProtoMessage()
- func (x *BMCInfo) ProtoReflect() protoreflect.Message
- func (x *BMCInfo) Reset()
- func (x *BMCInfo) String() string
- type ComputeInformation
- func (*ComputeInformation) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeInformation) GetProcessorCount() uint32
- func (x *ComputeInformation) GetProcessors() []*Processor
- func (x *ComputeInformation) GetTotalCoreCount() uint32
- func (x *ComputeInformation) GetTotalThreadCount() uint32
- func (*ComputeInformation) ProtoMessage()
- func (x *ComputeInformation) ProtoReflect() protoreflect.Message
- func (x *ComputeInformation) Reset()
- func (x *ComputeInformation) String() string
- type CreateServerRequest
- func (*CreateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerRequest) GetHardware() *HardwareInformation
- func (x *CreateServerRequest) GetHostname() string
- func (*CreateServerRequest) ProtoMessage()
- func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServerRequest) Reset()
- func (x *CreateServerRequest) String() string
- type CreateServerResponse
- func (*CreateServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerResponse) GetInsecureWipe() bool
- func (x *CreateServerResponse) GetRebootTimeout() float64
- func (x *CreateServerResponse) GetSetupBmc() bool
- func (x *CreateServerResponse) GetWipe() bool
- func (*CreateServerResponse) ProtoMessage()
- func (x *CreateServerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateServerResponse) Reset()
- func (x *CreateServerResponse) String() string
- type HardwareInformation
- func (*HardwareInformation) Descriptor() ([]byte, []int)deprecated
- func (x *HardwareInformation) GetCompute() *ComputeInformation
- func (x *HardwareInformation) GetMemory() *MemoryInformation
- func (x *HardwareInformation) GetNetwork() *NetworkInformation
- func (x *HardwareInformation) GetStorage() *StorageInformation
- func (x *HardwareInformation) GetSystem() *SystemInformation
- func (*HardwareInformation) ProtoMessage()
- func (x *HardwareInformation) ProtoReflect() protoreflect.Message
- func (x *HardwareInformation) Reset()
- func (x *HardwareInformation) String() string
- type HeartbeatRequest
- type HeartbeatResponse
- type MarkServerAsWipedRequest
- func (*MarkServerAsWipedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkServerAsWipedRequest) GetUuid() string
- func (*MarkServerAsWipedRequest) ProtoMessage()
- func (x *MarkServerAsWipedRequest) ProtoReflect() protoreflect.Message
- func (x *MarkServerAsWipedRequest) Reset()
- func (x *MarkServerAsWipedRequest) String() string
- type MarkServerAsWipedResponse
- type MemoryInformation
- func (*MemoryInformation) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryInformation) GetModuleCount() uint32
- func (x *MemoryInformation) GetModules() []*MemoryModule
- func (x *MemoryInformation) GetTotalSize() uint32
- func (*MemoryInformation) ProtoMessage()
- func (x *MemoryInformation) ProtoReflect() protoreflect.Message
- func (x *MemoryInformation) Reset()
- func (x *MemoryInformation) String() string
- type MemoryModule
- func (*MemoryModule) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryModule) GetManufacturer() string
- func (x *MemoryModule) GetProductName() string
- func (x *MemoryModule) GetSerialNumber() string
- func (x *MemoryModule) GetSize() uint32
- func (x *MemoryModule) GetSpeed() uint32
- func (x *MemoryModule) GetType() string
- func (*MemoryModule) ProtoMessage()
- func (x *MemoryModule) ProtoReflect() protoreflect.Message
- func (x *MemoryModule) Reset()
- func (x *MemoryModule) String() string
- type NetworkInformation
- func (*NetworkInformation) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInformation) GetInterfaceCount() uint32
- func (x *NetworkInformation) GetInterfaces() []*NetworkInterface
- func (*NetworkInformation) ProtoMessage()
- func (x *NetworkInformation) ProtoReflect() protoreflect.Message
- func (x *NetworkInformation) Reset()
- func (x *NetworkInformation) String() string
- type NetworkInterface
- func (*NetworkInterface) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterface) GetAddresses() []string
- func (x *NetworkInterface) GetFlags() string
- func (x *NetworkInterface) GetIndex() uint32
- func (x *NetworkInterface) GetMac() string
- func (x *NetworkInterface) GetMtu() uint32
- func (x *NetworkInterface) GetName() string
- func (*NetworkInterface) ProtoMessage()
- func (x *NetworkInterface) ProtoReflect() protoreflect.Message
- func (x *NetworkInterface) Reset()
- func (x *NetworkInterface) String() string
- type Processor
- func (*Processor) Descriptor() ([]byte, []int)deprecated
- func (x *Processor) GetCoreCount() uint32
- func (x *Processor) GetManufacturer() string
- func (x *Processor) GetProductName() string
- func (x *Processor) GetSerialNumber() string
- func (x *Processor) GetSpeed() uint32
- func (x *Processor) GetThreadCount() uint32
- func (*Processor) ProtoMessage()
- func (x *Processor) ProtoReflect() protoreflect.Message
- func (x *Processor) Reset()
- func (x *Processor) String() string
- type ReconcileServerAddressesRequest
- func (*ReconcileServerAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReconcileServerAddressesRequest) GetAddress() []*Address
- func (x *ReconcileServerAddressesRequest) GetUuid() string
- func (*ReconcileServerAddressesRequest) ProtoMessage()
- func (x *ReconcileServerAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *ReconcileServerAddressesRequest) Reset()
- func (x *ReconcileServerAddressesRequest) String() string
- type ReconcileServerAddressesResponse
- func (*ReconcileServerAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReconcileServerAddressesResponse) ProtoMessage()
- func (x *ReconcileServerAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *ReconcileServerAddressesResponse) Reset()
- func (x *ReconcileServerAddressesResponse) String() string
- type StorageDevice
- func (*StorageDevice) Descriptor() ([]byte, []int)deprecated
- func (x *StorageDevice) GetDeviceName() string
- func (x *StorageDevice) GetModel() string
- func (x *StorageDevice) GetName() string
- func (x *StorageDevice) GetSerial() string
- func (x *StorageDevice) GetSize() uint64
- func (x *StorageDevice) GetType() StorageType
- func (x *StorageDevice) GetUuid() string
- func (x *StorageDevice) GetWwid() string
- func (*StorageDevice) ProtoMessage()
- func (x *StorageDevice) ProtoReflect() protoreflect.Message
- func (x *StorageDevice) Reset()
- func (x *StorageDevice) String() string
- type StorageInformation
- func (*StorageInformation) Descriptor() ([]byte, []int)deprecated
- func (x *StorageInformation) GetDeviceCount() uint32
- func (x *StorageInformation) GetDevices() []*StorageDevice
- func (x *StorageInformation) GetTotalSize() uint64
- func (*StorageInformation) ProtoMessage()
- func (x *StorageInformation) ProtoReflect() protoreflect.Message
- func (x *StorageInformation) Reset()
- func (x *StorageInformation) String() string
- type StorageType
- func (StorageType) Descriptor() protoreflect.EnumDescriptor
- func (x StorageType) Enum() *StorageType
- func (StorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StorageType) Number() protoreflect.EnumNumber
- func (x StorageType) String() string
- func (StorageType) Type() protoreflect.EnumType
- type SystemInformation
- func (*SystemInformation) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInformation) GetFamily() string
- func (x *SystemInformation) GetManufacturer() string
- func (x *SystemInformation) GetProductName() string
- func (x *SystemInformation) GetSerialNumber() string
- func (x *SystemInformation) GetSkuNumber() string
- func (x *SystemInformation) GetUuid() string
- func (x *SystemInformation) GetVersion() string
- func (*SystemInformation) ProtoMessage()
- func (x *SystemInformation) ProtoReflect() protoreflect.Message
- func (x *SystemInformation) Reset()
- func (x *SystemInformation) String() string
- type UnimplementedAgentServer
- func (UnimplementedAgentServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error)
- func (UnimplementedAgentServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (UnimplementedAgentServer) MarkServerAsWiped(context.Context, *MarkServerAsWipedRequest) (*MarkServerAsWipedResponse, error)
- func (UnimplementedAgentServer) ReconcileServerAddresses(context.Context, *ReconcileServerAddressesRequest) (*ReconcileServerAddressesResponse, error)
- func (UnimplementedAgentServer) UpdateBMCInfo(context.Context, *UpdateBMCInfoRequest) (*UpdateBMCInfoResponse, error)
- type UnsafeAgentServer
- type UpdateBMCInfoRequest
- func (*UpdateBMCInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBMCInfoRequest) GetBmcInfo() *BMCInfo
- func (x *UpdateBMCInfoRequest) GetUuid() string
- func (*UpdateBMCInfoRequest) ProtoMessage()
- func (x *UpdateBMCInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBMCInfoRequest) Reset()
- func (x *UpdateBMCInfoRequest) String() string
- type UpdateBMCInfoResponse
Constants ¶
const ( Agent_CreateServer_FullMethodName = "/api.Agent/CreateServer" Agent_MarkServerAsWiped_FullMethodName = "/api.Agent/MarkServerAsWiped" Agent_ReconcileServerAddresses_FullMethodName = "/api.Agent/ReconcileServerAddresses" Agent_Heartbeat_FullMethodName = "/api.Agent/Heartbeat" Agent_UpdateBMCInfo_FullMethodName = "/api.Agent/UpdateBMCInfo" )
Variables ¶
var ( StorageType_name = map[int32]string{ 0: "Unknown", 1: "SSD", 2: "HDD", 3: "NVMe", 4: "SD", } StorageType_value = map[string]int32{ "Unknown": 0, "SSD": 1, "HDD": 2, "NVMe": 3, "SD": 4, } )
Enum value maps for StorageType.
var Agent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.Agent", HandlerType: (*AgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateServer", Handler: _Agent_CreateServer_Handler, }, { MethodName: "MarkServerAsWiped", Handler: _Agent_MarkServerAsWiped_Handler, }, { MethodName: "ReconcileServerAddresses", Handler: _Agent_ReconcileServerAddresses_Handler, }, { MethodName: "Heartbeat", Handler: _Agent_Heartbeat_Handler, }, { MethodName: "UpdateBMCInfo", Handler: _Agent_UpdateBMCInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
Agent_ServiceDesc is the grpc.ServiceDesc for Agent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServer ¶
func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
Types ¶
type Address ¶
type Address struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AgentClient ¶
type AgentClient interface { CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerResponse, error) MarkServerAsWiped(ctx context.Context, in *MarkServerAsWipedRequest, opts ...grpc.CallOption) (*MarkServerAsWipedResponse, error) ReconcileServerAddresses(ctx context.Context, in *ReconcileServerAddressesRequest, opts ...grpc.CallOption) (*ReconcileServerAddressesResponse, error) Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error) UpdateBMCInfo(ctx context.Context, in *UpdateBMCInfoRequest, opts ...grpc.CallOption) (*UpdateBMCInfoResponse, error) }
AgentClient is the client API for Agent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentClient ¶
func NewAgentClient(cc grpc.ClientConnInterface) AgentClient
type AgentServer ¶
type AgentServer interface { CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error) MarkServerAsWiped(context.Context, *MarkServerAsWipedRequest) (*MarkServerAsWipedResponse, error) ReconcileServerAddresses(context.Context, *ReconcileServerAddressesRequest) (*ReconcileServerAddressesResponse, error) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error) UpdateBMCInfo(context.Context, *UpdateBMCInfoRequest) (*UpdateBMCInfoResponse, error) // contains filtered or unexported methods }
AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility
type BMCInfo ¶
type BMCInfo struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Pass string `protobuf:"bytes,4,opt,name=pass,proto3" json:"pass,omitempty"` // contains filtered or unexported fields }
func (*BMCInfo) Descriptor
deprecated
func (*BMCInfo) ProtoMessage ¶
func (*BMCInfo) ProtoMessage()
func (*BMCInfo) ProtoReflect ¶
func (x *BMCInfo) ProtoReflect() protoreflect.Message
type ComputeInformation ¶ added in v0.6.0
type ComputeInformation struct { TotalCoreCount uint32 `protobuf:"varint,1,opt,name=total_core_count,json=totalCoreCount,proto3" json:"total_core_count,omitempty"` TotalThreadCount uint32 `protobuf:"varint,2,opt,name=total_thread_count,json=totalThreadCount,proto3" json:"total_thread_count,omitempty"` ProcessorCount uint32 `protobuf:"varint,3,opt,name=processor_count,json=processorCount,proto3" json:"processor_count,omitempty"` Processors []*Processor `protobuf:"bytes,4,rep,name=processors,proto3" json:"processors,omitempty"` // contains filtered or unexported fields }
func (*ComputeInformation) Descriptor
deprecated
added in
v0.6.0
func (*ComputeInformation) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInformation.ProtoReflect.Descriptor instead.
func (*ComputeInformation) GetProcessorCount ¶ added in v0.6.0
func (x *ComputeInformation) GetProcessorCount() uint32
func (*ComputeInformation) GetProcessors ¶ added in v0.6.0
func (x *ComputeInformation) GetProcessors() []*Processor
func (*ComputeInformation) GetTotalCoreCount ¶ added in v0.6.0
func (x *ComputeInformation) GetTotalCoreCount() uint32
func (*ComputeInformation) GetTotalThreadCount ¶ added in v0.6.0
func (x *ComputeInformation) GetTotalThreadCount() uint32
func (*ComputeInformation) ProtoMessage ¶ added in v0.6.0
func (*ComputeInformation) ProtoMessage()
func (*ComputeInformation) ProtoReflect ¶ added in v0.6.0
func (x *ComputeInformation) ProtoReflect() protoreflect.Message
func (*ComputeInformation) Reset ¶ added in v0.6.0
func (x *ComputeInformation) Reset()
func (*ComputeInformation) String ¶ added in v0.6.0
func (x *ComputeInformation) String() string
type CreateServerRequest ¶
type CreateServerRequest struct { Hardware *HardwareInformation `protobuf:"bytes,1,opt,name=hardware,proto3" json:"hardware,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*CreateServerRequest) Descriptor
deprecated
func (*CreateServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerRequest.ProtoReflect.Descriptor instead.
func (*CreateServerRequest) GetHardware ¶ added in v0.6.0
func (x *CreateServerRequest) GetHardware() *HardwareInformation
func (*CreateServerRequest) GetHostname ¶
func (x *CreateServerRequest) GetHostname() string
func (*CreateServerRequest) ProtoMessage ¶
func (*CreateServerRequest) ProtoMessage()
func (*CreateServerRequest) ProtoReflect ¶
func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
func (*CreateServerRequest) Reset ¶
func (x *CreateServerRequest) Reset()
func (*CreateServerRequest) String ¶
func (x *CreateServerRequest) String() string
type CreateServerResponse ¶
type CreateServerResponse struct { Wipe bool `protobuf:"varint,1,opt,name=wipe,proto3" json:"wipe,omitempty"` InsecureWipe bool `protobuf:"varint,2,opt,name=insecure_wipe,json=insecureWipe,proto3" json:"insecure_wipe,omitempty"` SetupBmc bool `protobuf:"varint,3,opt,name=setup_bmc,json=setupBmc,proto3" json:"setup_bmc,omitempty"` RebootTimeout float64 `protobuf:"fixed64,4,opt,name=reboot_timeout,json=rebootTimeout,proto3" json:"reboot_timeout,omitempty"` // contains filtered or unexported fields }
func (*CreateServerResponse) Descriptor
deprecated
func (*CreateServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerResponse.ProtoReflect.Descriptor instead.
func (*CreateServerResponse) GetInsecureWipe ¶
func (x *CreateServerResponse) GetInsecureWipe() bool
func (*CreateServerResponse) GetRebootTimeout ¶
func (x *CreateServerResponse) GetRebootTimeout() float64
func (*CreateServerResponse) GetSetupBmc ¶
func (x *CreateServerResponse) GetSetupBmc() bool
func (*CreateServerResponse) GetWipe ¶
func (x *CreateServerResponse) GetWipe() bool
func (*CreateServerResponse) ProtoMessage ¶
func (*CreateServerResponse) ProtoMessage()
func (*CreateServerResponse) ProtoReflect ¶
func (x *CreateServerResponse) ProtoReflect() protoreflect.Message
func (*CreateServerResponse) Reset ¶
func (x *CreateServerResponse) Reset()
func (*CreateServerResponse) String ¶
func (x *CreateServerResponse) String() string
type HardwareInformation ¶ added in v0.6.0
type HardwareInformation struct { System *SystemInformation `protobuf:"bytes,1,opt,name=system,proto3" json:"system,omitempty"` Compute *ComputeInformation `protobuf:"bytes,2,opt,name=compute,proto3" json:"compute,omitempty"` Memory *MemoryInformation `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` Storage *StorageInformation `protobuf:"bytes,4,opt,name=storage,proto3" json:"storage,omitempty"` Network *NetworkInformation `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*HardwareInformation) Descriptor
deprecated
added in
v0.6.0
func (*HardwareInformation) Descriptor() ([]byte, []int)
Deprecated: Use HardwareInformation.ProtoReflect.Descriptor instead.
func (*HardwareInformation) GetCompute ¶ added in v0.6.0
func (x *HardwareInformation) GetCompute() *ComputeInformation
func (*HardwareInformation) GetMemory ¶ added in v0.6.0
func (x *HardwareInformation) GetMemory() *MemoryInformation
func (*HardwareInformation) GetNetwork ¶ added in v0.6.0
func (x *HardwareInformation) GetNetwork() *NetworkInformation
func (*HardwareInformation) GetStorage ¶ added in v0.6.0
func (x *HardwareInformation) GetStorage() *StorageInformation
func (*HardwareInformation) GetSystem ¶ added in v0.6.0
func (x *HardwareInformation) GetSystem() *SystemInformation
func (*HardwareInformation) ProtoMessage ¶ added in v0.6.0
func (*HardwareInformation) ProtoMessage()
func (*HardwareInformation) ProtoReflect ¶ added in v0.6.0
func (x *HardwareInformation) ProtoReflect() protoreflect.Message
func (*HardwareInformation) Reset ¶ added in v0.6.0
func (x *HardwareInformation) Reset()
func (*HardwareInformation) String ¶ added in v0.6.0
func (x *HardwareInformation) String() string
type HeartbeatRequest ¶
type HeartbeatRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) GetUuid ¶
func (x *HeartbeatRequest) GetUuid() string
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
type HeartbeatResponse ¶
type HeartbeatResponse struct {
// contains filtered or unexported fields
}
func (*HeartbeatResponse) Descriptor
deprecated
func (*HeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) ProtoMessage ¶
func (*HeartbeatResponse) ProtoMessage()
func (*HeartbeatResponse) ProtoReflect ¶
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
func (*HeartbeatResponse) Reset ¶
func (x *HeartbeatResponse) Reset()
func (*HeartbeatResponse) String ¶
func (x *HeartbeatResponse) String() string
type MarkServerAsWipedRequest ¶
type MarkServerAsWipedRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*MarkServerAsWipedRequest) Descriptor
deprecated
func (*MarkServerAsWipedRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkServerAsWipedRequest.ProtoReflect.Descriptor instead.
func (*MarkServerAsWipedRequest) GetUuid ¶
func (x *MarkServerAsWipedRequest) GetUuid() string
func (*MarkServerAsWipedRequest) ProtoMessage ¶
func (*MarkServerAsWipedRequest) ProtoMessage()
func (*MarkServerAsWipedRequest) ProtoReflect ¶
func (x *MarkServerAsWipedRequest) ProtoReflect() protoreflect.Message
func (*MarkServerAsWipedRequest) Reset ¶
func (x *MarkServerAsWipedRequest) Reset()
func (*MarkServerAsWipedRequest) String ¶
func (x *MarkServerAsWipedRequest) String() string
type MarkServerAsWipedResponse ¶
type MarkServerAsWipedResponse struct {
// contains filtered or unexported fields
}
func (*MarkServerAsWipedResponse) Descriptor
deprecated
func (*MarkServerAsWipedResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkServerAsWipedResponse.ProtoReflect.Descriptor instead.
func (*MarkServerAsWipedResponse) ProtoMessage ¶
func (*MarkServerAsWipedResponse) ProtoMessage()
func (*MarkServerAsWipedResponse) ProtoReflect ¶
func (x *MarkServerAsWipedResponse) ProtoReflect() protoreflect.Message
func (*MarkServerAsWipedResponse) Reset ¶
func (x *MarkServerAsWipedResponse) Reset()
func (*MarkServerAsWipedResponse) String ¶
func (x *MarkServerAsWipedResponse) String() string
type MemoryInformation ¶ added in v0.6.0
type MemoryInformation struct { TotalSize uint32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` ModuleCount uint32 `protobuf:"varint,2,opt,name=module_count,json=moduleCount,proto3" json:"module_count,omitempty"` Modules []*MemoryModule `protobuf:"bytes,3,rep,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*MemoryInformation) Descriptor
deprecated
added in
v0.6.0
func (*MemoryInformation) Descriptor() ([]byte, []int)
Deprecated: Use MemoryInformation.ProtoReflect.Descriptor instead.
func (*MemoryInformation) GetModuleCount ¶ added in v0.6.0
func (x *MemoryInformation) GetModuleCount() uint32
func (*MemoryInformation) GetModules ¶ added in v0.6.0
func (x *MemoryInformation) GetModules() []*MemoryModule
func (*MemoryInformation) GetTotalSize ¶ added in v0.6.0
func (x *MemoryInformation) GetTotalSize() uint32
func (*MemoryInformation) ProtoMessage ¶ added in v0.6.0
func (*MemoryInformation) ProtoMessage()
func (*MemoryInformation) ProtoReflect ¶ added in v0.6.0
func (x *MemoryInformation) ProtoReflect() protoreflect.Message
func (*MemoryInformation) Reset ¶ added in v0.6.0
func (x *MemoryInformation) Reset()
func (*MemoryInformation) String ¶ added in v0.6.0
func (x *MemoryInformation) String() string
type MemoryModule ¶ added in v0.6.0
type MemoryModule struct { Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Size uint32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` Speed uint32 `protobuf:"varint,6,opt,name=speed,proto3" json:"speed,omitempty"` // contains filtered or unexported fields }
func (*MemoryModule) Descriptor
deprecated
added in
v0.6.0
func (*MemoryModule) Descriptor() ([]byte, []int)
Deprecated: Use MemoryModule.ProtoReflect.Descriptor instead.
func (*MemoryModule) GetManufacturer ¶ added in v0.6.0
func (x *MemoryModule) GetManufacturer() string
func (*MemoryModule) GetProductName ¶ added in v0.6.0
func (x *MemoryModule) GetProductName() string
func (*MemoryModule) GetSerialNumber ¶ added in v0.6.0
func (x *MemoryModule) GetSerialNumber() string
func (*MemoryModule) GetSize ¶ added in v0.6.0
func (x *MemoryModule) GetSize() uint32
func (*MemoryModule) GetSpeed ¶ added in v0.6.0
func (x *MemoryModule) GetSpeed() uint32
func (*MemoryModule) GetType ¶ added in v0.6.0
func (x *MemoryModule) GetType() string
func (*MemoryModule) ProtoMessage ¶ added in v0.6.0
func (*MemoryModule) ProtoMessage()
func (*MemoryModule) ProtoReflect ¶ added in v0.6.0
func (x *MemoryModule) ProtoReflect() protoreflect.Message
func (*MemoryModule) Reset ¶ added in v0.6.0
func (x *MemoryModule) Reset()
func (*MemoryModule) String ¶ added in v0.6.0
func (x *MemoryModule) String() string
type NetworkInformation ¶ added in v0.6.0
type NetworkInformation struct { InterfaceCount uint32 `protobuf:"varint,1,opt,name=interface_count,json=interfaceCount,proto3" json:"interface_count,omitempty"` Interfaces []*NetworkInterface `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
func (*NetworkInformation) Descriptor
deprecated
added in
v0.6.0
func (*NetworkInformation) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInformation.ProtoReflect.Descriptor instead.
func (*NetworkInformation) GetInterfaceCount ¶ added in v0.6.0
func (x *NetworkInformation) GetInterfaceCount() uint32
func (*NetworkInformation) GetInterfaces ¶ added in v0.6.0
func (x *NetworkInformation) GetInterfaces() []*NetworkInterface
func (*NetworkInformation) ProtoMessage ¶ added in v0.6.0
func (*NetworkInformation) ProtoMessage()
func (*NetworkInformation) ProtoReflect ¶ added in v0.6.0
func (x *NetworkInformation) ProtoReflect() protoreflect.Message
func (*NetworkInformation) Reset ¶ added in v0.6.0
func (x *NetworkInformation) Reset()
func (*NetworkInformation) String ¶ added in v0.6.0
func (x *NetworkInformation) String() string
type NetworkInterface ¶ added in v0.6.0
type NetworkInterface struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Flags string `protobuf:"bytes,3,opt,name=flags,proto3" json:"flags,omitempty"` Mtu uint32 `protobuf:"varint,4,opt,name=mtu,proto3" json:"mtu,omitempty"` Mac string `protobuf:"bytes,5,opt,name=mac,proto3" json:"mac,omitempty"` Addresses []string `protobuf:"bytes,6,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*NetworkInterface) Descriptor
deprecated
added in
v0.6.0
func (*NetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.
func (*NetworkInterface) GetAddresses ¶ added in v0.6.0
func (x *NetworkInterface) GetAddresses() []string
func (*NetworkInterface) GetFlags ¶ added in v0.6.0
func (x *NetworkInterface) GetFlags() string
func (*NetworkInterface) GetIndex ¶ added in v0.6.0
func (x *NetworkInterface) GetIndex() uint32
func (*NetworkInterface) GetMac ¶ added in v0.6.0
func (x *NetworkInterface) GetMac() string
func (*NetworkInterface) GetMtu ¶ added in v0.6.0
func (x *NetworkInterface) GetMtu() uint32
func (*NetworkInterface) GetName ¶ added in v0.6.0
func (x *NetworkInterface) GetName() string
func (*NetworkInterface) ProtoMessage ¶ added in v0.6.0
func (*NetworkInterface) ProtoMessage()
func (*NetworkInterface) ProtoReflect ¶ added in v0.6.0
func (x *NetworkInterface) ProtoReflect() protoreflect.Message
func (*NetworkInterface) Reset ¶ added in v0.6.0
func (x *NetworkInterface) Reset()
func (*NetworkInterface) String ¶ added in v0.6.0
func (x *NetworkInterface) String() string
type Processor ¶ added in v0.6.0
type Processor struct { Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` Speed uint32 `protobuf:"varint,4,opt,name=speed,proto3" json:"speed,omitempty"` CoreCount uint32 `protobuf:"varint,5,opt,name=core_count,json=coreCount,proto3" json:"core_count,omitempty"` ThreadCount uint32 `protobuf:"varint,6,opt,name=thread_count,json=threadCount,proto3" json:"thread_count,omitempty"` // contains filtered or unexported fields }
func (*Processor) Descriptor
deprecated
added in
v0.6.0
func (*Processor) GetCoreCount ¶ added in v0.6.0
func (*Processor) GetManufacturer ¶ added in v0.6.0
func (*Processor) GetProductName ¶ added in v0.6.0
func (*Processor) GetSerialNumber ¶ added in v0.6.0
func (*Processor) GetThreadCount ¶ added in v0.6.0
func (*Processor) ProtoMessage ¶ added in v0.6.0
func (*Processor) ProtoMessage()
func (*Processor) ProtoReflect ¶ added in v0.6.0
func (x *Processor) ProtoReflect() protoreflect.Message
type ReconcileServerAddressesRequest ¶
type ReconcileServerAddressesRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Address []*Address `protobuf:"bytes,2,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ReconcileServerAddressesRequest) Descriptor
deprecated
func (*ReconcileServerAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileServerAddressesRequest.ProtoReflect.Descriptor instead.
func (*ReconcileServerAddressesRequest) GetAddress ¶
func (x *ReconcileServerAddressesRequest) GetAddress() []*Address
func (*ReconcileServerAddressesRequest) GetUuid ¶
func (x *ReconcileServerAddressesRequest) GetUuid() string
func (*ReconcileServerAddressesRequest) ProtoMessage ¶
func (*ReconcileServerAddressesRequest) ProtoMessage()
func (*ReconcileServerAddressesRequest) ProtoReflect ¶
func (x *ReconcileServerAddressesRequest) ProtoReflect() protoreflect.Message
func (*ReconcileServerAddressesRequest) Reset ¶
func (x *ReconcileServerAddressesRequest) Reset()
func (*ReconcileServerAddressesRequest) String ¶
func (x *ReconcileServerAddressesRequest) String() string
type ReconcileServerAddressesResponse ¶
type ReconcileServerAddressesResponse struct {
// contains filtered or unexported fields
}
func (*ReconcileServerAddressesResponse) Descriptor
deprecated
func (*ReconcileServerAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileServerAddressesResponse.ProtoReflect.Descriptor instead.
func (*ReconcileServerAddressesResponse) ProtoMessage ¶
func (*ReconcileServerAddressesResponse) ProtoMessage()
func (*ReconcileServerAddressesResponse) ProtoReflect ¶
func (x *ReconcileServerAddressesResponse) ProtoReflect() protoreflect.Message
func (*ReconcileServerAddressesResponse) Reset ¶
func (x *ReconcileServerAddressesResponse) Reset()
func (*ReconcileServerAddressesResponse) String ¶
func (x *ReconcileServerAddressesResponse) String() string
type StorageDevice ¶ added in v0.6.0
type StorageDevice struct { Type StorageType `protobuf:"varint,1,opt,name=type,proto3,enum=api.StorageType" json:"type,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` Serial string `protobuf:"bytes,4,opt,name=serial,proto3" json:"serial,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` DeviceName string `protobuf:"bytes,6,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"` Wwid string `protobuf:"bytes,8,opt,name=wwid,proto3" json:"wwid,omitempty"` // contains filtered or unexported fields }
func (*StorageDevice) Descriptor
deprecated
added in
v0.6.0
func (*StorageDevice) Descriptor() ([]byte, []int)
Deprecated: Use StorageDevice.ProtoReflect.Descriptor instead.
func (*StorageDevice) GetDeviceName ¶ added in v0.6.0
func (x *StorageDevice) GetDeviceName() string
func (*StorageDevice) GetModel ¶ added in v0.6.0
func (x *StorageDevice) GetModel() string
func (*StorageDevice) GetName ¶ added in v0.6.0
func (x *StorageDevice) GetName() string
func (*StorageDevice) GetSerial ¶ added in v0.6.0
func (x *StorageDevice) GetSerial() string
func (*StorageDevice) GetSize ¶ added in v0.6.0
func (x *StorageDevice) GetSize() uint64
func (*StorageDevice) GetType ¶ added in v0.6.0
func (x *StorageDevice) GetType() StorageType
func (*StorageDevice) GetUuid ¶ added in v0.6.0
func (x *StorageDevice) GetUuid() string
func (*StorageDevice) GetWwid ¶ added in v0.6.0
func (x *StorageDevice) GetWwid() string
func (*StorageDevice) ProtoMessage ¶ added in v0.6.0
func (*StorageDevice) ProtoMessage()
func (*StorageDevice) ProtoReflect ¶ added in v0.6.0
func (x *StorageDevice) ProtoReflect() protoreflect.Message
func (*StorageDevice) Reset ¶ added in v0.6.0
func (x *StorageDevice) Reset()
func (*StorageDevice) String ¶ added in v0.6.0
func (x *StorageDevice) String() string
type StorageInformation ¶ added in v0.6.0
type StorageInformation struct { TotalSize uint64 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` DeviceCount uint32 `protobuf:"varint,2,opt,name=device_count,json=deviceCount,proto3" json:"device_count,omitempty"` Devices []*StorageDevice `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` // contains filtered or unexported fields }
func (*StorageInformation) Descriptor
deprecated
added in
v0.6.0
func (*StorageInformation) Descriptor() ([]byte, []int)
Deprecated: Use StorageInformation.ProtoReflect.Descriptor instead.
func (*StorageInformation) GetDeviceCount ¶ added in v0.6.0
func (x *StorageInformation) GetDeviceCount() uint32
func (*StorageInformation) GetDevices ¶ added in v0.6.0
func (x *StorageInformation) GetDevices() []*StorageDevice
func (*StorageInformation) GetTotalSize ¶ added in v0.6.0
func (x *StorageInformation) GetTotalSize() uint64
func (*StorageInformation) ProtoMessage ¶ added in v0.6.0
func (*StorageInformation) ProtoMessage()
func (*StorageInformation) ProtoReflect ¶ added in v0.6.0
func (x *StorageInformation) ProtoReflect() protoreflect.Message
func (*StorageInformation) Reset ¶ added in v0.6.0
func (x *StorageInformation) Reset()
func (*StorageInformation) String ¶ added in v0.6.0
func (x *StorageInformation) String() string
type StorageType ¶ added in v0.6.0
type StorageType int32
const ( StorageType_Unknown StorageType = 0 StorageType_SSD StorageType = 1 StorageType_HDD StorageType = 2 StorageType_NVMe StorageType = 3 StorageType_SD StorageType = 4 )
func (StorageType) Descriptor ¶ added in v0.6.0
func (StorageType) Descriptor() protoreflect.EnumDescriptor
func (StorageType) Enum ¶ added in v0.6.0
func (x StorageType) Enum() *StorageType
func (StorageType) EnumDescriptor
deprecated
added in
v0.6.0
func (StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StorageType.Descriptor instead.
func (StorageType) Number ¶ added in v0.6.0
func (x StorageType) Number() protoreflect.EnumNumber
func (StorageType) String ¶ added in v0.6.0
func (x StorageType) String() string
func (StorageType) Type ¶ added in v0.6.0
func (StorageType) Type() protoreflect.EnumType
type SystemInformation ¶
type SystemInformation struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` ProductName string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` SerialNumber string `protobuf:"bytes,5,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` SkuNumber string `protobuf:"bytes,6,opt,name=sku_number,json=skuNumber,proto3" json:"sku_number,omitempty"` Family string `protobuf:"bytes,7,opt,name=family,proto3" json:"family,omitempty"` // contains filtered or unexported fields }
func (*SystemInformation) Descriptor
deprecated
func (*SystemInformation) Descriptor() ([]byte, []int)
Deprecated: Use SystemInformation.ProtoReflect.Descriptor instead.
func (*SystemInformation) GetFamily ¶
func (x *SystemInformation) GetFamily() string
func (*SystemInformation) GetManufacturer ¶
func (x *SystemInformation) GetManufacturer() string
func (*SystemInformation) GetProductName ¶
func (x *SystemInformation) GetProductName() string
func (*SystemInformation) GetSerialNumber ¶
func (x *SystemInformation) GetSerialNumber() string
func (*SystemInformation) GetSkuNumber ¶
func (x *SystemInformation) GetSkuNumber() string
func (*SystemInformation) GetUuid ¶
func (x *SystemInformation) GetUuid() string
func (*SystemInformation) GetVersion ¶
func (x *SystemInformation) GetVersion() string
func (*SystemInformation) ProtoMessage ¶
func (*SystemInformation) ProtoMessage()
func (*SystemInformation) ProtoReflect ¶
func (x *SystemInformation) ProtoReflect() protoreflect.Message
func (*SystemInformation) Reset ¶
func (x *SystemInformation) Reset()
func (*SystemInformation) String ¶
func (x *SystemInformation) String() string
type UnimplementedAgentServer ¶
type UnimplementedAgentServer struct{}
UnimplementedAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentServer) CreateServer ¶
func (UnimplementedAgentServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error)
func (UnimplementedAgentServer) Heartbeat ¶
func (UnimplementedAgentServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (UnimplementedAgentServer) MarkServerAsWiped ¶
func (UnimplementedAgentServer) MarkServerAsWiped(context.Context, *MarkServerAsWipedRequest) (*MarkServerAsWipedResponse, error)
func (UnimplementedAgentServer) ReconcileServerAddresses ¶
func (UnimplementedAgentServer) ReconcileServerAddresses(context.Context, *ReconcileServerAddressesRequest) (*ReconcileServerAddressesResponse, error)
func (UnimplementedAgentServer) UpdateBMCInfo ¶
func (UnimplementedAgentServer) UpdateBMCInfo(context.Context, *UpdateBMCInfoRequest) (*UpdateBMCInfoResponse, error)
type UnsafeAgentServer ¶
type UnsafeAgentServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServer will result in compilation errors.
type UpdateBMCInfoRequest ¶
type UpdateBMCInfoRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` BmcInfo *BMCInfo `protobuf:"bytes,2,opt,name=bmc_info,json=bmcInfo,proto3" json:"bmc_info,omitempty"` // contains filtered or unexported fields }
func (*UpdateBMCInfoRequest) Descriptor
deprecated
func (*UpdateBMCInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBMCInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateBMCInfoRequest) GetBmcInfo ¶
func (x *UpdateBMCInfoRequest) GetBmcInfo() *BMCInfo
func (*UpdateBMCInfoRequest) GetUuid ¶
func (x *UpdateBMCInfoRequest) GetUuid() 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 {
// contains filtered or unexported fields
}
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