Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

func (m *MockManager) Exists(ctx context.Context, name string) (bool, error)

Exists mocks base method.

func (*MockManager) Get

func (m *MockManager) Get(ctx context.Context, name string) (*groups.Group, error)

Get mocks base method.

func (*MockManager) List

func (m *MockManager) List(ctx context.Context) ([]*groups.Group, error)

List mocks base method.

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.

func (*MockManager) Update added in v0.11.1

func (m *MockManager) Update(ctx context.Context, group *groups.Group) error

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

func (*MockManagerMockRecorder) Update added in v0.11.1

func (mr *MockManagerMockRecorder) Update(ctx, group any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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