framework

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package framework provides the kcp instances shared by the e2e tests.

Index

Constants

This section is empty.

Variables

View Source
var Image = kcptc.DefaultImage + ":" + tag

Image is the image used by the e2e tests.

The e2e tests run against different releases of kcp to ensure backwards compatibility for a few versions. In CI KCP_VERSION is set to the various supported releases.

Functions

func After

func After(major, minor int) bool

After returns true when the given major/minor is after the tested kcp version.

func Before

func Before(major, minor int) bool

Before returns true when the given major/minor is before the tested kcp version.

func Default

func Default(ctx context.Context) (*kcptc.Instance, error)

Default returns the instance all e2e tests share.

func Second

func Second(ctx context.Context) (*kcptc.Instance, error)

Second returns an instance independent of Default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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