helpersinternal

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Curl

func Curl(cmdStarter internal.Starter, skipSsl bool, args ...string) *gexec.Session

Types

type AppCurler

type AppCurler struct {
	CurlFunc   func(CurlConfig, ...string) *gexec.Session
	UriCreator uriCreator
}

func NewAppCurler

func NewAppCurler(curlFunc func(CurlConfig, ...string) *gexec.Session, cfg CurlConfig) *AppCurler

func (*AppCurler) CurlAndWait

func (appCurler *AppCurler) CurlAndWait(cfg CurlConfig, appName string, path string, timeout time.Duration, args ...string) string

type AppUriCreator

type AppUriCreator struct {
	CurlConfig CurlConfig
}

func (*AppUriCreator) AppUri

func (uriCreator *AppUriCreator) AppUri(appName string, path string) string

type CurlConfig

type CurlConfig interface {
	GetAppsDomain() string
	Protocol() string
	GetSkipSSLValidation() bool
}

Jump to

Keyboard shortcuts

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