ssmcache

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultExpiry

func SetDefaultExpiry(expires time.Duration)

SetDefaultExpiry update the default expiry for all cached parameters

Note this will update expires value on the next refresh of entries.

Types

type Cache

type Cache interface {
	GetKey(string, bool) (string, error)
	PutKey(string, string, bool) error
}

Cache SSM cache which provides read access to parameters

func New

func New(sess *session.Session) Cache

New new SSM cache

type Entry

type Entry struct {
	// contains filtered or unexported fields
}

Entry an SSM entry in the cache

Jump to

Keyboard shortcuts

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