Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AddToScheme = localSchemeBuilder.AddToScheme Scheme = runtime.NewScheme() )
Functions ¶
This section is empty.
Types ¶
type AgentOptions ¶
type ControllerOptions ¶
type HTTPServerOptions ¶
type HTTPServerOptions struct { DebugMode bool CacheAllocator *cache.CacheAllocator IPAllocator *ipam.IPAllocator DHCPAllocator *dhcp.DHCPAllocator MetricsAllocator *metrics.MetricsAllocator }
type Management ¶
type Management struct { ControllerFactory controller.SharedControllerFactory HarvesterNetworkFactory *ctlnetwork.Factory CniFactory *ctlcni.Factory CoreFactory *ctlcore.Factory KubeVirtFactory *ctlkubevirt.Factory ClientSet *kubernetes.Clientset CacheAllocator *cache.CacheAllocator IPAllocator *ipam.IPAllocator MetricsAllocator *metrics.MetricsAllocator Options *ControllerOptions // contains filtered or unexported fields }
func SetupManagement ¶
func SetupManagement(ctx context.Context, restConfig *rest.Config, options *ControllerOptions) (*Management, error)
func (*Management) NewRecorder ¶
func (s *Management) NewRecorder(componentName, namespace, nodeName string) record.EventRecorder
func (*Management) Register ¶
func (s *Management) Register(ctx context.Context, config *rest.Config, registerFuncList []RegisterFunc) error
func (*Management) Start ¶
func (s *Management) Start(threadiness int) error
type RegisterFunc ¶
type RegisterFunc func(context.Context, *Management) error
Click to show internal directories.
Click to hide internal directories.