desc

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvDesc

type EnvDesc struct {
	DockerRegistry, Git, Singularity service
	AgentIP                          net.IP
}

EnvDesc captures the details of the established environment

func LoadDesc added in v1.0.1

func LoadDesc(descPath string) (EnvDesc, error)

LoadDesc loads an EnvDesc from a path.

func (EnvDesc) Complete added in v1.0.1

func (ed EnvDesc) Complete() bool

Complete returns false if any filed of the EnvDesc has been left empty. This is useful because e.g. as fields are added across branches, it's easy for tests to rely on data that was left unset by older code.

func (EnvDesc) GitOrigin added in v1.0.1

func (ed EnvDesc) GitOrigin() string

GitOrigin returns the ip:port for the test Git instance.

func (EnvDesc) RegistryName

func (ed EnvDesc) RegistryName() string

RegistryName returns the ip:port for the test Docker registry.

func (EnvDesc) SingularityURL

func (ed EnvDesc) SingularityURL() string

SingularityURL returns a URL for the test Singularity service.

Jump to

Keyboard shortcuts

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