helm

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 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,
	logWithFields *zerolog.Logger, outputLines int) 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