Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) GetToken(ctx context.Context, identity specters.Identity) (token string, err error)
- func (c *Client) Init(ctx context.Context, pk []byte) (*pb.InitReply, error)
- func (c *Client) Status(ctx context.Context) (*pb.StatusReply, error)
- func (c *Client) Unseal(ctx context.Context, key []byte) (*pb.UnsealReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the client api.
func (*Client) GetToken ¶
func (c *Client) GetToken(ctx context.Context, identity specters.Identity) (token string, err error)
GetToken gets a token for use with the rest of the API.
Click to show internal directories.
Click to hide internal directories.