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

package certificates

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

Package certificates contains logic for watching and synchronizing CertificateSigningRequests.

Index

Functions

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.

func IsCertificateRequestDenied

func IsCertificateRequestDenied(csr *certificates.CertificateSigningRequest) bool

IsCertificateRequestDenied returns true if a certificate request has the "Denied" conditions; false otherwise.

Types

type CertificateController

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

func NewCertificateController

func NewCertificateController(kubeClient clientset.Interface, syncPeriod time.Duration, caCertFile, caKeyFile string, approveAllKubeletCSRsForGroup string) (*CertificateController, error)

func (*CertificateController) Run

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

Run the main goroutine responsible for watching and syncing jobs.

Source Files

controller.go controller_utils.go doc.go

Version
v1.4.2
Published
Oct 15, 2016
Platform
js/wasm
Imports
21 packages
Last checked
13 seconds ago

Tools for package owners.