podutil contains utilities for reading, writing and filtering streams and lists of api.Pod objects.
Annotate safely copies annotation metadata from kv to meta.Annotations.
List reads every pod from the pods chan and returns them all in an api.PodList
Stream returns a chan of pods that yields each pod from the given list. No pods are yielded if err is non-nil.
return true if the pod passes the filter
Annotator returns a filter that copies annotations from map m into a pod
Environment returns a filter that writes environment variables into pod containers
Package podutil imports 14 packages (graph). Updated 2017-07-25. Refresh now. Tools for package owners. This is a quick bug-fix fork (has fewer than three commits, and only during the week it was created).