location

package
v0.10.13 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 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 LocationClient

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

func NewLocationClient

func NewLocationClient(cloudFQDN string, authorizer auth.Authorizer) (*LocationClient, error)

func (*LocationClient) CreateOrUpdate

func (c *LocationClient) CreateOrUpdate(ctx context.Context, name string, cloud *cloud.Location) (*cloud.Location, error)

CreateOrUpdate methods invokes create or update on the client

func (*LocationClient) Delete

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

Delete methods invokes delete of the cloud resource

func (*LocationClient) Get

func (c *LocationClient) Get(ctx context.Context, name string) (*[]cloud.Location, error)

Get methods invokes the client Get method

type Service

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

Jump to

Keyboard shortcuts

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