Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPowershelfManagerServer(s grpc.ServiceRegistrar, srv PowershelfManagerServer)
- type AvailableFirmware
- func (*AvailableFirmware) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableFirmware) GetPmcMacAddress() string
- func (x *AvailableFirmware) GetUpgrades() []*ComponentFirmwareUpgrades
- func (*AvailableFirmware) ProtoMessage()
- func (x *AvailableFirmware) ProtoReflect() protoreflect.Message
- func (x *AvailableFirmware) Reset()
- func (x *AvailableFirmware) String() string
- type CanUpdateFirmwareResponse
- func (*CanUpdateFirmwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CanUpdateFirmwareResponse) GetCanUpdate() bool
- func (*CanUpdateFirmwareResponse) ProtoMessage()
- func (x *CanUpdateFirmwareResponse) ProtoReflect() protoreflect.Message
- func (x *CanUpdateFirmwareResponse) Reset()
- func (x *CanUpdateFirmwareResponse) String() string
- type Chassis
- func (*Chassis) Descriptor() ([]byte, []int)deprecated
- func (x *Chassis) GetManufacturer() string
- func (x *Chassis) GetModel() string
- func (x *Chassis) GetSerialNumber() string
- func (*Chassis) ProtoMessage()
- func (x *Chassis) ProtoReflect() protoreflect.Message
- func (x *Chassis) Reset()
- func (x *Chassis) String() string
- type ComponentFirmwareUpgrades
- func (*ComponentFirmwareUpgrades) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentFirmwareUpgrades) GetComponent() PowershelfComponent
- func (x *ComponentFirmwareUpgrades) GetUpgrades() []*FirmwareVersion
- func (*ComponentFirmwareUpgrades) ProtoMessage()
- func (x *ComponentFirmwareUpgrades) ProtoReflect() protoreflect.Message
- func (x *ComponentFirmwareUpgrades) Reset()
- func (x *ComponentFirmwareUpgrades) String() string
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetPassword() string
- func (x *Credentials) GetUsername() string
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type FirmwareUpdateQuery
- func (*FirmwareUpdateQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareUpdateQuery) GetComponent() PowershelfComponent
- func (x *FirmwareUpdateQuery) GetPmcMacAddress() string
- func (*FirmwareUpdateQuery) ProtoMessage()
- func (x *FirmwareUpdateQuery) ProtoReflect() protoreflect.Message
- func (x *FirmwareUpdateQuery) Reset()
- func (x *FirmwareUpdateQuery) String() string
- type FirmwareUpdateState
- func (FirmwareUpdateState) Descriptor() protoreflect.EnumDescriptor
- func (x FirmwareUpdateState) Enum() *FirmwareUpdateState
- func (FirmwareUpdateState) EnumDescriptor() ([]byte, []int)deprecated
- func (x FirmwareUpdateState) Number() protoreflect.EnumNumber
- func (x FirmwareUpdateState) String() string
- func (FirmwareUpdateState) Type() protoreflect.EnumType
- type FirmwareUpdateStatus
- func (*FirmwareUpdateStatus) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareUpdateStatus) GetComponent() PowershelfComponent
- func (x *FirmwareUpdateStatus) GetError() string
- func (x *FirmwareUpdateStatus) GetPmcMacAddress() string
- func (x *FirmwareUpdateStatus) GetState() FirmwareUpdateState
- func (x *FirmwareUpdateStatus) GetStatus() StatusCode
- func (*FirmwareUpdateStatus) ProtoMessage()
- func (x *FirmwareUpdateStatus) ProtoReflect() protoreflect.Message
- func (x *FirmwareUpdateStatus) Reset()
- func (x *FirmwareUpdateStatus) String() string
- type FirmwareVersion
- type GetFirmwareUpdateStatusRequest
- func (*GetFirmwareUpdateStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFirmwareUpdateStatusRequest) GetQueries() []*FirmwareUpdateQuery
- func (*GetFirmwareUpdateStatusRequest) ProtoMessage()
- func (x *GetFirmwareUpdateStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetFirmwareUpdateStatusRequest) Reset()
- func (x *GetFirmwareUpdateStatusRequest) String() string
- type GetFirmwareUpdateStatusResponse
- func (*GetFirmwareUpdateStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFirmwareUpdateStatusResponse) GetStatuses() []*FirmwareUpdateStatus
- func (*GetFirmwareUpdateStatusResponse) ProtoMessage()
- func (x *GetFirmwareUpdateStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetFirmwareUpdateStatusResponse) Reset()
- func (x *GetFirmwareUpdateStatusResponse) String() string
- type GetPowershelvesResponse
- func (*GetPowershelvesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPowershelvesResponse) GetPowershelves() []*PowerShelf
- func (*GetPowershelvesResponse) ProtoMessage()
- func (x *GetPowershelvesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPowershelvesResponse) Reset()
- func (x *GetPowershelvesResponse) String() string
- type ListAvailableFirmwareResponse
- func (*ListAvailableFirmwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAvailableFirmwareResponse) GetUpgrades() []*AvailableFirmware
- func (*ListAvailableFirmwareResponse) ProtoMessage()
- func (x *ListAvailableFirmwareResponse) ProtoReflect() protoreflect.Message
- func (x *ListAvailableFirmwareResponse) Reset()
- func (x *ListAvailableFirmwareResponse) String() string
- type PMCVendor
- type PowerControlResponse
- func (*PowerControlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PowerControlResponse) GetResponses() []*PowershelfResponse
- func (*PowerControlResponse) ProtoMessage()
- func (x *PowerControlResponse) ProtoReflect() protoreflect.Message
- func (x *PowerControlResponse) Reset()
- func (x *PowerControlResponse) String() string
- type PowerManagementController
- func (*PowerManagementController) Descriptor() ([]byte, []int)deprecated
- func (x *PowerManagementController) GetFirmwareVersion() string
- func (x *PowerManagementController) GetHardwareVersion() string
- func (x *PowerManagementController) GetIpAddress() string
- func (x *PowerManagementController) GetMacAddress() string
- func (x *PowerManagementController) GetManufacturer() string
- func (x *PowerManagementController) GetModel() string
- func (x *PowerManagementController) GetPartNumber() string
- func (x *PowerManagementController) GetSerialNumber() string
- func (x *PowerManagementController) GetVendor() PMCVendor
- func (*PowerManagementController) ProtoMessage()
- func (x *PowerManagementController) ProtoReflect() protoreflect.Message
- func (x *PowerManagementController) Reset()
- func (x *PowerManagementController) String() string
- type PowerShelf
- func (*PowerShelf) Descriptor() ([]byte, []int)deprecated
- func (x *PowerShelf) GetChassis() *Chassis
- func (x *PowerShelf) GetPmc() *PowerManagementController
- func (x *PowerShelf) GetPsus() []*PowerSupplyUnit
- func (*PowerShelf) ProtoMessage()
- func (x *PowerShelf) ProtoReflect() protoreflect.Message
- func (x *PowerShelf) Reset()
- func (x *PowerShelf) String() string
- type PowerSupplyUnit
- func (*PowerSupplyUnit) Descriptor() ([]byte, []int)deprecated
- func (x *PowerSupplyUnit) GetCapacityWatts() string
- func (x *PowerSupplyUnit) GetFirmwareVersion() string
- func (x *PowerSupplyUnit) GetHardwareVersion() string
- func (x *PowerSupplyUnit) GetId() string
- func (x *PowerSupplyUnit) GetManufacturer() string
- func (x *PowerSupplyUnit) GetModel() string
- func (x *PowerSupplyUnit) GetName() string
- func (x *PowerSupplyUnit) GetPowerState() bool
- func (x *PowerSupplyUnit) GetSensors() []*Sensor
- func (x *PowerSupplyUnit) GetSerialNumber() string
- func (*PowerSupplyUnit) ProtoMessage()
- func (x *PowerSupplyUnit) ProtoReflect() protoreflect.Message
- func (x *PowerSupplyUnit) Reset()
- func (x *PowerSupplyUnit) String() string
- type PowershelfComponent
- func (PowershelfComponent) Descriptor() protoreflect.EnumDescriptor
- func (x PowershelfComponent) Enum() *PowershelfComponent
- func (PowershelfComponent) EnumDescriptor() ([]byte, []int)deprecated
- func (x PowershelfComponent) Number() protoreflect.EnumNumber
- func (x PowershelfComponent) String() string
- func (PowershelfComponent) Type() protoreflect.EnumType
- type PowershelfManagerClient
- type PowershelfManagerServer
- type PowershelfRequest
- type PowershelfResponse
- func (*PowershelfResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PowershelfResponse) GetError() string
- func (x *PowershelfResponse) GetPmcMacAddress() string
- func (x *PowershelfResponse) GetStatus() StatusCode
- func (*PowershelfResponse) ProtoMessage()
- func (x *PowershelfResponse) ProtoReflect() protoreflect.Message
- func (x *PowershelfResponse) Reset()
- func (x *PowershelfResponse) String() string
- type RegisterPowershelfRequest
- func (*RegisterPowershelfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPowershelfRequest) GetPmcCredentials() *Credentials
- func (x *RegisterPowershelfRequest) GetPmcIpAddress() string
- func (x *RegisterPowershelfRequest) GetPmcMacAddress() string
- func (x *RegisterPowershelfRequest) GetPmcVendor() PMCVendor
- func (*RegisterPowershelfRequest) ProtoMessage()
- func (x *RegisterPowershelfRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPowershelfRequest) Reset()
- func (x *RegisterPowershelfRequest) String() string
- type RegisterPowershelfResponse
- func (*RegisterPowershelfResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPowershelfResponse) GetCreated() *timestamppb.Timestamp
- func (x *RegisterPowershelfResponse) GetError() string
- func (x *RegisterPowershelfResponse) GetIsNew() bool
- func (x *RegisterPowershelfResponse) GetPmcMacAddress() string
- func (x *RegisterPowershelfResponse) GetStatus() StatusCode
- func (*RegisterPowershelfResponse) ProtoMessage()
- func (x *RegisterPowershelfResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterPowershelfResponse) Reset()
- func (x *RegisterPowershelfResponse) String() string
- type RegisterPowershelvesRequest
- func (*RegisterPowershelvesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPowershelvesRequest) GetRegistrationRequests() []*RegisterPowershelfRequest
- func (*RegisterPowershelvesRequest) ProtoMessage()
- func (x *RegisterPowershelvesRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPowershelvesRequest) Reset()
- func (x *RegisterPowershelvesRequest) String() string
- type RegisterPowershelvesResponse
- func (*RegisterPowershelvesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPowershelvesResponse) GetResponses() []*RegisterPowershelfResponse
- func (*RegisterPowershelvesResponse) ProtoMessage()
- func (x *RegisterPowershelvesResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterPowershelvesResponse) Reset()
- func (x *RegisterPowershelvesResponse) String() string
- type Sensor
- func (*Sensor) Descriptor() ([]byte, []int)deprecated
- func (x *Sensor) GetId() string
- func (x *Sensor) GetName() string
- func (x *Sensor) GetReading() float32
- func (x *Sensor) GetReadingRangeMax() float64
- func (x *Sensor) GetReadingRangeMin() float32
- func (x *Sensor) GetReadingType() string
- func (x *Sensor) GetReadingUnits() string
- func (x *Sensor) GetThresholds() *SensorThresholds
- func (*Sensor) ProtoMessage()
- func (x *Sensor) ProtoReflect() protoreflect.Message
- func (x *Sensor) Reset()
- func (x *Sensor) String() string
- type SensorThreshold
- type SensorThresholds
- func (*SensorThresholds) Descriptor() ([]byte, []int)deprecated
- func (x *SensorThresholds) GetLowerCaution() *SensorThreshold
- func (x *SensorThresholds) GetLowerCritical() *SensorThreshold
- func (x *SensorThresholds) GetUpperCaution() *SensorThreshold
- func (x *SensorThresholds) GetUpperCritical() *SensorThreshold
- func (*SensorThresholds) ProtoMessage()
- func (x *SensorThresholds) ProtoReflect() protoreflect.Message
- func (x *SensorThresholds) Reset()
- func (x *SensorThresholds) String() string
- type SetDryRunRequest
- type StatusCode
- type UnimplementedPowershelfManagerServer
- func (UnimplementedPowershelfManagerServer) GetFirmwareUpdateStatus(context.Context, *GetFirmwareUpdateStatusRequest) (*GetFirmwareUpdateStatusResponse, error)
- func (UnimplementedPowershelfManagerServer) GetPowershelves(context.Context, *PowershelfRequest) (*GetPowershelvesResponse, error)
- func (UnimplementedPowershelfManagerServer) ListAvailableFirmware(context.Context, *PowershelfRequest) (*ListAvailableFirmwareResponse, error)
- func (UnimplementedPowershelfManagerServer) PowerOff(context.Context, *PowershelfRequest) (*PowerControlResponse, error)
- func (UnimplementedPowershelfManagerServer) PowerOn(context.Context, *PowershelfRequest) (*PowerControlResponse, error)
- func (UnimplementedPowershelfManagerServer) RegisterPowershelves(context.Context, *RegisterPowershelvesRequest) (*RegisterPowershelvesResponse, error)
- func (UnimplementedPowershelfManagerServer) SetDryRun(context.Context, *SetDryRunRequest) (*emptypb.Empty, error)
- func (UnimplementedPowershelfManagerServer) UpdateFirmware(context.Context, *UpdateFirmwareRequest) (*UpdateFirmwareResponse, error)
- type UnsafePowershelfManagerServer
- type UpdateComponentFirmwareRequest
- func (*UpdateComponentFirmwareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateComponentFirmwareRequest) GetComponent() PowershelfComponent
- func (x *UpdateComponentFirmwareRequest) GetUpgradeTo() *FirmwareVersion
- func (*UpdateComponentFirmwareRequest) ProtoMessage()
- func (x *UpdateComponentFirmwareRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateComponentFirmwareRequest) Reset()
- func (x *UpdateComponentFirmwareRequest) String() string
- type UpdateComponentFirmwareResponse
- func (*UpdateComponentFirmwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateComponentFirmwareResponse) GetComponent() PowershelfComponent
- func (x *UpdateComponentFirmwareResponse) GetError() string
- func (x *UpdateComponentFirmwareResponse) GetStatus() StatusCode
- func (*UpdateComponentFirmwareResponse) ProtoMessage()
- func (x *UpdateComponentFirmwareResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateComponentFirmwareResponse) Reset()
- func (x *UpdateComponentFirmwareResponse) String() string
- type UpdateFirmwareRequest
- func (*UpdateFirmwareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFirmwareRequest) GetUpgrades() []*UpdatePowershelfFirmwareRequest
- func (*UpdateFirmwareRequest) ProtoMessage()
- func (x *UpdateFirmwareRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFirmwareRequest) Reset()
- func (x *UpdateFirmwareRequest) String() string
- type UpdateFirmwareResponse
- func (*UpdateFirmwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFirmwareResponse) GetResponses() []*UpdatePowershelfFirmwareResponse
- func (*UpdateFirmwareResponse) ProtoMessage()
- func (x *UpdateFirmwareResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateFirmwareResponse) Reset()
- func (x *UpdateFirmwareResponse) String() string
- type UpdatePowershelfFirmwareRequest
- func (*UpdatePowershelfFirmwareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePowershelfFirmwareRequest) GetComponents() []*UpdateComponentFirmwareRequest
- func (x *UpdatePowershelfFirmwareRequest) GetPmcMacAddress() string
- func (*UpdatePowershelfFirmwareRequest) ProtoMessage()
- func (x *UpdatePowershelfFirmwareRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePowershelfFirmwareRequest) Reset()
- func (x *UpdatePowershelfFirmwareRequest) String() string
- type UpdatePowershelfFirmwareResponse
- func (*UpdatePowershelfFirmwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePowershelfFirmwareResponse) GetComponents() []*UpdateComponentFirmwareResponse
- func (x *UpdatePowershelfFirmwareResponse) GetPmcMacAddress() string
- func (*UpdatePowershelfFirmwareResponse) ProtoMessage()
- func (x *UpdatePowershelfFirmwareResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePowershelfFirmwareResponse) Reset()
- func (x *UpdatePowershelfFirmwareResponse) String() string
Constants ¶
const ( PowershelfManager_RegisterPowershelves_FullMethodName = "/v1.PowershelfManager/RegisterPowershelves" PowershelfManager_GetPowershelves_FullMethodName = "/v1.PowershelfManager/GetPowershelves" PowershelfManager_UpdateFirmware_FullMethodName = "/v1.PowershelfManager/UpdateFirmware" PowershelfManager_GetFirmwareUpdateStatus_FullMethodName = "/v1.PowershelfManager/GetFirmwareUpdateStatus" PowershelfManager_ListAvailableFirmware_FullMethodName = "/v1.PowershelfManager/ListAvailableFirmware" PowershelfManager_SetDryRun_FullMethodName = "/v1.PowershelfManager/SetDryRun" PowershelfManager_PowerOff_FullMethodName = "/v1.PowershelfManager/PowerOff" PowershelfManager_PowerOn_FullMethodName = "/v1.PowershelfManager/PowerOn" )
Variables ¶
var ( PMCVendor_name = map[int32]string{ 0: "PMC_TYPE_UNKNOWN", 1: "PMC_TYPE_LITEON", } PMCVendor_value = map[string]int32{ "PMC_TYPE_UNKNOWN": 0, "PMC_TYPE_LITEON": 1, } )
Enum value maps for PMCVendor.
var ( StatusCode_name = map[int32]string{ 0: "SUCCESS", 1: "INVALID_ARGUMENT", 2: "INTERNAL_ERROR", } StatusCode_value = map[string]int32{ "SUCCESS": 0, "INVALID_ARGUMENT": 1, "INTERNAL_ERROR": 2, } )
Enum value maps for StatusCode.
var ( PowershelfComponent_name = map[int32]string{ 0: "PMC", 1: "PSU", } PowershelfComponent_value = map[string]int32{ "PMC": 0, "PSU": 1, } )
Enum value maps for PowershelfComponent.
var ( FirmwareUpdateState_name = map[int32]string{ 0: "FIRMWARE_UPDATE_STATE_UNKNOWN", 1: "FIRMWARE_UPDATE_STATE_QUEUED", 2: "FIRMWARE_UPDATE_STATE_VERIFYING", 3: "FIRMWARE_UPDATE_STATE_COMPLETED", 4: "FIRMWARE_UPDATE_STATE_FAILED", } FirmwareUpdateState_value = map[string]int32{ "FIRMWARE_UPDATE_STATE_UNKNOWN": 0, "FIRMWARE_UPDATE_STATE_QUEUED": 1, "FIRMWARE_UPDATE_STATE_VERIFYING": 2, "FIRMWARE_UPDATE_STATE_COMPLETED": 3, "FIRMWARE_UPDATE_STATE_FAILED": 4, } )
Enum value maps for FirmwareUpdateState.
var File_powershelf_manager_proto protoreflect.FileDescriptor
var PowershelfManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.PowershelfManager", HandlerType: (*PowershelfManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterPowershelves", Handler: _PowershelfManager_RegisterPowershelves_Handler, }, { MethodName: "GetPowershelves", Handler: _PowershelfManager_GetPowershelves_Handler, }, { MethodName: "UpdateFirmware", Handler: _PowershelfManager_UpdateFirmware_Handler, }, { MethodName: "GetFirmwareUpdateStatus", Handler: _PowershelfManager_GetFirmwareUpdateStatus_Handler, }, { MethodName: "ListAvailableFirmware", Handler: _PowershelfManager_ListAvailableFirmware_Handler, }, { MethodName: "SetDryRun", Handler: _PowershelfManager_SetDryRun_Handler, }, { MethodName: "PowerOff", Handler: _PowershelfManager_PowerOff_Handler, }, { MethodName: "PowerOn", Handler: _PowershelfManager_PowerOn_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "powershelf-manager.proto", }
PowershelfManager_ServiceDesc is the grpc.ServiceDesc for PowershelfManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPowershelfManagerServer ¶
func RegisterPowershelfManagerServer(s grpc.ServiceRegistrar, srv PowershelfManagerServer)
Types ¶
type AvailableFirmware ¶
type AvailableFirmware struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
Upgrades []*ComponentFirmwareUpgrades `protobuf:"bytes,2,rep,name=upgrades,proto3" json:"upgrades,omitempty"`
// contains filtered or unexported fields
}
func (*AvailableFirmware) Descriptor
deprecated
func (*AvailableFirmware) Descriptor() ([]byte, []int)
Deprecated: Use AvailableFirmware.ProtoReflect.Descriptor instead.
func (*AvailableFirmware) GetPmcMacAddress ¶
func (x *AvailableFirmware) GetPmcMacAddress() string
func (*AvailableFirmware) GetUpgrades ¶
func (x *AvailableFirmware) GetUpgrades() []*ComponentFirmwareUpgrades
func (*AvailableFirmware) ProtoMessage ¶
func (*AvailableFirmware) ProtoMessage()
func (*AvailableFirmware) ProtoReflect ¶
func (x *AvailableFirmware) ProtoReflect() protoreflect.Message
func (*AvailableFirmware) Reset ¶
func (x *AvailableFirmware) Reset()
func (*AvailableFirmware) String ¶
func (x *AvailableFirmware) String() string
type CanUpdateFirmwareResponse ¶
type CanUpdateFirmwareResponse struct {
CanUpdate bool `protobuf:"varint,1,opt,name=can_update,json=canUpdate,proto3" json:"can_update,omitempty"`
// contains filtered or unexported fields
}
func (*CanUpdateFirmwareResponse) Descriptor
deprecated
func (*CanUpdateFirmwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use CanUpdateFirmwareResponse.ProtoReflect.Descriptor instead.
func (*CanUpdateFirmwareResponse) GetCanUpdate ¶
func (x *CanUpdateFirmwareResponse) GetCanUpdate() bool
func (*CanUpdateFirmwareResponse) ProtoMessage ¶
func (*CanUpdateFirmwareResponse) ProtoMessage()
func (*CanUpdateFirmwareResponse) ProtoReflect ¶
func (x *CanUpdateFirmwareResponse) ProtoReflect() protoreflect.Message
func (*CanUpdateFirmwareResponse) Reset ¶
func (x *CanUpdateFirmwareResponse) Reset()
func (*CanUpdateFirmwareResponse) String ¶
func (x *CanUpdateFirmwareResponse) String() string
type Chassis ¶
type Chassis struct {
SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
Manufacturer string `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
// contains filtered or unexported fields
}
Chassis contains chassis identity and model/manufacturer fields.
func (*Chassis) Descriptor
deprecated
func (*Chassis) GetManufacturer ¶
func (*Chassis) GetSerialNumber ¶
func (*Chassis) ProtoMessage ¶
func (*Chassis) ProtoMessage()
func (*Chassis) ProtoReflect ¶
func (x *Chassis) ProtoReflect() protoreflect.Message
type ComponentFirmwareUpgrades ¶
type ComponentFirmwareUpgrades struct {
Component PowershelfComponent `protobuf:"varint,1,opt,name=component,proto3,enum=v1.PowershelfComponent" json:"component,omitempty"`
Upgrades []*FirmwareVersion `protobuf:"bytes,2,rep,name=upgrades,proto3" json:"upgrades,omitempty"`
// contains filtered or unexported fields
}
func (*ComponentFirmwareUpgrades) Descriptor
deprecated
func (*ComponentFirmwareUpgrades) Descriptor() ([]byte, []int)
Deprecated: Use ComponentFirmwareUpgrades.ProtoReflect.Descriptor instead.
func (*ComponentFirmwareUpgrades) GetComponent ¶
func (x *ComponentFirmwareUpgrades) GetComponent() PowershelfComponent
func (*ComponentFirmwareUpgrades) GetUpgrades ¶
func (x *ComponentFirmwareUpgrades) GetUpgrades() []*FirmwareVersion
func (*ComponentFirmwareUpgrades) ProtoMessage ¶
func (*ComponentFirmwareUpgrades) ProtoMessage()
func (*ComponentFirmwareUpgrades) ProtoReflect ¶
func (x *ComponentFirmwareUpgrades) ProtoReflect() protoreflect.Message
func (*ComponentFirmwareUpgrades) Reset ¶
func (x *ComponentFirmwareUpgrades) Reset()
func (*ComponentFirmwareUpgrades) String ¶
func (x *ComponentFirmwareUpgrades) String() string
type Credentials ¶
type Credentials struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
Credentials wraps around a username and password
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetPassword ¶
func (x *Credentials) GetPassword() string
func (*Credentials) GetUsername ¶
func (x *Credentials) GetUsername() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type FirmwareUpdateQuery ¶
type FirmwareUpdateQuery struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
Component PowershelfComponent `protobuf:"varint,2,opt,name=component,proto3,enum=v1.PowershelfComponent" json:"component,omitempty"`
// contains filtered or unexported fields
}
FirmwareUpdateQuery specifies a single PMC MAC and component to query.
func (*FirmwareUpdateQuery) Descriptor
deprecated
func (*FirmwareUpdateQuery) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareUpdateQuery.ProtoReflect.Descriptor instead.
func (*FirmwareUpdateQuery) GetComponent ¶
func (x *FirmwareUpdateQuery) GetComponent() PowershelfComponent
func (*FirmwareUpdateQuery) GetPmcMacAddress ¶
func (x *FirmwareUpdateQuery) GetPmcMacAddress() string
func (*FirmwareUpdateQuery) ProtoMessage ¶
func (*FirmwareUpdateQuery) ProtoMessage()
func (*FirmwareUpdateQuery) ProtoReflect ¶
func (x *FirmwareUpdateQuery) ProtoReflect() protoreflect.Message
func (*FirmwareUpdateQuery) Reset ¶
func (x *FirmwareUpdateQuery) Reset()
func (*FirmwareUpdateQuery) String ¶
func (x *FirmwareUpdateQuery) String() string
type FirmwareUpdateState ¶
type FirmwareUpdateState int32
FirmwareUpdateState represents the state of a firmware update operation.
const ( FirmwareUpdateState_FIRMWARE_UPDATE_STATE_UNKNOWN FirmwareUpdateState = 0 FirmwareUpdateState_FIRMWARE_UPDATE_STATE_QUEUED FirmwareUpdateState = 1 FirmwareUpdateState_FIRMWARE_UPDATE_STATE_VERIFYING FirmwareUpdateState = 2 FirmwareUpdateState_FIRMWARE_UPDATE_STATE_COMPLETED FirmwareUpdateState = 3 FirmwareUpdateState_FIRMWARE_UPDATE_STATE_FAILED FirmwareUpdateState = 4 )
func (FirmwareUpdateState) Descriptor ¶
func (FirmwareUpdateState) Descriptor() protoreflect.EnumDescriptor
func (FirmwareUpdateState) Enum ¶
func (x FirmwareUpdateState) Enum() *FirmwareUpdateState
func (FirmwareUpdateState) EnumDescriptor
deprecated
func (FirmwareUpdateState) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirmwareUpdateState.Descriptor instead.
func (FirmwareUpdateState) Number ¶
func (x FirmwareUpdateState) Number() protoreflect.EnumNumber
func (FirmwareUpdateState) String ¶
func (x FirmwareUpdateState) String() string
func (FirmwareUpdateState) Type ¶
func (FirmwareUpdateState) Type() protoreflect.EnumType
type FirmwareUpdateStatus ¶
type FirmwareUpdateStatus struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
Component PowershelfComponent `protobuf:"varint,2,opt,name=component,proto3,enum=v1.PowershelfComponent" json:"component,omitempty"`
State FirmwareUpdateState `protobuf:"varint,3,opt,name=state,proto3,enum=v1.FirmwareUpdateState" json:"state,omitempty"`
Status StatusCode `protobuf:"varint,4,opt,name=status,proto3,enum=v1.StatusCode" json:"status,omitempty"` // Request status (SUCCESS if found, error otherwise)
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` // Request error message (e.g., "not found")
// contains filtered or unexported fields
}
FirmwareUpdateStatus contains the status of a firmware update operation.
func (*FirmwareUpdateStatus) Descriptor
deprecated
func (*FirmwareUpdateStatus) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareUpdateStatus.ProtoReflect.Descriptor instead.
func (*FirmwareUpdateStatus) GetComponent ¶
func (x *FirmwareUpdateStatus) GetComponent() PowershelfComponent
func (*FirmwareUpdateStatus) GetError ¶
func (x *FirmwareUpdateStatus) GetError() string
func (*FirmwareUpdateStatus) GetPmcMacAddress ¶
func (x *FirmwareUpdateStatus) GetPmcMacAddress() string
func (*FirmwareUpdateStatus) GetState ¶
func (x *FirmwareUpdateStatus) GetState() FirmwareUpdateState
func (*FirmwareUpdateStatus) GetStatus ¶
func (x *FirmwareUpdateStatus) GetStatus() StatusCode
func (*FirmwareUpdateStatus) ProtoMessage ¶
func (*FirmwareUpdateStatus) ProtoMessage()
func (*FirmwareUpdateStatus) ProtoReflect ¶
func (x *FirmwareUpdateStatus) ProtoReflect() protoreflect.Message
func (*FirmwareUpdateStatus) Reset ¶
func (x *FirmwareUpdateStatus) Reset()
func (*FirmwareUpdateStatus) String ¶
func (x *FirmwareUpdateStatus) String() string
type FirmwareVersion ¶
type FirmwareVersion struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*FirmwareVersion) Descriptor
deprecated
func (*FirmwareVersion) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareVersion.ProtoReflect.Descriptor instead.
func (*FirmwareVersion) GetVersion ¶
func (x *FirmwareVersion) GetVersion() string
func (*FirmwareVersion) ProtoMessage ¶
func (*FirmwareVersion) ProtoMessage()
func (*FirmwareVersion) ProtoReflect ¶
func (x *FirmwareVersion) ProtoReflect() protoreflect.Message
func (*FirmwareVersion) Reset ¶
func (x *FirmwareVersion) Reset()
func (*FirmwareVersion) String ¶
func (x *FirmwareVersion) String() string
type GetFirmwareUpdateStatusRequest ¶
type GetFirmwareUpdateStatusRequest struct {
Queries []*FirmwareUpdateQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"`
// contains filtered or unexported fields
}
GetFirmwareUpdateStatusRequest queries the status of firmware updates for specific PMC(s) and component(s).
func (*GetFirmwareUpdateStatusRequest) Descriptor
deprecated
func (*GetFirmwareUpdateStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFirmwareUpdateStatusRequest.ProtoReflect.Descriptor instead.
func (*GetFirmwareUpdateStatusRequest) GetQueries ¶
func (x *GetFirmwareUpdateStatusRequest) GetQueries() []*FirmwareUpdateQuery
func (*GetFirmwareUpdateStatusRequest) ProtoMessage ¶
func (*GetFirmwareUpdateStatusRequest) ProtoMessage()
func (*GetFirmwareUpdateStatusRequest) ProtoReflect ¶
func (x *GetFirmwareUpdateStatusRequest) ProtoReflect() protoreflect.Message
func (*GetFirmwareUpdateStatusRequest) Reset ¶
func (x *GetFirmwareUpdateStatusRequest) Reset()
func (*GetFirmwareUpdateStatusRequest) String ¶
func (x *GetFirmwareUpdateStatusRequest) String() string
type GetFirmwareUpdateStatusResponse ¶
type GetFirmwareUpdateStatusResponse struct {
Statuses []*FirmwareUpdateStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
// contains filtered or unexported fields
}
GetFirmwareUpdateStatusResponse contains the status of the requested firmware updates.
func (*GetFirmwareUpdateStatusResponse) Descriptor
deprecated
func (*GetFirmwareUpdateStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFirmwareUpdateStatusResponse.ProtoReflect.Descriptor instead.
func (*GetFirmwareUpdateStatusResponse) GetStatuses ¶
func (x *GetFirmwareUpdateStatusResponse) GetStatuses() []*FirmwareUpdateStatus
func (*GetFirmwareUpdateStatusResponse) ProtoMessage ¶
func (*GetFirmwareUpdateStatusResponse) ProtoMessage()
func (*GetFirmwareUpdateStatusResponse) ProtoReflect ¶
func (x *GetFirmwareUpdateStatusResponse) ProtoReflect() protoreflect.Message
func (*GetFirmwareUpdateStatusResponse) Reset ¶
func (x *GetFirmwareUpdateStatusResponse) Reset()
func (*GetFirmwareUpdateStatusResponse) String ¶
func (x *GetFirmwareUpdateStatusResponse) String() string
type GetPowershelvesResponse ¶
type GetPowershelvesResponse struct {
Powershelves []*PowerShelf `protobuf:"bytes,1,rep,name=powershelves,proto3" json:"powershelves,omitempty"`
// contains filtered or unexported fields
}
func (*GetPowershelvesResponse) Descriptor
deprecated
func (*GetPowershelvesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPowershelvesResponse.ProtoReflect.Descriptor instead.
func (*GetPowershelvesResponse) GetPowershelves ¶
func (x *GetPowershelvesResponse) GetPowershelves() []*PowerShelf
func (*GetPowershelvesResponse) ProtoMessage ¶
func (*GetPowershelvesResponse) ProtoMessage()
func (*GetPowershelvesResponse) ProtoReflect ¶
func (x *GetPowershelvesResponse) ProtoReflect() protoreflect.Message
func (*GetPowershelvesResponse) Reset ¶
func (x *GetPowershelvesResponse) Reset()
func (*GetPowershelvesResponse) String ¶
func (x *GetPowershelvesResponse) String() string
type ListAvailableFirmwareResponse ¶
type ListAvailableFirmwareResponse struct {
Upgrades []*AvailableFirmware `protobuf:"bytes,1,rep,name=upgrades,proto3" json:"upgrades,omitempty"`
// contains filtered or unexported fields
}
func (*ListAvailableFirmwareResponse) Descriptor
deprecated
func (*ListAvailableFirmwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableFirmwareResponse.ProtoReflect.Descriptor instead.
func (*ListAvailableFirmwareResponse) GetUpgrades ¶
func (x *ListAvailableFirmwareResponse) GetUpgrades() []*AvailableFirmware
func (*ListAvailableFirmwareResponse) ProtoMessage ¶
func (*ListAvailableFirmwareResponse) ProtoMessage()
func (*ListAvailableFirmwareResponse) ProtoReflect ¶
func (x *ListAvailableFirmwareResponse) ProtoReflect() protoreflect.Message
func (*ListAvailableFirmwareResponse) Reset ¶
func (x *ListAvailableFirmwareResponse) Reset()
func (*ListAvailableFirmwareResponse) String ¶
func (x *ListAvailableFirmwareResponse) String() string
type PMCVendor ¶
type PMCVendor int32
PMCVendor enumerates supported PMC vendors.
func (PMCVendor) Descriptor ¶
func (PMCVendor) Descriptor() protoreflect.EnumDescriptor
func (PMCVendor) EnumDescriptor
deprecated
func (PMCVendor) Number ¶
func (x PMCVendor) Number() protoreflect.EnumNumber
func (PMCVendor) Type ¶
func (PMCVendor) Type() protoreflect.EnumType
type PowerControlResponse ¶
type PowerControlResponse struct {
Responses []*PowershelfResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
// contains filtered or unexported fields
}
func (*PowerControlResponse) Descriptor
deprecated
func (*PowerControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use PowerControlResponse.ProtoReflect.Descriptor instead.
func (*PowerControlResponse) GetResponses ¶
func (x *PowerControlResponse) GetResponses() []*PowershelfResponse
func (*PowerControlResponse) ProtoMessage ¶
func (*PowerControlResponse) ProtoMessage()
func (*PowerControlResponse) ProtoReflect ¶
func (x *PowerControlResponse) ProtoReflect() protoreflect.Message
func (*PowerControlResponse) Reset ¶
func (x *PowerControlResponse) Reset()
func (*PowerControlResponse) String ¶
func (x *PowerControlResponse) String() string
type PowerManagementController ¶
type PowerManagementController struct {
MacAddress string `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
Vendor PMCVendor `protobuf:"varint,3,opt,name=vendor,proto3,enum=v1.PMCVendor" json:"vendor,omitempty"`
SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
Model string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
Manufacturer string `protobuf:"bytes,6,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
PartNumber string `protobuf:"bytes,7,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
FirmwareVersion string `protobuf:"bytes,8,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
HardwareVersion string `protobuf:"bytes,9,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
// contains filtered or unexported fields
}
PowerManagementController contains PMC identity and metadata (some fields enriched from Redfish Manager).
func (*PowerManagementController) Descriptor
deprecated
func (*PowerManagementController) Descriptor() ([]byte, []int)
Deprecated: Use PowerManagementController.ProtoReflect.Descriptor instead.
func (*PowerManagementController) GetFirmwareVersion ¶
func (x *PowerManagementController) GetFirmwareVersion() string
func (*PowerManagementController) GetHardwareVersion ¶
func (x *PowerManagementController) GetHardwareVersion() string
func (*PowerManagementController) GetIpAddress ¶
func (x *PowerManagementController) GetIpAddress() string
func (*PowerManagementController) GetMacAddress ¶
func (x *PowerManagementController) GetMacAddress() string
func (*PowerManagementController) GetManufacturer ¶
func (x *PowerManagementController) GetManufacturer() string
func (*PowerManagementController) GetModel ¶
func (x *PowerManagementController) GetModel() string
func (*PowerManagementController) GetPartNumber ¶
func (x *PowerManagementController) GetPartNumber() string
func (*PowerManagementController) GetSerialNumber ¶
func (x *PowerManagementController) GetSerialNumber() string
func (*PowerManagementController) GetVendor ¶
func (x *PowerManagementController) GetVendor() PMCVendor
func (*PowerManagementController) ProtoMessage ¶
func (*PowerManagementController) ProtoMessage()
func (*PowerManagementController) ProtoReflect ¶
func (x *PowerManagementController) ProtoReflect() protoreflect.Message
func (*PowerManagementController) Reset ¶
func (x *PowerManagementController) Reset()
func (*PowerManagementController) String ¶
func (x *PowerManagementController) String() string
type PowerShelf ¶
type PowerShelf struct {
Pmc *PowerManagementController `protobuf:"bytes,1,opt,name=pmc,proto3" json:"pmc,omitempty"`
Chassis *Chassis `protobuf:"bytes,2,opt,name=chassis,proto3" json:"chassis,omitempty"`
// TODO: system
Psus []*PowerSupplyUnit `protobuf:"bytes,3,rep,name=psus,proto3" json:"psus,omitempty"`
// contains filtered or unexported fields
}
func (*PowerShelf) Descriptor
deprecated
func (*PowerShelf) Descriptor() ([]byte, []int)
Deprecated: Use PowerShelf.ProtoReflect.Descriptor instead.
func (*PowerShelf) GetChassis ¶
func (x *PowerShelf) GetChassis() *Chassis
func (*PowerShelf) GetPmc ¶
func (x *PowerShelf) GetPmc() *PowerManagementController
func (*PowerShelf) GetPsus ¶
func (x *PowerShelf) GetPsus() []*PowerSupplyUnit
func (*PowerShelf) ProtoMessage ¶
func (*PowerShelf) ProtoMessage()
func (*PowerShelf) ProtoReflect ¶
func (x *PowerShelf) ProtoReflect() protoreflect.Message
func (*PowerShelf) Reset ¶
func (x *PowerShelf) Reset()
func (*PowerShelf) String ¶
func (x *PowerShelf) String() string
type PowerSupplyUnit ¶
type PowerSupplyUnit struct {
CapacityWatts string `protobuf:"bytes,1,opt,name=capacity_watts,json=capacityWatts,proto3" json:"capacity_watts,omitempty"`
FirmwareVersion string `protobuf:"bytes,2,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
HardwareVersion string `protobuf:"bytes,3,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
Manufacturer string `protobuf:"bytes,5,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
PowerState bool `protobuf:"varint,8,opt,name=power_state,json=powerState,proto3" json:"power_state,omitempty"`
Sensors []*Sensor `protobuf:"bytes,9,rep,name=sensors,proto3" json:"sensors,omitempty"`
SerialNumber string `protobuf:"bytes,10,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
// contains filtered or unexported fields
}
PowerSupplyUnit contains power supply hardware/firmware and sensor data.
func (*PowerSupplyUnit) Descriptor
deprecated
func (*PowerSupplyUnit) Descriptor() ([]byte, []int)
Deprecated: Use PowerSupplyUnit.ProtoReflect.Descriptor instead.
func (*PowerSupplyUnit) GetCapacityWatts ¶
func (x *PowerSupplyUnit) GetCapacityWatts() string
func (*PowerSupplyUnit) GetFirmwareVersion ¶
func (x *PowerSupplyUnit) GetFirmwareVersion() string
func (*PowerSupplyUnit) GetHardwareVersion ¶
func (x *PowerSupplyUnit) GetHardwareVersion() string
func (*PowerSupplyUnit) GetId ¶
func (x *PowerSupplyUnit) GetId() string
func (*PowerSupplyUnit) GetManufacturer ¶
func (x *PowerSupplyUnit) GetManufacturer() string
func (*PowerSupplyUnit) GetModel ¶
func (x *PowerSupplyUnit) GetModel() string
func (*PowerSupplyUnit) GetName ¶
func (x *PowerSupplyUnit) GetName() string
func (*PowerSupplyUnit) GetPowerState ¶
func (x *PowerSupplyUnit) GetPowerState() bool
func (*PowerSupplyUnit) GetSensors ¶
func (x *PowerSupplyUnit) GetSensors() []*Sensor
func (*PowerSupplyUnit) GetSerialNumber ¶
func (x *PowerSupplyUnit) GetSerialNumber() string
func (*PowerSupplyUnit) ProtoMessage ¶
func (*PowerSupplyUnit) ProtoMessage()
func (*PowerSupplyUnit) ProtoReflect ¶
func (x *PowerSupplyUnit) ProtoReflect() protoreflect.Message
func (*PowerSupplyUnit) Reset ¶
func (x *PowerSupplyUnit) Reset()
func (*PowerSupplyUnit) String ¶
func (x *PowerSupplyUnit) String() string
type PowershelfComponent ¶
type PowershelfComponent int32
const ( PowershelfComponent_PMC PowershelfComponent = 0 PowershelfComponent_PSU PowershelfComponent = 1 )
func (PowershelfComponent) Descriptor ¶
func (PowershelfComponent) Descriptor() protoreflect.EnumDescriptor
func (PowershelfComponent) Enum ¶
func (x PowershelfComponent) Enum() *PowershelfComponent
func (PowershelfComponent) EnumDescriptor
deprecated
func (PowershelfComponent) EnumDescriptor() ([]byte, []int)
Deprecated: Use PowershelfComponent.Descriptor instead.
func (PowershelfComponent) Number ¶
func (x PowershelfComponent) Number() protoreflect.EnumNumber
func (PowershelfComponent) String ¶
func (x PowershelfComponent) String() string
func (PowershelfComponent) Type ¶
func (PowershelfComponent) Type() protoreflect.EnumType
type PowershelfManagerClient ¶
type PowershelfManagerClient interface {
// Registration
// RegisterPowershelves registers the specified powershelves and persists their PMC credentials.
RegisterPowershelves(ctx context.Context, in *RegisterPowershelvesRequest, opts ...grpc.CallOption) (*RegisterPowershelvesResponse, error)
// Inventory Management
// GetPowershelves returns powershelf information for all the powershelves requested.
GetPowershelves(ctx context.Context, in *PowershelfRequest, opts ...grpc.CallOption) (*GetPowershelvesResponse, error)
// Firmware Management
// UpdateFirmware performs a firmware upgrade (supports dry-run).
UpdateFirmware(ctx context.Context, in *UpdateFirmwareRequest, opts ...grpc.CallOption) (*UpdateFirmwareResponse, error)
// GetFirmwareUpdateStatus returns the status of firmware updates for the specified PMC(s) and component(s).
GetFirmwareUpdateStatus(ctx context.Context, in *GetFirmwareUpdateStatusRequest, opts ...grpc.CallOption) (*GetFirmwareUpdateStatusResponse, error)
// ListAvailableFirmware lists the firmware versions that are available for a given powershelf.
ListAvailableFirmware(ctx context.Context, in *PowershelfRequest, opts ...grpc.CallOption) (*ListAvailableFirmwareResponse, error)
// SetDryRun configures whether the firmware manager is in Dry Run mode.
SetDryRun(ctx context.Context, in *SetDryRunRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Power Control
// Power OFF the rack
PowerOff(ctx context.Context, in *PowershelfRequest, opts ...grpc.CallOption) (*PowerControlResponse, error)
// Power ON the rack
PowerOn(ctx context.Context, in *PowershelfRequest, opts ...grpc.CallOption) (*PowerControlResponse, error)
}
PowershelfManagerClient is the client API for PowershelfManager 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.
PowershelfManager exposes registration, inventory, firmware management, and power control RPCs for power shelves via their PMCs.
func NewPowershelfManagerClient ¶
func NewPowershelfManagerClient(cc grpc.ClientConnInterface) PowershelfManagerClient
type PowershelfManagerServer ¶
type PowershelfManagerServer interface {
// Registration
// RegisterPowershelves registers the specified powershelves and persists their PMC credentials.
RegisterPowershelves(context.Context, *RegisterPowershelvesRequest) (*RegisterPowershelvesResponse, error)
// Inventory Management
// GetPowershelves returns powershelf information for all the powershelves requested.
GetPowershelves(context.Context, *PowershelfRequest) (*GetPowershelvesResponse, error)
// Firmware Management
// UpdateFirmware performs a firmware upgrade (supports dry-run).
UpdateFirmware(context.Context, *UpdateFirmwareRequest) (*UpdateFirmwareResponse, error)
// GetFirmwareUpdateStatus returns the status of firmware updates for the specified PMC(s) and component(s).
GetFirmwareUpdateStatus(context.Context, *GetFirmwareUpdateStatusRequest) (*GetFirmwareUpdateStatusResponse, error)
// ListAvailableFirmware lists the firmware versions that are available for a given powershelf.
ListAvailableFirmware(context.Context, *PowershelfRequest) (*ListAvailableFirmwareResponse, error)
// SetDryRun configures whether the firmware manager is in Dry Run mode.
SetDryRun(context.Context, *SetDryRunRequest) (*emptypb.Empty, error)
// Power Control
// Power OFF the rack
PowerOff(context.Context, *PowershelfRequest) (*PowerControlResponse, error)
// Power ON the rack
PowerOn(context.Context, *PowershelfRequest) (*PowerControlResponse, error)
}
PowershelfManagerServer is the server API for PowershelfManager service. All implementations should embed UnimplementedPowershelfManagerServer for forward compatibility.
PowershelfManager exposes registration, inventory, firmware management, and power control RPCs for power shelves via their PMCs.
type PowershelfRequest ¶
type PowershelfRequest struct {
PmcMacs []string `protobuf:"bytes,1,rep,name=pmc_macs,json=pmcMacs,proto3" json:"pmc_macs,omitempty"`
// contains filtered or unexported fields
}
func (*PowershelfRequest) Descriptor
deprecated
func (*PowershelfRequest) Descriptor() ([]byte, []int)
Deprecated: Use PowershelfRequest.ProtoReflect.Descriptor instead.
func (*PowershelfRequest) GetPmcMacs ¶
func (x *PowershelfRequest) GetPmcMacs() []string
func (*PowershelfRequest) ProtoMessage ¶
func (*PowershelfRequest) ProtoMessage()
func (*PowershelfRequest) ProtoReflect ¶
func (x *PowershelfRequest) ProtoReflect() protoreflect.Message
func (*PowershelfRequest) Reset ¶
func (x *PowershelfRequest) Reset()
func (*PowershelfRequest) String ¶
func (x *PowershelfRequest) String() string
type PowershelfResponse ¶
type PowershelfResponse struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
Status StatusCode `protobuf:"varint,2,opt,name=status,proto3,enum=v1.StatusCode" json:"status,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*PowershelfResponse) Descriptor
deprecated
func (*PowershelfResponse) Descriptor() ([]byte, []int)
Deprecated: Use PowershelfResponse.ProtoReflect.Descriptor instead.
func (*PowershelfResponse) GetError ¶
func (x *PowershelfResponse) GetError() string
func (*PowershelfResponse) GetPmcMacAddress ¶
func (x *PowershelfResponse) GetPmcMacAddress() string
func (*PowershelfResponse) GetStatus ¶
func (x *PowershelfResponse) GetStatus() StatusCode
func (*PowershelfResponse) ProtoMessage ¶
func (*PowershelfResponse) ProtoMessage()
func (*PowershelfResponse) ProtoReflect ¶
func (x *PowershelfResponse) ProtoReflect() protoreflect.Message
func (*PowershelfResponse) Reset ¶
func (x *PowershelfResponse) Reset()
func (*PowershelfResponse) String ¶
func (x *PowershelfResponse) String() string
type RegisterPowershelfRequest ¶
type RegisterPowershelfRequest struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
PmcIpAddress string `protobuf:"bytes,2,opt,name=pmc_ip_address,json=pmcIpAddress,proto3" json:"pmc_ip_address,omitempty"`
PmcVendor PMCVendor `protobuf:"varint,3,opt,name=pmc_vendor,json=pmcVendor,proto3,enum=v1.PMCVendor" json:"pmc_vendor,omitempty"`
PmcCredentials *Credentials `protobuf:"bytes,4,opt,name=pmc_credentials,json=pmcCredentials,proto3" json:"pmc_credentials,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterPowershelfRequest) Descriptor
deprecated
func (*RegisterPowershelfRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPowershelfRequest.ProtoReflect.Descriptor instead.
func (*RegisterPowershelfRequest) GetPmcCredentials ¶
func (x *RegisterPowershelfRequest) GetPmcCredentials() *Credentials
func (*RegisterPowershelfRequest) GetPmcIpAddress ¶
func (x *RegisterPowershelfRequest) GetPmcIpAddress() string
func (*RegisterPowershelfRequest) GetPmcMacAddress ¶
func (x *RegisterPowershelfRequest) GetPmcMacAddress() string
func (*RegisterPowershelfRequest) GetPmcVendor ¶
func (x *RegisterPowershelfRequest) GetPmcVendor() PMCVendor
func (*RegisterPowershelfRequest) ProtoMessage ¶
func (*RegisterPowershelfRequest) ProtoMessage()
func (*RegisterPowershelfRequest) ProtoReflect ¶
func (x *RegisterPowershelfRequest) ProtoReflect() protoreflect.Message
func (*RegisterPowershelfRequest) Reset ¶
func (x *RegisterPowershelfRequest) Reset()
func (*RegisterPowershelfRequest) String ¶
func (x *RegisterPowershelfRequest) String() string
type RegisterPowershelfResponse ¶
type RegisterPowershelfResponse struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
IsNew bool `protobuf:"varint,2,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"`
Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
Status StatusCode `protobuf:"varint,4,opt,name=status,proto3,enum=v1.StatusCode" json:"status,omitempty"`
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterPowershelfResponse) Descriptor
deprecated
func (*RegisterPowershelfResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPowershelfResponse.ProtoReflect.Descriptor instead.
func (*RegisterPowershelfResponse) GetCreated ¶
func (x *RegisterPowershelfResponse) GetCreated() *timestamppb.Timestamp
func (*RegisterPowershelfResponse) GetError ¶
func (x *RegisterPowershelfResponse) GetError() string
func (*RegisterPowershelfResponse) GetIsNew ¶
func (x *RegisterPowershelfResponse) GetIsNew() bool
func (*RegisterPowershelfResponse) GetPmcMacAddress ¶
func (x *RegisterPowershelfResponse) GetPmcMacAddress() string
func (*RegisterPowershelfResponse) GetStatus ¶
func (x *RegisterPowershelfResponse) GetStatus() StatusCode
func (*RegisterPowershelfResponse) ProtoMessage ¶
func (*RegisterPowershelfResponse) ProtoMessage()
func (*RegisterPowershelfResponse) ProtoReflect ¶
func (x *RegisterPowershelfResponse) ProtoReflect() protoreflect.Message
func (*RegisterPowershelfResponse) Reset ¶
func (x *RegisterPowershelfResponse) Reset()
func (*RegisterPowershelfResponse) String ¶
func (x *RegisterPowershelfResponse) String() string
type RegisterPowershelvesRequest ¶
type RegisterPowershelvesRequest struct {
RegistrationRequests []*RegisterPowershelfRequest `protobuf:"bytes,1,rep,name=registration_requests,json=registrationRequests,proto3" json:"registration_requests,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterPowershelvesRequest) Descriptor
deprecated
func (*RegisterPowershelvesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPowershelvesRequest.ProtoReflect.Descriptor instead.
func (*RegisterPowershelvesRequest) GetRegistrationRequests ¶
func (x *RegisterPowershelvesRequest) GetRegistrationRequests() []*RegisterPowershelfRequest
func (*RegisterPowershelvesRequest) ProtoMessage ¶
func (*RegisterPowershelvesRequest) ProtoMessage()
func (*RegisterPowershelvesRequest) ProtoReflect ¶
func (x *RegisterPowershelvesRequest) ProtoReflect() protoreflect.Message
func (*RegisterPowershelvesRequest) Reset ¶
func (x *RegisterPowershelvesRequest) Reset()
func (*RegisterPowershelvesRequest) String ¶
func (x *RegisterPowershelvesRequest) String() string
type RegisterPowershelvesResponse ¶
type RegisterPowershelvesResponse struct {
Responses []*RegisterPowershelfResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterPowershelvesResponse) Descriptor
deprecated
func (*RegisterPowershelvesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPowershelvesResponse.ProtoReflect.Descriptor instead.
func (*RegisterPowershelvesResponse) GetResponses ¶
func (x *RegisterPowershelvesResponse) GetResponses() []*RegisterPowershelfResponse
func (*RegisterPowershelvesResponse) ProtoMessage ¶
func (*RegisterPowershelvesResponse) ProtoMessage()
func (*RegisterPowershelvesResponse) ProtoReflect ¶
func (x *RegisterPowershelvesResponse) ProtoReflect() protoreflect.Message
func (*RegisterPowershelvesResponse) Reset ¶
func (x *RegisterPowershelvesResponse) Reset()
func (*RegisterPowershelvesResponse) String ¶
func (x *RegisterPowershelvesResponse) String() string
type Sensor ¶
type Sensor struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Reading float32 `protobuf:"fixed32,3,opt,name=reading,proto3" json:"reading,omitempty"`
ReadingRangeMax float64 `protobuf:"fixed64,4,opt,name=reading_range_max,json=readingRangeMax,proto3" json:"reading_range_max,omitempty"`
ReadingRangeMin float32 `protobuf:"fixed32,5,opt,name=reading_range_min,json=readingRangeMin,proto3" json:"reading_range_min,omitempty"`
ReadingType string `protobuf:"bytes,6,opt,name=reading_type,json=readingType,proto3" json:"reading_type,omitempty"`
ReadingUnits string `protobuf:"bytes,7,opt,name=reading_units,json=readingUnits,proto3" json:"reading_units,omitempty"`
Thresholds *SensorThresholds `protobuf:"bytes,8,opt,name=thresholds,proto3" json:"thresholds,omitempty"`
// contains filtered or unexported fields
}
Sensor captures a single sensor reading, thresholds, and units.
func (*Sensor) Descriptor
deprecated
func (*Sensor) GetReading ¶
func (*Sensor) GetReadingRangeMax ¶
func (*Sensor) GetReadingRangeMin ¶
func (*Sensor) GetReadingType ¶
func (*Sensor) GetReadingUnits ¶
func (*Sensor) GetThresholds ¶
func (x *Sensor) GetThresholds() *SensorThresholds
func (*Sensor) ProtoMessage ¶
func (*Sensor) ProtoMessage()
func (*Sensor) ProtoReflect ¶
func (x *Sensor) ProtoReflect() protoreflect.Message
type SensorThreshold ¶
type SensorThreshold struct {
Reading float32 `protobuf:"fixed32,1,opt,name=reading,proto3" json:"reading,omitempty"`
// contains filtered or unexported fields
}
func (*SensorThreshold) Descriptor
deprecated
func (*SensorThreshold) Descriptor() ([]byte, []int)
Deprecated: Use SensorThreshold.ProtoReflect.Descriptor instead.
func (*SensorThreshold) GetReading ¶
func (x *SensorThreshold) GetReading() float32
func (*SensorThreshold) ProtoMessage ¶
func (*SensorThreshold) ProtoMessage()
func (*SensorThreshold) ProtoReflect ¶
func (x *SensorThreshold) ProtoReflect() protoreflect.Message
func (*SensorThreshold) Reset ¶
func (x *SensorThreshold) Reset()
func (*SensorThreshold) String ¶
func (x *SensorThreshold) String() string
type SensorThresholds ¶
type SensorThresholds struct {
LowerCaution *SensorThreshold `protobuf:"bytes,1,opt,name=lower_caution,json=lowerCaution,proto3" json:"lower_caution,omitempty"`
LowerCritical *SensorThreshold `protobuf:"bytes,2,opt,name=lower_critical,json=lowerCritical,proto3" json:"lower_critical,omitempty"`
UpperCaution *SensorThreshold `protobuf:"bytes,3,opt,name=upper_caution,json=upperCaution,proto3" json:"upper_caution,omitempty"`
UpperCritical *SensorThreshold `protobuf:"bytes,4,opt,name=upper_critical,json=upperCritical,proto3" json:"upper_critical,omitempty"`
// contains filtered or unexported fields
}
func (*SensorThresholds) Descriptor
deprecated
func (*SensorThresholds) Descriptor() ([]byte, []int)
Deprecated: Use SensorThresholds.ProtoReflect.Descriptor instead.
func (*SensorThresholds) GetLowerCaution ¶
func (x *SensorThresholds) GetLowerCaution() *SensorThreshold
func (*SensorThresholds) GetLowerCritical ¶
func (x *SensorThresholds) GetLowerCritical() *SensorThreshold
func (*SensorThresholds) GetUpperCaution ¶
func (x *SensorThresholds) GetUpperCaution() *SensorThreshold
func (*SensorThresholds) GetUpperCritical ¶
func (x *SensorThresholds) GetUpperCritical() *SensorThreshold
func (*SensorThresholds) ProtoMessage ¶
func (*SensorThresholds) ProtoMessage()
func (*SensorThresholds) ProtoReflect ¶
func (x *SensorThresholds) ProtoReflect() protoreflect.Message
func (*SensorThresholds) Reset ¶
func (x *SensorThresholds) Reset()
func (*SensorThresholds) String ¶
func (x *SensorThresholds) String() string
type SetDryRunRequest ¶
type SetDryRunRequest struct {
DryRun bool `protobuf:"varint,1,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// contains filtered or unexported fields
}
func (*SetDryRunRequest) Descriptor
deprecated
func (*SetDryRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDryRunRequest.ProtoReflect.Descriptor instead.
func (*SetDryRunRequest) GetDryRun ¶
func (x *SetDryRunRequest) GetDryRun() bool
func (*SetDryRunRequest) ProtoMessage ¶
func (*SetDryRunRequest) ProtoMessage()
func (*SetDryRunRequest) ProtoReflect ¶
func (x *SetDryRunRequest) ProtoReflect() protoreflect.Message
func (*SetDryRunRequest) Reset ¶
func (x *SetDryRunRequest) Reset()
func (*SetDryRunRequest) String ¶
func (x *SetDryRunRequest) String() string
type StatusCode ¶
type StatusCode int32
const ( StatusCode_SUCCESS StatusCode = 0 StatusCode_INVALID_ARGUMENT StatusCode = 1 StatusCode_INTERNAL_ERROR StatusCode = 2 )
func (StatusCode) Descriptor ¶
func (StatusCode) Descriptor() protoreflect.EnumDescriptor
func (StatusCode) Enum ¶
func (x StatusCode) Enum() *StatusCode
func (StatusCode) EnumDescriptor
deprecated
func (StatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusCode.Descriptor instead.
func (StatusCode) Number ¶
func (x StatusCode) Number() protoreflect.EnumNumber
func (StatusCode) String ¶
func (x StatusCode) String() string
func (StatusCode) Type ¶
func (StatusCode) Type() protoreflect.EnumType
type UnimplementedPowershelfManagerServer ¶
type UnimplementedPowershelfManagerServer struct{}
UnimplementedPowershelfManagerServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPowershelfManagerServer) GetFirmwareUpdateStatus ¶
func (UnimplementedPowershelfManagerServer) GetFirmwareUpdateStatus(context.Context, *GetFirmwareUpdateStatusRequest) (*GetFirmwareUpdateStatusResponse, error)
func (UnimplementedPowershelfManagerServer) GetPowershelves ¶
func (UnimplementedPowershelfManagerServer) GetPowershelves(context.Context, *PowershelfRequest) (*GetPowershelvesResponse, error)
func (UnimplementedPowershelfManagerServer) ListAvailableFirmware ¶
func (UnimplementedPowershelfManagerServer) ListAvailableFirmware(context.Context, *PowershelfRequest) (*ListAvailableFirmwareResponse, error)
func (UnimplementedPowershelfManagerServer) PowerOff ¶
func (UnimplementedPowershelfManagerServer) PowerOff(context.Context, *PowershelfRequest) (*PowerControlResponse, error)
func (UnimplementedPowershelfManagerServer) PowerOn ¶
func (UnimplementedPowershelfManagerServer) PowerOn(context.Context, *PowershelfRequest) (*PowerControlResponse, error)
func (UnimplementedPowershelfManagerServer) RegisterPowershelves ¶
func (UnimplementedPowershelfManagerServer) RegisterPowershelves(context.Context, *RegisterPowershelvesRequest) (*RegisterPowershelvesResponse, error)
func (UnimplementedPowershelfManagerServer) SetDryRun ¶
func (UnimplementedPowershelfManagerServer) SetDryRun(context.Context, *SetDryRunRequest) (*emptypb.Empty, error)
func (UnimplementedPowershelfManagerServer) UpdateFirmware ¶
func (UnimplementedPowershelfManagerServer) UpdateFirmware(context.Context, *UpdateFirmwareRequest) (*UpdateFirmwareResponse, error)
type UnsafePowershelfManagerServer ¶
type UnsafePowershelfManagerServer interface {
// contains filtered or unexported methods
}
UnsafePowershelfManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PowershelfManagerServer will result in compilation errors.
type UpdateComponentFirmwareRequest ¶
type UpdateComponentFirmwareRequest struct {
Component PowershelfComponent `protobuf:"varint,1,opt,name=component,proto3,enum=v1.PowershelfComponent" json:"component,omitempty"`
UpgradeTo *FirmwareVersion `protobuf:"bytes,2,opt,name=upgradeTo,proto3" json:"upgradeTo,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateComponentFirmwareRequest) Descriptor
deprecated
func (*UpdateComponentFirmwareRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateComponentFirmwareRequest.ProtoReflect.Descriptor instead.
func (*UpdateComponentFirmwareRequest) GetComponent ¶
func (x *UpdateComponentFirmwareRequest) GetComponent() PowershelfComponent
func (*UpdateComponentFirmwareRequest) GetUpgradeTo ¶
func (x *UpdateComponentFirmwareRequest) GetUpgradeTo() *FirmwareVersion
func (*UpdateComponentFirmwareRequest) ProtoMessage ¶
func (*UpdateComponentFirmwareRequest) ProtoMessage()
func (*UpdateComponentFirmwareRequest) ProtoReflect ¶
func (x *UpdateComponentFirmwareRequest) ProtoReflect() protoreflect.Message
func (*UpdateComponentFirmwareRequest) Reset ¶
func (x *UpdateComponentFirmwareRequest) Reset()
func (*UpdateComponentFirmwareRequest) String ¶
func (x *UpdateComponentFirmwareRequest) String() string
type UpdateComponentFirmwareResponse ¶
type UpdateComponentFirmwareResponse struct {
Component PowershelfComponent `protobuf:"varint,1,opt,name=component,proto3,enum=v1.PowershelfComponent" json:"component,omitempty"`
Status StatusCode `protobuf:"varint,2,opt,name=status,proto3,enum=v1.StatusCode" json:"status,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateComponentFirmwareResponse) Descriptor
deprecated
func (*UpdateComponentFirmwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateComponentFirmwareResponse.ProtoReflect.Descriptor instead.
func (*UpdateComponentFirmwareResponse) GetComponent ¶
func (x *UpdateComponentFirmwareResponse) GetComponent() PowershelfComponent
func (*UpdateComponentFirmwareResponse) GetError ¶
func (x *UpdateComponentFirmwareResponse) GetError() string
func (*UpdateComponentFirmwareResponse) GetStatus ¶
func (x *UpdateComponentFirmwareResponse) GetStatus() StatusCode
func (*UpdateComponentFirmwareResponse) ProtoMessage ¶
func (*UpdateComponentFirmwareResponse) ProtoMessage()
func (*UpdateComponentFirmwareResponse) ProtoReflect ¶
func (x *UpdateComponentFirmwareResponse) ProtoReflect() protoreflect.Message
func (*UpdateComponentFirmwareResponse) Reset ¶
func (x *UpdateComponentFirmwareResponse) Reset()
func (*UpdateComponentFirmwareResponse) String ¶
func (x *UpdateComponentFirmwareResponse) String() string
type UpdateFirmwareRequest ¶
type UpdateFirmwareRequest struct {
Upgrades []*UpdatePowershelfFirmwareRequest `protobuf:"bytes,1,rep,name=upgrades,proto3" json:"upgrades,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateFirmwareRequest) Descriptor
deprecated
func (*UpdateFirmwareRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFirmwareRequest.ProtoReflect.Descriptor instead.
func (*UpdateFirmwareRequest) GetUpgrades ¶
func (x *UpdateFirmwareRequest) GetUpgrades() []*UpdatePowershelfFirmwareRequest
func (*UpdateFirmwareRequest) ProtoMessage ¶
func (*UpdateFirmwareRequest) ProtoMessage()
func (*UpdateFirmwareRequest) ProtoReflect ¶
func (x *UpdateFirmwareRequest) ProtoReflect() protoreflect.Message
func (*UpdateFirmwareRequest) Reset ¶
func (x *UpdateFirmwareRequest) Reset()
func (*UpdateFirmwareRequest) String ¶
func (x *UpdateFirmwareRequest) String() string
type UpdateFirmwareResponse ¶
type UpdateFirmwareResponse struct {
Responses []*UpdatePowershelfFirmwareResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateFirmwareResponse) Descriptor
deprecated
func (*UpdateFirmwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFirmwareResponse.ProtoReflect.Descriptor instead.
func (*UpdateFirmwareResponse) GetResponses ¶
func (x *UpdateFirmwareResponse) GetResponses() []*UpdatePowershelfFirmwareResponse
func (*UpdateFirmwareResponse) ProtoMessage ¶
func (*UpdateFirmwareResponse) ProtoMessage()
func (*UpdateFirmwareResponse) ProtoReflect ¶
func (x *UpdateFirmwareResponse) ProtoReflect() protoreflect.Message
func (*UpdateFirmwareResponse) Reset ¶
func (x *UpdateFirmwareResponse) Reset()
func (*UpdateFirmwareResponse) String ¶
func (x *UpdateFirmwareResponse) String() string
type UpdatePowershelfFirmwareRequest ¶
type UpdatePowershelfFirmwareRequest struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
Components []*UpdateComponentFirmwareRequest `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePowershelfFirmwareRequest) Descriptor
deprecated
func (*UpdatePowershelfFirmwareRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePowershelfFirmwareRequest.ProtoReflect.Descriptor instead.
func (*UpdatePowershelfFirmwareRequest) GetComponents ¶
func (x *UpdatePowershelfFirmwareRequest) GetComponents() []*UpdateComponentFirmwareRequest
func (*UpdatePowershelfFirmwareRequest) GetPmcMacAddress ¶
func (x *UpdatePowershelfFirmwareRequest) GetPmcMacAddress() string
func (*UpdatePowershelfFirmwareRequest) ProtoMessage ¶
func (*UpdatePowershelfFirmwareRequest) ProtoMessage()
func (*UpdatePowershelfFirmwareRequest) ProtoReflect ¶
func (x *UpdatePowershelfFirmwareRequest) ProtoReflect() protoreflect.Message
func (*UpdatePowershelfFirmwareRequest) Reset ¶
func (x *UpdatePowershelfFirmwareRequest) Reset()
func (*UpdatePowershelfFirmwareRequest) String ¶
func (x *UpdatePowershelfFirmwareRequest) String() string
type UpdatePowershelfFirmwareResponse ¶
type UpdatePowershelfFirmwareResponse struct {
PmcMacAddress string `protobuf:"bytes,1,opt,name=pmc_mac_address,json=pmcMacAddress,proto3" json:"pmc_mac_address,omitempty"`
Components []*UpdateComponentFirmwareResponse `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePowershelfFirmwareResponse) Descriptor
deprecated
func (*UpdatePowershelfFirmwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePowershelfFirmwareResponse.ProtoReflect.Descriptor instead.
func (*UpdatePowershelfFirmwareResponse) GetComponents ¶
func (x *UpdatePowershelfFirmwareResponse) GetComponents() []*UpdateComponentFirmwareResponse
func (*UpdatePowershelfFirmwareResponse) GetPmcMacAddress ¶
func (x *UpdatePowershelfFirmwareResponse) GetPmcMacAddress() string
func (*UpdatePowershelfFirmwareResponse) ProtoMessage ¶
func (*UpdatePowershelfFirmwareResponse) ProtoMessage()
func (*UpdatePowershelfFirmwareResponse) ProtoReflect ¶
func (x *UpdatePowershelfFirmwareResponse) ProtoReflect() protoreflect.Message
func (*UpdatePowershelfFirmwareResponse) Reset ¶
func (x *UpdatePowershelfFirmwareResponse) Reset()
func (*UpdatePowershelfFirmwareResponse) String ¶
func (x *UpdatePowershelfFirmwareResponse) String() string