Documentation
¶
Index ¶
- type ParameterOption
- type ParameterOutput
- type ParameterOutputParameter
- type Parameters
- func (p *Parameters) Get(name string, options ...*ParameterOption) (*ParameterOutput, error)
- func (p *Parameters) GetWithContext(ctx context.Context, name string, options ...*ParameterOption) (*ParameterOutput, error)
- func (p *Parameters) GetWithDecryption(name string) (*ParameterOutput, error)
- func (p *Parameters) WithRetry(retryMax int) *Parameters
- type SecretOption
- type SecretOutput
- type Secrets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParameterOption ¶
func ParameterLabel ¶
func ParameterLabel(label string) *ParameterOption
func ParameterVersion ¶
func ParameterVersion(version int) *ParameterOption
func ParameterWithDecryption ¶
func ParameterWithDecryption() *ParameterOption
type ParameterOutput ¶
type ParameterOutput struct {
Parameter ParameterOutputParameter `json:"Parameter"`
}
type Parameters ¶
type Parameters struct {
// contains filtered or unexported fields
}
func MustNewParameters ¶
func MustNewParameters() *Parameters
func NewParameters ¶
func NewParameters() (*Parameters, error)
func (*Parameters) Get ¶
func (p *Parameters) Get(name string, options ...*ParameterOption) (*ParameterOutput, error)
func (*Parameters) GetWithContext ¶ added in v0.4.0
func (p *Parameters) GetWithContext(ctx context.Context, name string, options ...*ParameterOption) (*ParameterOutput, error)
func (*Parameters) GetWithDecryption ¶
func (p *Parameters) GetWithDecryption(name string) (*ParameterOutput, error)
func (*Parameters) WithRetry ¶ added in v0.3.0
func (p *Parameters) WithRetry(retryMax int) *Parameters
type SecretOption ¶
func SecretVersionId ¶
func SecretVersionId(versionId string) *SecretOption
func SecretVersionStage ¶
func SecretVersionStage(versionStage string) *SecretOption
type SecretOutput ¶
type Secrets ¶
type Secrets struct {
// contains filtered or unexported fields
}
func MustNewSecrets ¶
func MustNewSecrets() *Secrets
func NewSecrets ¶
func (*Secrets) Get ¶
func (s *Secrets) Get(secretId string, options ...*SecretOption) (*SecretOutput, error)
func (*Secrets) GetWithContext ¶ added in v0.4.0
func (s *Secrets) GetWithContext(ctx context.Context, secretId string, options []*SecretOption) (*SecretOutput, error)
Click to show internal directories.
Click to hide internal directories.