Nexus: github.com/RTradeLtd/Nexus/temporal/mock Index | Files

package mock

import "github.com/RTradeLtd/Nexus/temporal/mock"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

networks.mock.go token.mock.go

func FakeToken Uses

func FakeToken(user, key string) string

FakeToken generates a fake JWT token

type FakePrivateNetworks Uses

type FakePrivateNetworks struct {
    GetNetworkByNameStub func(string) (*models.HostedNetwork, error)

    GetOfflineNetworksStub func(bool) ([]*models.HostedNetwork, error)

    SaveNetworkStub func(*models.HostedNetwork) error

    UpdateNetworkByNameStub func(string, map[string]interface{}) error
    // contains filtered or unexported fields
}

func (*FakePrivateNetworks) GetNetworkByName Uses

func (fake *FakePrivateNetworks) GetNetworkByName(arg1 string) (*models.HostedNetwork, error)

func (*FakePrivateNetworks) GetNetworkByNameArgsForCall Uses

func (fake *FakePrivateNetworks) GetNetworkByNameArgsForCall(i int) string

func (*FakePrivateNetworks) GetNetworkByNameCallCount Uses

func (fake *FakePrivateNetworks) GetNetworkByNameCallCount() int

func (*FakePrivateNetworks) GetNetworkByNameCalls Uses

func (fake *FakePrivateNetworks) GetNetworkByNameCalls(stub func(string) (*models.HostedNetwork, error))

func (*FakePrivateNetworks) GetNetworkByNameReturns Uses

func (fake *FakePrivateNetworks) GetNetworkByNameReturns(result1 *models.HostedNetwork, result2 error)

func (*FakePrivateNetworks) GetNetworkByNameReturnsOnCall Uses

func (fake *FakePrivateNetworks) GetNetworkByNameReturnsOnCall(i int, result1 *models.HostedNetwork, result2 error)

func (*FakePrivateNetworks) GetOfflineNetworks Uses

func (fake *FakePrivateNetworks) GetOfflineNetworks(arg1 bool) ([]*models.HostedNetwork, error)

func (*FakePrivateNetworks) GetOfflineNetworksArgsForCall Uses

func (fake *FakePrivateNetworks) GetOfflineNetworksArgsForCall(i int) bool

func (*FakePrivateNetworks) GetOfflineNetworksCallCount Uses

func (fake *FakePrivateNetworks) GetOfflineNetworksCallCount() int

func (*FakePrivateNetworks) GetOfflineNetworksCalls Uses

func (fake *FakePrivateNetworks) GetOfflineNetworksCalls(stub func(bool) ([]*models.HostedNetwork, error))

func (*FakePrivateNetworks) GetOfflineNetworksReturns Uses

func (fake *FakePrivateNetworks) GetOfflineNetworksReturns(result1 []*models.HostedNetwork, result2 error)

func (*FakePrivateNetworks) GetOfflineNetworksReturnsOnCall Uses

func (fake *FakePrivateNetworks) GetOfflineNetworksReturnsOnCall(i int, result1 []*models.HostedNetwork, result2 error)

func (*FakePrivateNetworks) Invocations Uses

func (fake *FakePrivateNetworks) Invocations() map[string][][]interface{}

func (*FakePrivateNetworks) SaveNetwork Uses

func (fake *FakePrivateNetworks) SaveNetwork(arg1 *models.HostedNetwork) error

func (*FakePrivateNetworks) SaveNetworkArgsForCall Uses

func (fake *FakePrivateNetworks) SaveNetworkArgsForCall(i int) *models.HostedNetwork

func (*FakePrivateNetworks) SaveNetworkCallCount Uses

func (fake *FakePrivateNetworks) SaveNetworkCallCount() int

func (*FakePrivateNetworks) SaveNetworkCalls Uses

func (fake *FakePrivateNetworks) SaveNetworkCalls(stub func(*models.HostedNetwork) error)

func (*FakePrivateNetworks) SaveNetworkReturns Uses

func (fake *FakePrivateNetworks) SaveNetworkReturns(result1 error)

func (*FakePrivateNetworks) SaveNetworkReturnsOnCall Uses

func (fake *FakePrivateNetworks) SaveNetworkReturnsOnCall(i int, result1 error)

func (*FakePrivateNetworks) UpdateNetworkByName Uses

func (fake *FakePrivateNetworks) UpdateNetworkByName(arg1 string, arg2 map[string]interface{}) error

func (*FakePrivateNetworks) UpdateNetworkByNameArgsForCall Uses

func (fake *FakePrivateNetworks) UpdateNetworkByNameArgsForCall(i int) (string, map[string]interface{})

func (*FakePrivateNetworks) UpdateNetworkByNameCallCount Uses

func (fake *FakePrivateNetworks) UpdateNetworkByNameCallCount() int

func (*FakePrivateNetworks) UpdateNetworkByNameCalls Uses

func (fake *FakePrivateNetworks) UpdateNetworkByNameCalls(stub func(string, map[string]interface{}) error)

func (*FakePrivateNetworks) UpdateNetworkByNameReturns Uses

func (fake *FakePrivateNetworks) UpdateNetworkByNameReturns(result1 error)

func (*FakePrivateNetworks) UpdateNetworkByNameReturnsOnCall Uses

func (fake *FakePrivateNetworks) UpdateNetworkByNameReturnsOnCall(i int, result1 error)

Package mock imports 4 packages (graph). Updated 2019-05-13. Refresh now. Tools for package owners.