utils

package
v3.0.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Command

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

func GetEtcdClient

func GetEtcdClient(etcdIP string) client.Interface

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 {
	EtcdImage  string `default:"quay.io/coreos/etcd"`
	K8sImage   string `default:"gcr.io/google_containers/hyperkube-amd64:v1.7.5"`
	TyphaImage string `default:"calico/typha:latest"` // Note: this is overridden in the Makefile!
}
var Config EnvConfig

Jump to

Keyboard shortcuts

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