Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockTrafficTargetClient
- func (m *MockTrafficTargetClient) BaseClient() clients.ResourceClient
- func (m *MockTrafficTargetClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockTrafficTargetClient) EXPECT() *MockTrafficTargetClientMockRecorder
- func (m *MockTrafficTargetClient) List(namespace string, opts clients.ListOpts) (v1alpha1.TrafficTargetList, error)
- func (m *MockTrafficTargetClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha1.TrafficTarget, error)
- func (m *MockTrafficTargetClient) Register() error
- func (m *MockTrafficTargetClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.TrafficTargetList, <-chan error, error)
- func (m *MockTrafficTargetClient) Write(resource *v1alpha1.TrafficTarget, opts clients.WriteOpts) (*v1alpha1.TrafficTarget, error)
- type MockTrafficTargetClientMockRecorder
- func (mr *MockTrafficTargetClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockTrafficTargetClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockTrafficTargetClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockTrafficTargetClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockTrafficTargetClientMockRecorder) Register() *gomock.Call
- func (mr *MockTrafficTargetClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockTrafficTargetClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockTrafficTargetReconciler
- type MockTrafficTargetReconcilerMockRecorder
- type MockTrafficTargetWatcher
- type MockTrafficTargetWatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrafficTargetClient ¶
type MockTrafficTargetClient struct {
// contains filtered or unexported fields
}
MockTrafficTargetClient is a mock of TrafficTargetClient interface
func NewMockTrafficTargetClient ¶
func NewMockTrafficTargetClient(ctrl *gomock.Controller) *MockTrafficTargetClient
NewMockTrafficTargetClient creates a new mock instance
func (*MockTrafficTargetClient) BaseClient ¶
func (m *MockTrafficTargetClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockTrafficTargetClient) Delete ¶
func (m *MockTrafficTargetClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockTrafficTargetClient) EXPECT ¶
func (m *MockTrafficTargetClient) EXPECT() *MockTrafficTargetClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrafficTargetClient) List ¶
func (m *MockTrafficTargetClient) List(namespace string, opts clients.ListOpts) (v1alpha1.TrafficTargetList, error)
List mocks base method
func (*MockTrafficTargetClient) Read ¶
func (m *MockTrafficTargetClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha1.TrafficTarget, error)
Read mocks base method
func (*MockTrafficTargetClient) Register ¶
func (m *MockTrafficTargetClient) Register() error
Register mocks base method
func (*MockTrafficTargetClient) Watch ¶
func (m *MockTrafficTargetClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.TrafficTargetList, <-chan error, error)
Watch mocks base method
func (*MockTrafficTargetClient) Write ¶
func (m *MockTrafficTargetClient) Write(resource *v1alpha1.TrafficTarget, opts clients.WriteOpts) (*v1alpha1.TrafficTarget, error)
Write mocks base method
type MockTrafficTargetClientMockRecorder ¶
type MockTrafficTargetClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTrafficTargetClientMockRecorder is the mock recorder for MockTrafficTargetClient
func (*MockTrafficTargetClientMockRecorder) BaseClient ¶
func (mr *MockTrafficTargetClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockTrafficTargetClientMockRecorder) Delete ¶
func (mr *MockTrafficTargetClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTrafficTargetClientMockRecorder) List ¶
func (mr *MockTrafficTargetClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTrafficTargetClientMockRecorder) Read ¶
func (mr *MockTrafficTargetClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockTrafficTargetClientMockRecorder) Register ¶
func (mr *MockTrafficTargetClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockTrafficTargetClientMockRecorder) Watch ¶
func (mr *MockTrafficTargetClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockTrafficTargetClientMockRecorder) Write ¶
func (mr *MockTrafficTargetClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockTrafficTargetReconciler ¶
type MockTrafficTargetReconciler struct {
// contains filtered or unexported fields
}
MockTrafficTargetReconciler is a mock of TrafficTargetReconciler interface
func NewMockTrafficTargetReconciler ¶
func NewMockTrafficTargetReconciler(ctrl *gomock.Controller) *MockTrafficTargetReconciler
NewMockTrafficTargetReconciler creates a new mock instance
func (*MockTrafficTargetReconciler) EXPECT ¶
func (m *MockTrafficTargetReconciler) EXPECT() *MockTrafficTargetReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrafficTargetReconciler) Reconcile ¶
func (m *MockTrafficTargetReconciler) Reconcile(namespace string, desiredResources v1alpha1.TrafficTargetList, transition v1alpha1.TransitionTrafficTargetFunc, opts clients.ListOpts) error
Reconcile mocks base method
type MockTrafficTargetReconcilerMockRecorder ¶
type MockTrafficTargetReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockTrafficTargetReconcilerMockRecorder is the mock recorder for MockTrafficTargetReconciler
func (*MockTrafficTargetReconcilerMockRecorder) Reconcile ¶
func (mr *MockTrafficTargetReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockTrafficTargetWatcher ¶
type MockTrafficTargetWatcher struct {
// contains filtered or unexported fields
}
MockTrafficTargetWatcher is a mock of TrafficTargetWatcher interface
func NewMockTrafficTargetWatcher ¶
func NewMockTrafficTargetWatcher(ctrl *gomock.Controller) *MockTrafficTargetWatcher
NewMockTrafficTargetWatcher creates a new mock instance
func (*MockTrafficTargetWatcher) EXPECT ¶
func (m *MockTrafficTargetWatcher) EXPECT() *MockTrafficTargetWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrafficTargetWatcher) Watch ¶
func (m *MockTrafficTargetWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.TrafficTargetList, <-chan error, error)
Watch mocks base method
type MockTrafficTargetWatcherMockRecorder ¶
type MockTrafficTargetWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTrafficTargetWatcherMockRecorder is the mock recorder for MockTrafficTargetWatcher
func (*MockTrafficTargetWatcherMockRecorder) Watch ¶
func (mr *MockTrafficTargetWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch