Documentation
¶
Overview ¶
Package mockcacheclient is a generated GoMock package.
Package mockcacheclient is a generated GoMock package.
Index ¶
- type MockCacheClientBound
- func (m *MockCacheClientBound) EXPECT() *MockCacheClientBoundMockRecorder
- func (m *MockCacheClientBound) InstanceClose(ctx context.Context) error
- func (m *MockCacheClientBound) InstanceCreate(ctx context.Context) error
- func (m *MockCacheClientBound) InstanceDelete(ctx context.Context) error
- func (m *MockCacheClientBound) InstanceExists(ctx context.Context) bool
- func (m *MockCacheClientBound) IntentDelete(ctx context.Context, intentName string, IgnoreNonExisting bool) error
- func (m *MockCacheClientBound) IntentExists(ctx context.Context, intentName string) (bool, error)
- func (m *MockCacheClientBound) IntentGet(ctx context.Context, intentName string) (*tree_persist.Intent, error)
- func (m *MockCacheClientBound) IntentGetAll(ctx context.Context, excludeIntentNames []string, ...)
- func (m *MockCacheClientBound) IntentModify(ctx context.Context, intent *tree_persist.Intent) error
- func (m *MockCacheClientBound) IntentsList(ctx context.Context) ([]string, error)
- type MockCacheClientBoundMockRecorder
- func (mr *MockCacheClientBoundMockRecorder) InstanceClose(ctx any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) InstanceCreate(ctx any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) InstanceDelete(ctx any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) InstanceExists(ctx any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) IntentDelete(ctx, intentName, IgnoreNonExisting any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) IntentExists(ctx, intentName any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) IntentGet(ctx, intentName any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) IntentGetAll(ctx, excludeIntentNames, intentChan, errChan any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) IntentModify(ctx, intent any) *gomock.Call
- func (mr *MockCacheClientBoundMockRecorder) IntentsList(ctx any) *gomock.Call
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) InstanceClose(ctx context.Context, cacheInstanceName string) error
- func (m *MockClient) InstanceCreate(ctx context.Context, cacheInstanceName string) error
- func (m *MockClient) InstanceDelete(ctx context.Context, cacheInstanceName string) error
- func (m *MockClient) InstanceExists(ctx context.Context, cacheInstanceName string) bool
- func (m *MockClient) InstanceIntentDelete(ctx context.Context, cacheName, intentName string, IgnoreNonExisting bool) error
- func (m *MockClient) InstanceIntentExists(ctx context.Context, cacheName, intentName string) (bool, error)
- func (m *MockClient) InstanceIntentGet(ctx context.Context, cacheName, intentName string) (*tree_persist.Intent, error)
- func (m *MockClient) InstanceIntentGetAll(ctx context.Context, cacheName string, excludeIntentNames []string, ...)
- func (m *MockClient) InstanceIntentModify(ctx context.Context, cacheName string, intent *tree_persist.Intent) error
- func (m *MockClient) InstanceIntentsList(ctx context.Context, cacheInstanceName string) ([]string, error)
- func (m *MockClient) InstancesList(ctx context.Context) []string
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) InstanceClose(ctx, cacheInstanceName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceCreate(ctx, cacheInstanceName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceDelete(ctx, cacheInstanceName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceExists(ctx, cacheInstanceName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceIntentDelete(ctx, cacheName, intentName, IgnoreNonExisting any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceIntentExists(ctx, cacheName, intentName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceIntentGet(ctx, cacheName, intentName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceIntentGetAll(ctx, cacheName, excludeIntentNames, intentChan, errChan any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceIntentModify(ctx, cacheName, intent any) *gomock.Call
- func (mr *MockClientMockRecorder) InstanceIntentsList(ctx, cacheInstanceName any) *gomock.Call
- func (mr *MockClientMockRecorder) InstancesList(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCacheClientBound ¶ added in v0.0.67
type MockCacheClientBound struct {
// contains filtered or unexported fields
}
MockCacheClientBound is a mock of CacheClientBound interface.
func NewMockCacheClientBound ¶ added in v0.0.67
func NewMockCacheClientBound(ctrl *gomock.Controller) *MockCacheClientBound
NewMockCacheClientBound creates a new mock instance.
func (*MockCacheClientBound) EXPECT ¶ added in v0.0.67
func (m *MockCacheClientBound) EXPECT() *MockCacheClientBoundMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacheClientBound) InstanceClose ¶ added in v0.0.67
func (m *MockCacheClientBound) InstanceClose(ctx context.Context) error
InstanceClose mocks base method.
func (*MockCacheClientBound) InstanceCreate ¶ added in v0.0.67
func (m *MockCacheClientBound) InstanceCreate(ctx context.Context) error
InstanceCreate mocks base method.
func (*MockCacheClientBound) InstanceDelete ¶ added in v0.0.67
func (m *MockCacheClientBound) InstanceDelete(ctx context.Context) error
InstanceDelete mocks base method.
func (*MockCacheClientBound) InstanceExists ¶ added in v0.0.67
func (m *MockCacheClientBound) InstanceExists(ctx context.Context) bool
InstanceExists mocks base method.
func (*MockCacheClientBound) IntentDelete ¶ added in v0.0.67
func (m *MockCacheClientBound) IntentDelete(ctx context.Context, intentName string, IgnoreNonExisting bool) error
IntentDelete mocks base method.
func (*MockCacheClientBound) IntentExists ¶ added in v0.0.67
IntentExists mocks base method.
func (*MockCacheClientBound) IntentGet ¶ added in v0.0.67
func (m *MockCacheClientBound) IntentGet(ctx context.Context, intentName string) (*tree_persist.Intent, error)
IntentGet mocks base method.
func (*MockCacheClientBound) IntentGetAll ¶ added in v0.0.67
func (m *MockCacheClientBound) IntentGetAll(ctx context.Context, excludeIntentNames []string, intentChan chan<- *tree_persist.Intent, errChan chan<- error)
IntentGetAll mocks base method.
func (*MockCacheClientBound) IntentModify ¶ added in v0.0.67
func (m *MockCacheClientBound) IntentModify(ctx context.Context, intent *tree_persist.Intent) error
IntentModify mocks base method.
func (*MockCacheClientBound) IntentsList ¶ added in v0.0.67
func (m *MockCacheClientBound) IntentsList(ctx context.Context) ([]string, error)
IntentsList mocks base method.
type MockCacheClientBoundMockRecorder ¶ added in v0.0.67
type MockCacheClientBoundMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheClientBoundMockRecorder is the mock recorder for MockCacheClientBound.
func (*MockCacheClientBoundMockRecorder) InstanceClose ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) InstanceClose(ctx any) *gomock.Call
InstanceClose indicates an expected call of InstanceClose.
func (*MockCacheClientBoundMockRecorder) InstanceCreate ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) InstanceCreate(ctx any) *gomock.Call
InstanceCreate indicates an expected call of InstanceCreate.
func (*MockCacheClientBoundMockRecorder) InstanceDelete ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) InstanceDelete(ctx any) *gomock.Call
InstanceDelete indicates an expected call of InstanceDelete.
func (*MockCacheClientBoundMockRecorder) InstanceExists ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) InstanceExists(ctx any) *gomock.Call
InstanceExists indicates an expected call of InstanceExists.
func (*MockCacheClientBoundMockRecorder) IntentDelete ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) IntentDelete(ctx, intentName, IgnoreNonExisting any) *gomock.Call
IntentDelete indicates an expected call of IntentDelete.
func (*MockCacheClientBoundMockRecorder) IntentExists ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) IntentExists(ctx, intentName any) *gomock.Call
IntentExists indicates an expected call of IntentExists.
func (*MockCacheClientBoundMockRecorder) IntentGet ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) IntentGet(ctx, intentName any) *gomock.Call
IntentGet indicates an expected call of IntentGet.
func (*MockCacheClientBoundMockRecorder) IntentGetAll ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) IntentGetAll(ctx, excludeIntentNames, intentChan, errChan any) *gomock.Call
IntentGetAll indicates an expected call of IntentGetAll.
func (*MockCacheClientBoundMockRecorder) IntentModify ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) IntentModify(ctx, intent any) *gomock.Call
IntentModify indicates an expected call of IntentModify.
func (*MockCacheClientBoundMockRecorder) IntentsList ¶ added in v0.0.67
func (mr *MockCacheClientBoundMockRecorder) IntentsList(ctx any) *gomock.Call
IntentsList indicates an expected call of IntentsList.
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) InstanceClose ¶ added in v0.0.56
func (m *MockClient) InstanceClose(ctx context.Context, cacheInstanceName string) error
InstanceClose mocks base method.
func (*MockClient) InstanceCreate ¶ added in v0.0.56
func (m *MockClient) InstanceCreate(ctx context.Context, cacheInstanceName string) error
InstanceCreate mocks base method.
func (*MockClient) InstanceDelete ¶ added in v0.0.56
func (m *MockClient) InstanceDelete(ctx context.Context, cacheInstanceName string) error
InstanceDelete mocks base method.
func (*MockClient) InstanceExists ¶ added in v0.0.56
func (m *MockClient) InstanceExists(ctx context.Context, cacheInstanceName string) bool
InstanceExists mocks base method.
func (*MockClient) InstanceIntentDelete ¶ added in v0.0.56
func (m *MockClient) InstanceIntentDelete(ctx context.Context, cacheName, intentName string, IgnoreNonExisting bool) error
InstanceIntentDelete mocks base method.
func (*MockClient) InstanceIntentExists ¶ added in v0.0.56
func (m *MockClient) InstanceIntentExists(ctx context.Context, cacheName, intentName string) (bool, error)
InstanceIntentExists mocks base method.
func (*MockClient) InstanceIntentGet ¶ added in v0.0.56
func (m *MockClient) InstanceIntentGet(ctx context.Context, cacheName, intentName string) (*tree_persist.Intent, error)
InstanceIntentGet mocks base method.
func (*MockClient) InstanceIntentGetAll ¶ added in v0.0.56
func (m *MockClient) InstanceIntentGetAll(ctx context.Context, cacheName string, excludeIntentNames []string, intentChan chan<- *tree_persist.Intent, errChan chan<- error)
InstanceIntentGetAll mocks base method.
func (*MockClient) InstanceIntentModify ¶ added in v0.0.56
func (m *MockClient) InstanceIntentModify(ctx context.Context, cacheName string, intent *tree_persist.Intent) error
InstanceIntentModify mocks base method.
func (*MockClient) InstanceIntentsList ¶ added in v0.0.56
func (m *MockClient) InstanceIntentsList(ctx context.Context, cacheInstanceName string) ([]string, error)
InstanceIntentsList mocks base method.
func (*MockClient) InstancesList ¶ added in v0.0.56
func (m *MockClient) InstancesList(ctx context.Context) []string
InstancesList mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) InstanceClose ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceClose(ctx, cacheInstanceName any) *gomock.Call
InstanceClose indicates an expected call of InstanceClose.
func (*MockClientMockRecorder) InstanceCreate ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceCreate(ctx, cacheInstanceName any) *gomock.Call
InstanceCreate indicates an expected call of InstanceCreate.
func (*MockClientMockRecorder) InstanceDelete ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceDelete(ctx, cacheInstanceName any) *gomock.Call
InstanceDelete indicates an expected call of InstanceDelete.
func (*MockClientMockRecorder) InstanceExists ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceExists(ctx, cacheInstanceName any) *gomock.Call
InstanceExists indicates an expected call of InstanceExists.
func (*MockClientMockRecorder) InstanceIntentDelete ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceIntentDelete(ctx, cacheName, intentName, IgnoreNonExisting any) *gomock.Call
InstanceIntentDelete indicates an expected call of InstanceIntentDelete.
func (*MockClientMockRecorder) InstanceIntentExists ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceIntentExists(ctx, cacheName, intentName any) *gomock.Call
InstanceIntentExists indicates an expected call of InstanceIntentExists.
func (*MockClientMockRecorder) InstanceIntentGet ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceIntentGet(ctx, cacheName, intentName any) *gomock.Call
InstanceIntentGet indicates an expected call of InstanceIntentGet.
func (*MockClientMockRecorder) InstanceIntentGetAll ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceIntentGetAll(ctx, cacheName, excludeIntentNames, intentChan, errChan any) *gomock.Call
InstanceIntentGetAll indicates an expected call of InstanceIntentGetAll.
func (*MockClientMockRecorder) InstanceIntentModify ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceIntentModify(ctx, cacheName, intent any) *gomock.Call
InstanceIntentModify indicates an expected call of InstanceIntentModify.
func (*MockClientMockRecorder) InstanceIntentsList ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstanceIntentsList(ctx, cacheInstanceName any) *gomock.Call
InstanceIntentsList indicates an expected call of InstanceIntentsList.
func (*MockClientMockRecorder) InstancesList ¶ added in v0.0.56
func (mr *MockClientMockRecorder) InstancesList(ctx any) *gomock.Call
InstancesList indicates an expected call of InstancesList.