baremetalmachine

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

func (c *BareMetalMachineClient) Delete(ctx context.Context, group string, name string) error

Delete methods invokes delete of the compute resource

func (*BareMetalMachineClient) Get

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

Jump to

Keyboard shortcuts

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