package
0.0.5
Repository: https://github.com/jsautret/genapid.git
Documentation: pkg.go.dev

# README

readfile

The readfile predicate reads and parse the value of file.

Options

OptionRequiredDescription
jsonPath to a JSON file
yamlPath to a YAML file

One of json or yaml must be present.

Results

FieldTypeDescription
resultbooleantrue if file was read
contentaccording to file contentThe parsed content of the file

# Functions

New returns a new Predicate.

# Variables

Name of the predicate.

# Structs

Predicate is the conf.Plugin interface that describes the predicate.