profile

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 24

Documentation

Overview

Package profile holds the definition of a scheduling Profile.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[string]framework.Framework

Map holds frameworks indexed by scheduler name.

func NewMap

NewMap builds the frameworks given by the configuration, indexed by name.

func (Map) HandlesSchedulerName

func (m Map) HandlesSchedulerName(name string) bool

HandlesSchedulerName returns whether a profile handles the given scheduler name.

type RecorderFactory

type RecorderFactory func(string) events.EventRecorder

RecorderFactory builds an EventRecorder for a given scheduler name.

func NewRecorderFactory

func NewRecorderFactory(b events.EventBroadcaster) RecorderFactory

NewRecorderFactory returns a RecorderFactory for the broadcaster.

Jump to

Keyboard shortcuts

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