kubernetesk8s.io/kubernetes/pkg/kubectl/util/slice Index | Files

package slice

import "k8s.io/kubernetes/pkg/kubectl/util/slice"

Index

Functions

func SortInts64

func SortInts64(a []int64)

Sorts []int64 in increasing order

Types

type Int64Slice

type Int64Slice []int64

Int64Slice attaches the methods of Interface to []int64, sorting in increasing order.

func (Int64Slice) Len

func (p Int64Slice) Len() int

func (Int64Slice) Less

func (p Int64Slice) Less(i, j int) bool

func (Int64Slice) Swap

func (p Int64Slice) Swap(i, j int)

Source Files

slice.go

Version
v1.8.1
Published
Oct 11, 2017
Platform
js/wasm
Imports
1 packages
Last checked
24 seconds ago

Tools for package owners.