validator

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: ISC Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Logger *log.Logger
}

func (*Validator) ValidatePtar

func (v *Validator) ValidatePtar(kctx *kcontext.KContext, ptar string) error

ValidatePtar validates an integration's content (manifest, schema.json...) from a built ptar. Kcontext with cache+logger is needed because we use kloset storage to read the ptar

func (*Validator) ValidateRepo added in v1.1.9

func (v *Validator) ValidateRepo(dir string) error

ValidateRepo validates an integration's source directory, as checked out in CI.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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