Documentation ¶ Index ¶ func Pods(pods []v1.Pod, filter Filter) []v1.Pod type And func (filters And) Matches(pod v1.Pod) bool type Filter type Label func (label Label) Matches(pod v1.Pod) bool type Or func (filters Or) Matches(pod v1.Pod) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Pods ¶ func Pods(pods []v1.Pod, filter Filter) []v1.Pod Types ¶ type And ¶ type And []Filter func (And) Matches ¶ func (filters And) Matches(pod v1.Pod) bool type Filter ¶ type Filter interface { Matches(pod v1.Pod) bool } type Label ¶ type Label struct { Name string Operator selection.Operator Value string } func (Label) Matches ¶ func (label Label) Matches(pod v1.Pod) bool type Or ¶ type Or []Filter func (Or) Matches ¶ func (filters Or) Matches(pod v1.Pod) bool Source Files ¶ View all Source files and.go filter.go label.go or.go Click to show internal directories. Click to hide internal directories.