Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client allows access to the CAAS operator upgrader API endpoint.

func NewClient

func NewClient(caller base.APICaller) *Client

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

func (*Client) Upgrade

func (c *Client) Upgrade(agentTag string, v version.Number) error

Upgrade upgrades the operator for the specified agent tag to v.

Source Files