mock

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminClient

type AdminClient struct {
	mock.Mock
}

AdminClient is an autogenerated mock type for the AdminClient type

func NewAdminClient

func NewAdminClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AdminClient

NewAdminClient creates a new instance of AdminClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AdminClient) Close

func (_m *AdminClient) Close() error

Close provides a mock function with no fields

func (*AdminClient) Pause

func (_m *AdminClient) Pause(ctx context.Context) error

Pause provides a mock function with given fields: ctx

func (*AdminClient) Resume

func (_m *AdminClient) Resume(ctx context.Context) error

Resume provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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