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 is a caas model operator facade client

    func NewClient

    func NewClient(caller base.APICaller) *Client

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

      func (*Client) ModelOperatorProvisioningInfo

      func (c *Client) ModelOperatorProvisioningInfo() (ModelOperatorProvisioningInfo, error)

        ModelOperatorProvisioningInfo returns the information needed for a given model when provisioning into a caas env

        func (*Client) SetPassword

        func (c *Client) SetPassword(password string) error

          SetPasswords sets the supplied passwords on their corresponding models

          type ModelOperatorProvisioningInfo

          type ModelOperatorProvisioningInfo struct {
          	APIAddresses []string
          	ImagePath    string
          	Version      version.Number
          }

            ModelOperatorProvisioningInfo represents return api information for provisioning a caas model operator

            Source Files