Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) AcceptApproval(ctx context.Context, id string) error
- func (c *Client) CreateKey(ctx context.Context, newKey schema.NewKey) (key schema.Key, err error)
- func (c *Client) DeleteKey(ctx context.Context, id string) (err error)
- func (c *Client) GetApprovals(ctx context.Context) (approvals schema.Approvals, err error)
- func (c *Client) GetKey(ctx context.Context, id string) (key schema.Key, err error)
- func (c *Client) GetKeyLoop(ctx context.Context, id string) (key schema.Key, err error)
- func (c *Client) GetKeys(ctx context.Context) (keys schema.Keys, err error)
- func (c *Client) RejectApproval(ctx context.Context, id string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClientIsNil = errors.New("client is nil")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AcceptApproval ¶
func (*Client) GetApprovals ¶
func (*Client) GetKeyLoop ¶
Click to show internal directories.
Click to hide internal directories.