bundle

package
v0.0.0-...-0ce4854 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Overview

Package bundle provides access to the bundle API facade. This facade contains API calls that are specific to bundles.

Index

Constants

This section is empty.

Variables

View Source
var WithTracer = base.WithTracer

WithTracer returns an Option that configures the Client to use the supplied tracer.

Functions

This section is empty.

Types

type Client

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

Client allows access to the bundle API end point.

func NewClient

func NewClient(st base.APICallCloser, options ...Option) *Client

NewClient creates a new client for accessing the bundle api.

func (*Client) ExportBundle

func (c *Client) ExportBundle(ctx context.Context, includeDefaults bool) (string, error)

ExportBundle exports the current model configuration.

func (*Client) GetChangesMapArgs

func (c *Client) GetChangesMapArgs(ctx context.Context, 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. NOTE(jack-w-shaw) This client method is currently unused. It's being kept in incase it's used in the future. We may want to re-evaluate in future

type Option

type Option = base.Option

Option is a function that can be used to configure a Client.

Jump to

Keyboard shortcuts

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