type PodsByCreationTime … func (s PodsByCreationTime) Len() int { … } func (s PodsByCreationTime) Swap(i, j int) { … } func (s PodsByCreationTime) Less(i, j int) bool { … } type ByImageSize … func (a ByImageSize) Less(i, j int) bool { … } func (a ByImageSize) Len() int { … } func (a ByImageSize) Swap(i, j int) { … }