group

package
v0.10.12-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupClient

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

func NewGroupClient

func NewGroupClient(cloudFQDN string, authorizer auth.Authorizer) (*GroupClient, error)

func (*GroupClient) CreateOrUpdate

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

CreateOrUpdate methods invokes create or update on the client

func (*GroupClient) Delete

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

Delete methods invokes delete of the cloud resource

func (*GroupClient) Get

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

Get methods invokes the client Get method

type Service

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

Jump to

Keyboard shortcuts

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