testutil

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: UPL-1.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToBeDeletedTaint = "ToBeDeletedByClusterAutoscaler"
)

Variables

This section is empty.

Functions

func FakeClientGetCall

func FakeClientGetCall(client *fakeclientset.Clientset, action string, resource string, obj runtime.Object)

func GetEndpointsResourceList

func GetEndpointsResourceList(name string, namespace string, allCase bool) *v1.EndpointsList

func GetEndpointsResourceListAllCase

func GetEndpointsResourceListAllCase(name string, namespace string) *v1.EndpointsList

func GetHTTPPath

func GetHTTPPath() networkingv1.HTTPIngressPath

func GetIngressClassList

func GetIngressClassList() *networkingv1.IngressClassList

func GetIngressClassListWithLBSet

func GetIngressClassListWithLBSet(lbId string) *networkingv1.IngressClassList

func GetIngressClassListWithNginx

func GetIngressClassListWithNginx() *networkingv1.IngressClassList

func GetIngressClassResource

func GetIngressClassResource(name string, isDefault bool, controller string) *networkingv1.IngressClass

func GetIngressClassResourceWithAnnotation

func GetIngressClassResourceWithAnnotation(name string, annotation map[string]string, controller string) *networkingv1.IngressClassList

func GetIngressClassResourceWithLbId

func GetIngressClassResourceWithLbId(name string, isDefault bool, controller string, lbid string) *networkingv1.IngressClass

func GetIngressResource added in v1.3.8

func GetIngressResource(name string) *networkingv1.Ingress

func GetNodesList

func GetNodesList() *v1.NodeList

func GetPodReadinessGates

func GetPodReadinessGates(name string, host string) []v1.PodReadinessGate

func GetPodResourceList

func GetPodResourceList(name string, image string) *v1.PodList

func GetPodResourceWithReadiness

func GetPodResourceWithReadiness(name string, image string, ingressName string, host string, condition []v1.PodCondition) *v1.Pod

func GetSampleCertSecret

func GetSampleCertSecret(namespace, name, caChain, cert, key string) *v1.Secret

func GetSampleSecret

func GetSampleSecret(configName string, privateKey string, data string, privateKeyData string) *v1.Secret

func GetServiceListResource

func GetServiceListResource(namespace string, name string, port int32) *v1.ServiceList

func GetServiceListResourceWithPortName

func GetServiceListResourceWithPortName(namespace string, name string, port int32, portName string) *v1.ServiceList

func ReadResourceAsIngressList

func ReadResourceAsIngressList(fileName string) *networkingv1.IngressList

func SampleLoadBalancerResponse

func SampleLoadBalancerResponse() ociloadbalancer.GetLoadBalancerResponse

func UpdateFakeClientCall

func UpdateFakeClientCall(client *fakeclientset.Clientset, action string, resource string, object runtime.Object)

Types

This section is empty.

Jump to

Keyboard shortcuts

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