Documentation
¶
Index ¶
Constants ¶
View Source
const (
ImagesDir = "images"
)
View Source
const (
PatchesRuleName = "patches"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistrolessRule ¶ added in v0.1.8
type DistrolessRule struct {
pkg.RuleMeta
pkg.PrefixRule
}
func NewDistrolessRule ¶ added in v0.1.8
func NewDistrolessRule(cfg *config.ImageSettings) *DistrolessRule
func (*DistrolessRule) CheckImageNamesInDockerFiles ¶ added in v0.1.8
func (r *DistrolessRule) CheckImageNamesInDockerFiles(modulePath string, errorList *errors.LintRuleErrorsList)
type ImageRule ¶ added in v0.1.8
type ImageRule struct {
pkg.RuleMeta
pkg.PrefixRule
}
func NewImageRule ¶ added in v0.1.8
func NewImageRule(cfg *config.ImageSettings) *ImageRule
func (*ImageRule) CheckImageNamesInDockerFiles ¶ added in v0.1.8
func (r *ImageRule) CheckImageNamesInDockerFiles(modulePath string, errorList *errors.LintRuleErrorsList)
type PatchesRule ¶ added in v0.1.8
func NewPatchesRule ¶ added in v0.1.8
func NewPatchesRule(disable bool) *PatchesRule
func (*PatchesRule) CheckPatches ¶ added in v0.1.8
func (r *PatchesRule) CheckPatches(moduleDir string, errorList *errors.LintRuleErrorsList)
type WerfRule ¶ added in v0.1.8
func NewWerfRule ¶ added in v0.1.8
func NewWerfRule() *WerfRule
func (*WerfRule) LintWerfFile ¶ added in v0.1.8
func (r *WerfRule) LintWerfFile(data string, errorList *errors.LintRuleErrorsList)
Click to show internal directories.
Click to hide internal directories.