ssmenvs

package module
v0.0.0-...-42be4c7 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Prefix:   "SSM_",
	Override: false,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Prefix   string // Prefix for SSM parameters. Default is "SSM_" if empty.
	Override bool   // Override existing env vars with same name if set to true.
}

type SSMEnvs

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

func New

func New(region string, config Config) SSMEnvs

func (SSMEnvs) Load

func (se SSMEnvs) Load() map[string]string

func (SSMEnvs) LoadAndSet

func (se SSMEnvs) LoadAndSet()

func (SSMEnvs) Prefix

func (se SSMEnvs) Prefix() string

Jump to

Keyboard shortcuts

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