Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateReport(ctx context.Context, summary string, data string) (*backplaneapi.Report, error)
- func (c *Client) GetReport(ctx context.Context, reportID string) (*backplaneapi.Report, error)
- func (c *Client) ListReports(ctx context.Context, last int) (*backplaneapi.ListReports, error)
- func (c *Client) RunManagedJobWithClient(canonicalName string, parameters map[string]string, timeoutSeconds int) (*ManagedJobResult, error)
- type ManagedJobResult
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 (*Client) CreateReport ¶ added in v0.49.0
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 ¶
Click to show internal directories.
Click to hide internal directories.