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

package bundle

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

Index

Package Files

client.go

type Client Uses

type Client struct {
    base.ClientFacade
    // contains filtered or unexported fields
}

Client allows access to the bundle API end point.

func NewClient Uses

func NewClient(st base.APICallCloser) *Client

NewClient creates a new client for accessing the bundle api.

func (*Client) ExportBundle Uses

func (c *Client) ExportBundle() (string, error)

ExportBundle exports the current model configuration.

func (*Client) GetChanges Uses

func (c *Client) GetChanges(bundleURL, bundleDataYAML string) (params.BundleChangesResults, error)

GetChanges returns back the changes for a given bundle that need to be applied. GetChanges is superseded by GetChangesMapArgs, use that where possible, by detecting the BestAPIVersion to use.

func (*Client) GetChangesMapArgs Uses

func (c *Client) GetChangesMapArgs(bundleURL, bundleDataYAML string) (params.BundleChangesMapArgsResults, error)

GetChangesMapArgs returns back the changes for a given bundle that need to be applied, with the args of a method as a map.

Package bundle imports 4 packages (graph) and is imported by 3 packages. Updated 2019-09-07. Refresh now. Tools for package owners.