Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAccountContext ¶ added in v0.1.3
Types ¶
type APIKeyAuth ¶
type APIKeyAuth struct {
// contains filtered or unexported fields
}
APIKeyAuth API key based authentication
func NewAPIKeyAuth ¶
func NewAPIKeyAuth(key string) *APIKeyAuth
func (*APIKeyAuth) GetRequestMetadata ¶
func (*APIKeyAuth) RequireTransportSecurity ¶
func (k *APIKeyAuth) RequireTransportSecurity() bool
type Client ¶
type Client struct {
Conn *grpc.ClientConn // TODO: change into grpc.ClientConnInterface type.
}
func NewClient ¶
func NewClient(ctx context.Context, dialAddr string, creds credentials.PerRPCCredentials) (*Client, error)
type Services ¶
type Services struct { Environment string TenantService string AuthorizerService string RegistryService string TasksService string }
func Environment ¶
type TokenAuth ¶
type TokenAuth struct {
// contains filtered or unexported fields
}
TokenAuth bearer token based authentication.
func NewTokenAuth ¶
func (TokenAuth) GetRequestMetadata ¶
func (TokenAuth) RequireTransportSecurity ¶
Click to show internal directories.
Click to hide internal directories.