server

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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"
)
View Source
var (
	// FlowDefaultPort is the default port that the Flow server listens at
	FlowDefaultPort = ":11080"
)

Functions

func FlowTest

func FlowTest(secs int)

FlowTest starts the Flow test gRPC server

func NICoTest

func NICoTest(secs int)

NICoTest tests the grpc server

Types

type FlowServerImpl

type FlowServerImpl struct {
	flowv1.UnimplementedFlowServer
	// contains filtered or unexported fields
}

FlowServerImpl implements interface FlowServer

func (*FlowServerImpl) AddComponent

AddComponent implements interface FlowServer

func (*FlowServerImpl) AttachRacksToNVLDomain

func (r *FlowServerImpl) AttachRacksToNVLDomain(ctx context.Context, req *flowv1.AttachRacksToNVLDomainRequest) (*emptypb.Empty, error)

AttachRacksToNVLDomain implements interface FlowServer

func (*FlowServerImpl) BringUpRack

BringUpRack implements interface FlowServer

func (*FlowServerImpl) CreateExpectedRack

CreateExpectedRack implements interface FlowServer

func (*FlowServerImpl) CreateNVLDomain

CreateNVLDomain implements interface FlowServer

func (*FlowServerImpl) DeleteComponent

DeleteComponent implements interface FlowServer

func (*FlowServerImpl) DetachRacksFromNVLDomain

func (r *FlowServerImpl) DetachRacksFromNVLDomain(ctx context.Context, req *flowv1.DetachRacksFromNVLDomainRequest) (*emptypb.Empty, error)

DetachRacksFromNVLDomain implements interface FlowServer

func (*FlowServerImpl) GetComponentInfoByID

GetComponentInfoByID implements interface FlowServer

func (*FlowServerImpl) GetComponentInfoBySerial

GetComponentInfoBySerial implements interface FlowServer

func (*FlowServerImpl) GetComponents

GetComponents implements interface FlowServer

func (*FlowServerImpl) GetListOfNVLDomains

GetListOfNVLDomains implements interface FlowServer

func (*FlowServerImpl) GetListOfRacks

GetListOfRacks implements interface FlowServer

func (*FlowServerImpl) GetRackInfoByID

GetRackInfoByID implements interface FlowServer

func (*FlowServerImpl) GetRackInfoBySerial

GetRackInfoBySerial implements interface FlowServer

func (*FlowServerImpl) GetRacksForNVLDomain

GetRacksForNVLDomain implements interface FlowServer

func (*FlowServerImpl) GetTasksByIDs

GetTasksByIDs implements interface FlowServer

func (*FlowServerImpl) ListTasks

ListTasks implements interface FlowServer

func (*FlowServerImpl) PatchComponent

PatchComponent implements interface FlowServer

func (*FlowServerImpl) PatchRack

PatchRack implements interface FlowServer

func (*FlowServerImpl) PowerOffRack

PowerOffRack implements interface FlowServer

func (*FlowServerImpl) PowerOnRack

PowerOnRack implements interface FlowServer

func (*FlowServerImpl) PowerResetRack

PowerResetRack implements interface FlowServer

func (*FlowServerImpl) UpgradeFirmware

UpgradeFirmware implements interface FlowServer

func (*FlowServerImpl) ValidateComponents

ValidateComponents implements interface FlowServer

func (*FlowServerImpl) Version

Version implements interface FlowServer

type NICoServerImpl

type NICoServerImpl struct {
	cwssaws.UnimplementedForgeServer
	// contains filtered or unexported fields
}

NICoServerImpl implements interface NICoServer

func (*NICoServerImpl) AddExpectedMachine

func (f *NICoServerImpl) AddExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachine) (*emptypb.Empty, error)

AddExpectedMachine implements interface NICoServer

func (*NICoServerImpl) AddExpectedPowerShelf

func (f *NICoServerImpl) AddExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelf) (*emptypb.Empty, error)

AddExpectedPowerShelf implements interface NICoServer

func (*NICoServerImpl) AddExpectedRack

func (f *NICoServerImpl) AddExpectedRack(ctx context.Context, req *cwssaws.ExpectedRack) (*emptypb.Empty, error)

AddExpectedRack implements interface NICoServer

func (*NICoServerImpl) AddExpectedSwitch

func (f *NICoServerImpl) AddExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitch) (*emptypb.Empty, error)

AddExpectedSwitch implements interface NICoServer

func (*NICoServerImpl) AllocateInstance

CreateInstance implements interface NICoServer

func (*NICoServerImpl) CreateExpectedMachines

CreateExpectedMachines implements interface NICoServer

func (*NICoServerImpl) CreateIBPartition

CreateIBPartition implements interface NICoServer

func (*NICoServerImpl) CreateNetworkSegment

CreateNetworkSegment implements interface NICoServer

func (*NICoServerImpl) CreateTenantKeyset

CreateTenantKeyset implements interface NICoServer

func (*NICoServerImpl) CreateVpc

CreateVpc implements interface NICoServer

func (*NICoServerImpl) DeleteAllExpectedRacks

func (f *NICoServerImpl) DeleteAllExpectedRacks(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)

DeleteAllExpectedRacks implements interface NICoServer

func (*NICoServerImpl) DeleteExpectedMachine

func (f *NICoServerImpl) DeleteExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachineRequest) (*emptypb.Empty, error)

DeleteExpectedMachine implements interface NICoServer

func (*NICoServerImpl) DeleteExpectedPowerShelf

func (f *NICoServerImpl) DeleteExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelfRequest) (*emptypb.Empty, error)

DeleteExpectedPowerShelf implements interface NICoServer

