package certificates
import "k8s.io/kubernetes/pkg/controller/certificates"
Package certificates contains logic for watching and synchronizing CertificateSigningRequests.
Index ¶
- func IsCertificateRequestApproved(csr *certificates.CertificateSigningRequest) bool
- func IsCertificateRequestDenied(csr *certificates.CertificateSigningRequest) bool
- type CertificateController
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.5.0-alpha.2
- Published
- Oct 27, 2016
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 33 seconds ago –
Tools for package owners.