service

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestServicePort = 80

Functions

func CreateWithBackend

func CreateWithBackend(cs clientset.Interface, namespace string, jigName string, tweak ...func(svc *corev1.Service)) (*corev1.Service, *e2eservice.TestJig)

func CreateWithBackendPort added in v0.13.0

func CreateWithBackendPort(cs clientset.Interface, namespace string, jigName string, port int, tweak ...func(svc *corev1.Service)) (*corev1.Service, *e2eservice.TestJig)

func Delete

func Delete(cs clientset.Interface, svc *corev1.Service)

func DualStack

func DualStack(svc *corev1.Service)

func ForceV4 added in v0.13.0

func ForceV4(svc *corev1.Service)

func ForceV6

func ForceV6(svc *corev1.Service)

func GetEndpointHostName

func GetEndpointHostName(ep string, exec executor.Executor) (string, error)

Relies on the endpoint being an agnhost netexec pod.

func TrafficPolicyCluster

func TrafficPolicyCluster(svc *corev1.Service)

func TrafficPolicyLocal

func TrafficPolicyLocal(svc *corev1.Service)

func ValidateL2 added in v0.13.0

func ValidateL2(svc *corev1.Service) error

func WithLoadbalancerClass added in v0.13.0

func WithLoadbalancerClass(loadBalancerClass string) func(*corev1.Service)

func WithSpecificIPs

func WithSpecificIPs(svc *corev1.Service, ips ...string)

func WithSpecificPool added in v0.13.0

func WithSpecificPool(poolName string) func(*corev1.Service)

Types

type Tweak

type Tweak func(svc *corev1.Service)

Jump to

Keyboard shortcuts

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