flags

package
v0.14.10 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package flags defines the flags accepted by Ondatra tests.

Index

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.

Jump to

Keyboard shortcuts

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