caasmodeloperator

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: 4 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 {
	// 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

Jump to

Keyboard shortcuts

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