environment

package
v1.8.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnvironmentList

func LoadEnvironmentList(specificEnvironment string, environmentsFile string, fs afero.Fs) (environments map[string]Environment, errorList []error)

func NewEnvironments

func NewEnvironments(maps map[string]map[string]string) (map[string]Environment, []error)

Types

type Environment

type Environment interface {
	GetId() string
	GetEnvironmentUrl() string
	GetToken() (string, error)
	GetGroup() string
}

func NewEnvironment

func NewEnvironment(id string, name string, group string, environmentUrl string, envTokenName string) Environment

Jump to

Keyboard shortcuts

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