juju: github.com/juju/juju/api/caasmodeloperator Index | Files

package caasmodeloperator

import "github.com/juju/juju/api/caasmodeloperator"


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client is a caas model operator facade client

func NewClient Uses

func NewClient(caller base.APICaller) *Client

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

func (*Client) ModelOperatorProvisioningInfo Uses

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

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

func (*Client) SetPassword Uses

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

SetPasswords sets the supplied passwords on their corresponding models

type ModelOperatorProvisioningInfo Uses

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

ModelOperatorProvisioningInfo represents return api information for provisioning a caas model operator

Package caasmodeloperator imports 4 packages (graph) and is imported by 2 packages. Updated 2020-06-13. Refresh now. Tools for package owners.