client

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadParameterStore

func LoadParameterStore(client Client, flag *LoadFlag)

Types

type AwsSsmClient

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

func (AwsSsmClient) LoadVariablesByPaths

func (c AwsSsmClient) LoadVariablesByPaths(paths []string, recursive bool) []KeyValue

func (AwsSsmClient) LoadVariablesByPrefixes

func (c AwsSsmClient) LoadVariablesByPrefixes(prefixes []string) []KeyValue

type Client

type Client interface {
	LoadVariablesByPaths(paths []string, recursive bool) []KeyValue
	LoadVariablesByPrefixes(prefixes []string) []KeyValue
}

func NewClient

func NewClient(region string) (Client, error)

type KeyValue

type KeyValue struct {
	Key   string
	Value string
}

type LoadFlag

type LoadFlag struct {
	Path            []string
	Prefix          []string
	Delimiter       string
	Template        string
	Region          string
	Recursive       bool
	UpperCaseKey    bool
	ReplaceKeys     string
	ReplaceKeyValue string
	QuoteShell      bool
	NoQuoteShell    bool
}

type Loader

type Loader struct {
	Client Client
}

Jump to

Keyboard shortcuts

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