itutils

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2014 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deis = "/usr/local/bin/deis "

Functions

func AppsDestroyTest

func AppsDestroyTest(t *testing.T, params *DeisTestConfig)

func AuthCancel

func AuthCancel(t *testing.T, params *DeisTestConfig)

func CheckList

func CheckList(t *testing.T, params interface{}, cmd, contain string, notflag bool)

func Curl

func Curl(t *testing.T, params *DeisTestConfig)

func Execute

func Execute(t *testing.T, cmd string, params interface{}, failFlag bool, expect string)

func GetCommand

func GetCommand(cmdtype, cmd string) string

func GetRandomApp

func GetRandomApp() string

Types

type DeisTestConfig

type DeisTestConfig struct {
	AuthKey      string
	Hosts        string
	HostName     string
	SshKey       string
	ClusterName  string
	UserName     string
	Password     string
	Email        string
	UpdatedHosts string
	ExampleApp   string
	AppName      string
	ProcessNum   string
	ImageId      string
	Version      string
	AppUser      string
}

func GetGlobalConfig

func GetGlobalConfig() *DeisTestConfig

Jump to

Keyboard shortcuts

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