sharedcontext

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 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 SharedContext

type SharedContext struct {
	KubeClient              kubernetes.Interface
	KubeSystemUID           types.UID
	EventRecorderClient     kubernetes.Interface
	ClusterNamer            *namer.Namer
	ControllerContextConfig ingresscontext.ControllerContextConfig

	Logger           klog.Logger
	InformersFactory informers.SharedInformerFactory
	LpConfig         labels.PodLabelPropagationConfig
	SvcNegClient     svcnegclient.Interface
	L4Namer          *namer.L4Namer
	GlobalStopCh     <-chan struct{}
	// contains filtered or unexported fields
}

func NewSharedContext

func NewSharedContext(
	kubeClient kubernetes.Interface,
	svcNegClient svcnegclient.Interface,
	kubeSystemUID types.UID,
	eventRecorderClient kubernetes.Interface,
	clusterNamer *namer.Namer,
	logger klog.Logger,
	stopCh <-chan struct{}) *SharedContext

NewSharedContext returns a new shared set of informers.

Jump to

Keyboard shortcuts

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