Documentation
¶
Index ¶
- func GetAlert(ctx context.Context) *model.Alert
- func GetStack(ctx context.Context) int
- func InjectAlert(ctx context.Context, alert *model.Alert) context.Context
- func InjectClock(ctx context.Context, clock model.Clock) context.Context
- func InjectLogger(ctx context.Context, logger *slog.Logger) context.Context
- func InjectStack(ctx context.Context, stack int) context.Context
- func IsCLI(ctx context.Context) bool
- func IsDryRun(ctx context.Context) bool
- func Logger(ctx context.Context) *slog.Logger
- func Now(ctx context.Context) time.Time
- func SetCLI(ctx context.Context) context.Context
- func SetDryRun(ctx context.Context, dryRun bool) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.