Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthZ ¶
type HealthZ struct { Service KeyManagementService HealthCheckURL *url.URL UnixSocketPath string RPCTimeout time.Duration }
type KeyManagementService ¶
type KeyManagementService interface { Decrypt(context.Context, *v1beta1.DecryptRequest) (*v1beta1.DecryptResponse, error) Encrypt(context.Context, *v1beta1.EncryptRequest) (*v1beta1.EncryptResponse, error) Version(context.Context, *v1beta1.VersionRequest) (*v1beta1.VersionResponse, error) }
func New ¶
func New(ctx context.Context, cfg config.ProviderConfig) (KeyManagementService, error)
New creates an instance of the KMS Service Server.
Click to show internal directories.
Click to hide internal directories.