Documentation
¶
Index ¶
- func New() *cobra.Command
- func NewAPICmd() *cobra.Command
- func NewCheckCmd() *cobra.Command
- func NewCreateCmd() *cobra.Command
- func NewDeleteCmd() *cobra.Command
- func NewDevicesCmd() *cobra.Command
- func NewFormatCmd() *cobra.Command
- func NewLintCmd() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewProfileCmd() *cobra.Command
- func NewPushCmd() *cobra.Command
- func NewRenderCmd() *cobra.Command
- func NewSchemaCmd() *cobra.Command
- func NewServeCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- func ProfileApp(ctx context.Context, path string, config map[string]any, meta canvas.Metadata) (*pprof_profile.Profile, error)
- type FetchFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCheckCmd ¶ added in v0.49.0
func NewCreateCmd ¶ added in v0.49.0
NewCreateCmd prompts the user for info and generates a new app.
func NewDeleteCmd ¶ added in v0.49.0
func NewDevicesCmd ¶ added in v0.49.0
func NewFormatCmd ¶ added in v0.49.0
func NewLintCmd ¶ added in v0.49.0
func NewListCmd ¶ added in v0.49.0
func NewProfileCmd ¶ added in v0.49.0
func NewPushCmd ¶ added in v0.49.0
func NewRenderCmd ¶ added in v0.49.0
func NewSchemaCmd ¶ added in v0.49.0
func NewServeCmd ¶ added in v0.49.0
func NewVersionCmd ¶ added in v0.49.0
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.