context

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentConfig

type ComponentConfig struct {
	NSAutoPropExcludeRegexp       *regexp.Regexp
	ClusterJoinTimeout            time.Duration
	MemberObjectEnqueueDelay      time.Duration
	ResourceAggregationNodeFilter []labels.Selector
	EnableKatalystSupport         bool
	ClusterHealthCheckPeriod      time.Duration
}

type Context

type Context struct {
	FedSystemNamespace string
	TargetNamespace    string

	WorkerCount                  int
	CascadingDeletionWorkerCount int
	ClusterAvailableDelay        time.Duration
	ClusterUnavailableDelay      time.Duration

	RestConfig      *rest.Config
	ComponentConfig *ComponentConfig

	Metrics stats.Metrics

	KubeClientset          kubeclient.Interface
	DynamicClientset       dynamicclient.Interface
	FedClientset           fedclient.Interface
	KubeInformerFactory    kubeinformer.SharedInformerFactory
	DynamicInformerFactory dynamicinformer.DynamicSharedInformerFactory
	FedInformerFactory     fedinformers.SharedInformerFactory

	InformerManager          informermanager.InformerManager
	FederatedInformerManager informermanager.FederatedInformerManager
}

func (*Context) StartFactories

func (c *Context) StartFactories(ctx context.Context)

Jump to

Keyboard shortcuts

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