watcher

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package watcher is a generated GoMock package.

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 MockNamespaceWatcher added in v1.59.0

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

MockNamespaceWatcher is a mock of NamespaceWatcher interface.

func NewMockNamespaceWatcher added in v1.59.0

func NewMockNamespaceWatcher(ctrl *gomock.Controller) *MockNamespaceWatcher

NewMockNamespaceWatcher creates a new mock instance.

func (*MockNamespaceWatcher) EXPECT added in v1.59.0

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

func (*MockNamespaceWatcher) WaitFor added in v1.59.0

func (m *MockNamespaceWatcher) WaitFor(ctx context.Context, namespace string) error

WaitFor mocks base method.

type MockNamespaceWatcherMockRecorder added in v1.59.0

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

MockNamespaceWatcherMockRecorder is the mock recorder for MockNamespaceWatcher.

func (*MockNamespaceWatcherMockRecorder) WaitFor added in v1.59.0

func (mr *MockNamespaceWatcherMockRecorder) WaitFor(ctx, namespace interface{}) *gomock.Call

WaitFor indicates an expected call of WaitFor.

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