backplane

package
v0.50.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 11 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
}

func NewClient

func NewClient(clusterID string) (*Client, error)

NewClient creates a new backplane client

func (*Client) CreateReport added in v0.49.0

func (c *Client) CreateReport(ctx context.Context, summary string, data string) (*backplaneapi.Report, error)

func (*Client) GetReport added in v0.49.0

func (c *Client) GetReport(ctx context.Context, reportID string) (*backplaneapi.Report, error)

func (*Client) ListReports added in v0.49.0

func (c *Client) ListReports(ctx context.Context, last int) (*backplaneapi.ListReports, error)

ListReports returns a type that includes a slice of reports for a cluster. The default for `last` is 10.

func (*Client) RunManagedJobWithClient

func (c *Client) RunManagedJobWithClient(canonicalName string, parameters map[string]string, timeoutSeconds int) (*ManagedJobResult, error)

RunManagedJobWithClient executes a managedscript (with a specified timeout) on the cluster and returns the result

type ManagedJobResult

type ManagedJobResult struct {
	Output string
	JobID  string
}

Jump to

Keyboard shortcuts

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