kube-monkey: github.com/asobti/kube-monkey/victims/factory Index | Files | Directories

package factory

import "github.com/asobti/kube-monkey/victims/factory"

Package factory is responsible for generating eligible victim kinds

New types of kinds can be added easily

Index

Package Files

factory.go

func EligibleVictims Uses

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

Directories

PathSynopsis
daemonsets
deployments
statefulsets

Package factory imports 11 packages (graph) and is imported by 1 packages. Updated 2019-10-07. Refresh now. Tools for package owners.