initializer

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelNodePoolName = "openyurt.io/pool-name"
)

Variables

This section is empty.

Functions

func New

func New(factory informers.SharedInformerFactory, kubeClient kubernetes.Interface, nodeName, nodePoolName, masterServiceHost, masterServicePort string) filter.Initializer

New creates an filterInitializer object

func NewNodesInitializer added in v1.5.0

func NewNodesInitializer(enableNodePool, enablePoolServiceTopology bool, dynamicInformerFactory dynamicinformer.DynamicSharedInformerFactory) filter.Initializer

NewNodesInitializer creates an filterInitializer object

Types

type WantsKubeClient added in v1.4.0

type WantsKubeClient interface {
	SetKubeClient(client kubernetes.Interface) error
}

WantsKubeClient is an interface for setting kube client

type WantsMasterServiceAddr

type WantsMasterServiceAddr interface {
	SetMasterServiceHost(host string) error
	SetMasterServicePort(port string) error
}

WantsMasterServiceAddr is an interface for setting mutated master service address

type WantsNodeName

type WantsNodeName interface {
	SetNodeName(nodeName string) error
}

WantsNodeName is an interface for setting node name

type WantsNodePoolName added in v1.3.0

type WantsNodePoolName interface {
	SetNodePoolName(nodePoolName string) error
}

WantsNodePoolName is an interface for setting nodePool name

type WantsNodesGetterAndSynced added in v1.5.0

type WantsNodesGetterAndSynced interface {
	SetNodesGetterAndSynced(filter.NodesInPoolGetter, cache.InformerSynced, bool) error
}

WantsNodesGetterAndSynced is an interface for setting nodes getter and synced

type WantsSharedInformerFactory

type WantsSharedInformerFactory interface {
	SetSharedInformerFactory(factory informers.SharedInformerFactory) error
}

WantsSharedInformerFactory is an interface for setting SharedInformerFactory

Jump to

Keyboard shortcuts

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