sdk

package module
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient interface {
	Authn() authn.APIClient
	Authz() authz.APIClient
	Core() core.APIClient
	System() system.APIClient
}

APIClient is the general interface for the Brigade API. It does little more than expose functions for obtaining more specialized clients for different areas of concern, like User management or Project management.

func NewAPIClient

func NewAPIClient(
	apiAddress string,
	apiToken string,
	opts *restmachinery.APIClientOptions,
) APIClient

NewAPIClient returns a Brigade client.

Directories

Path Synopsis
internal
lib

Jump to

Keyboard shortcuts

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