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 IngressV1Beta1Backend(svc *v1.Service) *v1beta1.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 https://www.selfsignedcertificate.com CERTIFICATE = `` /* 1138-byte string literal not displayed */ RSA_PRIVATE_KEY = `` /* 1678-byte string literal not displayed */ )
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
TODO: Use only v1 Ingress only as v1beta1 will be removed in a kubernetes version soon.
func IngressV1Beta1Backend ¶ added in v1.15.0
func IngressV1Beta1Backend(svc *v1.Service) *v1beta1.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.