mockcacheclient

package
v0.0.62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockcacheclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) 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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL