Documentation
¶
Overview ¶
Package pods pretends to run pods. It is basically a minimal implementation of the scheduler (it nominates itself to run all pods) and the kubelet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Printf(fmt string, args ...interface{})
}
Logger prints debugging messages.
type Manager ¶
type Manager struct { // K8s is a Kubernetes clientset. K8s kubernetes.Interface // L is a log sink. L Logger // UserCode is a map of image name to the code to run when that image is requested. UserCode map[string]UserCode // NodeName is the name of the node we're pretending to be. NodeName string // contains filtered or unexported fields }
Manager manages pods, by pretending to the apiserver that it is a node running a kubelet.
Click to show internal directories.
Click to hide internal directories.