resources

package
Version: v0.0.0-...-17e8d90 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidCertificate

func IsValidCertificate(s *corev1.Secret, domains []string, minimumLifespan time.Duration) (bool, error)

func MakeEndpoints

func MakeEndpoints(o *v1alpha1.Certificate, opts ...func(*corev1.Endpoints)) *corev1.Endpoints

MakeEndpoints creates an Endpoints, which we will point at ourselves.

func MakeSecret

func MakeSecret(o *v1alpha1.Certificate, cert *tls.Certificate) (*corev1.Secret, error)

MakeSecret creates a TLS secret from the given certificate.

func MakeService

func MakeService(o *v1alpha1.Certificate, opts ...func(*corev1.Service)) *corev1.Service

MakeService creates a Service, which we will point at ourselves.

Types

This section is empty.

Jump to

Keyboard shortcuts

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