Documentation
¶
Index ¶
- Constants
- func RunBuild(args []string, params *BuildCommandParams) error
- func RunParse(args []string, params *ParseCommandParams) error
- func RunPush(args []string, params *PushCommandParams) error
- func RunTemplate(args []string, params *TemplateCommandParams) error
- func RunTest(args []string, params *TestCommandParams) error
- type BuildCommandParams
- type ParseCommandParams
- type PushCommandParams
- type TemplateCommandParams
- type TestCommandParams
Constants ¶
View Source
const ( TargetRego = "rego" TargetWasm = "wasm" )
View Source
const ( HCL2 = "hcl2" YAML = "yaml" TERRAFORM_PLAN = "tf-plan" )
View Source
const ( LOW = "low" MEDIUM = "medium" HIGH = "high" CRITICAL = "critical" )
View Source
const ( ExplainModeFull = "full" ExplainModeNotes = "notes" ExplainModeFails = "fails" )
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 ¶ added in v0.4.0
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 PushCommandParams ¶ added in v0.4.0
type PushCommandParams struct {
BundleRegistry string
}
type TemplateCommandParams ¶
Click to show internal directories.
Click to hide internal directories.