Versions in this module Expand all Collapse all v1 v1.1.0 Aug 25, 2026 v1.0.0 Jul 31, 2026 Changes in this version + var ErrLifecycleStart = errors.New("start telemetry lifecycle") + var ErrNilEvent = errors.New("telemetry lifecycle returned a nil event") + func EventFromContext(ctx context.Context) *shared.CliEvent + func Run(ctx context.Context, interactionType shared.InteractionType, ...) (resultErr error) + func WithEvent(ctx context.Context, event *shared.CliEvent) context.Context + func WithLifecycle(ctx context.Context, lifecycle Lifecycle) context.Context + type Lifecycle interface + Finish func(context.Context, *shared.CliEvent, error) error + Start func(context.Context, shared.InteractionType) (*shared.CliEvent, error) + type NoDeliveryLifecycle struct + func (NoDeliveryLifecycle) Finish(_ context.Context, event *shared.CliEvent, callbackErr error) error + func (NoDeliveryLifecycle) Start(_ context.Context, interactionType shared.InteractionType) (*shared.CliEvent, error)