images

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

README

Description

  • Check werf.yaml file
  • Check Dockerfile
  • Check that images are distroless

Settings example

Module level

This linter does not have any settings.

Documentation

Index

Constants

View Source
const (
	ID = "images"
)
View Source
const (
	ImagesDir = "images"
)

Variables

This section is empty.

Functions

func IsExistsOnFilesystem added in v0.1.0

func IsExistsOnFilesystem(parts ...string) bool

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) ApplyImagesRules added in v0.1.0

func (l *Images) ApplyImagesRules(m *module.Module, result *errors.LintRuleErrorsList) *errors.LintRuleErrorsList

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)

Jump to

Keyboard shortcuts

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