Documentation ¶
Overview ¶
Package check contains the linter checks
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks ¶
Package check contains the linter checks
Index ¶
- Constants
- Variables
- type BadContainerCommands
- type Context
- type DeprecatedInstruction
- type EmptyDockerfile
- type EmptyDockerignore
- type EmptyStage
- type EntrypointCmdShellForm
- type Info
- type InvalidInstruction
- type InvalidStageArgs
- type LastUserRoot
- type MalformedInstExecForm
- type Match
- type MultipleCmdInstructions
- type MultipleEntrypointInstructions
- type NoDockerignore
- type NoEnvArgs
- type NoStageArgs
- type NoStages
- type NoWorkdirPath
- type Options
- type PyPipInstallLatest
- type RelativeWorkdir
- type Result
- type Runner
- type SeparateRemove
- type StageFromLatest
- type StagelessInstruction
- type TooManyLayers
- type UnknownInstruction
- type UnnecessaryLayer
Constants ¶
View Source
const ( LabelLevel = "level" LabelScope = "scope" LabelInstruction = "instruction" LabelApp = "app" LabelShell = "shell" )
View Source
const ( LevelAny = "any" LevelFatal = "fatal" //parse or other errors that will result in image build failures LevelError = "error" LevelWarn = "warn" LevelInfo = "info" LevelStyle = "style" )
View Source
const ( ScopeAll = "all" ScopeDockerfile = "dockerfile" ScopeStage = "stage" ScopeInstruction = "instruction" ScopeDockerignore = "dockerignore" ScopeData = "data" ScopeApp = "app" ScopeShell = "shell" )
Variables ¶
View Source
var AllChecks = []Runner{}
Functions ¶
This section is empty.
Types ¶
type BadContainerCommands ¶
type Context ¶
type Context struct { DockerfilePath string Dockerfile *spec.Dockerfile BuildContextDir string Dockerignore *dockerignore.Matcher }
type DeprecatedInstruction ¶
type DeprecatedInstruction struct {
Info
}
type EmptyDockerfile ¶
type EmptyDockerfile struct {
Info
}
type EmptyDockerignore ¶
type EmptyDockerignore struct {
Info
}
type EmptyStage ¶
type EmptyStage struct {
Info
}
type EntrypointCmdShellForm ¶
type Info ¶
type Info struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"-"` MainMessage string `json:"-"` //can be a template with a format string MatchMessage string `json:"-"` //can be a template with a format string DetailsURL string `json:"-"` Labels map[string]string `json:"-"` }
type InvalidInstruction ¶
type InvalidInstruction struct {
Info
}
type InvalidStageArgs ¶
type InvalidStageArgs struct {
Info
}
type LastUserRoot ¶
type LastUserRoot struct {
Info
}
type MalformedInstExecForm ¶
type MalformedInstExecForm struct {
Info
}
type Match ¶
type Match struct { Stage *spec.BuildStage `json:"stage,omitempty"` Instruction *instruction.Field `json:"instruction,omitempty"` Message string `json:"message,omitempty"` }
type MultipleCmdInstructions ¶
type MultipleCmdInstructions struct {
Info
}
type MultipleEntrypointInstructions ¶
type MultipleEntrypointInstructions struct {
Info
}
type NoDockerignore ¶
type NoDockerignore struct {
Info
}
type NoStageArgs ¶
type NoStageArgs struct {
Info
}
type NoWorkdirPath ¶
type NoWorkdirPath struct {
Info
}
type PyPipInstallLatest ¶
type PyPipInstallLatest struct {
Info
}
type RelativeWorkdir ¶
type RelativeWorkdir struct {
Info
}
type SeparateRemove ¶
type SeparateRemove struct {
Info
}
type StageFromLatest ¶
type StageFromLatest struct {
Info
}
type StagelessInstruction ¶
type StagelessInstruction struct {
Info
}
type TooManyLayers ¶
type TooManyLayers struct {
Info
}
type UnknownInstruction ¶
type UnknownInstruction struct {
Info
}
type UnnecessaryLayer ¶
type UnnecessaryLayer struct {
Info
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.