env

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvFromAnsibleVault

func GetEnvFromAnsibleVault(c *cli.Context) (string, error)

func GetEnvFromPodProcess

func GetEnvFromPodProcess(c *cli.Context) (envMap map[string]string, err error)

GetEnvFromPodProcess will execute an inspect on the Pod container for a given process.

func GetGroupedLocalEnv

func GetGroupedLocalEnv(c *cli.Context) (groupedValues map[string]map[string]string, err error)

GetGroupedLocalEnv will parse local ConfigMap file and retrieve JSON blobs from AWS Secrets Manager. Return a map of groups names to value blocks.

func GetLegacyEnvFromPodProcess

func GetLegacyEnvFromPodProcess(c *cli.Context) (envMap map[string]string, err error)

Types

type ConfigMap

type ConfigMap struct {
	Data map[string]string
}

ConfigMap is a simple version of the ConfigMap defined in kubernetes.

type KubeSecret

type KubeSecret struct {
	Kind string
	Type string
	Data map[string]interface{}
}

KubeSecret is a simple version of the KubeSecret defined in kubernetes.

type Result

type Result struct {
	Name  string
	JSON  map[string]interface{}
	Error error
}

Result is a common interface for returning metadata to a channel.

Jump to

Keyboard shortcuts

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