Back to

Package bundle

Latest Go to latest

The latest major version is .

Published: 1 hour ago | License: AGPL-3.0 | Module:


type Client

type Client struct {
	// contains filtered or unexported fields

Client allows access to the bundle API end point.

func NewClient

func NewClient(st base.APICallCloser) *Client

NewClient creates a new client for accessing the bundle api.

func (*Client) ExportBundle

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

ExportBundle exports the current model configuration.

func (*Client) GetChanges

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

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 Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier