paramstore

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package paramstore provides a runtimevar.Driver implementation that reads variables from AWS Systems Manager Parameter Store.

Construct a Client, then use NewVariable to construct any number of runtimevar.Variable objects.

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(p client.ConfigProvider) *Client

NewClient returns a constructed Client with the required values.

func (*Client) NewVariable

func (c *Client) NewVariable(name string, decoder *runtimevar.Decoder, opts *Options) (*runtimevar.Variable, error)

NewVariable constructs a runtimevar.Variable object with this package as the driver implementation.

type Options added in v0.7.0

type Options struct {
	// WaitDuration controls how quickly Watch polls. Defaults to 30 seconds.
	WaitDuration time.Duration
}

Options sets options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL