plugins

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceManagerCallbackPlugin

func GetResourceManagerCallbackPlugin() api.ResourceManagerCallback

func GetStateDumpPlugin added in v1.2.0

func GetStateDumpPlugin() api.StateDumpPlugin

func RegisterSchedulerPlugin

func RegisterSchedulerPlugin(plugin interface{})

func UnregisterSchedulerPlugins added in v1.3.0

func UnregisterSchedulerPlugins()

visible for testing

Types

type SchedulerPlugins

type SchedulerPlugins struct {
	ResourceManagerCallbackPlugin api.ResourceManagerCallback
	StateDumpPlugin               api.StateDumpPlugin

	sync.RWMutex
}

Jump to

Keyboard shortcuts

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