ordering

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(x schema.GroupKind, o schema.GroupKind) bool

func IsLessThan

func IsLessThan(x schema.GroupKind, o schema.GroupKind) bool

Types

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 added in v0.21.0

type SortableUnstructureds []*unstructured.Unstructured

func (SortableUnstructureds) Len added in v0.21.0

func (a SortableUnstructureds) Len() int

func (SortableUnstructureds) Less added in v0.21.0

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

func (SortableUnstructureds) Swap added in v0.21.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL