caasapplication

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	base.ClientFacade
	// contains filtered or unexported fields
}

Client allows access to the CAAS operator API endpoint.

func NewClient

func NewClient(caller base.APICallCloser) *Client

NewClient returns a client used to access the CAAS Operator API.

func (*Client) UnitIntroduction

func (c *Client) UnitIntroduction(podName string, podUUID string) (*UnitConfig, error)

UnitIntroduction introduces the unit and returns an agent config.

type UnitConfig

type UnitConfig struct {
	UnitTag   names.UnitTag
	AgentConf []byte
}

Jump to

Keyboard shortcuts

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