Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error
- func (m *MockStore) Delete(arg0 context.Context, arg1 store.Key) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 store.Key) (*unstructured.Unstructured, error)
- func (m *MockStore) IsLoading(arg0 context.Context, arg1 store.Key) bool
- func (m *MockStore) List(arg0 context.Context, arg1 store.Key) (*unstructured.UnstructuredList, bool, error)
- func (m *MockStore) RegisterOnUpdate(arg0 store.UpdateFn)
- func (m *MockStore) Unwatch(arg0 context.Context, arg1 ...schema.GroupVersionKind) error
- func (m *MockStore) Update(arg0 context.Context, arg1 store.Key, ...) error
- func (m *MockStore) UpdateClusterClient(arg0 context.Context, arg1 cluster.ClientInterface) error
- func (m *MockStore) Watch(arg0 context.Context, arg1 store.Key, arg2 cache.ResourceEventHandler) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IsLoading(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RegisterOnUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Unwatch(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateClusterClient(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) Create ¶ added in v0.12.0
func (m *MockStore) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error
Create mocks base method
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) Get ¶
func (m *MockStore) Get(arg0 context.Context, arg1 store.Key) (*unstructured.Unstructured, error)
Get mocks base method
func (*MockStore) List ¶
func (m *MockStore) List(arg0 context.Context, arg1 store.Key) (*unstructured.UnstructuredList, bool, error)
List mocks base method
func (*MockStore) RegisterOnUpdate ¶
RegisterOnUpdate mocks base method
func (*MockStore) Update ¶
func (m *MockStore) Update(arg0 context.Context, arg1 store.Key, arg2 func(*unstructured.Unstructured) error) error
Update mocks base method
func (*MockStore) UpdateClusterClient ¶
UpdateClusterClient mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) Create ¶ added in v0.12.0
func (mr *MockStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockStoreMockRecorder) IsLoading ¶
func (mr *MockStoreMockRecorder) IsLoading(arg0, arg1 interface{}) *gomock.Call
IsLoading indicates an expected call of IsLoading
func (*MockStoreMockRecorder) List ¶
func (mr *MockStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockStoreMockRecorder) RegisterOnUpdate ¶
func (mr *MockStoreMockRecorder) RegisterOnUpdate(arg0 interface{}) *gomock.Call
RegisterOnUpdate indicates an expected call of RegisterOnUpdate
func (*MockStoreMockRecorder) Unwatch ¶
func (mr *MockStoreMockRecorder) Unwatch(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Unwatch indicates an expected call of Unwatch
func (*MockStoreMockRecorder) Update ¶
func (mr *MockStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockStoreMockRecorder) UpdateClusterClient ¶
func (mr *MockStoreMockRecorder) UpdateClusterClient(arg0, arg1 interface{}) *gomock.Call
UpdateClusterClient indicates an expected call of UpdateClusterClient
func (*MockStoreMockRecorder) Watch ¶
func (mr *MockStoreMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call
Watch indicates an expected call of Watch