helm

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectKindLine

type DetectKindLine struct {
}

DetectKindLine defines a kindDetectLine type

func (DetectKindLine) DetectLine

func (d DetectKindLine) DetectLine(file *model.FileMetadata, searchKey string,
	outputLines int, logWithFields *zerolog.Logger) model.VulnerabilityLines

DetectLine is used to detect line on the helm template, it looks only at the keys of the template and will make use of the auxiliary added lines (ex: "# KICS_HELM_ID_")

func (DetectKindLine) SplitLines added in v1.4.2

func (d DetectKindLine) SplitLines(content string) []string

SplitLines splits the Helm document by line

Jump to

Keyboard shortcuts

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