foptions

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapFacadeOptionsToCallOptions

func MapFacadeOptionsToCallOptions(opts []FacadeOption) []services.CallOption

Types

type FacadeCfg

type FacadeCfg struct {
	NoStateCheck      bool
	Force             bool
	NoWait            bool
	Run               bool
	FailFast          bool
	Verbose           bool
	Stat              bool
	DryRun            bool
	NoWorkerLimit     bool
	AllowInconsistent bool
}

func ApplyFacadeOptions

func ApplyFacadeOptions(opts []FacadeOption) *FacadeCfg

type FacadeOption

type FacadeOption func(*FacadeCfg)

func WithAllowInconsistent added in v1.2.0

func WithAllowInconsistent() FacadeOption

func WithDryRun added in v1.2.0

func WithDryRun() FacadeOption

func WithFailFast

func WithFailFast() FacadeOption

func WithForce

func WithForce() FacadeOption

func WithNoStateCheck

func WithNoStateCheck() FacadeOption

func WithNoWait

func WithNoWait() FacadeOption

func WithNoWorkerLimit added in v1.2.0

func WithNoWorkerLimit() FacadeOption

func WithRun

func WithRun() FacadeOption

func WithStat added in v1.1.0

func WithStat() FacadeOption

func WithVerbose

func WithVerbose() FacadeOption

Jump to

Keyboard shortcuts

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