Documentation ¶
Overview ¶
Package tests provides the Sidero tests.
Index ¶
- func Run(ctx context.Context, cluster talos.Cluster, vmSet *vm.Set, ...) (ok bool)
- type Options
- type TestFunc
- func TestEnvironmentDefault(ctx context.Context, metalClient client.Client, cluster talos.Cluster, ...) TestFunc
- func TestManagementCluster(ctx context.Context, metalClient client.Client, cluster talos.Cluster, ...) TestFunc
- func TestServerClassDefault(ctx context.Context, metalClient client.Client, vmSet *vm.Set) TestFunc
- func TestServerMgmtAPI(ctx context.Context, metalClient client.Client, vmSet *vm.Set) TestFunc
- func TestServerPatch(ctx context.Context, metalClient client.Client, talosInstaller string, ...) TestFunc
- func TestServerRegistration(ctx context.Context, metalClient client.Client, vmSet *vm.Set) TestFunc
- func TestServersReady(ctx context.Context, metalClient client.Client) TestFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestFunc ¶
TestFunc is a testing function prototype.
func TestEnvironmentDefault ¶
func TestEnvironmentDefault(ctx context.Context, metalClient client.Client, cluster talos.Cluster, kernelURL, initrdURL string) TestFunc
TestEnvironmentDefault verifies default environment creation.
func TestManagementCluster ¶
func TestManagementCluster(ctx context.Context, metalClient client.Client, cluster talos.Cluster, vmSet *vm.Set, capiManager *capi.Manager) TestFunc
TestManagementCluster deploys the management cluster via CAPI.
nolint: gocognit
func TestServerClassDefault ¶
TestServerClassDefault verifies server class creation.
func TestServerMgmtAPI ¶
TestServerMgmtAPI patches all the servers for the management API.
func TestServerPatch ¶
func TestServerPatch(ctx context.Context, metalClient client.Client, talosInstaller string, registryMirrors []string) TestFunc
TestServerPatch patches all the servers for the config.
func TestServerRegistration ¶
TestServerRegistration verifies that all the servers got registered.
Click to show internal directories.
Click to hide internal directories.