orchestratormocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator struct {
	mock.Mock
}

Orchestrator is an autogenerated mock type for the Orchestrator type

func NewOrchestrator added in v1.1.2

func NewOrchestrator(t interface {
	mock.TestingT
	Cleanup(func())
}) *Orchestrator

NewOrchestrator creates a new instance of Orchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Orchestrator) Assets

func (_m *Orchestrator) Assets() assets.Manager

Assets provides a mock function with given fields:

func (*Orchestrator) Authorize added in v1.1.0

func (_m *Orchestrator) Authorize(ctx context.Context, authReq *fftypes.AuthReq) error

Authorize provides a mock function with given fields: ctx, authReq

func (*Orchestrator) BatchManager added in v0.13.0

func (_m *Orchestrator) BatchManager() batch.Manager

BatchManager provides a mock function with given fields:

func (*Orchestrator) Broadcast

func (_m *Orchestrator) Broadcast() broadcast.Manager

Broadcast provides a mock function with given fields:

func (*Orchestrator) Contracts added in v0.12.0

func (_m *Orchestrator) Contracts() contracts.Manager

Contracts provides a mock function with given fields:

func (*Orchestrator) CreateSubscription

func (_m *Orchestrator) CreateSubscription(ctx context.Context, subDef *core.Subscription) (*core.Subscription, error)

CreateSubscription provides a mock function with given fields: ctx, subDef

func (*Orchestrator) CreateUpdateSubscription

func (_m *Orchestrator) CreateUpdateSubscription(ctx context.Context, subDef *core.Subscription) (*core.Subscription, error)

CreateUpdateSubscription provides a mock function with given fields: ctx, subDef

func (*Orchestrator) Data

func (_m *Orchestrator) Data() data.Manager

Data provides a mock function with given fields:

func (*Orchestrator) DefinitionSender added in v1.1.0

func (_m *Orchestrator) DefinitionSender() definitions.Sender

DefinitionSender provides a mock function with given fields:

func (*Orchestrator) DeleteSubscription

func (_m *Orchestrator) DeleteSubscription(ctx context.Context, id string) error

DeleteSubscription provides a mock function with given fields: ctx, id

func (*Orchestrator) Events

func (_m *Orchestrator) Events() events.EventManager

Events provides a mock function with given fields:

func (*Orchestrator) GetBatchByID

func (_m *Orchestrator) GetBatchByID(ctx context.Context, id string) (*core.BatchPersisted, error)

GetBatchByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetBatches

func (_m *Orchestrator) GetBatches(ctx context.Context, filter ffapi.AndFilter) ([]*core.BatchPersisted, *ffapi.FilterResult, error)

GetBatches provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetBlockchainEventByID added in v0.12.0

func (_m *Orchestrator) GetBlockchainEventByID(ctx context.Context, id string) (*core.BlockchainEvent, error)

GetBlockchainEventByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetBlockchainEvents added in v0.12.0

func (_m *Orchestrator) GetBlockchainEvents(ctx context.Context, filter ffapi.AndFilter) ([]*core.BlockchainEvent, *ffapi.FilterResult, error)

GetBlockchainEvents provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetChartHistogram added in v0.11.2

func (_m *Orchestrator) GetChartHistogram(ctx context.Context, startTime int64, endTime int64, buckets int64, tableName database.CollectionName) ([]*core.ChartHistogram, error)

GetChartHistogram provides a mock function with given fields: ctx, startTime, endTime, buckets, tableName

func (*Orchestrator) GetData

GetData provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetDataByID

func (_m *Orchestrator) GetDataByID(ctx context.Context, id string) (*core.Data, error)

GetDataByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetDataSubPaths added in v1.3.0

func (_m *Orchestrator) GetDataSubPaths(ctx context.Context, path string) ([]string, error)

GetDataSubPaths provides a mock function with given fields: ctx, path

func (*Orchestrator) GetDatatypeByID

func (_m *Orchestrator) GetDatatypeByID(ctx context.Context, id string) (*core.Datatype, error)

GetDatatypeByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetDatatypeByName

func (_m *Orchestrator) GetDatatypeByName(ctx context.Context, name string, version string) (*core.Datatype, error)

GetDatatypeByName provides a mock function with given fields: ctx, name, version

func (*Orchestrator) GetDatatypes

func (_m *Orchestrator) GetDatatypes(ctx context.Context, filter ffapi.AndFilter) ([]*core.Datatype, *ffapi.FilterResult, error)

