Documentation
¶
Index ¶
- Variables
- func ForgeTest(secs int)
- func RlaTest(secs int)
- type ForgeServerImpl
- func (f *ForgeServerImpl) AddExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachine) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) AddExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelf) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) AddExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitch) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) AllocateInstance(ctx context.Context, req *cwssaws.InstanceAllocationRequest) (*cwssaws.Instance, error)
- func (f *ForgeServerImpl) CreateExpectedMachines(ctx context.Context, req *cwssaws.BatchExpectedMachineOperationRequest) (*cwssaws.BatchExpectedMachineOperationResponse, error)
- func (f *ForgeServerImpl) CreateIBPartition(c context.Context, req *cwssaws.IBPartitionCreationRequest) (*cwssaws.IBPartition, error)
- func (f *ForgeServerImpl) CreateNetworkSegment(c context.Context, req *cwssaws.NetworkSegmentCreationRequest) (*cwssaws.NetworkSegment, error)
- func (f *ForgeServerImpl) CreateTenantKeyset(c context.Context, req *cwssaws.CreateTenantKeysetRequest) (*cwssaws.CreateTenantKeysetResponse, error)
- func (f *ForgeServerImpl) CreateVpc(c context.Context, req *cwssaws.VpcCreationRequest) (*cwssaws.Vpc, error)
- func (f *ForgeServerImpl) DeleteExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachineRequest) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) DeleteExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelfRequest) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) DeleteExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitchRequest) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) DeleteIBPartition(c context.Context, req *cwssaws.IBPartitionDeletionRequest) (*cwssaws.IBPartitionDeletionResult, error)
- func (f *ForgeServerImpl) DeleteNetworkSegment(c context.Context, req *cwssaws.NetworkSegmentDeletionRequest) (*cwssaws.NetworkSegmentDeletionResult, error)
- func (f *ForgeServerImpl) DeleteTenantKeyset(c context.Context, req *cwssaws.DeleteTenantKeysetRequest) (*cwssaws.DeleteTenantKeysetResponse, error)
- func (f *ForgeServerImpl) DeleteVpc(c context.Context, req *cwssaws.VpcDeletionRequest) (*cwssaws.VpcDeletionResult, error)
- func (f *ForgeServerImpl) FindIBPartitionIds(ctx context.Context, req *cwssaws.IBPartitionSearchFilter) (*cwssaws.IBPartitionIdList, error)
- func (f *ForgeServerImpl) FindIBPartitions(c context.Context, req *cwssaws.IBPartitionQuery) (*cwssaws.IBPartitionList, error)
- func (f *ForgeServerImpl) FindIBPartitionsByIds(ctx context.Context, req *cwssaws.IBPartitionsByIdsRequest) (*cwssaws.IBPartitionList, error)
- func (f *ForgeServerImpl) FindInstanceIds(ctx context.Context, req *cwssaws.InstanceSearchFilter) (*cwssaws.InstanceIdList, error)
- func (f *ForgeServerImpl) FindInstances(c context.Context, req *cwssaws.InstanceSearchQuery) (*cwssaws.InstanceList, error)
- func (f *ForgeServerImpl) FindInstancesByIds(ctx context.Context, req *cwssaws.InstancesByIdsRequest) (*cwssaws.InstanceList, error)
- func (f *ForgeServerImpl) FindMachines(context.Context, *cwssaws.MachineSearchQuery) (*cwssaws.MachineList, error)
- func (f *ForgeServerImpl) FindNetworkSegmentIds(ctx context.Context, req *cwssaws.NetworkSegmentSearchFilter) (*cwssaws.NetworkSegmentIdList, error)
- func (f *ForgeServerImpl) FindNetworkSegments(c context.Context, req *cwssaws.NetworkSegmentQuery) (*cwssaws.NetworkSegmentList, error)
- func (f *ForgeServerImpl) FindNetworkSegmentsByIds(ctx context.Context, req *cwssaws.NetworkSegmentsByIdsRequest) (*cwssaws.NetworkSegmentList, error)
- func (f *ForgeServerImpl) FindTenantKeyset(c context.Context, req *cwssaws.FindTenantKeysetRequest) (*cwssaws.TenantKeySetList, error)
- func (f *ForgeServerImpl) FindTenantKeysetIds(ctx context.Context, req *cwssaws.TenantKeysetSearchFilter) (*cwssaws.TenantKeysetIdList, error)
- func (f *ForgeServerImpl) FindTenantKeysetsByIds(ctx context.Context, req *cwssaws.TenantKeysetsByIdsRequest) (*cwssaws.TenantKeySetList, error)
- func (f *ForgeServerImpl) FindVpcIds(ctx context.Context, req *cwssaws.VpcSearchFilter) (*cwssaws.VpcIdList, error)
- func (f *ForgeServerImpl) FindVpcs(c context.Context, req *cwssaws.VpcSearchQuery) (*cwssaws.VpcList, error)
- func (f *ForgeServerImpl) FindVpcsByIds(ctx context.Context, req *cwssaws.VpcsByIdsRequest) (*cwssaws.VpcList, error)
- func (f *ForgeServerImpl) GetAllExpectedPowerShelves(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedPowerShelfList, error)
- func (f *ForgeServerImpl) GetAllExpectedSwitches(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedSwitchList, error)
- func (f *ForgeServerImpl) GetExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelfRequest) (*cwssaws.ExpectedPowerShelf, error)
- func (f *ForgeServerImpl) GetExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitchRequest) (*cwssaws.ExpectedSwitch, error)
- func (f *ForgeServerImpl) InvokeInstancePower(c context.Context, req *cwssaws.InstancePowerRequest) (*cwssaws.InstancePowerResult, error)
- func (f *ForgeServerImpl) ReleaseInstance(c context.Context, req *cwssaws.InstanceReleaseRequest) (*cwssaws.InstanceReleaseResult, error)
- func (f *ForgeServerImpl) SetMaintenance(context.Context, *cwssaws.MaintenanceRequest) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) UpdateExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachine) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) UpdateExpectedMachines(ctx context.Context, req *cwssaws.BatchExpectedMachineOperationRequest) (*cwssaws.BatchExpectedMachineOperationResponse, error)
- func (f *ForgeServerImpl) UpdateExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelf) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) UpdateExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitch) (*emptypb.Empty, error)
- func (f *ForgeServerImpl) UpdateTenantKeyset(c context.Context, req *cwssaws.UpdateTenantKeysetRequest) (*cwssaws.UpdateTenantKeysetResponse, error)
- func (f *ForgeServerImpl) UpdateVpc(c context.Context, req *cwssaws.VpcUpdateRequest) (*cwssaws.VpcUpdateResult, error)
- func (f *ForgeServerImpl) Version(ctx context.Context, req *cwssaws.VersionRequest) (*cwssaws.BuildInfo, error)
- type RlaServerImpl
- func (r *RlaServerImpl) AttachRacksToNVLDomain(ctx context.Context, req *rlav1.AttachRacksToNVLDomainRequest) (*emptypb.Empty, error)
- func (r *RlaServerImpl) BringUpRack(ctx context.Context, req *rlav1.BringUpRackRequest) (*rlav1.SubmitTaskResponse, error)
- func (r *RlaServerImpl) CreateExpectedRack(ctx context.Context, req *rlav1.CreateExpectedRackRequest) (*rlav1.CreateExpectedRackResponse, error)
- func (r *RlaServerImpl) CreateNVLDomain(ctx context.Context, req *rlav1.CreateNVLDomainRequest) (*rlav1.CreateNVLDomainResponse, error)
- func (r *RlaServerImpl) DetachRacksFromNVLDomain(ctx context.Context, req *rlav1.DetachRacksFromNVLDomainRequest) (*emptypb.Empty, error)
- func (r *RlaServerImpl) GetComponentInfoByID(ctx context.Context, req *rlav1.GetComponentInfoByIDRequest) (*rlav1.GetComponentInfoResponse, error)
- func (r *RlaServerImpl) GetComponentInfoBySerial(ctx context.Context, req *rlav1.GetComponentInfoBySerialRequest) (*rlav1.GetComponentInfoResponse, error)
- func (r *RlaServerImpl) GetComponents(ctx context.Context, req *rlav1.GetComponentsRequest) (*rlav1.GetComponentsResponse, error)
- func (r *RlaServerImpl) GetListOfNVLDomains(ctx context.Context, req *rlav1.GetListOfNVLDomainsRequest) (*rlav1.GetListOfNVLDomainsResponse, error)
- func (r *RlaServerImpl) GetListOfRacks(ctx context.Context, req *rlav1.GetListOfRacksRequest) (*rlav1.GetListOfRacksResponse, error)
- func (r *RlaServerImpl) GetRackInfoByID(ctx context.Context, req *rlav1.GetRackInfoByIDRequest) (*rlav1.GetRackInfoResponse, error)
- func (r *RlaServerImpl) GetRackInfoBySerial(ctx context.Context, req *rlav1.GetRackInfoBySerialRequest) (*rlav1.GetRackInfoResponse, error)
- func (r *RlaServerImpl) GetRacksForNVLDomain(ctx context.Context, req *rlav1.GetRacksForNVLDomainRequest) (*rlav1.GetRacksForNVLDomainResponse, error)
- func (r *RlaServerImpl) GetTasksByIDs(ctx context.Context, req *rlav1.GetTasksByIDsRequest) (*rlav1.GetTasksByIDsResponse, error)
- func (r *RlaServerImpl) ListTasks(ctx context.Context, req *rlav1.ListTasksRequest) (*rlav1.ListTasksResponse, error)
- func (r *RlaServerImpl) PatchRack(ctx context.Context, req *rlav1.PatchRackRequest) (*rlav1.PatchRackResponse, error)
- func (r *RlaServerImpl) PowerOffRack(ctx context.Context, req *rlav1.PowerOffRackRequest) (*rlav1.SubmitTaskResponse, error)
- func (r *RlaServerImpl) PowerOnRack(ctx context.Context, req *rlav1.PowerOnRackRequest) (*rlav1.SubmitTaskResponse, error)
- func (r *RlaServerImpl) PowerResetRack(ctx context.Context, req *rlav1.PowerResetRackRequest) (*rlav1.SubmitTaskResponse, error)
- func (r *RlaServerImpl) UpgradeFirmware(ctx context.Context, req *rlav1.UpgradeFirmwareRequest) (*rlav1.SubmitTaskResponse, error)
- func (r *RlaServerImpl) ValidateComponents(ctx context.Context, req *rlav1.ValidateComponentsRequest) (*rlav1.ValidateComponentsResponse, error)
- func (r *RlaServerImpl) Version(ctx context.Context, req *rlav1.VersionRequest) (*rlav1.BuildInfo, error)
Constants ¶
This section is empty.
Variables ¶
var ( // DefaultPort is the default port that the server listens at DefaultPort = ":11079" // DefaultVpcId is the default VPC ID for testing DefaultVpcId = "00000000-0000-4000-8000-000000000000" // DefaultNetworkSegmentId is the default NetworkSegment ID for testing DefaultNetworkSegmentId = "00000000-0000-4000-9000-000000000000" // DefaultTenantKeysetId is the default TenantKeyset ID for testing DefaultTenantKeysetId = "00000000-0000-4000-a000-000000000000" // DefaultIBParitionId is the default IBPartition ID for testing DefaultIBParitionId = "00000000-0000-4000-b000-000000000000" )
var (
// RlaDefaultPort is the default port that the RLA server listens at
RlaDefaultPort = ":11080"
)
Functions ¶
Types ¶
type ForgeServerImpl ¶
type ForgeServerImpl struct {
cwssaws.UnimplementedForgeServer
// contains filtered or unexported fields
}
ForgeServerImpl implements interface ForgeServer
func (*ForgeServerImpl) AddExpectedMachine ¶
func (f *ForgeServerImpl) AddExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachine) (*emptypb.Empty, error)
AddExpectedMachine implements interface ForgeServer
func (*ForgeServerImpl) AddExpectedPowerShelf ¶
func (f *ForgeServerImpl) AddExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelf) (*emptypb.Empty, error)
AddExpectedPowerShelf implements interface ForgeServer
func (*ForgeServerImpl) AddExpectedSwitch ¶
func (f *ForgeServerImpl) AddExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitch) (*emptypb.Empty, error)
AddExpectedSwitch implements interface ForgeServer
func (*ForgeServerImpl) AllocateInstance ¶
func (f *ForgeServerImpl) AllocateInstance(ctx context.Context, req *cwssaws.InstanceAllocationRequest) (*cwssaws.Instance, error)
CreateInstance implements interface ForgeServer
func (*ForgeServerImpl) CreateExpectedMachines ¶
func (f *ForgeServerImpl) CreateExpectedMachines(ctx context.Context, req *cwssaws.BatchExpectedMachineOperationRequest) (*cwssaws.BatchExpectedMachineOperationResponse, error)
CreateExpectedMachines implements interface ForgeServer
func (*ForgeServerImpl) CreateIBPartition ¶
func (f *ForgeServerImpl) CreateIBPartition(c context.Context, req *cwssaws.IBPartitionCreationRequest) (*cwssaws.IBPartition, error)
UpdateIBPartition implements interface ForgeServer
func (*ForgeServerImpl) CreateNetworkSegment ¶
func (f *ForgeServerImpl) CreateNetworkSegment(c context.Context, req *cwssaws.NetworkSegmentCreationRequest) (*cwssaws.NetworkSegment, error)
CreateNetworkSegment implements interface ForgeServer
func (*ForgeServerImpl) CreateTenantKeyset ¶
func (f *ForgeServerImpl) CreateTenantKeyset(c context.Context, req *cwssaws.CreateTenantKeysetRequest) (*cwssaws.CreateTenantKeysetResponse, error)
CreateTenantKeyset implements interface ForgeServer
func (*ForgeServerImpl) CreateVpc ¶
func (f *ForgeServerImpl) CreateVpc(c context.Context, req *cwssaws.VpcCreationRequest) (*cwssaws.Vpc, error)
CreateVpc implements interface ForgeServer
func (*ForgeServerImpl) DeleteExpectedMachine ¶
func (f *ForgeServerImpl) DeleteExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachineRequest) (*emptypb.Empty, error)
DeleteExpectedMachine implements interface ForgeServer
func (*ForgeServerImpl) DeleteExpectedPowerShelf ¶
func (f *ForgeServerImpl) DeleteExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelfRequest) (*emptypb.Empty, error)
DeleteExpectedPowerShelf implements interface ForgeServer
func (*ForgeServerImpl) DeleteExpectedSwitch ¶
func (f *ForgeServerImpl) DeleteExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitchRequest) (*emptypb.Empty, error)
DeleteExpectedSwitch implements interface ForgeServer
func (*ForgeServerImpl) DeleteIBPartition ¶
func (f *ForgeServerImpl) DeleteIBPartition(c context.Context, req *cwssaws.IBPartitionDeletionRequest) (*cwssaws.IBPartitionDeletionResult, error)
DeleteIBPartition implements interface ForgeServer
func (*ForgeServerImpl) DeleteNetworkSegment ¶
func (f *ForgeServerImpl) DeleteNetworkSegment(c context.Context, req *cwssaws.NetworkSegmentDeletionRequest) (*cwssaws.NetworkSegmentDeletionResult, error)
DeleteNetworkSegment implements interface ForgeServer
func (*ForgeServerImpl) DeleteTenantKeyset ¶
func (f *ForgeServerImpl) DeleteTenantKeyset(c context.Context, req *cwssaws.DeleteTenantKeysetRequest) (*cwssaws.DeleteTenantKeysetResponse, error)
DeleteTenantKeyset implements interface ForgeServer
func (*ForgeServerImpl) DeleteVpc ¶
func (f *ForgeServerImpl) DeleteVpc(c context.Context, req *cwssaws.VpcDeletionRequest) (*cwssaws.VpcDeletionResult, error)
DeleteVpc implements interface ForgeServer
func (*ForgeServerImpl) FindIBPartitionIds ¶
func (f *ForgeServerImpl) FindIBPartitionIds(ctx context.Context, req *cwssaws.IBPartitionSearchFilter) (*cwssaws.IBPartitionIdList, error)
FindIBPartitionIds implements interface ForgeServer
func (*ForgeServerImpl) FindIBPartitions ¶
func (f *ForgeServerImpl) FindIBPartitions(c context.Context, req *cwssaws.IBPartitionQuery) (*cwssaws.IBPartitionList, error)
CreateIBPartition implements interface ForgeServer
func (*ForgeServerImpl) FindIBPartitionsByIds ¶
func (f *ForgeServerImpl) FindIBPartitionsByIds(ctx context.Context, req *cwssaws.IBPartitionsByIdsRequest) (*cwssaws.IBPartitionList, error)
FindIBPartitionsByIds implements interface ForgeServer
func (*ForgeServerImpl) FindInstanceIds ¶
func (f *ForgeServerImpl) FindInstanceIds(ctx context.Context, req *cwssaws.InstanceSearchFilter) (*cwssaws.InstanceIdList, error)
FindInstances implements interface ForgeServer
func (*ForgeServerImpl) FindInstances ¶
func (f *ForgeServerImpl) FindInstances(c context.Context, req *cwssaws.InstanceSearchQuery) (*cwssaws.InstanceList, error)
FindInstances implements interface ForgeServer
func (*ForgeServerImpl) FindInstancesByIds ¶
func (f *ForgeServerImpl) FindInstancesByIds(ctx context.Context, req *cwssaws.InstancesByIdsRequest) (*cwssaws.InstanceList, error)
FindInstances implements interface ForgeServer
func (*ForgeServerImpl) FindMachines ¶
func (f *ForgeServerImpl) FindMachines(context.Context, *cwssaws.MachineSearchQuery) (*cwssaws.MachineList, error)
FindMachines implements interface ForgeServer
func (*ForgeServerImpl) FindNetworkSegmentIds ¶
func (f *ForgeServerImpl) FindNetworkSegmentIds(ctx context.Context, req *cwssaws.NetworkSegmentSearchFilter) (*cwssaws.NetworkSegmentIdList, error)
FindNetworkSegmentIds implements interface ForgeServer
func (*ForgeServerImpl) FindNetworkSegments ¶
func (f *ForgeServerImpl) FindNetworkSegments(c context.Context, req *cwssaws.NetworkSegmentQuery) (*cwssaws.NetworkSegmentList, error)
FindNetworkSegments implements interface ForgeServer
func (*ForgeServerImpl) FindNetworkSegmentsByIds ¶
func (f *ForgeServerImpl) FindNetworkSegmentsByIds(ctx context.Context, req *cwssaws.NetworkSegmentsByIdsRequest) (*cwssaws.NetworkSegmentList, error)
FindNetworkSegmentsByIds implements interface ForgeServer
func (*ForgeServerImpl) FindTenantKeyset ¶
func (f *ForgeServerImpl) FindTenantKeyset(c context.Context, req *cwssaws.FindTenantKeysetRequest) (*cwssaws.TenantKeySetList, error)
FindTenantKeyset implements interface ForgeServer
func (*ForgeServerImpl) FindTenantKeysetIds ¶
func (f *ForgeServerImpl) FindTenantKeysetIds(ctx context.Context, req *cwssaws.TenantKeysetSearchFilter) (*cwssaws.TenantKeysetIdList, error)
FindTenantKeysetIds implements interface ForgeServer
func (*ForgeServerImpl) FindTenantKeysetsByIds ¶
func (f *ForgeServerImpl) FindTenantKeysetsByIds(ctx context.Context, req *cwssaws.TenantKeysetsByIdsRequest) (*cwssaws.TenantKeySetList, error)
FindTenantKeysetsByIds implements interface ForgeServer
func (*ForgeServerImpl) FindVpcIds ¶
func (f *ForgeServerImpl) FindVpcIds(ctx context.Context, req *cwssaws.VpcSearchFilter) (*cwssaws.VpcIdList, error)
FindVpcIds implements interface ForgeServer
func (*ForgeServerImpl) FindVpcs ¶
func (f *ForgeServerImpl) FindVpcs(c context.Context, req *cwssaws.VpcSearchQuery) (*cwssaws.VpcList, error)
FindVpcs implements interface ForgeServer
func (*ForgeServerImpl) FindVpcsByIds ¶
func (f *ForgeServerImpl) FindVpcsByIds(ctx context.Context, req *cwssaws.VpcsByIdsRequest) (*cwssaws.VpcList, error)
FindVpcsByIds implements interface ForgeServer
func (*ForgeServerImpl) GetAllExpectedPowerShelves ¶
func (f *ForgeServerImpl) GetAllExpectedPowerShelves(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedPowerShelfList, error)
GetAllExpectedPowerShelves implements interface ForgeServer
func (*ForgeServerImpl) GetAllExpectedSwitches ¶
func (f *ForgeServerImpl) GetAllExpectedSwitches(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedSwitchList, error)
GetAllExpectedSwitches implements interface ForgeServer
func (*ForgeServerImpl) GetExpectedPowerShelf ¶
func (f *ForgeServerImpl) GetExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelfRequest) (*cwssaws.ExpectedPowerShelf, error)
GetExpectedPowerShelf implements interface ForgeServer
func (*ForgeServerImpl) GetExpectedSwitch ¶
func (f *ForgeServerImpl) GetExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitchRequest) (*cwssaws.ExpectedSwitch, error)
GetExpectedSwitch implements interface ForgeServer
func (*ForgeServerImpl) InvokeInstancePower ¶
func (f *ForgeServerImpl) InvokeInstancePower(c context.Context, req *cwssaws.InstancePowerRequest) (*cwssaws.InstancePowerResult, error)
InvokeInstancePower implements interface ForgeServer
func (*ForgeServerImpl) ReleaseInstance ¶
func (f *ForgeServerImpl) ReleaseInstance(c context.Context, req *cwssaws.InstanceReleaseRequest) (*cwssaws.InstanceReleaseResult, error)
DeleteInstance implements interface ForgeServer
func (*ForgeServerImpl) SetMaintenance ¶
func (f *ForgeServerImpl) SetMaintenance(context.Context, *cwssaws.MaintenanceRequest) (*emptypb.Empty, error)
func (*ForgeServerImpl) UpdateExpectedMachine ¶
func (f *ForgeServerImpl) UpdateExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachine) (*emptypb.Empty, error)
UpdateExpectedMachine implements interface ForgeServer
func (*ForgeServerImpl) UpdateExpectedMachines ¶
func (f *ForgeServerImpl) UpdateExpectedMachines(ctx context.Context, req *cwssaws.BatchExpectedMachineOperationRequest) (*cwssaws.BatchExpectedMachineOperationResponse, error)
UpdateExpectedMachines implements interface ForgeServer
func (*ForgeServerImpl) UpdateExpectedPowerShelf ¶
func (f *ForgeServerImpl) UpdateExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelf) (*emptypb.Empty, error)
UpdateExpectedPowerShelf implements interface ForgeServer
func (*ForgeServerImpl) UpdateExpectedSwitch ¶
func (f *ForgeServerImpl) UpdateExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitch) (*emptypb.Empty, error)
UpdateExpectedSwitch implements interface ForgeServer
func (*ForgeServerImpl) UpdateTenantKeyset ¶
func (f *ForgeServerImpl) UpdateTenantKeyset(c context.Context, req *cwssaws.UpdateTenantKeysetRequest) (*cwssaws.UpdateTenantKeysetResponse, error)
UpdateTenantKeyset implements interface ForgeServer
func (*ForgeServerImpl) UpdateVpc ¶
func (f *ForgeServerImpl) UpdateVpc(c context.Context, req *cwssaws.VpcUpdateRequest) (*cwssaws.VpcUpdateResult, error)
UpdateVpc implements interface ForgeServer
func (*ForgeServerImpl) Version ¶
func (f *ForgeServerImpl) Version(ctx context.Context, req *cwssaws.VersionRequest) (*cwssaws.BuildInfo, error)
Version implements interface ForgeServer
type RlaServerImpl ¶
type RlaServerImpl struct {
rlav1.UnimplementedRLAServer
// contains filtered or unexported fields
}
RlaServerImpl implements interface RLAServer
func (*RlaServerImpl) AttachRacksToNVLDomain ¶
func (r *RlaServerImpl) AttachRacksToNVLDomain(ctx context.Context, req *rlav1.AttachRacksToNVLDomainRequest) (*emptypb.Empty, error)
AttachRacksToNVLDomain implements interface RLAServer
func (*RlaServerImpl) BringUpRack ¶
func (r *RlaServerImpl) BringUpRack(ctx context.Context, req *rlav1.BringUpRackRequest) (*rlav1.SubmitTaskResponse, error)
BringUpRack implements interface RLAServer
func (*RlaServerImpl) CreateExpectedRack ¶
func (r *RlaServerImpl) CreateExpectedRack(ctx context.Context, req *rlav1.CreateExpectedRackRequest) (*rlav1.CreateExpectedRackResponse, error)
CreateExpectedRack implements interface RLAServer
func (*RlaServerImpl) CreateNVLDomain ¶
func (r *RlaServerImpl) CreateNVLDomain(ctx context.Context, req *rlav1.CreateNVLDomainRequest) (*rlav1.CreateNVLDomainResponse, error)
CreateNVLDomain implements interface RLAServer
func (*RlaServerImpl) DetachRacksFromNVLDomain ¶
func (r *RlaServerImpl) DetachRacksFromNVLDomain(ctx context.Context, req *rlav1.DetachRacksFromNVLDomainRequest) (*emptypb.Empty, error)
DetachRacksFromNVLDomain implements interface RLAServer
func (*RlaServerImpl) GetComponentInfoByID ¶
func (r *RlaServerImpl) GetComponentInfoByID(ctx context.Context, req *rlav1.GetComponentInfoByIDRequest) (*rlav1.GetComponentInfoResponse, error)
GetComponentInfoByID implements interface RLAServer
func (*RlaServerImpl) GetComponentInfoBySerial ¶
func (r *RlaServerImpl) GetComponentInfoBySerial(ctx context.Context, req *rlav1.GetComponentInfoBySerialRequest) (*rlav1.GetComponentInfoResponse, error)
GetComponentInfoBySerial implements interface RLAServer
func (*RlaServerImpl) GetComponents ¶
func (r *RlaServerImpl) GetComponents(ctx context.Context, req *rlav1.GetComponentsRequest) (*rlav1.GetComponentsResponse, error)
GetComponents implements interface RLAServer
func (*RlaServerImpl) GetListOfNVLDomains ¶
func (r *RlaServerImpl) GetListOfNVLDomains(ctx context.Context, req *rlav1.GetListOfNVLDomainsRequest) (*rlav1.GetListOfNVLDomainsResponse, error)
GetListOfNVLDomains implements interface RLAServer
func (*RlaServerImpl) GetListOfRacks ¶
func (r *RlaServerImpl) GetListOfRacks(ctx context.Context, req *rlav1.GetListOfRacksRequest) (*rlav1.GetListOfRacksResponse, error)
GetListOfRacks implements interface RLAServer
func (*RlaServerImpl) GetRackInfoByID ¶
func (r *RlaServerImpl) GetRackInfoByID(ctx context.Context, req *rlav1.GetRackInfoByIDRequest) (*rlav1.GetRackInfoResponse, error)
GetRackInfoByID implements interface RLAServer
func (*RlaServerImpl) GetRackInfoBySerial ¶
func (r *RlaServerImpl) GetRackInfoBySerial(ctx context.Context, req *rlav1.GetRackInfoBySerialRequest) (*rlav1.GetRackInfoResponse, error)
GetRackInfoBySerial implements interface RLAServer
func (*RlaServerImpl) GetRacksForNVLDomain ¶
func (r *RlaServerImpl) GetRacksForNVLDomain(ctx context.Context, req *rlav1.GetRacksForNVLDomainRequest) (*rlav1.GetRacksForNVLDomainResponse, error)
GetRacksForNVLDomain implements interface RLAServer
func (*RlaServerImpl) GetTasksByIDs ¶
func (r *RlaServerImpl) GetTasksByIDs(ctx context.Context, req *rlav1.GetTasksByIDsRequest) (*rlav1.GetTasksByIDsResponse, error)
GetTasksByIDs implements interface RLAServer
func (*RlaServerImpl) ListTasks ¶
func (r *RlaServerImpl) ListTasks(ctx context.Context, req *rlav1.ListTasksRequest) (*rlav1.ListTasksResponse, error)
ListTasks implements interface RLAServer
func (*RlaServerImpl) PatchRack ¶
func (r *RlaServerImpl) PatchRack(ctx context.Context, req *rlav1.PatchRackRequest) (*rlav1.PatchRackResponse, error)
PatchRack implements interface RLAServer
func (*RlaServerImpl) PowerOffRack ¶
func (r *RlaServerImpl) PowerOffRack(ctx context.Context, req *rlav1.PowerOffRackRequest) (*rlav1.SubmitTaskResponse, error)
PowerOffRack implements interface RLAServer
func (*RlaServerImpl) PowerOnRack ¶
func (r *RlaServerImpl) PowerOnRack(ctx context.Context, req *rlav1.PowerOnRackRequest) (*rlav1.SubmitTaskResponse, error)
PowerOnRack implements interface RLAServer
func (*RlaServerImpl) PowerResetRack ¶
func (r *RlaServerImpl) PowerResetRack(ctx context.Context, req *rlav1.PowerResetRackRequest) (*rlav1.SubmitTaskResponse, error)
PowerResetRack implements interface RLAServer
func (*RlaServerImpl) UpgradeFirmware ¶
func (r *RlaServerImpl) UpgradeFirmware(ctx context.Context, req *rlav1.UpgradeFirmwareRequest) (*rlav1.SubmitTaskResponse, error)
UpgradeFirmware implements interface RLAServer
func (*RlaServerImpl) ValidateComponents ¶
func (r *RlaServerImpl) ValidateComponents(ctx context.Context, req *rlav1.ValidateComponentsRequest) (*rlav1.ValidateComponentsResponse, error)
ValidateComponents implements interface RLAServer
func (*RlaServerImpl) Version ¶
func (r *RlaServerImpl) Version(ctx context.Context, req *rlav1.VersionRequest) (*rlav1.BuildInfo, error)
Version implements interface RLAServer