Documentation
¶
Overview ¶
Package test implements test command for PEPCLI.
Index ¶
Constants ¶
View Source
const ( // Name contains title of function implemented by the package. Name = "test" // Description provides additional information on the package functionality. Description = "evaluates given requests on PDP server" )
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec(addr string, opts []pep.Option, maxRequestSize, maxResponseObligations uint32, in, out string, n int, v interface{}) error
Exec tests requests from input with given pdp server and dumps responses in YAML format to given file or standard output if file name is empty.
func FlagsParser ¶
func FlagsParser(args []string) interface{}
FlagsParser implements parsing for options specific to the package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.