mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0, EPL-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 MockContainerEventsManager

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

MockContainerEventsManager is a mock of ContainerEventsManager interface

func NewMockContainerEventsManager

func NewMockContainerEventsManager(ctrl *gomock.Controller) *MockContainerEventsManager

NewMockContainerEventsManager creates a new mock instance

func (*MockContainerEventsManager) EXPECT

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

func (*MockContainerEventsManager) Publish

func (m *MockContainerEventsManager) Publish(ctx context.Context, eventType types.EventType, eventAction types.EventAction, source *types.Container) error

Publish mocks base method

func (*MockContainerEventsManager) Subscribe

func (m *MockContainerEventsManager) Subscribe(ctx context.Context) (<-chan *types.Event, <-chan error)

Subscribe mocks base method

type MockContainerEventsManagerMockRecorder

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

MockContainerEventsManagerMockRecorder is the mock recorder for MockContainerEventsManager

func (*MockContainerEventsManagerMockRecorder) Publish

func (mr *MockContainerEventsManagerMockRecorder) Publish(ctx, eventType, eventAction, source interface{}) *gomock.Call

Publish indicates an expected call of Publish

func (*MockContainerEventsManagerMockRecorder) Subscribe

func (mr *MockContainerEventsManagerMockRecorder) Subscribe(ctx interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

Jump to

Keyboard shortcuts

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