zone

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 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 Service

type Service interface {
	Get(context.Context, string, string) (*[]cloud.Zone, error)
	CreateOrUpdate(ctx context.Context, location string, name string, avzone *cloud.Zone) (*cloud.Zone, error)
	Delete(context.Context, string, string) error
}

type ZoneClient

type ZoneClient struct {
	// contains filtered or unexported fields
}

func NewZoneClient

func NewZoneClient(cloudFQDN string, authorizer auth.Authorizer) (*ZoneClient, error)

func (*ZoneClient) CreateOrUpdate

func (c *ZoneClient) CreateOrUpdate(ctx context.Context, location string, name string, cloud *cloud.Zone) (*cloud.Zone, error)

CreateOrUpdate methods invokes create or update on the client

func (*ZoneClient) Delete

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

Delete methods invokes delete of the cloud resource

func (*ZoneClient) Get

func (c *ZoneClient) Get(ctx context.Context, location string, name string) (*[]cloud.Zone, error)

Get methods invokes the client Get method

Jump to

Keyboard shortcuts

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