GetDatatypes provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetEventByID

func (_m *Orchestrator) GetEventByID(ctx context.Context, id string) (*core.Event, error)

GetEventByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetEventByIDWithReference added in v1.1.0

func (_m *Orchestrator) GetEventByIDWithReference(ctx context.Context, id string) (*core.EnrichedEvent, error)

GetEventByIDWithReference provides a mock function with given fields: ctx, id

func (*Orchestrator) GetEvents

func (_m *Orchestrator) GetEvents(ctx context.Context, filter ffapi.AndFilter) ([]*core.Event, *ffapi.FilterResult, error)

GetEvents provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetEventsWithReferences added in v0.14.0

func (_m *Orchestrator) GetEventsWithReferences(ctx context.Context, filter ffapi.AndFilter) ([]*core.EnrichedEvent, *ffapi.FilterResult, error)

GetEventsWithReferences provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetMessageByID

func (_m *Orchestrator) GetMessageByID(ctx context.Context, id string) (*core.Message, error)

GetMessageByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetMessageByIDWithData added in v0.11.0

func (_m *Orchestrator) GetMessageByIDWithData(ctx context.Context, id string) (*core.MessageInOut, error)

GetMessageByIDWithData provides a mock function with given fields: ctx, id

func (*Orchestrator) GetMessageData

func (_m *Orchestrator) GetMessageData(ctx context.Context, id string) (core.DataArray, error)

GetMessageData provides a mock function with given fields: ctx, id

func (*Orchestrator) GetMessageEvents

func (_m *Orchestrator) GetMessageEvents(ctx context.Context, id string, filter ffapi.AndFilter) ([]*core.Event, *ffapi.FilterResult, error)

GetMessageEvents provides a mock function with given fields: ctx, id, filter

func (*Orchestrator) GetMessageTransaction

func (_m *Orchestrator) GetMessageTransaction(ctx context.Context, id string) (*core.Transaction, error)

GetMessageTransaction provides a mock function with given fields: ctx, id

func (*Orchestrator) GetMessages

func (_m *Orchestrator) GetMessages(ctx context.Context, filter ffapi.AndFilter) ([]*core.Message, *ffapi.FilterResult, error)

GetMessages provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetMessagesForData

func (_m *Orchestrator) GetMessagesForData(ctx context.Context, dataID string, filter ffapi.AndFilter) ([]*core.Message, *ffapi.FilterResult, error)

GetMessagesForData provides a mock function with given fields: ctx, dataID, filter

func (*Orchestrator) GetMessagesWithData added in v0.11.0

func (_m *Orchestrator) GetMessagesWithData(ctx context.Context, filter ffapi.AndFilter) ([]*core.MessageInOut, *ffapi.FilterResult, error)

GetMessagesWithData provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetNamespace

func (_m *Orchestrator) GetNamespace(ctx context.Context) *core.Namespace

GetNamespace provides a mock function with given fields: ctx

func (*Orchestrator) GetNextPins added in v1.3.0

func (_m *Orchestrator) GetNextPins(ctx context.Context, filter ffapi.AndFilter) ([]*core.NextPin, *ffapi.FilterResult, error)

GetNextPins provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetOperationByID

func (_m *Orchestrator) GetOperationByID(ctx context.Context, id string) (*core.Operation, error)

GetOperationByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetOperationByIDWithStatus added in v1.1.3

func (_m *Orchestrator) GetOperationByIDWithStatus(ctx context.Context, id string) (*core.OperationWithDetail, error)

GetOperationByIDWithStatus provides a mock function with given fields: ctx, id

func (*Orchestrator) GetOperations

func (_m *Orchestrator) GetOperations(ctx context.Context, filter ffapi.AndFilter) ([]*core.Operation, *ffapi.FilterResult, error)

GetOperations provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetPins added in v0.14.0

func (_m *Orchestrator) GetPins(ctx context.Context, filter ffapi.AndFilter) ([]*core.Pin, *ffapi.FilterResult, error)

GetPins provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetStatus

func (_m *Orchestrator) GetStatus(ctx context.Context) (*core.NamespaceStatus, error)

GetStatus provides a mock function with given fields: ctx

func (*Orchestrator) GetSubscriptionByID

func (_m *Orchestrator) GetSubscriptionByID(ctx context.Context, id string) (*core.Subscription, error)

GetSubscriptionByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetSubscriptionByIDWithStatus added in v1.1.0

