Documentation ¶
Index ¶
- func CertFor(certName string) *tls.Certificate
- func CertPool() *x509.CertPool
- func CreateTarball(installScript string) string
- func FileExists(name string) bool
- func FixtureData(name string) []byte
- func FixtureFilename(name string) string
- func GetFreePort() int
- func HttpClient(clientCert *tls.Certificate) *http.Client
- func HttpDo(method, url string, clientCert *tls.Certificate) (*http.Response, error)
- func HttpPut(url, uploadFile string, clientCert *tls.Certificate) (*http.Response, error)
- func StartDownloadServer(port int, tarballPath string, directorCert *tls.Certificate) net.Listener
- type CapturableWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertFor ¶
func CertFor(certName string) *tls.Certificate
func CreateTarball ¶
func FileExists ¶
func FixtureData ¶
func FixtureFilename ¶
func GetFreePort ¶
func GetFreePort() int
func HttpClient ¶
func HttpClient(clientCert *tls.Certificate) *http.Client
func StartDownloadServer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.