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
func (m *MockNamespaceWatcher) EXPECT() *MockNamespaceWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockRadixDeploymentWatcher) EXPECT() *MockRadixDeploymentWatcherMockRecorder
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
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 ¶
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