rpc

package
v0.0.0-...-30ff302 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BmcService

type BmcService struct {
	Log        logging.Logger
	TaskRunner task.Task
	v1.UnimplementedBMCServer
}

BmcService for doing BMC actions

func (*BmcService) CreateUser

CreateUser sets the next boot device of a machine

func (*BmcService) DeleteUser

DeleteUser deletes a user on a BMC

func (*BmcService) NetworkSource

NetworkSource sets the BMC network source

func (*BmcService) Reset

func (b *BmcService) Reset(ctx context.Context, in *v1.ResetRequest) (*v1.ResetResponse, error)

Reset calls a reset on a BMC

func (*BmcService) UpdateUser

UpdateUser updates a users credentials on a BMC

type MachineService

type MachineService struct {
	Log        logging.Logger
	TaskRunner task.Task
	v1.UnimplementedMachineServer
}

MachineService for doing power and device actions

func (*MachineService) BootDevice

func (m *MachineService) BootDevice(ctx context.Context, in *v1.DeviceRequest) (*v1.DeviceResponse, error)

BootDevice sets the next boot device of a machine

func (*MachineService) Power

Power does a power action against a BMC

type TaskService

type TaskService struct {
	Log        logging.Logger
	TaskRunner task.Task
	v1.UnimplementedTaskServer
}

TaskService for retrieving task details

func (*TaskService) Status

Status returns a task record

Jump to

Keyboard shortcuts

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