macpool

package
v0.10.19-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MacPoolClient

type MacPoolClient struct {
	network.BaseClient
	// contains filtered or unexported fields
}

MacPoolClient structure

func NewMacPoolClient

func NewMacPoolClient(cloudFQDN string, authorizer auth.Authorizer) (*MacPoolClient, error)

NewMacPoolClient method returns new client

func (*MacPoolClient) CreateOrUpdate

func (c *MacPoolClient) CreateOrUpdate(ctx context.Context, location, name string, macpool *network.MACPool) (*network.MACPool, error)

Ensure methods invokes create or update on the client

func (*MacPoolClient) Delete

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

Delete methods invokes delete of the network resource

func (*MacPoolClient) Get

func (c *MacPoolClient) Get(ctx context.Context, location, name string) (*[]network.MACPool, error)

Get methods invokes the client Get method

type Service

type Service interface {
	Get(context.Context, string, string) (*[]network.MACPool, error)
	CreateOrUpdate(context.Context, string, string, *network.MACPool) (*network.MACPool, error)
	Delete(context.Context, string, string) error
}

Service interface

Jump to

Keyboard shortcuts

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