workload

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	*db.SQLDB
	// contains filtered or unexported fields
}

Manager node workload

func NewManager

func NewManager(sdb *db.SQLDB, configFunc dtypes.GetSchedulerConfigFunc, lmgr *leadership.Manager, nmgr *node.Manager) *Manager

NewManager return new node manager instance

func (*Manager) HandleNodeWorkload

func (m *Manager) HandleNodeWorkload(data []byte, node *node.Node) error

HandleNodeWorkload handle node workload

func (*Manager) HandleUserWorkload

func (m *Manager) HandleUserWorkload(data []byte, node *node.Node) error

HandleUserWorkload handle user workload

Jump to

Keyboard shortcuts

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