Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command *cli.Command = &cli.Command{ Name: "build", Aliases: []string{"b"}, Usage: "Build the project", Flags: []cli.Flag{ &cli.StringFlag{ Name: "project-file", Aliases: []string{"f"}, Usage: "The project file to use", }, &cli.StringFlag{ Name: "build-context", Aliases: []string{"c"}, Usage: "The build context to use", }, &cli.StringFlag{ Name: "system-name", Aliases: []string{"s"}, Usage: "The system name to use", }, &cli.StringFlag{ Name: "registry", Aliases: []string{"r"}, Usage: "The registry to use", Value: "acr", }, &cli.StringFlag{ Name: "go-main-package-directory", Usage: "The main package directory to use when building a Go application", }, &cli.StringFlag{ Name: "cache-tag", Usage: "The cache tag to use", Value: "latest-cache", }, &cli.StringFlag{ Name: "severity", Aliases: []string{"S"}, Usage: "The severity to use when scanning the image: can be any combination of CRITICAL, HIGH, MEDIUM, LOW, or UNKNOWN separated by commas", Value: "CRITICAL,HIGH", }, &cli.StringSliceFlag{ Name: "include-files", Aliases: []string{"i"}, Usage: "The files to include in the build context", }, &cli.StringSliceFlag{ Name: "include-directories", Aliases: []string{"I"}, Usage: "The directories to include in the build context", }, &cli.BoolFlag{ Name: "push", Aliases: []string{"p"}, Usage: "Push the image to the registry", Value: false, }, }, Action: Build, }
Functions ¶
Types ¶
type CSharpProjectFile ¶
type CSharpProjectFile struct {
XMLName xml.Name `xml:"Project"`
SDK string `xml:"Sdk,attr"`
PropertyGroup PropertyGroup
}
type GoDockerfileVariables ¶
type PropertyGroup ¶
type ScanImageOptions ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.