Documentation ¶
Overview ¶
Package client implements the key manager client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyManagerNotAvailable = errors.New("keymanager/client: key manager not available")
ErrKeyManagerNotAvailable is the error when a key manager is not available.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a key manager client instance.
func New ¶
func New( ctx context.Context, runtime runtimeRegistry.Runtime, backend api.Backend, registry registry.Backend, identity *identity.Identity, ) (*Client, error)
New creates a new key manager client instance.
func (*Client) CallRemote ¶
CallRemote calls the key manager via remote EnclaveRPC.
func (*Client) Initialized ¶
func (c *Client) Initialized() <-chan struct{}
Initialized returns a channel that is closed when the key manager client is initialized.
Click to show internal directories.
Click to hide internal directories.