featuretests

package
v1.33.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 9 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 CASecret added in v1.28.0

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

func CRLSecret added in v1.28.0

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

func Endpoint added in v1.31.0

func Endpoint(address string, ready bool) discovery_v1.Endpoint

func EndpointSlice added in v1.31.0

func EndpointSlice(ns, name, serviceName string, endpoints []discovery_v1.Endpoint, ports []discovery_v1.EndpointPort) *discovery_v1.EndpointSlice

func Endpoints added in v1.10.0

func Endpoints(endpoints ...discovery_v1.Endpoint) []discovery_v1.Endpoint

func IngressBackend added in v1.14.0

func IngressBackend(svc *core_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) discovery_v1.EndpointPort

func Ports added in v1.10.0

func TLSSecret added in v1.28.0

func TLSSecret(t *testing.T, name string, credential *certyaml.Certificate) *core_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