orchestratormocks

package
v1.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 15 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 (*Orchestrator) Assets

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

Assets provides a mock function with given fields:

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, ns string, subDef *core.Subscription) (*core.Subscription, error)

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

func (*Orchestrator) CreateUpdateSubscription

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

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

func (*Orchestrator) Data

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

Data provides a mock function with given fields:

func (*Orchestrator) DeleteSubscription

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

DeleteSubscription provides a mock function with given fields: ctx, ns, 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, ns string, id string) (*core.BatchPersisted, error)

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

func (*Orchestrator) GetBatches

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

func (*Orchestrator) GetBlockchainEventByID added in v0.12.0

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

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

func (*Orchestrator) GetBlockchainEvents added in v0.12.0

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

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

func (*Orchestrator) GetChartHistogram added in v0.11.2

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

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

func (*Orchestrator) GetData

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

func (*Orchestrator) GetDataByID

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

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

func (*Orchestrator) GetDatatypeByID

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

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

func (*Orchestrator) GetDatatypeByName

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

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

func (*Orchestrator) GetDatatypes

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

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

func (*Orchestrator) GetEventByID

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

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

func (*Orchestrator) GetEvents

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

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

func (*Orchestrator) GetEventsWithReferences added in v0.14.0

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

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

func (*Orchestrator) GetMessageByID

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

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

func (*Orchestrator) GetMessageByIDWithData added in v0.11.0

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

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

func (*Orchestrator) GetMessageData

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

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

func (*Orchestrator) GetMessageEvents

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

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

func (*Orchestrator) GetMessageOperations

func (_m *Orchestrator) GetMessageOperations(ctx context.Context, ns string, id string) ([]*core.Operation, *database.FilterResult, error)

GetMessageOperations provides a mock function with given fields: ctx, ns, id

func (*Orchestrator) GetMessageTransaction

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

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

func (*Orchestrator) GetMessages

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

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

func (*Orchestrator) GetMessagesForData

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

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

func (*Orchestrator) GetMessagesWithData added in v0.11.0

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

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

func (*Orchestrator) GetNamespace

func (_m *Orchestrator) GetNamespace(ctx context.Context, ns string) (*core.Namespace, error)

GetNamespace provides a mock function with given fields: ctx, ns

func (*Orchestrator) GetNamespaces

func (_m *Orchestrator) GetNamespaces(ctx context.Context, filter database.AndFilter) ([]*core.Namespace, *database.FilterResult, error)

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

func (*Orchestrator) GetOperationByID

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

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

func (*Orchestrator) GetOperationByNamespacedID

func (_m *Orchestrator) GetOperationByNamespacedID(ctx context.Context, nsOpID string) (*core.Operation, error)

GetOperationByNamespacedID provides a mock function with given fields: ctx, nsOpID

func (*Orchestrator) GetOperations

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

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

func (*Orchestrator) GetOperationsNamespaced added in v1.0.0

func (_m *Orchestrator) GetOperationsNamespaced(ctx context.Context, ns string, filter database.AndFilter) ([]*core.Operation, *database.FilterResult, error)

GetOperationsNamespaced provides a mock function with given fields: ctx, ns, filter

func (*Orchestrator) GetPins added in v0.14.0

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

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

func (*Orchestrator) GetStatus

func (_m *Orchestrator) GetStatus(ctx context.Context, ns string) (*core.NodeStatus, error)

GetStatus provides a mock function with given fields: ctx, ns

func (*Orchestrator) GetSubscriptionByID

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

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

func (*Orchestrator) GetSubscriptions

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

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

func (*Orchestrator) GetTransactionBlockchainEvents added in v0.12.0

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

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

func (*Orchestrator) GetTransactionByID

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

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

func (*Orchestrator) GetTransactionOperations

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

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

func (*Orchestrator) GetTransactionStatus added in v0.12.0

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

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

func (*Orchestrator) GetTransactions

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

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

func (*Orchestrator) Init

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

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

func (*Orchestrator) Metrics added in v0.13.0

func (_m *Orchestrator) Metrics() metrics.Manager

Metrics 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) 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, ns string, msg *core.MessageInOut) (*core.MessageInOut, error)

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

func (*Orchestrator) SPIEvents

func (_m *Orchestrator) SPIEvents() spievents.Manager

SPIEvents provides a mock function with given fields:

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, ns string, action *core.NetworkAction) error

SubmitNetworkAction provides a mock function with given fields: ctx, ns, 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