debug

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

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 DeferredListener added in v1.19.0

type DeferredListener struct {
	EventName    string `json:"eventName"`
	Priority     int    `json:"priority"`
	ListenerName string `json:"listenerName"`
	Note         string `json:"note"`
}

DeferredListener declares a listener the SERVING process wires and this process does not: the composition root knows which registrations are gated on the process shape, and the command renders them beside the dispatcher's own so an operator asking "is access control wired?" is not answered with an absence that means "not in this process".

type DeferredListenerProvider added in v1.19.0

type DeferredListenerProvider func() []DeferredListener

type EventCommand

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

func NewEventCommand added in v1.19.0

func NewEventCommand(deferredListenerProvider DeferredListenerProvider) *EventCommand

NewEventCommand builds the command with the declaration channel; the zero-value command stays valid and simply declares nothing

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 MiddlewareBuildProvider added in v1.19.0

type MiddlewareBuildProvider func() ([]httpcontract.Middleware, error)

MiddlewareBuildProvider runs the real build for an explicit --build request, answering the failure as an error; a factory panic is recovered by the command around the call.

type MiddlewareCommand

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

func NewMiddlewareCommand

func NewMiddlewareCommand(
	descriptionProvider MiddlewareDescriptionProvider,
	buildProvider MiddlewareBuildProvider,
) *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 MiddlewareDescriptionProvider added in v1.19.0

MiddlewareDescriptionProvider answers what the http pipeline would run without building it: the ordered descriptions, the selection report carrying the inactive entries with their reasons, or the same refusal the build answers a cycle or a missing reference with.

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
}

VersionCommand answers with three rows: the application's version, melody's, and the Go runtime's. The application row reads the process-wide declaration made through output.SetApplicationVersion — the composition root's main is where an application hands its version over, from whatever source it keeps it in — and an explicit ApplicationVersion set on the command wins over it.

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