store

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSPMStore

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

AWSPMStore is used to fetch keys from AWS Parameters Store

func NewAWSPMStore

func NewAWSPMStore() (*AWSPMStore, error)

NewAWSPMStore creates a new store which used AWS Parameters Store

func (*AWSPMStore) FetchAll

func (s *AWSPMStore) FetchAll(path string) ([]*config.Config, error)

FetchAll fetches all parameters by path from Parameters Store

type Store

type Store interface {
	// Fetches all the values which start with given path
	FetchAll(path string) ([]*config.Config, error)
}

Store represents storage of parameters

Jump to

Keyboard shortcuts

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