Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parameters ¶
func Parameters(names ...string) cli.ValueSourceChain
Parameters is a helper function to encapsulate a number of ValueSource together as a ValueSourceChain.
Types ¶
type ValueSource ¶
type ValueSource struct {
Name string
Options []func(*config.LoadOptions) error
}
ValueSource retrieves values from AWS Systems Manager (SSM) Parameter Store. It implements the cli.ValueSource interface.
func Parameter ¶
func Parameter(name string, opts ...func(*config.LoadOptions) error) *ValueSource
Parameter creates a new ValueSource for the given parameter name. Optional AWS SDK configuration options can be provided.
func (*ValueSource) GoString ¶
func (f *ValueSource) GoString() string
GoString returns a Go-syntax representation of the ValueSource.
func (*ValueSource) Lookup ¶
func (f *ValueSource) Lookup() (string, bool)
Lookup retrieves the parameter value from the SSM Parameter Store. It returns the parameter value and a boolean indicating whether the retrieval was successful.
func (*ValueSource) String ¶
func (f *ValueSource) String() string
String returns a string representation of the ValueSource.
Click to show internal directories.
Click to hide internal directories.