utils

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const IstioBookinfoYaml = `` /* 4426-byte string literal not displayed */
View Source
const TestRunnerYaml = `` /* 459-byte string literal not displayed */

Variables

This section is empty.

Functions

func CurlArgs

func CurlArgs(opts setup.CurlOpts) []string

func DeployBookInfo

func DeployBookInfo(namespace string) error

func DeployBookInfoWithInject

func DeployBookInfoWithInject(namespace, istioNamespace string) error

func DeployTestRunner

func DeployTestRunner(namespace string) error

func DeployTestRunnerWithInject

func DeployTestRunnerWithInject(namespace, istioNamespace string) error

func IstioInject

func IstioInject(istioNamespace, input string) (string, error)

func Kubectl

func Kubectl(stdin io.Reader, args ...string) error

func KubectlApply

func KubectlApply(namespace, yamlStr string) error

func KubectlCtx

func KubectlCtx(ctx context.Context, stdin io.Reader, args ...string) error

func KubectlDelete

func KubectlDelete(namespace, yamlStr string) error

func KubectlPortForward

func KubectlPortForward(ctx context.Context, namespace, deployment string, port int) error

func TestRunnerCurl

func TestRunnerCurl(namespace string, opts setup.CurlOpts) (string, error)

func TestRunnerCurlEventuallyShouldRespond

func TestRunnerCurlEventuallyShouldRespond(ctx context.Context, testrunnerNamespace string, opts setup.CurlOpts, substr string, timeout time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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