package
0.0.0-20220126145105-a692f2ce3e6b
Repository: https://github.com/dmathieu/dice.git
Documentation: pkg.go.dev

# Functions

EvictNodes finds a set number of random nodes to evict, and drains them of all their pods.
FindNode finds a specific node by name.
FlagNode marks a specific node as needing to be rolled.
FlagValue allows configuring the value for the node flag.
GenerateTestNodes generated a set number of valid and flagged nodes for tests.
GetNodes lists nodes with optional filters.
GetPods lists all pods with optional filters.
NodeFlagged allows filtering to find only the flagged nodes in GetNodes.
NodeNotFlagged allows filtering to find only nodes that are not flagged in GetNodes.
PodNotTerminated filters the specific pods to find by not being terminated.
PodOnNode filters the pods to find by a specific node name.
Setup allows setting global configuration on the package.

# Structs

Node represents a kubernetes node.
Pod represents a kubernetes pod.