runtimehooks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupIdentity   featuregate.Feature = "GroupIdentity"
	CPUSetAllocator featuregate.Feature = "CPUSetAllocator"
)

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	RuntimeHooksNetwork string
	RuntimeHooksAddr    string
	FeatureGates        map[string]bool
}

func NewDefaultConfig

func NewDefaultConfig() *Config

func (*Config) InitFlags

func (c *Config) InitFlags(fs *flag.FlagSet)

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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