Documentation ¶
Overview ¶
Generate a self-signed X.509 certificate for a TLS server. Based on https://go.dev/src/crypto/tls/generate_cert.go
Index ¶
- func NewCertificate(hosts ...string) tls.Certificate
- type Config
- type TestClient
- type TestProxy
- func New(fr filters.Registry, routes ...*eskip.Route) *TestProxy
- func WithParams(fr filters.Registry, proxyParams proxy.Params, routes ...*eskip.Route) *TestProxy
- func WithParamsAndRoutingOptions(fr filters.Registry, proxyParams proxy.Params, o routing.Options, ...) *TestProxy
- func WithRoutingOptions(fr filters.Registry, o routing.Options, routes ...*eskip.Route) *TestProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertificate ¶ added in v0.15.21
func NewCertificate(hosts ...string) tls.Certificate
Types ¶
type Config ¶ added in v0.15.21
type TestClient ¶ added in v0.16.37
type TestProxy ¶
type TestProxy struct { URL string Port string Log *loggingtest.Logger // contains filtered or unexported fields }
func WithParams ¶
func WithParamsAndRoutingOptions ¶ added in v0.13.258
func WithRoutingOptions ¶ added in v0.9.206
func (*TestProxy) Client ¶ added in v0.15.21
func (p *TestProxy) Client() *TestClient
Click to show internal directories.
Click to hide internal directories.