rmproxy

package
v0.0.0-...-67dc25f Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationReloader

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

actual configuration reloader

func (ConfigurationReloader) DoReloadConfiguration

func (cr ConfigurationReloader) DoReloadConfiguration() error

type RMProxy

type RMProxy struct {
	EventHandlers handler.EventHandlers
	// contains filtered or unexported fields
}

Gateway to talk to ResourceManager (behind grpc/API of scheduler-interface)

func NewRMProxy

func NewRMProxy() *RMProxy

func (*RMProxy) GetRMEventHandler

func (m *RMProxy) GetRMEventHandler() commonevents.EventHandler

func (*RMProxy) GetResourceManagerCallback

func (m *RMProxy) GetResourceManagerCallback(rmID string) api.ResourceManagerCallback

func (*RMProxy) HandleEvent

func (m *RMProxy) HandleEvent(ev interface{})

func (*RMProxy) ReloadConfiguration

func (m *RMProxy) ReloadConfiguration(rmID string) error

Triggers scheduler to reload configuration and apply the changes on-the-fly to the scheduler itself.

func (*RMProxy) StartService

func (m *RMProxy) StartService(handlers handler.EventHandlers)

func (*RMProxy) Update

func (m *RMProxy) Update(request *si.UpdateRequest) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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