watcher

package
v1.57.18 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package watcher is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeNamespaceWatcher added in v1.56.0

type FakeNamespaceWatcher struct {
}

FakeNamespaceWatcher Unit tests doesn't handle multi-threading well

func (FakeNamespaceWatcher) WaitFor added in v1.56.0

func (watcher FakeNamespaceWatcher) WaitFor(_ context.Context, _ string) error

WaitFor Waits for namespace to appear

type FakeRadixDeploymentWatcher added in v1.56.0

type FakeRadixDeploymentWatcher struct {
}

FakeRadixDeploymentWatcher Unit tests doesn't handle multi-threading well

func (FakeRadixDeploymentWatcher) WaitForActive added in v1.56.0

func (watcher FakeRadixDeploymentWatcher) WaitForActive(_ context.Context, _, _ string) error

WaitFor Waits for radix deployment gets active

type MockRadixDeploymentWatcher

type MockRadixDeploymentWatcher struct {
	// contains filtered or unexported fields
}

MockRadixDeploymentWatcher is a mock of RadixDeploymentWatcher interface.

func NewMockRadixDeploymentWatcher

func NewMockRadixDeploymentWatcher(ctrl *gomock.Controller) *MockRadixDeploymentWatcher

NewMockRadixDeploymentWatcher creates a new mock instance.

func (*MockRadixDeploymentWatcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRadixDeploymentWatcher) WaitForActive

func (m *MockRadixDeploymentWatcher) WaitForActive(ctx context.Context, namespace, deploymentName string) error

WaitForActive mocks base method.

type MockRadixDeploymentWatcherMockRecorder

type MockRadixDeploymentWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockRadixDeploymentWatcherMockRecorder is the mock recorder for MockRadixDeploymentWatcher.

func (*MockRadixDeploymentWatcherMockRecorder) WaitForActive

func (mr *MockRadixDeploymentWatcherMockRecorder) WaitForActive(ctx, namespace, deploymentName interface{}) *gomock.Call

WaitForActive indicates an expected call of WaitForActive.

type NamespaceWatcher added in v1.56.0

type NamespaceWatcher interface {
	WaitFor(ctx context.Context, namespace string) error
}

NamespaceWatcher Watcher to wait for namespace to be created

type NamespaceWatcherImpl added in v1.56.0

type NamespaceWatcherImpl struct {
	// contains filtered or unexported fields
}

NamespaceWatcherImpl Implementation of watcher

func NewNamespaceWatcherImpl added in v1.56.0

func NewNamespaceWatcherImpl(client kubernetes.Interface) NamespaceWatcherImpl

NewNamespaceWatcherImpl Constructor

func (NamespaceWatcherImpl) WaitFor added in v1.56.0

func (watcher NamespaceWatcherImpl) WaitFor(ctx context.Context, namespace string) error

WaitFor Waits for namespace to appear

type RadixDeploymentWatcher

type RadixDeploymentWatcher interface {
	WaitForActive(ctx context.Context, namespace, deploymentName string) error
}

RadixDeploymentWatcher Watcher to wait for namespace to be created

func NewRadixDeploymentWatcher

func NewRadixDeploymentWatcher(radixClient radixclient.Interface, waitTimeout time.Duration) RadixDeploymentWatcher

NewRadixDeploymentWatcher Constructor

Jump to

Keyboard shortcuts

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