debug

package
v3.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package debug provides built-in CLI debug commands for the container, events, router, middleware, parameters, and versions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerCommand

type ContainerCommand struct {
}

func (*ContainerCommand) Description

func (instance *ContainerCommand) Description() string

func (*ContainerCommand) Flags

func (instance *ContainerCommand) Flags() []clicontract.Flag

func (*ContainerCommand) Name

func (instance *ContainerCommand) Name() string

func (*ContainerCommand) Run

func (instance *ContainerCommand) Run(
	runtimeInstance runtimecontract.Runtime,
	commandContext *clicontract.CommandContext,
) error

type EventCommand

type EventCommand struct {
}

func (*EventCommand) Description

func (instance *EventCommand) Description() string

func (*EventCommand) Flags

func (instance *EventCommand) Flags() []clicontract.Flag

func (*EventCommand) Name

func (instance *EventCommand) Name() string

func (*EventCommand) Run

func (instance *EventCommand) Run(
	runtimeInstance runtimecontract.Runtime,
	commandContext *clicontract.CommandContext,
) error

type MiddlewareCommand

type MiddlewareCommand struct {
	// contains filtered or unexported fields
}

func NewMiddlewareCommand

func NewMiddlewareCommand(middlewareProvider MiddlewareProvider) *MiddlewareCommand

func (*MiddlewareCommand) Description

func (instance *MiddlewareCommand) Description() string

func (*MiddlewareCommand) Flags

func (instance *MiddlewareCommand) Flags() []clicontract.Flag

func (*MiddlewareCommand) Name

func (instance *MiddlewareCommand) Name() string

func (*MiddlewareCommand) Run

func (instance *MiddlewareCommand) Run(
	_ runtimecontract.Runtime,
	commandContext *clicontract.CommandContext,
) error

type MiddlewareProvider

type MiddlewareProvider func() []httpcontract.Middleware

type ParameterCommand

type ParameterCommand struct {
}

func (*ParameterCommand) Description

func (instance *ParameterCommand) Description() string

func (*ParameterCommand) Flags

func (instance *ParameterCommand) Flags() []clicontract.Flag

func (*ParameterCommand) Name

func (instance *ParameterCommand) Name() string

func (*ParameterCommand) Run

func (instance *ParameterCommand) Run(
	runtimeInstance runtimecontract.Runtime,
	commandContext *clicontract.CommandContext,
) error

type RouterCommand

type RouterCommand struct {
}

func (*RouterCommand) Description

func (instance *RouterCommand) Description() string

func (*RouterCommand) Flags

func (instance *RouterCommand) Flags() []clicontract.Flag

func (*RouterCommand) Name

func (instance *RouterCommand) Name() string

func (*RouterCommand) Run

func (instance *RouterCommand) Run(
	runtimeInstance runtimecontract.Runtime,
	commandContext *clicontract.CommandContext,
) error

type VersionCommand

type VersionCommand struct {
	ApplicationVersion string
}

func (*VersionCommand) Description

func (instance *VersionCommand) Description() string

func (*VersionCommand) Flags

func (instance *VersionCommand) Flags() []clicontract.Flag

func (*VersionCommand) Name

func (instance *VersionCommand) Name() string

func (*VersionCommand) Run

func (instance *VersionCommand) Run(
	_ runtimecontract.Runtime,
	commandContext *clicontract.CommandContext,
) error

Jump to

Keyboard shortcuts

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