kubernetesk8s.io/kubernetes/pkg/controller/certificates Index | Files | Directories

package certificates

import "k8s.io/kubernetes/pkg/controller/certificates"

Package certificates implements an abstract controller that is useful for building controllers that manage CSRs

Index

Functions

func GetCertApprovalCondition

func GetCertApprovalCondition(status *certificates.CertificateSigningRequestStatus) (approved bool, denied bool)

func IsCertificateRequestApproved

func IsCertificateRequestApproved(csr *certificates.CertificateSigningRequest) bool

IsCertificateRequestApproved returns true if a certificate request has the "Approved" condition and no "Denied" conditions; false otherwise.

Types

type CertificateController

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

func NewCertificateController

func (*CertificateController) Run

func (cc *CertificateController) Run(workers int, stopCh <-chan struct{})

Run the main goroutine responsible for watching and syncing jobs.

Source Files

certificate_controller.go certificate_controller_utils.go

Directories

PathSynopsis
pkg/controller/certificates/approverPackage approver implements an automated approver for kubelet certificates.
pkg/controller/certificates/signerPackage signer implements a CA signer that uses keys stored on local disk.
Version
v1.7.4
Published
Aug 17, 2017
Platform
js/wasm
Imports
16 packages
Last checked
1 minute ago

Tools for package owners.