Documentation
¶
Index ¶
- Constants
- func AppendStringMap(src, add map[string]string) map[string]string
- func CreateCA(t *testing.T, cn string) (ca, key []byte)
- func CreateCertificate(t *testing.T, ca, cakey []byte, cn string, o ...options.Certificate) (crt, key []byte)
- func NewFramework(ctx context.Context, t *testing.T, o ...options.Framework) *framework
- func RandomHostName() string
- func RandomName(prefix string) string
- func RandomPort() int32
- func TLSConnection(collect assert.TestingT, host string, port int32) *tls.Conn
- type EchoResponse
- type Response
Constants ¶
View Source
const ( LocalFSPrefix = "/tmp/haproxy-ingress" PublishSvcName = "default/publish" PublishAddress = "10.0.1.1" PublishHostname = "ingress.local" TestPortHTTP = 28080 TestPortFront = 28081 TestPortHTTPS = 28443 TestPortStat = 21936 )
View Source
const ( CertificateIssuerCN = "HAProxy Ingress issuer" CertificateClientCN = "HAProxy Ingress client" )
Variables ¶
This section is empty.
Functions ¶
func CreateCertificate ¶
func NewFramework ¶
func RandomHostName ¶
func RandomHostName() string
func RandomName ¶
func RandomPort ¶
func RandomPort() int32
Types ¶
type EchoResponse ¶
Click to show internal directories.
Click to hide internal directories.