Documentation ¶
Index ¶
- type BareMetalMachineClient
- func (c *BareMetalMachineClient) CreateOrUpdate(ctx context.Context, group, name string, compute *compute.BareMetalMachine) (*compute.BareMetalMachine, error)
- func (c *BareMetalMachineClient) Delete(ctx context.Context, group string, name string) error
- func (c *BareMetalMachineClient) Get(ctx context.Context, group, name string) (*[]compute.BareMetalMachine, error)
- func (c *BareMetalMachineClient) GetByComputerName(ctx context.Context, group string, computerName string) (*[]compute.BareMetalMachine, error)
- func (c *BareMetalMachineClient) Query(ctx context.Context, group, query string) (*[]compute.BareMetalMachine, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BareMetalMachineClient ¶
type BareMetalMachineClient struct { compute.BaseClient // contains filtered or unexported fields }
func NewBareMetalMachineClient ¶
func NewBareMetalMachineClient(cloudFQDN string, authorizer auth.Authorizer) (*BareMetalMachineClient, error)
func (*BareMetalMachineClient) CreateOrUpdate ¶
func (c *BareMetalMachineClient) CreateOrUpdate(ctx context.Context, group, name string, compute *compute.BareMetalMachine) (*compute.BareMetalMachine, error)
CreateOrUpdate methods invokes create or update on the client
func (*BareMetalMachineClient) Get ¶
func (c *BareMetalMachineClient) Get(ctx context.Context, group, name string) (*[]compute.BareMetalMachine, error)
Get methods invokes the client Get method
func (*BareMetalMachineClient) GetByComputerName ¶ added in v0.10.14
func (c *BareMetalMachineClient) GetByComputerName(ctx context.Context, group string, computerName string) (*[]compute.BareMetalMachine, error)
Get the bare metal machine by querying for the specified computer name
func (*BareMetalMachineClient) Query ¶
func (c *BareMetalMachineClient) Query(ctx context.Context, group, query string) (*[]compute.BareMetalMachine, error)
Query method invokes the client Get method and uses the provided query to filter the returned results
type Service ¶
type Service interface { Get(context.Context, string, string) (*[]compute.BareMetalMachine, error) CreateOrUpdate(context.Context, string, string, *compute.BareMetalMachine) (*compute.BareMetalMachine, error) Delete(context.Context, string, string) error Query(context.Context, string, string) (*[]compute.BareMetalMachine, error) }
Click to show internal directories.
Click to hide internal directories.