submarineragent

package
v0.0.0-...-40333c2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnectionsStatusController

func NewConnectionsStatusController(clusterName string, addOnClient addonclient.Interface, submarinerInformer informers.GenericInformer,
	recorder events.Recorder,
) factory.Controller

NewConnectionsStatusController returns an instance of submarinerAgentStatusController.

func NewDeploymentStatusController

func NewDeploymentStatusController(clusterName string, installationNamespace string, addOnClient addonclient.Interface,
	daemonsetInformer appsv1informers.DaemonSetInformer, deploymentInformer appsv1informers.DeploymentInformer,
	subscriptionInformer informers.GenericInformer, submarinerInformer informers.GenericInformer, recorder events.Recorder,
) factory.Controller

NewDeploymentStatusController returns an instance of deploymentStatusController.

func NewGatewaysStatusController

func NewGatewaysStatusController(
	clusterName string,
	addOnClient addonclient.Interface,
	nodeInformer corev1informers.NodeInformer,
	recorder events.Recorder,
) factory.Controller

NewGatewaysStatusController returns an instance of gatewaysStatusController.

func NewSubmarinerConfigController

func NewSubmarinerConfigController(input *SubmarinerConfigControllerInput) factory.Controller

NewSubmarinerConfigController returns an instance of submarinerAgentConfigController.

Types

type SubmarinerConfigControllerInput

type SubmarinerConfigControllerInput struct {
	ClusterName          string
	KubeClient           kubernetes.Interface
	ConfigClient         configclient.Interface
	AddOnClient          addonclient.Interface
	DynamicClient        dynamic.Interface
	NodeInformer         corev1informers.NodeInformer
	AddOnInformer        addoninformerv1alpha1.ManagedClusterAddOnInformer
	ConfigInformer       configinformer.SubmarinerConfigInformer
	CloudProviderFactory cloud.ProviderFactory
	Recorder             events.Recorder
	// This is a hook for unit tests to invoke a defer (specifically GinkgoRecover) when the sync function is called.
	OnSyncDefer func()
}

Jump to

Keyboard shortcuts

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