Documentation ¶ Overview ¶ Package flags defines the flags accepted by Ondatra tests. Index ¶ func JSONLPath() string type Values func Parse() (*Values, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func JSONLPath ¶ func JSONLPath() string JSONLPath returns the value of the -jsonl flag without validating the other flags, or "" if the flag is unset or does not have the .jsonl extension. It lets Ondatra record a result in the ledger even when Parse fails. Types ¶ type Values ¶ type Values struct { TestbedPath string RunTime time.Duration WaitTime time.Duration ResvID string ResvPartial map[string]string XMLPath string JSONLPath string Debug bool } Values is the set of parsed and validated flag values. func Parse ¶ func Parse() (*Values, error) Parse parse and validates the flag values. Source Files ¶ View all Source files flags.go Click to show internal directories. Click to hide internal directories.