Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugMiddleware ¶
type DebugMiddleware struct {
// contains filtered or unexported fields
}
func (*DebugMiddleware) AttachToFlag ¶
func (d *DebugMiddleware) AttachToFlag(flags *pflag.FlagSet, flagName string)
type Executable ¶
type Executable interface { AddMiddleware(mids ...Middleware) Execute(ctx context.Context, args []string) int }
func New ¶
func New(cmd *cobra.Command) Executable
type Middleware ¶
type Middleware interface {
// contains filtered or unexported methods
}
func Telemetry ¶
func Telemetry() Middleware
We collect some light telemetry to be able to improve devbox over time. We're aware how important privacy is and value it ourselves, so we have the following rules: 1. We only collect anonymized data – nothing that is personally identifiable 2. Data is only stored in SOC 2 compliant systems, and we are SOC 2 compliant ourselves. 3. Users should always have the ability to opt-out.
type TraceMiddleware ¶
type TraceMiddleware struct {
// contains filtered or unexported fields
}
func (*TraceMiddleware) AttachToFlag ¶
func (t *TraceMiddleware) AttachToFlag(flags *pflag.FlagSet, flagName string)
Click to show internal directories.
Click to hide internal directories.