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

mocktarget

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 7 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) Close

func (m *MockTarget) Close() 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() string

Status mocks base method.

func (*MockTarget) Sync

func (m *MockTarget) Sync(ctx context.Context, syncConfig *config.Sync, syncCh chan *target.SyncUpdate)

Sync mocks base method.

type MockTargetMockRecorder

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

MockTargetMockRecorder is the mock recorder for MockTarget.

func (*MockTargetMockRecorder) Close

func (mr *MockTargetMockRecorder) Close() *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.

func (*MockTargetMockRecorder) Sync

func (mr *MockTargetMockRecorder) Sync(ctx, syncConfig, syncCh any) *gomock.Call

Sync indicates an expected call of Sync.

type MockTargetSource

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

MockTargetSource is a mock of TargetSource interface.

func NewMockTargetSource

func NewMockTargetSource(ctrl *gomock.Controller) *MockTargetSource

NewMockTargetSource creates a new mock instance.

func (*MockTargetSource) EXPECT

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

func (*MockTargetSource) ToJson

func (m *MockTargetSource) ToJson(onlyNewOrUpdated bool) (any, error)

ToJson mocks base method.

func (*MockTargetSource) ToJsonIETF

func (m *MockTargetSource) ToJsonIETF(onlyNewOrUpdated bool) (any, error)

ToJsonIETF mocks base method.

func (*MockTargetSource) ToProtoDeletes

func (m *MockTargetSource) ToProtoDeletes(ctx context.Context) ([]*schema_server.Path, error)

ToProtoDeletes mocks base method.

func (*MockTargetSource) ToProtoUpdates

func (m *MockTargetSource) ToProtoUpdates(ctx context.Context, onlyNewOrUpdated bool) ([]*schema_server.Update, error)

ToProtoUpdates mocks base method.

func (*MockTargetSource) ToXML

func (m *MockTargetSource) ToXML(onlyNewOrUpdated, honorNamespace, operationWithNamespace, useOperationRemove bool) (*etree.Document, error)

ToXML mocks base method.

type MockTargetSourceMockRecorder

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

MockTargetSourceMockRecorder is the mock recorder for MockTargetSource.

func (*MockTargetSourceMockRecorder) ToJson

func (mr *MockTargetSourceMockRecorder) ToJson(onlyNewOrUpdated any) *gomock.Call

ToJson indicates an expected call of ToJson.

func (*MockTargetSourceMockRecorder) ToJsonIETF

func (mr *MockTargetSourceMockRecorder) ToJsonIETF(onlyNewOrUpdated any) *gomock.Call

ToJsonIETF indicates an expected call of ToJsonIETF.

func (*MockTargetSourceMockRecorder) ToProtoDeletes

func (mr *MockTargetSourceMockRecorder) ToProtoDeletes(ctx any) *gomock.Call

ToProtoDeletes indicates an expected call of ToProtoDeletes.

func (*MockTargetSourceMockRecorder) ToProtoUpdates

func (mr *MockTargetSourceMockRecorder) ToProtoUpdates(ctx, onlyNewOrUpdated any) *gomock.Call

ToProtoUpdates indicates an expected call of ToProtoUpdates.

func (*MockTargetSourceMockRecorder) ToXML

func (mr *MockTargetSourceMockRecorder) ToXML(onlyNewOrUpdated, honorNamespace, operationWithNamespace, useOperationRemove any) *gomock.Call

ToXML indicates an expected call of ToXML.

Jump to

Keyboard shortcuts

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