get

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:          "get [AKITAURI]",
	Short:        "List or download objects in the Akita cloud.",
	Long:         "List or download objects in the Akita cloud.",
	SilenceUsage: true,
	RunE:         getByURIType,
}

Parent command for listing objects from Akita.

View Source
var GetSpecsCmd = &cobra.Command{
	Use:          "spec [AKITAURI [FILE]]",
	Aliases:      []string{"specs", "model", "models"},
	Short:        "List or download specifications for a service.",
	Long:         "List specifications in the Akita cloud, filtered by service and by tag. Or, specify a particular spec to download it.",
	SilenceUsage: false,
	RunE:         getSpecs,
}
View Source
var GetTimelineCmd = &cobra.Command{
	Use:          "timeline [SERVICE] [DEPLOYMENT]",
	Aliases:      []string{"timeline"},
	Short:        "List timeline for the given service.",
	Long:         "List timeline of API calls for the given service.",
	SilenceUsage: false,
	RunE:         getTimeline,
}
View Source
var GetTracesCmd = &cobra.Command{
	Use:          "traces [AKITAURI|SERVICE]",
	Aliases:      []string{"trace"},
	Short:        "List traces for the given service.",
	Long:         "List traces in the Akita cloud, filtered by service and by tag.",
	SilenceUsage: false,
	RunE:         getTraces,
}

Functions

This section is empty.

Types

type TimelineHeap added in v0.18.0

type TimelineHeap []*api_schema.Timeline

Implements Heap interface

func (TimelineHeap) Len added in v0.18.0

func (h TimelineHeap) Len() int

func (TimelineHeap) Less added in v0.18.0

func (h TimelineHeap) Less(i, j int) bool

func (*TimelineHeap) Pop added in v0.18.0

func (h *TimelineHeap) Pop() interface{}

func (*TimelineHeap) Push added in v0.18.0

func (h *TimelineHeap) Push(x interface{})

func (TimelineHeap) Swap added in v0.18.0

func (h TimelineHeap) Swap(i, j int)

Jump to

Keyboard shortcuts

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