Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockTrafficSplitClient
- func (m *MockTrafficSplitClient) BaseClient() clients.ResourceClient
- func (m *MockTrafficSplitClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockTrafficSplitClient) EXPECT() *MockTrafficSplitClientMockRecorder
- func (m *MockTrafficSplitClient) List(namespace string, opts clients.ListOpts) (v1alpha1.TrafficSplitList, error)
- func (m *MockTrafficSplitClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha1.TrafficSplit, error)
- func (m *MockTrafficSplitClient) Register() error
- func (m *MockTrafficSplitClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.TrafficSplitList, <-chan error, error)
- func (m *MockTrafficSplitClient) Write(resource *v1alpha1.TrafficSplit, opts clients.WriteOpts) (*v1alpha1.TrafficSplit, error)
- type MockTrafficSplitClientMockRecorder
- func (mr *MockTrafficSplitClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockTrafficSplitClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockTrafficSplitClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockTrafficSplitClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockTrafficSplitClientMockRecorder) Register() *gomock.Call
- func (mr *MockTrafficSplitClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockTrafficSplitClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockTrafficSplitReconciler
- type MockTrafficSplitReconcilerMockRecorder
- type MockTrafficSplitWatcher
- type MockTrafficSplitWatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrafficSplitClient ¶
type MockTrafficSplitClient struct {
// contains filtered or unexported fields
}
MockTrafficSplitClient is a mock of TrafficSplitClient interface
func NewMockTrafficSplitClient ¶
func NewMockTrafficSplitClient(ctrl *gomock.Controller) *MockTrafficSplitClient
NewMockTrafficSplitClient creates a new mock instance
func (*MockTrafficSplitClient) BaseClient ¶
func (m *MockTrafficSplitClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockTrafficSplitClient) Delete ¶
func (m *MockTrafficSplitClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockTrafficSplitClient) EXPECT ¶
func (m *MockTrafficSplitClient) EXPECT() *MockTrafficSplitClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrafficSplitClient) List ¶
func (m *MockTrafficSplitClient) List(namespace string, opts clients.ListOpts) (v1alpha1.TrafficSplitList, error)
List mocks base method
func (*MockTrafficSplitClient) Read ¶
func (m *MockTrafficSplitClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha1.TrafficSplit, error)
Read mocks base method
func (*MockTrafficSplitClient) Register ¶
func (m *MockTrafficSplitClient) Register() error
Register mocks base method
func (*MockTrafficSplitClient) Watch ¶
func (m *MockTrafficSplitClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.TrafficSplitList, <-chan error, error)
Watch mocks base method
func (*MockTrafficSplitClient) Write ¶
func (m *MockTrafficSplitClient) Write(resource *v1alpha1.TrafficSplit, opts clients.WriteOpts) (*v1alpha1.TrafficSplit, error)
Write mocks base method
type MockTrafficSplitClientMockRecorder ¶
type MockTrafficSplitClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTrafficSplitClientMockRecorder is the mock recorder for MockTrafficSplitClient
func (*MockTrafficSplitClientMockRecorder) BaseClient ¶
func (mr *MockTrafficSplitClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockTrafficSplitClientMockRecorder) Delete ¶
func (mr *MockTrafficSplitClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTrafficSplitClientMockRecorder) List ¶
func (mr *MockTrafficSplitClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTrafficSplitClientMockRecorder) Read ¶
func (mr *MockTrafficSplitClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockTrafficSplitClientMockRecorder) Register ¶
func (mr *MockTrafficSplitClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockTrafficSplitClientMockRecorder) Watch ¶
func (mr *MockTrafficSplitClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockTrafficSplitClientMockRecorder) Write ¶
func (mr *MockTrafficSplitClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockTrafficSplitReconciler ¶
type MockTrafficSplitReconciler struct {
// contains filtered or unexported fields
}
MockTrafficSplitReconciler is a mock of TrafficSplitReconciler interface
func NewMockTrafficSplitReconciler ¶
func NewMockTrafficSplitReconciler(ctrl *gomock.Controller) *MockTrafficSplitReconciler
NewMockTrafficSplitReconciler creates a new mock instance
func (*MockTrafficSplitReconciler) EXPECT ¶
func (m *MockTrafficSplitReconciler) EXPECT() *MockTrafficSplitReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrafficSplitReconciler) Reconcile ¶
func (m *MockTrafficSplitReconciler) Reconcile(namespace string, desiredResources v1alpha1.TrafficSplitList, transition v1alpha1.TransitionTrafficSplitFunc, opts clients.ListOpts) error
Reconcile mocks base method
type MockTrafficSplitReconcilerMockRecorder ¶
type MockTrafficSplitReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockTrafficSplitReconcilerMockRecorder is the mock recorder for MockTrafficSplitReconciler
func (*MockTrafficSplitReconcilerMockRecorder) Reconcile ¶
func (mr *MockTrafficSplitReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockTrafficSplitWatcher ¶
type MockTrafficSplitWatcher struct {
// contains filtered or unexported fields
}
MockTrafficSplitWatcher is a mock of TrafficSplitWatcher interface
func NewMockTrafficSplitWatcher ¶
func NewMockTrafficSplitWatcher(ctrl *gomock.Controller) *MockTrafficSplitWatcher
NewMockTrafficSplitWatcher creates a new mock instance
func (*MockTrafficSplitWatcher) EXPECT ¶
func (m *MockTrafficSplitWatcher) EXPECT() *MockTrafficSplitWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrafficSplitWatcher) Watch ¶
func (m *MockTrafficSplitWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.TrafficSplitList, <-chan error, error)
Watch mocks base method
type MockTrafficSplitWatcherMockRecorder ¶
type MockTrafficSplitWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTrafficSplitWatcherMockRecorder is the mock recorder for MockTrafficSplitWatcher
func (*MockTrafficSplitWatcherMockRecorder) Watch ¶
func (mr *MockTrafficSplitWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch