package app
import "k8s.io/kubernetes/cmd/gke-certificates-controller/app"
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 ¶
- func NewGKECertificatesControllerCommand() *cobra.Command
- func Run(s *GKECertificatesController) error
- type GKECertificatesController
- func NewGKECertificatesController() *GKECertificatesController
- func (s *GKECertificatesController) AddFlags(fs *pflag.FlagSet)
- type GKESigner
Functions ¶
func NewGKECertificatesControllerCommand ¶
NewGKECertificatesControllerCommand creates a new *cobra.Command with default parameters.
func Run ¶
func Run(s *GKECertificatesController) error
Run runs the GKECertificatesController. This should never exit.
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.
func (*GKECertificatesController) AddFlags ¶
func (s *GKECertificatesController) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific GKECertificatesController to the specified FlagSet.
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.
Source Files ¶
gke_certificates_controller.go gke_signer.go options.go
- Version
- v1.9.11-beta.0
- Published
- Aug 2, 2018
- Platform
- js/wasm
- Imports
- 22 packages
- Last checked
- 32 seconds ago –
Tools for package owners.