func (*NICoServerImpl) DeleteExpectedRack

func (f *NICoServerImpl) DeleteExpectedRack(ctx context.Context, req *cwssaws.ExpectedRackRequest) (*emptypb.Empty, error)

DeleteExpectedRack implements interface NICoServer

func (*NICoServerImpl) DeleteExpectedSwitch

func (f *NICoServerImpl) DeleteExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitchRequest) (*emptypb.Empty, error)

DeleteExpectedSwitch implements interface NICoServer

func (*NICoServerImpl) DeleteIBPartition

DeleteIBPartition implements interface NICoServer

func (*NICoServerImpl) DeleteNetworkSegment

DeleteNetworkSegment implements interface NICoServer

func (*NICoServerImpl) DeleteTenantKeyset

DeleteTenantKeyset implements interface NICoServer

func (*NICoServerImpl) DeleteVpc

DeleteVpc implements interface NICoServer

func (*NICoServerImpl) FindIBPartitionIds

FindIBPartitionIds implements interface NICoServer

func (*NICoServerImpl) FindIBPartitionsByIds

FindIBPartitionsByIds implements interface NICoServer

func (*NICoServerImpl) FindInstanceIds

FindInstances implements interface NICoServer

func (*NICoServerImpl) FindInstancesByIds

FindInstances implements interface NICoServer

func (*NICoServerImpl) FindMachineIds

func (*NICoServerImpl) FindNetworkSegmentIds

FindNetworkSegmentIds implements interface NICoServer

func (*NICoServerImpl) FindNetworkSegmentsByIds

FindNetworkSegmentsByIds implements interface NICoServer

func (*NICoServerImpl) FindTenantKeysetIds

FindTenantKeysetIds implements interface NICoServer

func (*NICoServerImpl) FindTenantKeysetsByIds

FindTenantKeysetsByIds implements interface NICoServer

func (*NICoServerImpl) FindVpcIds

FindVpcIds implements interface NICoServer

func (*NICoServerImpl) FindVpcs

FindVpcs implements interface NICoServer

func (*NICoServerImpl) FindVpcsByIds

func (f *NICoServerImpl) FindVpcsByIds(ctx context.Context, req *cwssaws.VpcsByIdsRequest) (*cwssaws.VpcList, error)

FindVpcsByIds implements interface NICoServer

func (*NICoServerImpl) GetAllExpectedPowerShelves

func (f *NICoServerImpl) GetAllExpectedPowerShelves(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedPowerShelfList, error)

GetAllExpectedPowerShelves implements interface NICoServer

func (*NICoServerImpl) GetAllExpectedRacks

func (f *NICoServerImpl) GetAllExpectedRacks(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedRackList, error)

GetAllExpectedRacks implements interface NICoServer

func (*NICoServerImpl) GetAllExpectedSwitches

func (f *NICoServerImpl) GetAllExpectedSwitches(ctx context.Context, req *emptypb.Empty) (*cwssaws.ExpectedSwitchList, error)

GetAllExpectedSwitches implements interface NICoServer

func (*NICoServerImpl) GetExpectedPowerShelf

GetExpectedPowerShelf implements interface NICoServer

func (*NICoServerImpl) GetExpectedRack

GetExpectedRack implements interface NICoServer

func (*NICoServerImpl) GetExpectedSwitch

GetExpectedSwitch implements interface NICoServer

func (*NICoServerImpl) InvokeInstancePower

InvokeInstancePower implements interface NICoServer

func (*NICoServerImpl) LoadTestMachines

func (f *NICoServerImpl) LoadTestMachines()

LoadTestMachines loads test machines into the server

func (*NICoServerImpl) ReleaseInstance

DeleteInstance implements interface NICoServer

func (*NICoServerImpl) ReplaceAllExpectedRacks

func (f *NICoServerImpl) ReplaceAllExpectedRacks(ctx context.Context, req *cwssaws.ExpectedRackList) (*emptypb.Empty, error)

ReplaceAllExpectedRacks implements interface NICoServer

func (*NICoServerImpl) SetMaintenance

func (*NICoServerImpl) UpdateExpectedMachine

func (f *NICoServerImpl) UpdateExpectedMachine(ctx context.Context, req *cwssaws.ExpectedMachine) (*emptypb.Empty, error)

UpdateExpectedMachine implements interface NICoServer

func (*NICoServerImpl) UpdateExpectedMachines

UpdateExpectedMachines implements interface NICoServer

func (*NICoServerImpl) UpdateExpectedPowerShelf

func (f *NICoServerImpl) UpdateExpectedPowerShelf(ctx context.Context, req *cwssaws.ExpectedPowerShelf) (*emptypb.Empty, error)

UpdateExpectedPowerShelf implements interface NICoServer

func (*NICoServerImpl) UpdateExpectedRack

func (f *NICoServerImpl) UpdateExpectedRack(ctx context.Context, req *cwssaws.ExpectedRack) (*emptypb.Empty, error)

UpdateExpectedRack implements interface NICoServer

func (*NICoServerImpl) UpdateExpectedSwitch

func (f *NICoServerImpl) UpdateExpectedSwitch(ctx context.Context, req *cwssaws.ExpectedSwitch) (*emptypb.Empty, error)

UpdateExpectedSwitch implements interface NICoServer

func (*NICoServerImpl) UpdateIBPartition

UpdateIBPartition implements interface NICoServer

func (*NICoServerImpl) UpdateTenantKeyset

UpdateTenantKeyset implements interface NICoServer

func (*NICoServerImpl) UpdateVpc

UpdateVpc implements interface NICoServer

func (*NICoServerImpl) Version

Version implements interface NICoServer

Jump to

Keyboard shortcuts

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