Documentation
¶
Overview ¶
Package universalapi contains the implementation of APIs that are shared between gRPC and HTTP servers. On HTTP servers, they use protojson to convert data to/from JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UniversalAPI ¶
type UniversalAPI struct {
Logger logger.Logger
Resiliency resiliency.Provider
SecretStores map[string]secretstores.SecretStore
SecretsConfiguration map[string]config.SecretsScope
}
UniversalAPI contains the implementation of gRPC APIs that are also used by the HTTP server.
func (*UniversalAPI) GetBulkSecret ¶
func (a *UniversalAPI) GetBulkSecret(ctx context.Context, in *runtimev1pb.GetBulkSecretRequest) (*runtimev1pb.GetBulkSecretResponse, error)
func (*UniversalAPI) GetSecret ¶
func (a *UniversalAPI) GetSecret(ctx context.Context, in *runtimev1pb.GetSecretRequest) (*runtimev1pb.GetSecretResponse, error)
Click to show internal directories.
Click to hide internal directories.