helpers

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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, gcpClientProvider gcpClientProvider,
	infrastructureManager infrastructureManager) EnvIDManager

func (EnvIDManager) Sync

func (e EnvIDManager) Sync(state storage.State, envID string) (string, 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 StringGenerator

type StringGenerator struct {
	Reader io.Reader
}

func NewStringGenerator

func NewStringGenerator(reader io.Reader) StringGenerator

func (StringGenerator) Generate

func (s StringGenerator) Generate(prefix string, length int) (string, error)

type UUIDGenerator

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

func NewUUIDGenerator

func NewUUIDGenerator(reader io.Reader) UUIDGenerator

func (UUIDGenerator) Generate

func (g UUIDGenerator) Generate() (string, error)

Jump to

Keyboard shortcuts

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