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
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(_, _ 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 ¶
func (m *MockRadixDeploymentWatcher) EXPECT() *MockRadixDeploymentWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRadixDeploymentWatcher) WaitForActive ¶
func (m *MockRadixDeploymentWatcher) WaitForActive(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(namespace, deploymentName interface{}) *gomock.Call
WaitForActive indicates an expected call of WaitForActive.
type NamespaceWatcher ¶ added in v1.56.0
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
type RadixDeploymentWatcher ¶
RadixDeploymentWatcher Watcher to wait for namespace to be created
func NewRadixDeploymentWatcher ¶
func NewRadixDeploymentWatcher(radixClient radixclient.Interface, waitTimeout time.Duration) RadixDeploymentWatcher
NewRadixDeploymentWatcher Constructor