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
}

Source Files