Documentation ¶
Index ¶
- func NewBMC(opts ...Option) (oob.BMC, error)
- func NewBMCResetter(opts ...Option) (oob.BMCResetter, error)
- type Action
- type Option
- func WithCreateUserRequest(in *v1.CreateUserRequest) Option
- func WithDeleteUserRequest(in *v1.DeleteUserRequest) Option
- func WithLogger(l logr.Logger) Option
- func WithResetRequest(in *v1.ResetRequest) Option
- func WithStatusMessage(s chan string) Option
- func WithUpdateUserRequest(in *v1.UpdateUserRequest) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBMCResetter ¶
func NewBMCResetter(opts ...Option) (oob.BMCResetter, error)
NewBMCResetter returns an oob.BMCResetter interface
Types ¶
type Action ¶
type Action struct { common.Accessory CreateUserRequest *v1.CreateUserRequest DeleteUserRequest *v1.DeleteUserRequest UpdateUserRequest *v1.UpdateUserRequest ResetBMCRequest *v1.ResetRequest }
Action for making bmc actions on BMCs, implements oob.User interface
func (Action) CreateUser ¶
CreateUser functionality for machines
func (Action) DeleteUser ¶
DeleteUser functionality for machines
type Option ¶
Option to add to an Actions
func WithCreateUserRequest ¶
func WithCreateUserRequest(in *v1.CreateUserRequest) Option
WithCreateUserRequest adds CreateUserRequest to an Action struct
func WithDeleteUserRequest ¶
func WithDeleteUserRequest(in *v1.DeleteUserRequest) Option
WithDeleteUserRequest adds DeleteUserRequest to an Action struct
func WithResetRequest ¶
func WithResetRequest(in *v1.ResetRequest) Option
WithResetRequest adds ResetRequest to an Action struct
func WithStatusMessage ¶
WithStatusMessage adds a status message chan to an Action struct
func WithUpdateUserRequest ¶
func WithUpdateUserRequest(in *v1.UpdateUserRequest) Option
WithUpdateUserRequest adds UpdateUserRequest to an Action struct
Click to show internal directories.
Click to hide internal directories.