Documentation ¶
Index ¶
Constants ¶
View Source
const (
AgnhostImage = "registry.k8s.io/e2e-test-images/agnhost:2.21"
)
TODO make registries configurable.
Variables ¶
This section is empty.
Functions ¶
func ExtractNodePorts ¶
ExtractNodePorts returns the set of node ports extracted from the given Service.
func ExtractPorts ¶
ExtractPorts returns the set of ports extracted from the given Service.
Types ¶
type Deployer ¶
type Deployer struct { Log *zap.SugaredLogger Namespace string Versions kubermatic.Versions Client ctrlruntimeclient.Client // contains filtered or unexported fields }
Deployer helps setting up nodeport proxy for testing.
func (*Deployer) GetLbService ¶
GetLbService returns the service used to expose the nodeport proxy pods.
type ServiceJig ¶
type ServiceJig struct { Log *zap.SugaredLogger Client ctrlruntimeclient.Client Namespace string Services []*corev1.Service ServicePods map[string][]string }
Based on: https://github.com/mgdevstack/kubernetes/blob/9eced040142454a20255ae323279a38dc6b2bc1a/test/e2e/framework/service/jig.go#L60 ServiceJig is a jig to help service testing.
Click to show internal directories.
Click to hide internal directories.