aws_params

package
v0.0.0-...-44558b4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetSecureString(path string) (string, error)
}

func NewClient

func NewClient(cfg *Config) (Client, error)

type Config

type Config struct {
	Region string
	// RoleArn is the special string that
	RoleArn string
}

Config for getting parameters from the environment Region is the AWS Region Role is the special role that has permission to read the configs, strings, etc

func NewConfig

func NewConfig(region string) *Config

type MockedSSMAPI

type MockedSSMAPI struct {
	ssmiface.SSMAPI
	// contains filtered or unexported fields
}

func NewMockedSSMAPI

func NewMockedSSMAPI(secureStrings map[string]string, insecureStrings map[string]string) *MockedSSMAPI

func (*MockedSSMAPI) GetParameters

we only need GetParameter but ssmiface requires all of these Generated with this command: impl 'c *MockedSSMAPI' github.com/aws/aws-sdk-go/service/ssm/ssmiface.SSMAPI

Jump to

Keyboard shortcuts

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