resolverv1rpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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