internal

package
v0.0.0-...-72a4687 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBuild

func RunBuild(args []string, params *BuildCommandParams) error

func RunParse

func RunParse(args []string, params *ParseCommandParams) error

func RunPush

func RunPush(args []string, params *PushCommandParams) error

func RunTemplate

func RunTemplate(args []string, params *TemplateCommandParams) error

func RunTest

func RunTest(args []string, params *TestCommandParams) error

Types

type BuildCommandParams

type BuildCommandParams struct {
	Entrypoint   util.RepeatedStringFlag
	OutputFile   string
	Ignore       []string
	Target       util.EnumFlag
	Capabilities util.CapabilitiesFlag
}

type ParseCommandParams

type ParseCommandParams struct {
	Format util.EnumFlag
}

type PushCommandParams

type PushCommandParams struct {
	BundleRegistry string
}

type TemplateCommandParams

type TemplateCommandParams struct {
	RuleID       string
	RuleTitle    string
	RuleSeverity util.EnumFlag
	RuleFormat   util.EnumFlag
}

type TestCommandParams

type TestCommandParams struct {
	Verbose  bool
	Explain  util.EnumFlag
	Timeout  time.Duration
	Ignore   []string
	RunRegex string
}

Jump to

Keyboard shortcuts

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