Documentation
¶
Index ¶
- Variables
- func Build(tool, dockerfile string) error
- func GetImageName(target string) (string, error)
- func Run(tool string, dockerRunArgs []string, cmd string, args ...string) error
- func RunWith(env map[string]string, tool string, dockerRunArgs []string, cmd string, ...) error
- type CatalogInfo
- type Go
- type GoLangCILint
- type KubeConform
- type PolicyBot
- type TFLint
- type Terraform
- type TerraformDocs
- type Trivy
Constants ¶
This section is empty.
Variables ¶
View Source
var CatalogInfoDockerfile string
CatalogInfoDockerfile the content of policy-bot.Dockerfile
View Source
var PolicyBotConfigCheckDocker string
PolicyBotConfigCheckDocker the content of policy-bot.Dockerfile
View Source
var ToolsDockerfile string
ToolsDockerfile the content of tools.Dockerfile
Functions ¶
func Build ¶
Build allow a mage target to depend on a Docker image. This will pull the image from a Docker registry.
func GetImageName ¶
GetImageName returns the name of a devtools OCI image
Types ¶
type CatalogInfo ¶ added in v0.21.0
type CatalogInfo struct{}
CatalogInfo holds the devtool for policy-bot
type GoLangCILint ¶ added in v0.21.0
type GoLangCILint struct{}
GoLangCILint holds the devtool for golnagci lint
type KubeConform ¶ added in v0.21.0
type KubeConform struct{}
KubeConform holds the devtool for kubeconform
type PolicyBot ¶ added in v0.21.0
type PolicyBot struct{}
PolicyBot holds the devtool for policy-bot
type TerraformDocs ¶ added in v0.21.0
type TerraformDocs struct{}
TerraformDocs holds the devtool for terraform-docs
Click to show internal directories.
Click to hide internal directories.