network

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean() error

Clean returns version information for the peer

func CleanCmd

func CleanCmd() *cobra.Command

CleanCmd returns the Cobra Command for Clean

func Generate

func Generate(topologies Topologies) error

Generate returns version information for the peer

func GenerateCmd

func GenerateCmd(topologies Topologies) *cobra.Command

GenerateCmd returns the Cobra Command for Generate

func NewCmd

func NewCmd(topologies ...api.Topology) *cobra.Command

NewCmd returns the Cobra Command for the network subcommands

func NewCmdWithMultipleTopologies

func NewCmdWithMultipleTopologies(topologies Topologies) *cobra.Command

NewCmdWithMultipleTopologies returns the Cobra Command for the network subcommands

func Start

func Start(topologies Topologies) error

Start returns version information for the peer

func StartCmd

func StartCmd(topologies Topologies) *cobra.Command

StartCmd returns the Cobra Command for Start

Types

type CallbackFunc

type CallbackFunc func(*integration.Infrastructure) error

CallbackFunc is the type of the callback function

var (

	// StartCMDPostNew is executed after the testing infrastructure is created
	StartCMDPostNew CallbackFunc
	// StartCMDPostStart is executed after the testing infrastructure is started
	StartCMDPostStart CallbackFunc
)

type Topologies

type Topologies map[string][]api.Topology

Jump to

Keyboard shortcuts

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