Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func StartHTTP ¶
func StartHTTP(domain, token, authz string) (*HTTPServer, error)
StartHTTP starts a new HTTP server to use in tests.
type PebbleServer ¶
type PebbleServer struct {
// contains filtered or unexported fields
}
func StartPebble ¶
func StartPebble() (*PebbleServer, error)
StartPebble starts a new Pebble server to use in tests.
func (*PebbleServer) Client ¶
func (s *PebbleServer) Client() *http.Client
Client returns the http client configured to connect to the Pebble server with TLS and self-signed, trusted certificates.
func (*PebbleServer) ServerURL ¶
func (s *PebbleServer) ServerURL() string
ServerURL returns the https url to the test server.
Click to show internal directories.
Click to hide internal directories.