factory

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package factory is responsible for generating eligible victim kinds

New types of kinds can be added easily

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EligibleVictims

func EligibleVictims() (eligibleVictims []victims.Victim, err error)

EligibleVictims gathers list of enabled/enrolled kinds for judgement by the scheduler This checks against config.WhitelistedNamespaces but each victim checks themselves against the ns blacklist TODO: fetch all namespaces from k8 apiserver to check blacklist here

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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