helpers

package
v8.4.41+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 11 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvGetter

type EnvGetter interface {
	Get(name string) string
}

EnvGetter defines fetching environment variables

func NewEnvGetter

func NewEnvGetter() EnvGetter

NewEnvGetter creates a new env getter

type EnvIDGenerator

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

func NewEnvIDGenerator

func NewEnvIDGenerator(reader io.Reader) EnvIDGenerator

func (EnvIDGenerator) Generate

func (e EnvIDGenerator) Generate() (string, error)

type EnvIDManager

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

func NewEnvIDManager

func NewEnvIDManager(envIDGenerator envIDGenerator, networkClient NetworkClient) EnvIDManager

func (EnvIDManager) Sync

func (e EnvIDManager) Sync(state storage.State, envID string) (storage.State, error)

type Errors

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

func NewErrors

func NewErrors(args ...string) Errors

func (*Errors) Add

func (e *Errors) Add(err error)

func (Errors) Error

func (e Errors) Error() string

type NetworkClient

type NetworkClient interface {
	CheckExists(networkName string) (bool, error)
}

type PathFinder

type PathFinder struct{}

func NewPathFinder

func NewPathFinder() PathFinder

func (PathFinder) CommandExists

func (p PathFinder) CommandExists(command string) bool

Jump to

Keyboard shortcuts

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