dynamic

package
v0.0.0-...-6aac043 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Symbols = make(interp.Exports)

Symbolds hold pre-compiled libraries that are exposed to the rules (see yaegi_pkg.* files) - github.com/grafana/tanka/pkg/manifest - github.com/sh0rez/klint/pkg/klint

Functions

func Load

func Load(src []byte) (klint.Rule, error)

Load uses Yaegi to interpret a .klint.go file at runtime. The `lint` function is accessed from the interpreted result and returned as a regular `klint.Rule`

func LoadFiles

func LoadFiles(files []string) (klint.Rules, error)

LoadFiles loads each file as a rule

Types

This section is empty.

Jump to

Keyboard shortcuts

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