io

package
v0.0.0-...-4701082 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDeltaFromParameterStore

func DeleteDeltaFromParameterStore(parameters map[string]string, path util.ParameterStorePath, autoApprove bool, client ssmiface.SSMAPI) ([]string, error)

DeleteDeltaFromParameterStore deletes the parameters that exist in parameter store, but not in the parameters variable

func ReadFromParameterStore

func ReadFromParameterStore(path util.ParameterStorePath, client ssmiface.SSMAPI) map[string]string

ReadFromParameterStore gets all parameters from a given parameter store path

func ReadJSONFile

func ReadJSONFile(filepath string) map[string]string

ReadJSONFile reads a json file of key-value pairs

func WriteToParameterStore

func WriteToParameterStore(parameters map[string]string, path util.ParameterStorePath, timeout time.Duration, client ssmiface.SSMAPI) error

WriteToParameterStore writes given parameters to a given parameter store path

Types

type WriteResult

type WriteResult struct {
	Name  string
	Error error
}

WriteResult is the result writing a single parameter - successful if Error is nil

Jump to

Keyboard shortcuts

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