Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PowerShellRuleCode enables PowerShell script analysis for Dockerfile snippets. PowerShellRuleCode = rules.PowerShellRulePrefix + "PowerShell" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct {
// contains filtered or unexported fields
}
Rule runs PowerShell script analysis on PowerShell snippets in Dockerfile instructions.
func (*Rule) CheckContext ¶
func (*Rule) Metadata ¶
func (r *Rule) Metadata() rules.RuleMetadata
Click to show internal directories.
Click to hide internal directories.