node

package
v1.1.123 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeClient

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

func NewNodeClient

func NewNodeClient(cloudFQDN string, authorizer auth.Authorizer) (*NodeClient, error)

func (*NodeClient) CreateOrUpdate

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

CreateOrUpdate methods invokes create or update on the client

func (*NodeClient) Delete

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

Delete methods invokes delete of the cloud resource

func (*NodeClient) Get

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

Get methods invokes the client Get method

type Service

type Service interface {
	Get(context.Context, string, string) (*[]cloud.Node, error)
	CreateOrUpdate(context.Context, string, string, *cloud.Node) (*cloud.Node, 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