cmd

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.49.0

func New() *cobra.Command

func NewAPICmd added in v0.49.0

func NewAPICmd() *cobra.Command

func NewCheckCmd added in v0.49.0

func NewCheckCmd() *cobra.Command

func NewCreateCmd added in v0.49.0

func NewCreateCmd() *cobra.Command

NewCreateCmd prompts the user for info and generates a new app.

func NewDeleteCmd added in v0.49.0

func NewDeleteCmd() *cobra.Command

func NewDevicesCmd added in v0.49.0

func NewDevicesCmd() *cobra.Command

func NewFormatCmd added in v0.49.0

func NewFormatCmd() *cobra.Command

func NewLintCmd added in v0.49.0

func NewLintCmd() *cobra.Command

func NewListCmd added in v0.49.0

func NewListCmd() *cobra.Command

func NewProfileCmd added in v0.49.0

func NewProfileCmd() *cobra.Command

func NewPushCmd added in v0.49.0

func NewPushCmd() *cobra.Command

func NewRenderCmd added in v0.49.0

func NewRenderCmd() *cobra.Command

func NewSchemaCmd added in v0.49.0

func NewSchemaCmd() *cobra.Command

func NewServeCmd added in v0.49.0

func NewServeCmd() *cobra.Command

func NewVersionCmd added in v0.49.0

func NewVersionCmd() *cobra.Command

func ProfileApp

func ProfileApp(ctx context.Context, path string, config map[string]any, meta canvas.Metadata) (*pprof_profile.Profile, error)

Types

type FetchFunc

type FetchFunc func(src string, duration, timeout time.Duration) (*pprof_profile.Profile, string, error)

FetchFunc saves the profile into an in-memory buffer, which is simpler than the tool expects. Simple adapter to pipe it through.

func MakeFetchFunc

func MakeFetchFunc(prof *pprof_profile.Profile) FetchFunc

func (FetchFunc) Fetch

func (f FetchFunc) Fetch(src string, duration, timeout time.Duration) (*pprof_profile.Profile, string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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