Documentation ¶
Index ¶
- func AcmeServerDirURL(e fixenv.Env) string
- func Close(closer io.Closer)
- func ErrorSubstringCmp(gotErr error, expect string) string
- func GetHttpClient() *http.Client
- func HttpQuery(e fixenv.Env) string
- func InitMain(m *testing.M)
- func LocalhostCert(e fixenv.Env) tls.Certificate
- func Logger(t zaptest.TestingT) *zap.Logger
- func MockController(e fixenv.Env) minimock.MockController
- func NewFreeLocalTcpAddress(e fixenv.Env) *net.TCPAddr
- func NewLocalTcpListener(e fixenv.Env) *net.TCPListener
- func NoLog(ctx context.Context) context.Context
- func PebbleHTTPValidationPort(e fixenv.Env) int
- func PebbleTLSValidationPort(e fixenv.Env) int
- func StdLogger(e fixenv.Env) *log.Logger
- func TestContext(t zaptest.TestingT) (ctx context.Context, flush func())
- func TestHttpServer(e fixenv.Env, handler http.Handler) *httptest.Server
- func TmpDir(e fixenv.Env) string
- func ZapLogger(e fixenv.Env) *zap.Logger
- type Env
- type PebbleServer
- type TD
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcmeServerDirURL ¶ added in v0.28.0
func ErrorSubstringCmp ¶ added in v0.23.19
func GetHttpClient ¶ added in v0.23.17
func LocalhostCert ¶ added in v0.28.0
func LocalhostCert(e fixenv.Env) tls.Certificate
func MockController ¶ added in v0.28.0
func NewFreeLocalTcpAddress ¶ added in v0.28.0
func NewLocalTcpListener ¶ added in v0.28.0
func NewLocalTcpListener(e fixenv.Env) *net.TCPListener
func PebbleHTTPValidationPort ¶ added in v0.28.0
func PebbleTLSValidationPort ¶ added in v0.28.0
func TestHttpServer ¶ added in v0.28.0
Types ¶
type PebbleServer ¶ added in v0.28.0
type PebbleServer struct { HTTPSDirectoryURL string TLSCert tls.Certificate }
func Pebble ¶ added in v0.28.0
func Pebble(e fixenv.Env) *PebbleServer
Click to show internal directories.
Click to hide internal directories.