Documentation ¶
Index ¶
- type BareMetalHostClient
- func (c *BareMetalHostClient) CreateOrUpdate(ctx context.Context, location, name string, compute *compute.BareMetalHost) (*compute.BareMetalHost, error)
- func (c *BareMetalHostClient) Delete(ctx context.Context, location string, name string) error
- func (c *BareMetalHostClient) Get(ctx context.Context, location, name string) (*[]compute.BareMetalHost, error)
- func (c *BareMetalHostClient) Query(ctx context.Context, location, query string) (*[]compute.BareMetalHost, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BareMetalHostClient ¶
type BareMetalHostClient struct { compute.BaseClient // contains filtered or unexported fields }
func NewBareMetalHostClient ¶
func NewBareMetalHostClient(cloudFQDN string, authorizer auth.Authorizer) (*BareMetalHostClient, error)
func (*BareMetalHostClient) CreateOrUpdate ¶
func (c *BareMetalHostClient) CreateOrUpdate(ctx context.Context, location, name string, compute *compute.BareMetalHost) (*compute.BareMetalHost, error)
CreateOrUpdate methods invokes create or update on the client
func (*BareMetalHostClient) Get ¶
func (c *BareMetalHostClient) Get(ctx context.Context, location, name string) (*[]compute.BareMetalHost, error)
Get methods invokes the client Get method
func (*BareMetalHostClient) Query ¶
func (c *BareMetalHostClient) Query(ctx context.Context, location, query string) (*[]compute.BareMetalHost, 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.BareMetalHost, error) CreateOrUpdate(context.Context, string, string, *compute.BareMetalHost) (*compute.BareMetalHost, error) Delete(context.Context, string, string) error Query(context.Context, string, string) (*[]compute.BareMetalHost, error) }
Click to show internal directories.
Click to hide internal directories.