mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	GetConnectionMethodError       error
	GetConnectorsError             error
	GetConnectionsError            error
	GetContextError                error
	DefineConnectionMethodError    error
	RemoveConnectionMethodError    error
	CreateConnectorInterfaceError  error
	UpdateConnectorInterfaceError  error
	DeleteConnectorInterfaceError  error
	CreateConnectorError           error
	UpdateConnectorError           error
	DeleteConnectorError           error
	CreateConnectionError          error
	UpdateConnectionError          error
	DeleteConnectionError          error
	ExecuteConnectionActionError   error
	GetConnectorCategoryError      error
	GetConnectorInterfaceError     error
	GetConnectorError              error
	GetConnectionError             error
	ConnectorCreatedError          error
	ConnectorUpdatedError          error
	ConnectorDeletedError          error
	GetConnectionMethodResult      *connectors.ConnectionMethod
	GetConnectorsResult            []*connectors.Connector
	GetConnectionsResult           []*connectors.Connection
	GetContextResult               *connectors.Context
	DefineConnectionMethodResult   *connectors.ConnectionMethod
	RemoveConnectionMethodResult   *connectors.ConnectionMethod
	CreateConnectorInterfaceResult *connectors.ConnectorInterface
	UpdateConnectorInterfaceResult *connectors.ConnectorInterface
	DeleteConnectorInterfaceResult *connectors.ConnectorInterface
	CreateConnectorResult          *connectors.Connector
	UpdateConnectorResult          *connectors.Connector
	DeleteConnectorResult          *connectors.Connector
	CreateConnectionResult         *connectors.Connection
	UpdateConnectionResult         *connectors.Connection
	DeleteConnectionResult         *connectors.Connection
	ExecuteConnectionActionResult  *interface{}
	GetConnectorCategoryResult     *connectors.ConnectorCategory
	GetConnectorInterfaceResult    *connectors.ConnectorInterface
	GetConnectorResult             *connectors.Connector
	GetConnectionResult            *connectors.Connection
	ConnectorCreatedResult         chan *connectors.Connector
	ConnectorUpdatedResult         chan *connectors.Connector
	ConnectorDeletedResult         chan *connectors.Connector
}

func (*Service) ConnectorCreated

func (m *Service) ConnectorCreated(ctx context.Context, connectorMethods common.IDs, allTenants bool, _ ...graphql.SubscriptionOption) (connectors.Subscription, error)

func (*Service) ConnectorDeleted

func (m *Service) ConnectorDeleted(ctx context.Context, connectorMethods common.IDs, allTenants bool, _ ...graphql.SubscriptionOption) (connectors.Subscription, error)

func (*Service) ConnectorUpdated

func (m *Service) ConnectorUpdated(ctx context.Context, connectorMethods common.IDs, allTenants bool, _ ...graphql.SubscriptionOption) (connectors.Subscription, error)

func (*Service) CreateConnection

func (*Service) CreateConnector

func (*Service) DeleteConnection

func (m *Service) DeleteConnection(_ string, _ ...graphql.RequestOption) (*connectors.Connection, error)

func (*Service) DeleteConnector

func (m *Service) DeleteConnector(_ string, _ ...graphql.RequestOption) (*connectors.Connector, error)

func (*Service) DeleteConnectorInterface

func (m *Service) DeleteConnectorInterface(_ string, _ ...graphql.RequestOption) (*connectors.ConnectorInterface, error)

func (*Service) ExecuteConnectionAction

func (m *Service) ExecuteConnectionAction(_ string, _ string, _ interface{}, _ ...graphql.RequestOption) (*interface{}, error)

func (*Service) GetConnection

func (m *Service) GetConnection(_ string, _ ...graphql.RequestOption) (*connectors.Connection, error)

func (*Service) GetConnectionMethod

func (m *Service) GetConnectionMethod(_ string, _ ...graphql.RequestOption) (*connectors.ConnectionMethod, error)

func (*Service) GetConnections

func (*Service) GetConnector

func (m *Service) GetConnector(_ string, _ ...graphql.RequestOption) (*connectors.Connector, error)

func (*Service) GetConnectorCategory

func (m *Service) GetConnectorCategory(_ string, _ ...graphql.RequestOption) (*connectors.ConnectorCategory, error)

func (*Service) GetConnectorInterface

func (m *Service) GetConnectorInterface(_ string, _ ...graphql.RequestOption) (*connectors.ConnectorInterface, error)

func (*Service) GetConnectors

func (*Service) GetContext

func (*Service) RemoveConnectionMethod

func (m *Service) RemoveConnectionMethod(_ string, _ ...graphql.RequestOption) (*connectors.ConnectionMethod, error)

func (*Service) UpdateConnection

func (*Service) UpdateConnector

Jump to

Keyboard shortcuts

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