network

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CleanupCmd = &cobra.Command{
	Use:   "cleanup",
	Short: "cleanup e2e networking with cluster",
	Run: func(cmd *cobra.Command, args []string) {
		name, err := cmd.Flags().GetString("vm-name")
		utils.ExitIfNotNil(err)

		utils.ExitIfNotNil(RunCleanup(name))
	},
}
View Source
var NetworkCmd = &cobra.Command{
	Use:   "network",
	Short: "setup e2e networking with cluster",
}
View Source
var SetupCmd = &cobra.Command{
	Use:   "setup",
	Short: "setup e2e networking with cluster",
	Run: func(cmd *cobra.Command, args []string) {
		name, err := cmd.Flags().GetString("vm-name")
		utils.ExitIfNotNil(err)

		utils.ExitIfNotNil(RunSetup(name))
	},
}

Functions

func RunCleanup added in v0.1.0

func RunCleanup(name string) error

func RunSetup

func RunSetup(name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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