Documentation
¶
Index ¶
- func CreateNamespace(ctx context.Context, cfg *envconf.Config, t *testing.T, runID string) (context.Context, error)
- func CreateSingleClusterTest(version fdbv1beta2.Version, t *testing.T) features.Feature
- func DeleteNamespace(ctx context.Context, cfg *envconf.Config, t *testing.T) (context.Context, error)
- func GetTestFDBVersions() []fdbv1beta2.Version
- func InstallOperator(ctx context.Context, cfg *envconf.Config, _ *testing.T) (context.Context, error)
- func RegisterFDBScheme(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func WaitUntilCRDAvailable(ctx context.Context, _ *envconf.Config) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNamespace ¶
func CreateNamespace(ctx context.Context, cfg *envconf.Config, t *testing.T, runID string) (context.Context, error)
CreateNamespace ...
func CreateSingleClusterTest ¶
CreateSingleClusterTest returns an e2e test that creates a cluster and assess that the cluster was correctly created.
func DeleteNamespace ¶
func DeleteNamespace(ctx context.Context, cfg *envconf.Config, t *testing.T) (context.Context, error)
DeleteNamespace ...
func GetTestFDBVersions ¶
func GetTestFDBVersions() []fdbv1beta2.Version
GetTestFDBVersions returns a slice that contains all FDB versions we use to do e2e tests.
func InstallOperator ¶
func InstallOperator(ctx context.Context, cfg *envconf.Config, _ *testing.T) (context.Context, error)
InstallOperator is a helper method to install the FDB operator inside the test namespace.
func RegisterFDBScheme ¶
RegisterFDBScheme registers the fdbv1beta2 scheme to the rest config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.