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

mocktarget

package
v0.0.73 Latest Latest
Warning

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

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

Documentation

Overview

Package mocktarget is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTarget

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

MockTarget is a mock of Target interface.

func NewMockTarget

func NewMockTarget(ctrl *gomock.Controller) *MockTarget

NewMockTarget creates a new mock instance.

func (*MockTarget) AddSyncs added in v0.0.67

func (m *MockTarget) AddSyncs(ctx context.Context, sps ...*config.SyncProtocol) error

AddSyncs mocks base method.

func (*MockTarget) Close

func (m *MockTarget) Close(ctx context.Context) error

Close mocks base method.

func (*MockTarget) EXPECT

func (m *MockTarget) EXPECT() *MockTargetMockRecorder

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

func (*MockTarget) Get

Get mocks base method.

func (*MockTarget) Set

Set mocks base method.

func (*MockTarget) Status

func (m *MockTarget) Status() *types.TargetStatus

Status mocks base method.

type MockTargetMockRecorder

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

MockTargetMockRecorder is the mock recorder for MockTarget.

func (*MockTargetMockRecorder) AddSyncs added in v0.0.67

func (mr *MockTargetMockRecorder) AddSyncs(ctx any, sps ...any) *gomock.Call

AddSyncs indicates an expected call of AddSyncs.

func (*MockTargetMockRecorder) Close

func (mr *MockTargetMockRecorder) Close(ctx any) *gomock.Call

Close indicates an expected call of Close.

func (*MockTargetMockRecorder) Get

func (mr *MockTargetMockRecorder) Get(ctx, req any) *gomock.Call

Get indicates an expected call of Get.

func (*MockTargetMockRecorder) Set

func (mr *MockTargetMockRecorder) Set(ctx, source any) *gomock.Call

Set indicates an expected call of Set.

func (*MockTargetMockRecorder) Status

func (mr *MockTargetMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

Jump to

Keyboard shortcuts

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