Documentation ¶
Index ¶
Constants ¶
View Source
const ( GroupIdentity featuregate.Feature = "GroupIdentity" CPUSetAllocator featuregate.Feature = "CPUSetAllocator" )
Variables ¶
View Source
var ( DefaultMutableRuntimeHooksFG featuregate.MutableFeatureGate = featuregate.NewFeatureGate() DefaultRuntimeHooksFG featuregate.FeatureGate = DefaultMutableRuntimeHooksFG )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RuntimeHooksNetwork string RuntimeHooksAddr string FeatureGates map[string]bool }
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
type HookPlugin ¶
type HookPlugin interface {
Register()
}
type RuntimeHook ¶
type RuntimeHook interface {
Run(stopCh <-chan struct{}) error
}
func NewRuntimeHook ¶
func NewRuntimeHook(si statesinformer.StatesInformer, cfg *Config) (RuntimeHook, error)
Click to show internal directories.
Click to hide internal directories.