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
// contains filtered or unexported fields
}
func NewDistrolessRule ¶ added in v0.1.8
func NewDistrolessRule(cfg *pkg.ImageLinterConfig, m pkg.Module, errorList *errors.LintRuleErrorsList) *DistrolessRule
func (*DistrolessRule) Check ¶ added in v0.2.0
func (r *DistrolessRule) Check(_ context.Context)
type ImageRule ¶ added in v0.1.8
type ImageRule struct {
pkg.RuleMeta
pkg.PrefixRule
// contains filtered or unexported fields
}
func NewImageRule ¶ added in v0.1.8
func NewImageRule(cfg *pkg.ImageLinterConfig, m pkg.Module, errorList *errors.LintRuleErrorsList) *ImageRule
NOTE: the exclusion list is SkipDistrolessFilePathPrefix, not SkipImageFilePathPrefix. Kept as-is; see pkg/linters/README.md.
type PatchesRule ¶ added in v0.1.8
func NewPatchesRule ¶ added in v0.1.8
func NewPatchesRule(disable bool, m pkg.Module, errorList *errors.LintRuleErrorsList) *PatchesRule
func (*PatchesRule) Check ¶ added in v0.2.0
func (r *PatchesRule) Check(_ context.Context)
type WerfRule ¶ added in v0.1.8
func NewWerfRule ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.