frmwrk

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConfig

type ClusterConfig struct {
	SpecName          string
	NamespaceName     string
	ClusterName       string
	KubernetesVersion string
	ControlPlaneIP    string

	FirewallSize     string
	FirewallImage    string
	FirewallNetworks []string

	ControlPlaneMachineCount int64
	ControlPlaneMachineSize  string
	ControlPlaneMachineImage string

	WorkerMachineCount int64
	WorkerMachineSize  string
	WorkerMachineImage string
}

type E2ECluster

type E2ECluster struct {
	E2EContext *E2EContext
	ClusterConfig

	Refs *E2EClusterRefs
}

func (*E2ECluster) Dump added in v0.6.3

func (ec *E2ECluster) Dump(ctx context.Context)

func (*E2ECluster) GenerateAndApplyClusterTemplate

func (e2e *E2ECluster) GenerateAndApplyClusterTemplate(ctx context.Context)

func (*E2ECluster) SetupControlPlaneIP added in v0.8.0

func (e2e *E2ECluster) SetupControlPlaneIP(ctx context.Context)

func (*E2ECluster) SetupNamespace

func (e2e *E2ECluster) SetupNamespace(ctx context.Context) *corev1.Namespace

func (*E2ECluster) Teardown

func (e2e *E2ECluster) Teardown(ctx context.Context)

func (*E2ECluster) Variables

func (e2e *E2ECluster) Variables() map[string]string

type E2EClusterRefs

type E2EClusterRefs struct {
	Namespace      *corev1.Namespace
	NodeNetwork    *metalmodels.V1NetworkResponse
	ControlPlaneIP *metalmodels.V1IPResponse

	Workload framework.ClusterProxy
	Cluster  *clusterv1.Cluster
}

type E2EContext

type E2EContext struct {
	E2EConfig   *clusterctl.E2EConfig
	Environment *Environment
}

E2EContext holds the shared context for the e2e tests.

func NewE2EContext

func NewE2EContext(options ...Option) *E2EContext

func (*E2EContext) CreateClusterctlConfig

func (ee *E2EContext) CreateClusterctlConfig(ctx context.Context)

func (*E2EContext) InitManagementCluster

func (ee *E2EContext) InitManagementCluster(ctx context.Context)

func (*E2EContext) NewE2ECluster

func (e2e *E2EContext) NewE2ECluster(cfg ClusterConfig) *E2ECluster

func (*E2EContext) ProvideBootstrapCluster

func (ee *E2EContext) ProvideBootstrapCluster()

func (*E2EContext) Teardown

func (ee *E2EContext) Teardown(ctx context.Context)

func (*E2EContext) TeardownMetalStackProject added in v0.6.3

func (ee *E2EContext) TeardownMetalStackProject(ctx context.Context)

type Environment

type Environment struct {
	Scheme               *runtime.Scheme
	ClusterProvider      bootstrap.ClusterProvider
	Bootstrap            framework.ClusterProxy
	Metal                metal.Client
	ClusterctlConfigPath string
	Flavor               string
	// contains filtered or unexported fields
}

type Option

type Option func(*E2EContext)

Jump to

Keyboard shortcuts

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