dryrun

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From(ctx context.Context) bool

From gets dry-run flag from the context

func IsDryRun

func IsDryRun(ctx context.Context) bool

IsDryRun checks if the context has dry-run flag set to true

func With

func With(ctx context.Context, dryRun bool) context.Context

With sets dry-run flag in the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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