shuffle

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Shuffle indicates the action name
	Shuffle = "shuffle"
)

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 (shuffle *Action) Execute(ssn *framework.Session)

Execute select evictees according given strategies and evict them.

func (*Action) Initialize

func (shuffle *Action) Initialize()

Initialize inits the action

func (*Action) Name

func (shuffle *Action) Name() string

Name returns the action name

func (*Action) UnInitialize

func (shuffle *Action) UnInitialize()

UnInitialize releases resource which is not useful.

Jump to

Keyboard shortcuts

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