cmdsetup

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 33 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cmdsetup implements a real env in which to run tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoot

func NewRoot(runners ...run.Unit) *cobra.Command

NewRoot returns a root command.

func ShutdownSupervisor added in v0.11.0

func ShutdownSupervisor()

ShutdownSupervisor drains and unregisters the process-wide artifact sink.

func SupervisorContext added in v0.11.0

func SupervisorContext() context.Context

SupervisorContext returns the process-wide supervising context. It is canceled when any panicdiag-protected goroutine recovers a panic, allowing long-running work elsewhere in the process to wind down gracefully. The context is initialized by NewRoot's PersistentPreRunE; callers that fetch it before initialization receive a never-canceled context.Background.

Types

This section is empty.

Jump to

Keyboard shortcuts

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