Documentation ¶
Index ¶
- type BareMetalMachineClient
- func (c *BareMetalMachineClient) CreateOrUpdate(ctx context.Context, location, name string, compute *compute.BareMetalMachine) (*compute.BareMetalMachine, error)
- func (c *BareMetalMachineClient) Delete(ctx context.Context, location string, name string) error
- func (c *BareMetalMachineClient) Get(ctx context.Context, location, name string) (*[]compute.BareMetalMachine, error)
- func (c *BareMetalMachineClient) Query(ctx context.Context, location, 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, location, 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, location, name string) (*[]compute.BareMetalMachine, error)
Get methods invokes the client Get method
func (*BareMetalMachineClient) Query ¶
func (c *BareMetalMachineClient) Query(ctx context.Context, location, 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.