start

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(
	logger klog.Logger,
	kubeClient kubernetes.Interface,
	svcNegClient svcnegclient.Interface,
	kubeSystemUID types.UID,
	eventRecorderKubeClient kubernetes.Interface,
	providerConfigClient providerconfigclient.Interface,
	informersFactory informers.SharedInformerFactory,
	gceCreator gce.GCECreator,
	rootNamer *namer.Namer,
	stopCh <-chan struct{},
)

Start starts the ProviderConfig controller. It builds required context and starts the controller.

func StartWithLeaderElection

func StartWithLeaderElection(
	ctx context.Context,
	leaderElectKubeClient kubernetes.Interface,
	hostname string,
	logger klog.Logger,
	kubeClient kubernetes.Interface,
	svcNegClient svcnegclient.Interface,
	kubeSystemUID types.UID,
	eventRecorderKubeClient kubernetes.Interface,
	providerConfigClient providerconfigclient.Interface,
	informersFactory informers.SharedInformerFactory,
	gceCreator gce.GCECreator,
	rootNamer *namer.Namer,
	stopCh <-chan struct{},
) error

StartWithLeaderElection starts the ProviderConfig controller with leader election.

Types

This section is empty.

Jump to

Keyboard shortcuts

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