certificates

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRTINSecret

func CRTINSecret(secret *corev1.Secret, podIP string) bool

CRTINSecret checks if Certificate is stored in secret

func CSRINSecret

func CSRINSecret(secret *corev1.Secret, podIP string) bool

CSRINSecret checks if Certificate is stored in secret

func CreateAndSignCsr

func CreateAndSignCsr(client client.Client, request reconcile.Request, scheme *runtime.Scheme, object v1.Object, restConfig *rest.Config, podList *corev1.PodList, hostNetwork bool) error

CreateAndSignCsr creates and signs the Certificate

func PEMINSecret

func PEMINSecret(secret *corev1.Secret, podIP string) bool

PEMINSecret checks if Certificate is stored in secret

func SigningRequestStatus

func SigningRequestStatus(secret *corev1.Secret, podIP string) string

SigningRequestStatus returns the status of a signing request

Types

type Certificate

type Certificate struct {
	// contains filtered or unexported fields
}

func New

func New(cl client.Client, scheme *runtime.Scheme, owner v1.Object, restConf *rest.Config, pods *core.PodList, ownerType string, hostNetwork bool) *Certificate

func (*Certificate) EnsureExistsAndIsSigned

func (r *Certificate) EnsureExistsAndIsSigned() error

Jump to

Keyboard shortcuts

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