...

Package ordering

import "sigs.k8s.io/cli-utils/pkg/ordering"
Overview
Index

Overview ▾

func Equals

func Equals(i, j schema.GroupKind) bool

func IsLessThan

func IsLessThan(i, j schema.GroupKind) bool

type SortableInfos

type SortableInfos []*resource.Info

func (SortableInfos) Len

func (a SortableInfos) Len() int

func (SortableInfos) Less

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

func (SortableInfos) Swap

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

type SortableMetas

type SortableMetas []object.ObjMetadata

func (SortableMetas) Len

func (a SortableMetas) Len() int

func (SortableMetas) Less

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

func (SortableMetas) Swap

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

type SortableUnstructureds

type SortableUnstructureds []*unstructured.Unstructured

func (SortableUnstructureds) Len

func (a SortableUnstructureds) Len() int

func (SortableUnstructureds) Less

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

func (SortableUnstructureds) Swap

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