Versions in this module Expand all Collapse all v0 v0.23.2 Jan 18, 2026 v0.23.1 Jan 18, 2026 Changes in this version + const DefaultInterval + const DefaultTimeout + const KindClusterName + const MockServerImage + const MockServerName + const MockServerNamespace + const MockServerPort + const OperatorNamespace + const TestNamespace + type Framework struct + Client client.Client + ClusterCreated bool + KubeconfigPath string + MockServer *mockserver.Server + func New(opts *Options) (*Framework, error) + func (*Framework) BuildMockServerImage() error + func (*Framework) InClusterMockServerURL() string + func (*Framework) LoadMockServerImageToKind() error + func (f *Framework) Cleanup() + func (f *Framework) CleanupTestNamespace(name string) error + func (f *Framework) Context() context.Context + func (f *Framework) CreateCloudflareCredentials(name string, apiToken string, accountID string, isDefault bool) error + func (f *Framework) CreateSecret(namespace, name string, data map[string]string) error + func (f *Framework) CreateTestService(namespace, name string, port int32) error + func (f *Framework) DeleteResource(obj client.Object) error + func (f *Framework) DeleteResourceAndWait(obj client.Object, timeout time.Duration) error + func (f *Framework) DeployMockServerToCluster() error + func (f *Framework) EnsureNamespaceExists(name string) error + func (f *Framework) GetResource(obj client.Object, name, namespace string) error + func (f *Framework) MockServerURL() string + func (f *Framework) PatchOperatorWithMockServerURL() error + func (f *Framework) ResetMockServer() + func (f *Framework) SetupMockServerInCluster() error + func (f *Framework) SetupTestNamespace(name string) error + func (f *Framework) WaitForCondition(obj client.Object, conditionType string, expectedStatus metav1.ConditionStatus, ...) error + func (f *Framework) WaitForDeletion(obj client.Object, timeout time.Duration) error + func (f *Framework) WaitForMockServerReady(timeout time.Duration) error + func (f *Framework) WaitForOperatorReady(timeout time.Duration) error + func (f *Framework) WaitForStatusField(obj client.Object, fieldChecker func(client.Object) bool, ...) error + type Options struct + KubeconfigPath string + MockServerPort int + SkipMockServer bool + SkipMockServerSetup bool + UseExistingCluster bool + UseInClusterMockServer bool + func DefaultOptions() *Options