cmds

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmds

func Cmds(address string, noMetrics *bool) ([]*cobra.Command, error)

Cmds returns a slice containing pps commands.

Types

type ByCreationTime

type ByCreationTime []*ppsclient.JobInfo

ByCreationTime is an implementation of sort.Interface which sorts pps job info by creation time, ascending.

func (ByCreationTime) Len

func (arr ByCreationTime) Len() int

func (ByCreationTime) Less

func (arr ByCreationTime) Less(i, j int) bool

func (ByCreationTime) Swap

func (arr ByCreationTime) Swap(i, j int)

Jump to

Keyboard shortcuts

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