recoverycontroller

package
v0.0.0-alpha.0....-8dc397b Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertRecoveryControllerCommand

func NewCertRecoveryControllerCommand(ctx context.Context) *cobra.Command

Types

type CSRController

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

CSRController composes CSR signers that are needed to sign kubelet CSRs so it can login to apiserver and start running pods.

func NewCSRController

func NewCSRController(
	kubeClient kubernetes.Interface,
	kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces,
	operatorClient v1helpers.StaticPodOperatorClient,
	eventRecorder events.Recorder,
) (*CSRController, error)

func (*CSRController) Run

func (c *CSRController) Run(ctx context.Context)

type Options

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

func (*Options) Complete

func (o *Options) Complete(ctx context.Context) error

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

func (*Options) Validate

func (o *Options) Validate(ctx context.Context) error

Jump to

Keyboard shortcuts

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