storage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSMStorage

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

func New

func New(svc ssmiface.SSMAPI, logger *logrus.Logger) *SSMStorage

func (*SSMStorage) Delete

func (s *SSMStorage) Delete(values map[string]interface{}) (int, error)

func (*SSMStorage) Export

func (s *SSMStorage) Export(path string, decrypt bool) (interface{}, error)

func (*SSMStorage) Import

func (s *SSMStorage) Import(values map[string]interface{}, msg string, encrypt bool) (int, error)

type Storage

type Storage interface {
	Import(map[string]interface{}) (int16, error)
	Export(string) (interface{}, error)
	Delete(map[string]interface{}) (int16, error)
}

Jump to

Keyboard shortcuts

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