helpers

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExactPath = iota
	PrefixPath
	RegexPath
)

Variables

This section is empty.

Functions

func BuildPushContainers

func BuildPushContainers(version string, push, verbose bool) error

builds and pushes all docker containers needed for test

func Certificate added in v0.10.1

func Certificate() string

func GetCerts added in v0.10.1

func GetCerts(params Params) (string, string)

func GetKubeSecret added in v0.10.1

func GetKubeSecret(name, namespace string) *kubev1.Secret

func GlooDir added in v0.10.1

func GlooDir() string

func GlooHelmChartDir added in v0.10.1

func GlooHelmChartDir() string

func GlooInstallDir added in v0.10.1

func GlooInstallDir() string

func GlooTestArtifactsDir added in v0.10.1

func GlooTestArtifactsDir() string

func GlooTestContainersDir added in v0.10.1

func GlooTestContainersDir() string

func MakeRoute added in v0.10.1

func MakeRoute(pathType int, length int) *v1.Route

func PrivateKey added in v0.10.1

func PrivateKey() string

func RunCommand added in v0.10.1

func RunCommand(verbose bool, args ...string) error

func RunCommandInput added in v0.10.1

func RunCommandInput(input string, verbose bool, args ...string) error

func RunCommandInputOutput added in v0.10.1

func RunCommandInputOutput(input string, verbose bool, args ...string) (string, error)

func RunCommandOutput added in v0.10.1

func RunCommandOutput(verbose bool, args ...string) (string, error)

func TestVersion added in v0.10.1

func TestVersion() string

Types

type Params added in v0.10.1

type Params struct {
	Hosts      string         // Comma-separated hostnames and IPs to generate a certificate for
	ValidFrom  *time.Time     // Creation date
	ValidFor   *time.Duration // Duration that certificate is valid for
	IsCA       bool           // whether this cert should be its own Certificate Authority
	RsaBits    int            // Size of RSA key to generate. Ignored if EcdsaCurve is set
	EcdsaCurve string         // ECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521
}

Jump to

Keyboard shortcuts

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