test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package test contains the tests for the liqoctl package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagNames

type FlagNames string

FlagNames contains the names of the flags.

const (
	// FlagNamesTimeout is the flag name for the timeout.
	FlagNamesTimeout FlagNames = "timeout"
	// FlagNamesVerbose is the flag name for the verbose output.
	FlagNamesVerbose FlagNames = "verbose"
	// FlagNamesFailFast is the flag name for the fail-fast option.
	FlagNamesFailFast FlagNames = "fail-fast"
)

type Options

type Options struct {
	LocalFactory *factory.Factory

	Timeout  time.Duration
	Verbose  bool
	FailFast bool
}

Options contains the options for the test commands.

func NewOptions

func NewOptions(f *factory.Factory) *Options

NewOptions returns a new Options struct.

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

AddFlags adds the flags to the flag set.

Directories

Path Synopsis
Package network contains the logic to launch network E2E tests.
Package network contains the logic to launch network E2E tests.
check
Package check contains the check functions to test the network commands.
Package check contains the check functions to test the network commands.
client
Package client contains the functions to initialize clients for the tests.
Package client contains the functions to initialize clients for the tests.
flags
Package flags contains the flags used by the network commands.
Package flags contains the flags used by the network commands.
info
Package info contains the logic to get info in network E2E tests.
Package info contains the logic to get info in network E2E tests.
setup
Package setup contains the logic to setup network E2E tests.
Package setup contains the logic to setup network E2E tests.
Package utils contains common definition and utils used across liqoctl test
Package utils contains common definition and utils used across liqoctl test

Jump to

Keyboard shortcuts

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