baremetalhost

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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) Delete

func (c *BareMetalHostClient) Delete(ctx context.Context, location string, name string) error

Delete methods invokes delete of the compute resource

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL