utils

package
Version: v3.8.9+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 17 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 LogOutput

func LogOutput(cmd *exec.Cmd, name string) error

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL