get

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 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 GetGraphCmd = &cobra.Command{
	Use:          "graph [SERVICE] [DEPLOYMENT]",
	Aliases:      []string{"graph"},
	Short:        "Show the service graph in textual form.",
	Long:         "Show the service graph in textual form.",
	SilenceUsage: false,
	RunE:         getGraph,
	Hidden:       true,
}
View Source
var GetSpecsCmd = &cobra.Command{
	Use:          "spec [AKITAURI [FILE]]",
	Aliases:      []string{"specs", "model", "models"},
	Short:        "List or download specifications for a project.",
	Long:         "List specifications in the Akita cloud, filtered by project 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 project.",
	Long:         "List timeline of API calls for the given project.",
	SilenceUsage: false,
	RunE:         getTimeline,
}
View Source
var GetTracesCmd = &cobra.Command{
	Use:          "traces [AKITAURI|SERVICE]",
	Aliases:      []string{"trace"},
	Short:        "List traces for the given project.",
	Long:         "List traces in the Akita cloud, filtered by project 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