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 MockIContainers

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

MockIContainers is a mock of IContainers interface.

func NewMockIContainers

func NewMockIContainers(ctrl *gomock.Controller) *MockIContainers

NewMockIContainers creates a new mock instance.

func (*MockIContainers) EXPECT

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

func (*MockIContainers) EnsureService

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

EnsureService mocks base method.

func (*MockIContainers) Exec

Exec mocks base method.

func (*MockIContainers) InspectService

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

InspectService mocks base method.

func (*MockIContainers) SignalService

func (m *MockIContainers) SignalService(ctx context.Context, name, signal string) error

SignalService mocks base method.

func (*MockIContainers) StopService

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

StopService mocks base method.

type MockIContainersMockRecorder

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

MockIContainersMockRecorder is the mock recorder for MockIContainers.

func (*MockIContainersMockRecorder) EnsureService

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

EnsureService indicates an expected call of EnsureService.

func (*MockIContainersMockRecorder) Exec

func (mr *MockIContainersMockRecorder) Exec(ctx, name, spec any) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockIContainersMockRecorder) InspectService

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

InspectService indicates an expected call of InspectService.

func (*MockIContainersMockRecorder) SignalService

func (mr *MockIContainersMockRecorder) SignalService(ctx, name, signal any) *gomock.Call

SignalService indicates an expected call of SignalService.

func (*MockIContainersMockRecorder) StopService

func (mr *MockIContainersMockRecorder) 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