Documentation ¶
Index ¶
- type BmcService
- func (b *BmcService) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
- func (b *BmcService) DeleteUser(ctx context.Context, in *v1.DeleteUserRequest) (*v1.DeleteUserResponse, error)
- func (b *BmcService) NetworkSource(ctx context.Context, in *v1.NetworkSourceRequest) (*v1.NetworkSourceResponse, error)
- func (b *BmcService) Reset(ctx context.Context, in *v1.ResetRequest) (*v1.ResetResponse, error)
- func (b *BmcService) UpdateUser(ctx context.Context, in *v1.UpdateUserRequest) (*v1.UpdateUserResponse, error)
- type MachineService
- type TaskService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BmcService ¶
BmcService for doing BMC actions
func (*BmcService) CreateUser ¶
func (b *BmcService) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
CreateUser sets the next boot device of a machine
func (*BmcService) DeleteUser ¶
func (b *BmcService) DeleteUser(ctx context.Context, in *v1.DeleteUserRequest) (*v1.DeleteUserResponse, error)
DeleteUser deletes a user on a BMC
func (*BmcService) NetworkSource ¶
func (b *BmcService) NetworkSource(ctx context.Context, in *v1.NetworkSourceRequest) (*v1.NetworkSourceResponse, error)
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 ¶
func (b *BmcService) UpdateUser(ctx context.Context, in *v1.UpdateUserRequest) (*v1.UpdateUserResponse, error)
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 ¶
func (m *MachineService) Power(ctx context.Context, in *v1.PowerRequest) (*v1.PowerResponse, error)
Power does a power action against a BMC
type TaskService ¶
TaskService for retrieving task details
func (*TaskService) Status ¶
func (t *TaskService) Status(ctx context.Context, in *v1.StatusRequest) (*v1.StatusResponse, error)
Status returns a task record
Click to show internal directories.
Click to hide internal directories.