Documentation ¶
Index ¶
Constants ¶
View Source
const (
AgnhostImage = "registry.k8s.io/e2e-test-images/agnhost:2.21"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialConfig ¶ added in v2.22.0
type ServiceJig ¶
type ServiceJig struct { Log *zap.SugaredLogger Client ctrlruntimeclient.Client Namespace 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.
func (*ServiceJig) Cleanup ¶ added in v2.22.0
func (j *ServiceJig) Cleanup(ctx context.Context) error
Cleanup removes the resources.
func (*ServiceJig) CreateServiceWithPods ¶
func (j *ServiceJig) CreateServiceWithPods(ctx context.Context, svc *corev1.Service, numPods int32, https bool) (*corev1.Service, []string, error)
CreateServiceWithPods deploys a service and the associated pods, returning the created service and the names of all pods that act as endpoints for the service.
Click to show internal directories.
Click to hide internal directories.