factory

package
v0.0.0-...-75ccfd8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 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