caasmodeloperator

package
v0.0.0-...-ac56535 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 8 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

func (*Client) WatchModelOperatorProvisioningInfo

func (c *Client) WatchModelOperatorProvisioningInfo() (watcher.NotifyWatcher, error)

WatchModelOperatorProvisioningInfo provides a watcher for changes that affect the information returned by ModelOperatorProvisioningInfo.

type ModelOperatorProvisioningInfo

type ModelOperatorProvisioningInfo struct {
	APIAddresses []string
	ImageDetails resources.DockerImageDetails
	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