helpers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const CURL_TIMEOUT = 60 * time.Second

Variables

This section is empty.

Functions

func AppUri

func AppUri(appName, path string, config helpersinternal.CurlConfig) string

Gets an app's endpoint with the specified path

func Curl

func Curl(cfg helpersinternal.CurlConfig, args ...string) *gexec.Session

func CurlApp

func CurlApp(cfg helpersinternal.CurlConfig, appName, path string, args ...string) string

Curls an app's endpoint and exit successfully before the default timeout

func CurlAppRoot

func CurlAppRoot(cfg helpersinternal.CurlConfig, appName string) string

Curls an app's root endpoint and exit successfully before the default timeout

func CurlAppWithTimeout

func CurlAppWithTimeout(cfg helpersinternal.CurlConfig, appName, path string, timeout time.Duration, args ...string) string

Curls an app's endpoint and exit successfully before the specified timeout

func CurlSkipSSL

func CurlSkipSSL(skip bool, args ...string) *gexec.Session

func CurlingAppRoot

func CurlingAppRoot(cfg helpersinternal.CurlConfig, appName string) func() string

Returns a function that curls an app's root endpoint and exit successfully before the default timeout

func EnableCFTrace

func EnableCFTrace(config artifactsDirectoryConfig, componentName string)

func NewJUnitReporter

func NewJUnitReporter(config artifactsDirectoryConfig, componentName string) *reporters.JUnitReporter

func Run

func Run(executable string, args ...string) *gexec.Session

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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