Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDestinationRuleClient
- func (m *MockDestinationRuleClient) BaseClient() clients.ResourceClient
- func (m *MockDestinationRuleClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockDestinationRuleClient) EXPECT() *MockDestinationRuleClientMockRecorder
- func (m *MockDestinationRuleClient) List(namespace string, opts clients.ListOpts) (v1alpha3.DestinationRuleList, error)
- func (m *MockDestinationRuleClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha3.DestinationRule, error)
- func (m *MockDestinationRuleClient) Register() error
- func (m *MockDestinationRuleClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha3.DestinationRuleList, <-chan error, error)
- func (m *MockDestinationRuleClient) Write(resource *v1alpha3.DestinationRule, opts clients.WriteOpts) (*v1alpha3.DestinationRule, error)
- type MockDestinationRuleClientMockRecorder
- func (mr *MockDestinationRuleClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockDestinationRuleClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockDestinationRuleClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockDestinationRuleClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockDestinationRuleClientMockRecorder) Register() *gomock.Call
- func (mr *MockDestinationRuleClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockDestinationRuleClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockDestinationRuleReconciler
- type MockDestinationRuleReconcilerMockRecorder
- type MockDestinationRuleWatcher
- type MockDestinationRuleWatcherMockRecorder
- type MockVirtualServiceClient
- func (m *MockVirtualServiceClient) BaseClient() clients.ResourceClient
- func (m *MockVirtualServiceClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockVirtualServiceClient) EXPECT() *MockVirtualServiceClientMockRecorder
- func (m *MockVirtualServiceClient) List(namespace string, opts clients.ListOpts) (v1alpha3.VirtualServiceList, error)
- func (m *MockVirtualServiceClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha3.VirtualService, error)
- func (m *MockVirtualServiceClient) Register() error
- func (m *MockVirtualServiceClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha3.VirtualServiceList, <-chan error, error)
- func (m *MockVirtualServiceClient) Write(resource *v1alpha3.VirtualService, opts clients.WriteOpts) (*v1alpha3.VirtualService, error)
- type MockVirtualServiceClientMockRecorder
- func (mr *MockVirtualServiceClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockVirtualServiceClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockVirtualServiceClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockVirtualServiceClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockVirtualServiceClientMockRecorder) Register() *gomock.Call
- func (mr *MockVirtualServiceClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockVirtualServiceClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockVirtualServiceReconciler
- type MockVirtualServiceReconcilerMockRecorder
- type MockVirtualServiceWatcher
- type MockVirtualServiceWatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDestinationRuleClient ¶
type MockDestinationRuleClient struct {
// contains filtered or unexported fields
}
MockDestinationRuleClient is a mock of DestinationRuleClient interface
func NewMockDestinationRuleClient ¶
func NewMockDestinationRuleClient(ctrl *gomock.Controller) *MockDestinationRuleClient
NewMockDestinationRuleClient creates a new mock instance
func (*MockDestinationRuleClient) BaseClient ¶
func (m *MockDestinationRuleClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockDestinationRuleClient) Delete ¶
func (m *MockDestinationRuleClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockDestinationRuleClient) EXPECT ¶
func (m *MockDestinationRuleClient) EXPECT() *MockDestinationRuleClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDestinationRuleClient) List ¶
func (m *MockDestinationRuleClient) List(namespace string, opts clients.ListOpts) (v1alpha3.DestinationRuleList, error)
List mocks base method
func (*MockDestinationRuleClient) Read ¶
func (m *MockDestinationRuleClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha3.DestinationRule, error)
Read mocks base method
func (*MockDestinationRuleClient) Register ¶
func (m *MockDestinationRuleClient) Register() error
Register mocks base method
func (*MockDestinationRuleClient) Watch ¶
func (m *MockDestinationRuleClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha3.DestinationRuleList, <-chan error, error)
Watch mocks base method
func (*MockDestinationRuleClient) Write ¶
func (m *MockDestinationRuleClient) Write(resource *v1alpha3.DestinationRule, opts clients.WriteOpts) (*v1alpha3.DestinationRule, error)
Write mocks base method
type MockDestinationRuleClientMockRecorder ¶
type MockDestinationRuleClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDestinationRuleClientMockRecorder is the mock recorder for MockDestinationRuleClient
func (*MockDestinationRuleClientMockRecorder) BaseClient ¶
func (mr *MockDestinationRuleClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockDestinationRuleClientMockRecorder) Delete ¶
func (mr *MockDestinationRuleClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDestinationRuleClientMockRecorder) List ¶
func (mr *MockDestinationRuleClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDestinationRuleClientMockRecorder) Read ¶
func (mr *MockDestinationRuleClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockDestinationRuleClientMockRecorder) Register ¶
func (mr *MockDestinationRuleClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockDestinationRuleClientMockRecorder) Watch ¶
func (mr *MockDestinationRuleClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockDestinationRuleClientMockRecorder) Write ¶
func (mr *MockDestinationRuleClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockDestinationRuleReconciler ¶
type MockDestinationRuleReconciler struct {
// contains filtered or unexported fields
}
MockDestinationRuleReconciler is a mock of DestinationRuleReconciler interface
func NewMockDestinationRuleReconciler ¶
func NewMockDestinationRuleReconciler(ctrl *gomock.Controller) *MockDestinationRuleReconciler
NewMockDestinationRuleReconciler creates a new mock instance
func (*MockDestinationRuleReconciler) EXPECT ¶
func (m *MockDestinationRuleReconciler) EXPECT() *MockDestinationRuleReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDestinationRuleReconciler) Reconcile ¶
func (m *MockDestinationRuleReconciler) Reconcile(namespace string, desiredResources v1alpha3.DestinationRuleList, transition v1alpha3.TransitionDestinationRuleFunc, opts clients.ListOpts) error
Reconcile mocks base method
type MockDestinationRuleReconcilerMockRecorder ¶
type MockDestinationRuleReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockDestinationRuleReconcilerMockRecorder is the mock recorder for MockDestinationRuleReconciler
func (*MockDestinationRuleReconcilerMockRecorder) Reconcile ¶
func (mr *MockDestinationRuleReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockDestinationRuleWatcher ¶ added in v0.3.18
type MockDestinationRuleWatcher struct {
// contains filtered or unexported fields
}
MockDestinationRuleWatcher is a mock of DestinationRuleWatcher interface
func NewMockDestinationRuleWatcher ¶ added in v0.3.18
func NewMockDestinationRuleWatcher(ctrl *gomock.Controller) *MockDestinationRuleWatcher
NewMockDestinationRuleWatcher creates a new mock instance
func (*MockDestinationRuleWatcher) EXPECT ¶ added in v0.3.18
func (m *MockDestinationRuleWatcher) EXPECT() *MockDestinationRuleWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDestinationRuleWatcher) Watch ¶ added in v0.3.18
func (m *MockDestinationRuleWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha3.DestinationRuleList, <-chan error, error)
Watch mocks base method
type MockDestinationRuleWatcherMockRecorder ¶ added in v0.3.18
type MockDestinationRuleWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockDestinationRuleWatcherMockRecorder is the mock recorder for MockDestinationRuleWatcher
func (*MockDestinationRuleWatcherMockRecorder) Watch ¶ added in v0.3.18
func (mr *MockDestinationRuleWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockVirtualServiceClient ¶
type MockVirtualServiceClient struct {
// contains filtered or unexported fields
}
MockVirtualServiceClient is a mock of VirtualServiceClient interface
func NewMockVirtualServiceClient ¶
func NewMockVirtualServiceClient(ctrl *gomock.Controller) *MockVirtualServiceClient
NewMockVirtualServiceClient creates a new mock instance
func (*MockVirtualServiceClient) BaseClient ¶
func (m *MockVirtualServiceClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockVirtualServiceClient) Delete ¶
func (m *MockVirtualServiceClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockVirtualServiceClient) EXPECT ¶
func (m *MockVirtualServiceClient) EXPECT() *MockVirtualServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVirtualServiceClient) List ¶
func (m *MockVirtualServiceClient) List(namespace string, opts clients.ListOpts) (v1alpha3.VirtualServiceList, error)
List mocks base method
func (*MockVirtualServiceClient) Read ¶
func (m *MockVirtualServiceClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha3.VirtualService, error)
Read mocks base method
func (*MockVirtualServiceClient) Register ¶
func (m *MockVirtualServiceClient) Register() error
Register mocks base method
func (*MockVirtualServiceClient) Watch ¶
func (m *MockVirtualServiceClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha3.VirtualServiceList, <-chan error, error)
Watch mocks base method
func (*MockVirtualServiceClient) Write ¶
func (m *MockVirtualServiceClient) Write(resource *v1alpha3.VirtualService, opts clients.WriteOpts) (*v1alpha3.VirtualService, error)
Write mocks base method
type MockVirtualServiceClientMockRecorder ¶
type MockVirtualServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVirtualServiceClientMockRecorder is the mock recorder for MockVirtualServiceClient
func (*MockVirtualServiceClientMockRecorder) BaseClient ¶
func (mr *MockVirtualServiceClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockVirtualServiceClientMockRecorder) Delete ¶
func (mr *MockVirtualServiceClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockVirtualServiceClientMockRecorder) List ¶
func (mr *MockVirtualServiceClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockVirtualServiceClientMockRecorder) Read ¶
func (mr *MockVirtualServiceClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockVirtualServiceClientMockRecorder) Register ¶
func (mr *MockVirtualServiceClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockVirtualServiceClientMockRecorder) Watch ¶
func (mr *MockVirtualServiceClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockVirtualServiceClientMockRecorder) Write ¶
func (mr *MockVirtualServiceClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockVirtualServiceReconciler ¶
type MockVirtualServiceReconciler struct {
// contains filtered or unexported fields
}
MockVirtualServiceReconciler is a mock of VirtualServiceReconciler interface
func NewMockVirtualServiceReconciler ¶
func NewMockVirtualServiceReconciler(ctrl *gomock.Controller) *MockVirtualServiceReconciler
NewMockVirtualServiceReconciler creates a new mock instance
func (*MockVirtualServiceReconciler) EXPECT ¶
func (m *MockVirtualServiceReconciler) EXPECT() *MockVirtualServiceReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVirtualServiceReconciler) Reconcile ¶
func (m *MockVirtualServiceReconciler) Reconcile(namespace string, desiredResources v1alpha3.VirtualServiceList, transition v1alpha3.TransitionVirtualServiceFunc, opts clients.ListOpts) error
Reconcile mocks base method
type MockVirtualServiceReconcilerMockRecorder ¶
type MockVirtualServiceReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockVirtualServiceReconcilerMockRecorder is the mock recorder for MockVirtualServiceReconciler
func (*MockVirtualServiceReconcilerMockRecorder) Reconcile ¶
func (mr *MockVirtualServiceReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockVirtualServiceWatcher ¶ added in v0.3.18
type MockVirtualServiceWatcher struct {
// contains filtered or unexported fields
}
MockVirtualServiceWatcher is a mock of VirtualServiceWatcher interface
func NewMockVirtualServiceWatcher ¶ added in v0.3.18
func NewMockVirtualServiceWatcher(ctrl *gomock.Controller) *MockVirtualServiceWatcher
NewMockVirtualServiceWatcher creates a new mock instance
func (*MockVirtualServiceWatcher) EXPECT ¶ added in v0.3.18
func (m *MockVirtualServiceWatcher) EXPECT() *MockVirtualServiceWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVirtualServiceWatcher) Watch ¶ added in v0.3.18
func (m *MockVirtualServiceWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha3.VirtualServiceList, <-chan error, error)
Watch mocks base method
type MockVirtualServiceWatcherMockRecorder ¶ added in v0.3.18
type MockVirtualServiceWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockVirtualServiceWatcherMockRecorder is the mock recorder for MockVirtualServiceWatcher
func (*MockVirtualServiceWatcherMockRecorder) Watch ¶ added in v0.3.18
func (mr *MockVirtualServiceWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch