Documentation
¶
Index ¶
- type Client
- func (c *Client) ApproveDevice(approvalID string, wrappedProjectKey string) (*types.DeviceApproval, error)
- func (c *Client) DeleteSecret(orgSlug, projectSlug, secretKey string) error
- func (c *Client) GetDeviceApproval(approvalID string) (*types.DeviceApproval, error)
- func (c *Client) GetEnvironment(orgSlug, projectSlug, envSlug string) (*types.Environment, error)
- func (c *Client) GetProjectBySlug(orgSlug, projectSlug string) (*types.Project, error)
- func (c *Client) GetSecret(orgSlug, projectSlug, secretKey string) (*types.SecretWithValue, error)
- func (c *Client) GetWrappedProjectKey(orgSlug, projectSlug string) (string, error)
- func (c *Client) InitializeProjectKey(orgSlug, projectSlug string, wrappedKey []byte) error
- func (c *Client) ListDeviceApprovals() ([]types.DeviceApproval, error)
- func (c *Client) ListEnvironments(orgSlug, projectSlug string) ([]types.Environment, error)
- func (c *Client) ListProjects() ([]types.Project, error)
- func (c *Client) ListSecrets(orgSlug, projectSlug string) ([]types.Secret, error)
- func (c *Client) Login(email, password string) (*types.LoginResponse, error)
- func (c *Client) RegisterDevice(token, name string, signingPublicKey ed25519.PublicKey, ...) (*types.DeviceRegistrationResponse, error)
- func (c *Client) RejectDevice(approvalID string) (*types.DeviceApproval, error)
- func (c *Client) SetSecret(orgSlug, projectSlug, key string, encryptedValue, nonce []byte, ...) (*types.Secret, 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
}
func NewWithBaseURL ¶
func (*Client) ApproveDevice ¶
func (*Client) DeleteSecret ¶
func (*Client) GetDeviceApproval ¶
func (c *Client) GetDeviceApproval(approvalID string) (*types.DeviceApproval, error)
func (*Client) GetEnvironment ¶ added in v0.6.0
func (c *Client) GetEnvironment(orgSlug, projectSlug, envSlug string) (*types.Environment, error)
func (*Client) GetProjectBySlug ¶ added in v0.4.0
func (*Client) GetSecret ¶
func (c *Client) GetSecret(orgSlug, projectSlug, secretKey string) (*types.SecretWithValue, error)
func (*Client) GetWrappedProjectKey ¶ added in v0.4.0
func (*Client) InitializeProjectKey ¶ added in v0.4.0
func (*Client) ListDeviceApprovals ¶
func (c *Client) ListDeviceApprovals() ([]types.DeviceApproval, error)
func (*Client) ListEnvironments ¶ added in v0.6.0
func (c *Client) ListEnvironments(orgSlug, projectSlug string) ([]types.Environment, error)
func (*Client) ListProjects ¶ added in v0.4.0
func (*Client) ListSecrets ¶
func (*Client) RegisterDevice ¶
func (*Client) RejectDevice ¶
func (c *Client) RejectDevice(approvalID string) (*types.DeviceApproval, error)
Click to show internal directories.
Click to hide internal directories.