utils

package
v3.4.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LastRunOutput string
View Source
var NoOptions = options.SetOptions{}

Functions

func AddToTestOutput

func AddToTestOutput(args ...string)

func Command

func Command(name string, args ...string) *exec.Cmd

func GetEtcdClient

func GetEtcdClient(etcdIP string) client.Interface

func IPSetIDForSelector

func IPSetIDForSelector(rawSelector string) string

func IPSetNameForSelector

func IPSetNameForSelector(ipVersion int, rawSelector string) string

func Run

func Run(command string, args ...string)

func RunCommand

func RunCommand(command string, args ...string) error

func RunMayFail

func RunMayFail(command string, args ...string) error

Types

type EnvConfig

type EnvConfig struct {
	FelixImage   string `default:"calico/felix:latest"`
	EtcdImage    string `default:"quay.io/coreos/etcd"`
	K8sImage     string `default:"gcr.io/google_containers/hyperkube-amd64:v1.10.4"`
	TyphaImage   string `default:"calico/typha:latest"` // Note: this is overridden in the Makefile!
	BusyboxImage string `default:"busybox:latest"`
}
var Config EnvConfig

Jump to

Keyboard shortcuts

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