mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 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 MockIServices

type MockIServices struct {
	// contains filtered or unexported fields
}

MockIServices is a mock of IServices interface.

func NewMockIServices

func NewMockIServices(ctrl *gomock.Controller) *MockIServices

NewMockIServices creates a new mock instance.

func (*MockIServices) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIServices) EnsureService

func (m *MockIServices) EnsureService(ctx context.Context, spec docker.ServiceSpec) (docker.ServiceState, error)

EnsureService mocks base method.

func (*MockIServices) InspectService

func (m *MockIServices) InspectService(ctx context.Context, name string) (docker.ServiceState, error)

InspectService mocks base method.

func (*MockIServices) StopService

func (m *MockIServices) StopService(ctx context.Context, name string) error

StopService mocks base method.

type MockIServicesMockRecorder

type MockIServicesMockRecorder struct {
	// contains filtered or unexported fields
}

MockIServicesMockRecorder is the mock recorder for MockIServices.

func (*MockIServicesMockRecorder) EnsureService

func (mr *MockIServicesMockRecorder) EnsureService(ctx, spec any) *gomock.Call

EnsureService indicates an expected call of EnsureService.

func (*MockIServicesMockRecorder) InspectService

func (mr *MockIServicesMockRecorder) InspectService(ctx, name any) *gomock.Call

InspectService indicates an expected call of InspectService.

func (*MockIServicesMockRecorder) StopService

func (mr *MockIServicesMockRecorder) StopService(ctx, name any) *gomock.Call

StopService indicates an expected call of StopService.

Jump to

Keyboard shortcuts

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