Documentation
¶
Overview ¶
Package app implements a server that runs a stand-alone version of the certificates controller for GKE clusters.
Package app implements a server that runs a stand-alone version of the certificates controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGKECertificatesControllerCommand ¶
func NewGKECertificatesControllerCommand() *cobra.Command
NewGKECertificatesControllerCommand creates a new *cobra.Command with default parameters.
Types ¶
type GKECertificatesController ¶
type GKECertificatesController struct {
Kubeconfig string
ClusterSigningGKEKubeconfig string
ClusterSigningGKERetryBackoff metav1.Duration
ApproveAllKubeletCSRsForGroup string
}
GKECertificatesController is the main context object for the package.
func NewGKECertificatesController ¶
func NewGKECertificatesController() *GKECertificatesController
Create a new instance of a GKECertificatesController with default parameters.
type GKESigner ¶
type GKESigner struct {
// contains filtered or unexported fields
}
GKESigner uses external calls to GKE in order to sign certificate signing requests.
func NewGKESigner ¶
func NewGKESigner(kubeConfigFile string, retryBackoff time.Duration, recorder record.EventRecorder, client clientset.Interface) (*GKESigner, error)
NewGKESigner will create a new instance of a GKESigner.
Click to show internal directories.
Click to hide internal directories.