func (_m *Orchestrator) GetSubscriptionByIDWithStatus(ctx context.Context, id string) (*core.SubscriptionWithStatus, error)

GetSubscriptionByIDWithStatus provides a mock function with given fields: ctx, id

func (*Orchestrator) GetSubscriptionEventsHistorical added in v1.3.0

func (_m *Orchestrator) GetSubscriptionEventsHistorical(ctx context.Context, subscription *core.Subscription, filter ffapi.AndFilter, startSequence int, endSequence int) ([]*core.EnrichedEvent, *ffapi.FilterResult, error)

GetSubscriptionEventsHistorical provides a mock function with given fields: ctx, subscription, filter, startSequence, endSequence

func (*Orchestrator) GetSubscriptions

func (_m *Orchestrator) GetSubscriptions(ctx context.Context, filter ffapi.AndFilter) ([]*core.Subscription, *ffapi.FilterResult, error)

GetSubscriptions provides a mock function with given fields: ctx, filter

func (*Orchestrator) GetTransactionBlockchainEvents added in v0.12.0

func (_m *Orchestrator) GetTransactionBlockchainEvents(ctx context.Context, id string) ([]*core.BlockchainEvent, *ffapi.FilterResult, error)

GetTransactionBlockchainEvents provides a mock function with given fields: ctx, id

func (*Orchestrator) GetTransactionByID

func (_m *Orchestrator) GetTransactionByID(ctx context.Context, id string) (*core.Transaction, error)

GetTransactionByID provides a mock function with given fields: ctx, id

func (*Orchestrator) GetTransactionOperations

func (_m *Orchestrator) GetTransactionOperations(ctx context.Context, id string) ([]*core.Operation, *ffapi.FilterResult, error)

GetTransactionOperations provides a mock function with given fields: ctx, id

func (*Orchestrator) GetTransactionStatus added in v0.12.0

func (_m *Orchestrator) GetTransactionStatus(ctx context.Context, id string) (*core.TransactionStatus, error)

GetTransactionStatus provides a mock function with given fields: ctx, id

func (*Orchestrator) GetTransactions

func (_m *Orchestrator) GetTransactions(ctx context.Context, filter ffapi.AndFilter) ([]*core.Transaction, *ffapi.FilterResult, error)

GetTransactions provides a mock function with given fields: ctx, filter

func (*Orchestrator) Identity added in v1.1.0

func (_m *Orchestrator) Identity() identity.Manager

Identity provides a mock function with given fields:

func (*Orchestrator) Init

func (_m *Orchestrator) Init() error

Init provides a mock function with given fields:

func (*Orchestrator) MultiParty added in v1.1.0

func (_m *Orchestrator) MultiParty() multiparty.Manager

MultiParty provides a mock function with given fields:

func (*Orchestrator) NetworkMap

func (_m *Orchestrator) NetworkMap() networkmap.Manager

NetworkMap provides a mock function with given fields:

func (*Orchestrator) Operations added in v0.14.0

func (_m *Orchestrator) Operations() operations.Manager

Operations provides a mock function with given fields:

func (*Orchestrator) PreInit added in v1.3.0

func (_m *Orchestrator) PreInit(ctx context.Context, cancelCtx context.CancelFunc)

PreInit provides a mock function with given fields: ctx, cancelCtx

func (*Orchestrator) PrivateMessaging

func (_m *Orchestrator) PrivateMessaging() privatemessaging.Manager

PrivateMessaging provides a mock function with given fields:

func (*Orchestrator) RequestReply

func (_m *Orchestrator) RequestReply(ctx context.Context, msg *core.MessageInOut) (*core.MessageInOut, error)

RequestReply provides a mock function with given fields: ctx, msg

func (*Orchestrator) RewindPins added in v1.1.0

func (_m *Orchestrator) RewindPins(ctx context.Context, rewind *core.PinRewind) (*core.PinRewind, error)

RewindPins provides a mock function with given fields: ctx, rewind

func (*Orchestrator) Start

func (_m *Orchestrator) Start() error

Start provides a mock function with given fields:

func (*Orchestrator) SubmitNetworkAction added in v1.1.0

func (_m *Orchestrator) SubmitNetworkAction(ctx context.Context, action *core.NetworkAction) error

SubmitNetworkAction provides a mock function with given fields: ctx, action

func (*Orchestrator) WaitStop

func (_m *Orchestrator) WaitStop()

WaitStop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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