environment

package
v0.0.0-...-1845d6e Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentProvider

type EnvironmentProvider struct {
	KubeAPI                v1.CoreV1Interface
	KeptnNamespaceProvider StringSupplier
}

func NewEnvironmentProvider

func NewEnvironmentProvider(kubeAPI v1.CoreV1Interface) *EnvironmentProvider

func (EnvironmentProvider) PrepareEnvironment

func (e EnvironmentProvider) PrepareEnvironment(project string, stage string, service string) []string

PrepareEnvironment creates a list of environment variables by extracting them from a secret based on project, stage and service

type StringSupplier

type StringSupplier func() string

Jump to

Keyboard shortcuts

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