Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringInSlice

func StringInSlice(s string, list []string) bool

StringInSlice returns true if s is in list

Types

type ByImageSize

type ByImageSize []kubecontainer.Image

ByImageSize makes an array of images sortable by their size in descending order.

func (ByImageSize) Len

func (a ByImageSize) Len() int

func (ByImageSize) Less

func (a ByImageSize) Less(i, j int) bool

func (ByImageSize) Swap

func (a ByImageSize) Swap(i, j int)

type PodsByCreationTime

type PodsByCreationTime []*v1.Pod

PodsByCreationTime makes an array of pods sortable by their creation timestamps in ascending order.

func (PodsByCreationTime) Len

func (s PodsByCreationTime) Len() int

func (PodsByCreationTime) Less

func (s PodsByCreationTime) Less(i, j int) bool

func (PodsByCreationTime) Swap

func (s PodsByCreationTime) Swap(i, j int)

Source Files