featuretests

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 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) []core_v1.EndpointAddress

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 Endpoints added in v1.10.0

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

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) core_v1.EndpointPort

func Ports added in v1.10.0

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

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