controlinit

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckTarget

type CheckTarget interface {
	modconfig.ModTreeItem
	*modconfig.Benchmark | *modconfig.Control
}

type InitData

type InitData[T CheckTarget] struct {
	initialisation.InitData[T]
	OutputFormatter controldisplay.Formatter
	ControlFilter   workspace.ResourceFilter
}

func NewInitData

func NewInitData[T CheckTarget](ctx context.Context, cmd *cobra.Command, args []string) *InitData[T]

NewInitData returns a new InitData object It also starts an asynchronous population of the object InitData.Done closes after asynchronous initialization completes

Jump to

Keyboard shortcuts

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