controlplane

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminClient added in v1.8.0

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

func NewAdminClient added in v1.8.0

func NewAdminClient(baseURL string, authorizer identity.Authorizer, fns ...OptFn) *AdminClient

func (*AdminClient) GetDestinationSSHKeyPair added in v1.8.0

func (c *AdminClient) GetDestinationSSHKeyPair(ctx context.Context, destID string) (kp SSHKeyPair, err error)

type Client

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

func NewClient

func NewClient(baseURL string, identity identity.Identifier, fns ...OptFn) *Client

func (*Client) DestinationHistory

func (c *Client) DestinationHistory(ctx context.Context, revisionID string) (backendconfig.DestinationT, error)

func (*Client) SendFeatures

func (c *Client) SendFeatures(ctx context.Context, component string, features []string) error

type OptFn

type OptFn func(c *commonClient)

func WithHTTPClient

func WithHTTPClient(httpClient *http.Client) OptFn

func WithMaxRetries

func WithMaxRetries(retries int) OptFn

func WithRegion

func WithRegion(region string) OptFn

func WithTimeout

func WithTimeout(timeout time.Duration) OptFn

type PerComponent

type PerComponent = map[string][]string

type SSHKeyPair added in v1.8.0

type SSHKeyPair struct {
	PublicKey  string
	PrivateKey string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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