Documentation ¶
Index ¶
- func Checksum(spec *bundlev1.RuleSet) (string, error)
- func Evaluate(ctx context.Context, b *bundlev1.Bundle, spec *bundlev1.RuleSet) error
- func FromBundle(b *bundlev1.Bundle) (*bundlev1.RuleSet, error)
- func JSONSchema() []byte
- func Lint(r io.Reader) ([]gojsonschema.ResultError, error)
- func Validate(spec *bundlev1.RuleSet) error
- func YAML(r io.Reader) (*bundlev1.RuleSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBundle ¶
FromBundle crawls secret structure to generate a linter ruleset.
func Lint ¶
func Lint(r io.Reader) ([]gojsonschema.ResultError, error)
Lint to input reader content with Bundle jsonschema.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.