Documentation ¶
Index ¶
- Constants
- func CopyFiles(sourceDir string, destDir string) error
- func Error(err error) error
- func GetBaseURL(port string) string
- func GetFreePort() string
- func GetImageConfig() ([]byte, godigest.Digest)
- func GetRandomImageConfig() ([]byte, godigest.Digest)
- func GetSecureBaseURL(port string) string
- func InjectFailure(skip int) bool
- func Location(baseURL string, resp *resty.Response) string
- func MakeHtpasswdFile() string
- func MakeHtpasswdFileFromString(fileContent string) string
- func Ok(ok bool) bool
- func WaitTillServerReady(url string)
Constants ¶
View Source
const ( BaseURL = "http://127.0.0.1:%s" BaseSecureURL = "https://127.0.0.1:%s" SleepTime = 100 * time.Millisecond )
Variables ¶
This section is empty.
Functions ¶
func GetBaseURL ¶
func GetFreePort ¶
func GetFreePort() string
func GetImageConfig ¶
func GetRandomImageConfig ¶
func GetSecureBaseURL ¶
func InjectFailure ¶
func MakeHtpasswdFile ¶
func MakeHtpasswdFile() string
func WaitTillServerReady ¶
func WaitTillServerReady(url string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.