reserve

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct{}

Action defines the action

func New

func New() *Action

New returns the action instance

func (*Action) Execute

func (alloc *Action) Execute(ssn *framework.Session)

Execute selects a node which is not locked and has the most idle resource

func (*Action) Initialize

func (alloc *Action) Initialize()

Initialize inits the action

func (*Action) Name

func (alloc *Action) Name() string

Name returns the action name

func (*Action) UnInitialize

func (alloc *Action) UnInitialize()

UnInitialize releases resource which are not useful.

Jump to

Keyboard shortcuts

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