Documentation ¶
Index ¶
- Constants
- func Addresses(ips ...string) []v1.EndpointAddress
- func Endpoints(ns, name string, subsets ...v1.EndpointSubset) *v1.Endpoints
- func IngressBackend(svc *v1.Service) *networking_v1.IngressBackend
- func Port(name string, port int32) v1.EndpointPort
- func Ports(eps ...v1.EndpointPort) []v1.EndpointPort
- func Secretdata(cert, key string) map[string][]byte
Constants ¶
View Source
const ( // CERTIFICATE generated by // openssl genrsa -out example-key.pem 2048 // openssl req -new -x509 -days 18250 -key example-key.pem -sha256 -subj "/CN=www.example.com" -out example.pem CERTIFICATE = `` /* 1130-byte string literal not displayed */ CERTIFICATE_WITH_TEXT = CERTIFICATE + "\t\r\n" RSA_PRIVATE_KEY = `` /* 1674-byte string literal not displayed */ CRL = `` /* 364-byte string literal not displayed */ )
nolint:revive
Variables ¶
This section is empty.
Functions ¶
func Addresses ¶ added in v1.10.0
func Addresses(ips ...string) []v1.EndpointAddress
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 Ports ¶ added in v1.10.0
func Ports(eps ...v1.EndpointPort) []v1.EndpointPort
func Secretdata ¶ added in v1.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.