kots

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnterpriseLintSpecFiles added in v0.1.2

func EnterpriseLintSpecFiles(specFiles domain.SpecFiles, policies []EnterprisePolicy) ([]domain.LintExpression, error)

func GetEmbeddedTroubleshootSpecs added in v0.3.7

func GetEmbeddedTroubleshootSpecs(ctx context.Context, specsFiles domain.SpecFiles) domain.SpecFiles

func GetFilesFromChartReader added in v0.2.98

func GetFilesFromChartReader(ctx context.Context, r io.Reader) (domain.SpecFiles, error)

GetFilesFromChartReader will render chart templates and return the resulting files This function will ignore missing required values. This function will also not validate value types.

func InitOPALinting

func InitOPALinting() error

func LintBuilders added in v0.2.98

func LintBuilders(ctx context.Context, files domain.SpecFiles) ([]domain.LintExpression, error)

func LintSpecFiles

func LintSpecFiles(ctx context.Context, specFiles domain.SpecFiles) ([]domain.LintExpression, bool, error)

func TroubleshootLintSpec added in v0.2.1

func TroubleshootLintSpec(spec string) ([]domain.LintExpression, error)

Types

type EnterprisePolicy added in v0.1.2

type EnterprisePolicy struct {
	Name   string `json:"name"`
	Policy string `json:"policy"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