Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
ErrUnsupportedStaticParsing = errors.New("unsupported static parsing")
)
Functions ¶
This section is empty.
Types ¶
type Walker ¶
type Walker interface {
Build() (*feature.Feature, error)
// Note: this method will perform mutations based on the V3 ruleslang
// AST if it exists. If not, it will fall back to the ruleString
// provided in the feature.
Mutate(f *feature.Feature) ([]byte, error)
// Returns the formatted bytes.
Format() ([]byte, error)
}
Walker provides methods to statically read and manipulate .star files that hold lekko features.
Click to show internal directories.
Click to hide internal directories.