client

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadLocalCerts

func LoadLocalCerts() (*certs.ServiceCerts, error)

Types

type APIClient

type APIClient interface {
	// TODO (tc): Add other service clients here as needed.
	AuthzClient() authz.AuthorizationClient
	TeamsClient() teams.TeamsClient
	TeamsV2Client() v2beta.TeamsClient
	TokensClient() tokens.TokensMgmtClient
	TokensV2Client() v2beta.TokensClient
	UsersClient() users.UsersMgmtClient
	PoliciesClient() v2beta.PoliciesClient
	ReportingClient() reporting.ReportingServiceClient
	CloseConnection() error
}

APIClient is an API client ready for making requests against our public API. The client will auth via the deployment-service cert, which has a system level policy granting it universal access to our API.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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