featuretests

package
v1.28.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CACertificate = certyaml.Certificate{
	Subject: "CN=ca",
}
View Source
var CRL = certyaml.CRL{
	Issuer: &CACertificate,
}
View Source
var ClientCertificate = certyaml.Certificate{
	Issuer:  &CACertificate,
	Subject: "CN=client",
}
View Source
var ServerCertificate = certyaml.Certificate{
	Issuer:          &CACertificate,
	Subject:         "CN=www.example.com",
	SubjectAltNames: []string{"DNS:www.example.com"},
}

Functions

func Addresses added in v1.10.0

func Addresses(ips ...string) []v1.EndpointAddress

func CASecret added in v1.28.0

func CASecret(t *testing.T, name string, credential *certyaml.Certificate) *v1.Secret

func CRLSecret added in v1.28.0

func CRLSecret(t *testing.T, name string, credential *certyaml.CRL) *v1.Secret

func Endpoints added in v1.10.0

func Endpoints(ns, name string, subsets ...v1.EndpointSubset) *v1.Endpoints

func IngressBackend added in v1.14.0

func IngressBackend(svc *v1.Service) *networking_v1.IngressBackend

func PEMBytes added in v1.28.0

func PEMBytes(t *testing.T, cert *certyaml.Certificate) []byte

func Port added in v1.10.0

func Port(name string, port int32) v1.EndpointPort

func Ports added in v1.10.0

func Ports(eps ...v1.EndpointPort) []v1.EndpointPort

func TLSSecret added in v1.28.0

func TLSSecret(t *testing.T, name string, credential *certyaml.Certificate) *v1.Secret

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL