Documentation ¶
Index ¶
- type APIError
- type Change
- type DopplerClient
- func (c *DopplerClient) Authenticate() error
- func (c *DopplerClient) BaseURL() *url.URL
- func (c *DopplerClient) GetSecret(request SecretRequest) (*SecretResponse, error)
- func (c *DopplerClient) GetSecrets(request SecretsRequest) (*SecretsResponse, error)
- func (c *DopplerClient) SetBaseURL(urlStr string) error
- func (c *DopplerClient) UpdateSecrets(request UpdateSecretsRequest) error
- type SecretRequest
- type SecretResponse
- type Secrets
- type SecretsRequest
- type SecretsResponse
- type UpdateSecretsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DopplerClient ¶
type DopplerClient struct { DopplerToken string VerifyTLS bool UserAgent string // contains filtered or unexported fields }
func NewDopplerClient ¶
func NewDopplerClient(dopplerToken string) (*DopplerClient, error)
func (*DopplerClient) Authenticate ¶
func (c *DopplerClient) Authenticate() error
func (*DopplerClient) BaseURL ¶
func (c *DopplerClient) BaseURL() *url.URL
func (*DopplerClient) GetSecret ¶
func (c *DopplerClient) GetSecret(request SecretRequest) (*SecretResponse, error)
func (*DopplerClient) GetSecrets ¶
func (c *DopplerClient) GetSecrets(request SecretsRequest) (*SecretsResponse, error)
GetSecrets should only have an ETag supplied if Secrets are cached as SecretsResponse.Secrets will be nil if 304 (not modified) returned.
func (*DopplerClient) SetBaseURL ¶
func (c *DopplerClient) SetBaseURL(urlStr string) error
func (*DopplerClient) UpdateSecrets ¶
func (c *DopplerClient) UpdateSecrets(request UpdateSecretsRequest) error
type SecretRequest ¶
type SecretResponse ¶
type SecretsRequest ¶
type SecretsResponse ¶
Click to show internal directories.
Click to hide internal directories.