certificates

package
v1.1.0-alpha.0....-c00828a Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package certificates contains logic for watching and synchronizing CertificateSigningRequests.

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

type AutoApprover

type AutoApprover interface {
	AutoApprove(csr *certificates.CertificateSigningRequest) (*certificates.CertificateSigningRequest, error)
}

func NewGroupApprover

func NewGroupApprover(approveAllKubeletCSRsForGroup string) AutoApprover

NewGroupApprover creates an approver that accepts any CSR requests where the subject group contains approveAllKubeletCSRsForGroup.

type CFSSLSigner

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

func NewCFSSLSigner

func NewCFSSLSigner(caFile, caKeyFile string) (*CFSSLSigner, error)

type CertificateController

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

func (*CertificateController) Run

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

Run the main goroutine responsible for watching and syncing jobs.

Jump to

Keyboard shortcuts

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