images

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

Description

  • Check werf.yaml file
  • Check Dockerfile
  • Check that images are distroless
  • Check patch rules for images

Settings example

Module level

This linter has the following settings:

linters-settings:
  images:
    exclude-rules:
      skip-image-file-path-prefix:
        - "updater"
      skip-distroless-file-path-prefix:
        - "updater"
    patches:
      disable: false
    impact: error

Documentation

Index

Constants

View Source
const (
	ID = "images"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Images

type Images struct {
	ErrorList *errors.LintRuleErrorsList
	// contains filtered or unexported fields
}

Images linter

func New

func New(cfg *config.ModuleConfig, errorList *errors.LintRuleErrorsList) *Images

func (*Images) Desc

func (l *Images) Desc() string

func (*Images) Name

func (l *Images) Name() string

func (*Images) Run

func (l *Images) Run(m *module.Module)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL