input

package
v0.0.0-...-f080418 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Failure

type Failure struct {
	DestinationIP string
	FailureReason string
}

type Pod

type Pod struct {
	// Name of the pod
	PodName string
	// Namespace of the pod, used to generate the Link
	PodNamespace string
	// IPv4 Address of the pod
	PodIPv4Address string
	// IPv6 Address of the pod
	PodIPv6Address string
	// Set to true when the Pod is scheduled on IP
	// from the Secondary ENI
	IsIPFromSecondaryENI bool
}

type PodNetworkingValidationInput

type PodNetworkingValidationInput struct {
	// CIDR Range associated with the VPC
	VPCCidrRange []string
	// Prefix for the veth pair on host network ns
	VethPrefix string
	// List of pod to validate the networking
	PodList []Pod
	// Should Validate MTU value, by default it will false
	ValidateMTU bool
	// Expected MTU value
	MTU int
	// Cluster's IP Family mode
	IPFamily string
}

func (PodNetworkingValidationInput) Serialize

func (ip PodNetworkingValidationInput) Serialize() (string, error)

type TestStatus

type TestStatus struct {
	SuccessCount int
	FailureCount int
	SourcePod    string
	Failures     []Failure
}

Jump to

Keyboard shortcuts

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