Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ResolverServiceGetSecretsProcedure is the fully-qualified name of the ResolverService's GetSecrets RPC. ResolverServiceGetSecretsProcedure = "/resolver.v1.ResolverService/GetSecrets" // AuthorizerServiceAuthorizeProcedure is the fully-qualified name of the AuthorizerService's Authorize RPC. AuthorizerServiceAuthorizeProcedure = "/resolver.v1.AuthorizerService/Authorize" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizerServiceClient ¶
type AuthorizerServiceClient interface {
// Preflight: authorizes the caller for the patterns ahead of use, valid
// until the returned expiry.
Authorize(context.Context, *v1.AuthorizeRequest) (*v1.AuthorizeResponse, error)
}
AuthorizerServiceClient is a client for the resolver.v1.AuthorizerService service.
func NewAuthorizerServiceClient ¶
func NewAuthorizerServiceClient(call func(ctx context.Context, procedure string, req, res proto.Message) error) AuthorizerServiceClient
NewAuthorizerServiceClient constructs a client for the resolver.v1.AuthorizerService service that sends each request through call.
type ResolverServiceClient ¶
type ResolverServiceClient interface {
// Resolve a secret by its ID.
GetSecrets(context.Context, *v1.GetSecretsRequest) (*v1.GetSecretsResponse, error)
}
ResolverServiceClient is a client for the resolver.v1.ResolverService service.
func NewResolverServiceClient ¶
func NewResolverServiceClient(call func(ctx context.Context, procedure string, req, res proto.Message) error) ResolverServiceClient
NewResolverServiceClient constructs a client for the resolver.v1.ResolverService service that sends each request through call.
Click to show internal directories.
Click to hide internal directories.