Documentation ¶
Index ¶
- Constants
- func New(factory informers.SharedInformerFactory, kubeClient kubernetes.Interface, ...) filter.Initializer
- func NewNodesInitializer(enableNodePool, enablePoolServiceTopology bool, ...) filter.Initializer
- type WantsKubeClient
- type WantsMasterServiceAddr
- type WantsNodeName
- type WantsNodePoolName
- type WantsNodesGetterAndSynced
- type WantsSharedInformerFactory
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 ¶
WantsNodeName is an interface for setting node name
type WantsNodePoolName ¶ added in v1.3.0
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 {
}WantsSharedInformerFactory is an interface for setting SharedInformerFactory
Click to show internal directories.
Click to hide internal directories.