registration

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

View Source
const (
	EvictionPlugin    = "EvictionPlugin"
	ReporterPlugin    = "ReporterPlugin"
	QoSResourcePlugin = "QoSResourcePlugin"

	BaseVersion = "v1alpha1"
)

Variables

This section is empty.

Functions

func NewRegistrationHandler

func NewRegistrationHandler(pluginType, pluginName string, supportedVersions []string) watcherapi.RegistrationServer

Types

type AgentPluginHandler

type AgentPluginHandler interface {
	GetHandlerType() string
	plugincache.PluginHandler
}

type RegistrationHandler

type RegistrationHandler struct {
	// contains filtered or unexported fields
}

func (*RegistrationHandler) GetInfo

GetInfo is the RPC which return pluginInfo

func (*RegistrationHandler) NotifyRegistrationStatus

func (handler *RegistrationHandler) NotifyRegistrationStatus(ctx context.Context, status *watcherapi.RegistrationStatus) (*watcherapi.RegistrationStatusResponse, error)

NotifyRegistrationStatus receives the registration notification from watcher

Jump to

Keyboard shortcuts

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