e2eincrementalupgrade

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0, BSD-2-Clause, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CurlPodName       = "curl-pod"
	CurlContainerName = "curl-container"
)

CurlPodName and CurlContainerName are the default names used when creating a curl pod for gateway tests.

Variables

This section is empty.

Functions

func CurlRayServiceGateway

func CurlRayServiceGateway(
	t Test,
	gatewayIP string,
	curlPod *corev1.Pod,
	curlPodContainerName,
	method,
	rayServicePath,
	body string,
) (bytes.Buffer, bytes.Buffer)

CurlRayServiceGateway sends a request to the RayService Gateway using a Curl pod. This method currently supports POST and GET methods.

func GetActiveCapacity

func GetActiveCapacity(rs *rayv1.RayService) int32

func GetActiveTraffic

func GetActiveTraffic(rs *rayv1.RayService) int32

func GetGatewayIP

func GetGatewayIP(gateway *gwv1.Gateway) string

GetGatewayIP retrieves the external IP for a Gateway object

func GetLastTrafficMigratedTime

func GetLastTrafficMigratedTime(rs *rayv1.RayService) *metav1.Time

func GetPendingCapacity

func GetPendingCapacity(rs *rayv1.RayService) int32

func GetPendingTraffic

func GetPendingTraffic(rs *rayv1.RayService) int32

Types

This section is empty.

Jump to

Keyboard shortcuts

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