option

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common

type Common struct {
	Debug bool
	Output
}

Common options for the complytctl CLI.

func (*Common) BindFlags

func (o *Common) BindFlags(fs *pflag.FlagSet)

BindFlags populate Common options from user-specified flags.

type ComplyTime

type ComplyTime struct {
	// UserWorkspace is the location where all output artifacts should be written. This is set
	// by flags.
	UserWorkspace string
	// FrameworkID representing the compliance framework identifier associated with the artifacts in the workspace.
	// It is set by workspace state or command positional arguments.
	FrameworkID string
}

ComplyTime options are configurations needed for the complyctl CLI to run. They are less generic the Common options and would only be used in a subset of commands.

func (*ComplyTime) BindFlags

func (o *ComplyTime) BindFlags(fs *pflag.FlagSet)

BindFlags populate ComplyTime options from user-specified flags.

func (*ComplyTime) ToPluginOptions

func (o *ComplyTime) ToPluginOptions() complytime.PluginOptions

ToPluginOptions returns global PluginOptions based on complytime Options.

type Output

type Output struct {
	// Out think, os.Stdout
	Out io.Writer
	// ErrOut think, os.Stderr
	ErrOut io.Writer
}

Output options for

Jump to

Keyboard shortcuts

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