Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Create(ctx context.Context, name string) error
- func (m *MockManager) Delete(ctx context.Context, name string) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) Exists(ctx context.Context, name string) (bool, error)
- func (m *MockManager) Get(ctx context.Context, name string) (*groups.Group, error)
- func (m *MockManager) List(ctx context.Context) ([]*groups.Group, error)
- func (m *MockManager) RegisterClients(ctx context.Context, groupNames, clientNames []string) error
- func (m *MockManager) UnregisterClients(ctx context.Context, groupNames, clientNames []string) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) Create(ctx, name any) *gomock.Call
- func (mr *MockManagerMockRecorder) Delete(ctx, name any) *gomock.Call
- func (mr *MockManagerMockRecorder) Exists(ctx, name any) *gomock.Call
- func (mr *MockManagerMockRecorder) Get(ctx, name any) *gomock.Call
- func (mr *MockManagerMockRecorder) List(ctx any) *gomock.Call
- func (mr *MockManagerMockRecorder) RegisterClients(ctx, groupNames, clientNames any) *gomock.Call
- func (mr *MockManagerMockRecorder) UnregisterClients(ctx, groupNames, clientNames any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) Create ¶
func (m *MockManager) Create(ctx context.Context, name string) error
Create mocks base method.
func (*MockManager) Delete ¶
func (m *MockManager) Delete(ctx context.Context, name string) error
Delete mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) RegisterClients ¶ added in v0.2.4
func (m *MockManager) RegisterClients(ctx context.Context, groupNames, clientNames []string) error
RegisterClients mocks base method.
func (*MockManager) UnregisterClients ¶ added in v0.2.6
func (m *MockManager) UnregisterClients(ctx context.Context, groupNames, clientNames []string) error
UnregisterClients mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Create ¶
func (mr *MockManagerMockRecorder) Create(ctx, name any) *gomock.Call
Create indicates an expected call of Create.
func (*MockManagerMockRecorder) Delete ¶
func (mr *MockManagerMockRecorder) Delete(ctx, name any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockManagerMockRecorder) Exists ¶
func (mr *MockManagerMockRecorder) Exists(ctx, name any) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockManagerMockRecorder) Get ¶
func (mr *MockManagerMockRecorder) Get(ctx, name any) *gomock.Call
Get indicates an expected call of Get.
func (*MockManagerMockRecorder) List ¶
func (mr *MockManagerMockRecorder) List(ctx any) *gomock.Call
List indicates an expected call of List.
func (*MockManagerMockRecorder) RegisterClients ¶ added in v0.2.4
func (mr *MockManagerMockRecorder) RegisterClients(ctx, groupNames, clientNames any) *gomock.Call
RegisterClients indicates an expected call of RegisterClients.
func (*MockManagerMockRecorder) UnregisterClients ¶ added in v0.2.6
func (mr *MockManagerMockRecorder) UnregisterClients(ctx, groupNames, clientNames any) *gomock.Call
UnregisterClients indicates an expected call of UnregisterClients.