Documentation
¶
Overview ¶
Package paramstore reads parameters to the AWS Systems Manager Parameter Store.
Index ¶
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
}
Client stores long-lived variables for connecting to Parameter Store.
func NewClient ¶
func NewClient(ctx context.Context, p client.ConfigProvider) *Client
NewClient returns a constructed Client with the required values.
func (*Client) NewVariable ¶
func (c *Client) NewVariable(ctx context.Context, name string, decoder *runtimevar.Decoder, opts *WatchOptions) (*runtimevar.Variable, error)
NewVariable constructs a runtimevar.Variable object with this package as the driver implementation. If WaitTime is not set the polling time is set to 30 seconds.
type WatchOptions ¶
type WatchOptions struct { // WaitTime controls the frequency of making an HTTP call and checking for // updates by the Watch method. The smaller the value, the higher the frequency // of making calls, which also means a faster rate of hitting the API quota. // If this option is not set or set to 0, it uses a default value. WaitTime time.Duration }
WatchOptions provide optional configurations to the Watcher.
Click to show internal directories.
Click to hide internal directories.