backplane

package
v0.0.0-...-8dd8b08 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package backplane provides helper functions for interacting with the backplane-api SDK

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// CreateReport creates a new cluster report
	CreateReport(ctx context.Context, clusterId string, summary string, reportData string) (*bpapi.Report, error)
}

Client provides methods for interacting with the backplane API

func NewClient

func NewClient(config Config) (Client, error)

NewClient creates a new backplane client

type ClientImpl

type ClientImpl struct {
	// contains filtered or unexported fields
}

ClientImpl implements the Client interface

func (*ClientImpl) CreateReport

func (c *ClientImpl) CreateReport(ctx context.Context, clusterId string, summary string, reportData string) (*bpapi.Report, error)

CreateReport creates a new investigation report for a cluster using the backplane API

type Config

type Config struct {
	BaseURL   string
	OcmClient ocm.Client
	ProxyURL  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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