cmd

package
v0.0.0-...-df6132c Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstanceIds     []string
	SecurityGroups  []string
	Roles           []string
	InstanceProfile string
	Subnets         map[string]bool
)

this will be useful when we are cleaning up things at the end

Functions

func Execute

func Execute() error

Types

type ConnectivityTestResult

type ConnectivityTestResult struct {
	IPAddresses []string
}

ConnectivityTestResult represents the results of DNS and network connectivity tests

func TestServiceConnectivity

func TestServiceConnectivity(ctx context.Context, hostname string, timeout time.Duration) (*ConnectivityTestResult, error)

TestServiceConnectivity tests both DNS resolution and TCP connectivity given a hostname

type NetworkConfig

type NetworkConfig struct {
	LogLevel  string
	CfgFile   string
	AwsRegion string
	Destroy   bool
	Cleanup   bool

	MainSubnets []string
	PodSubnets  []string
	HttpsHosts  []string
	InstanceAMI string
	ApiEndpoint string
}

Jump to

Keyboard shortcuts

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