mock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FargoConnection

type FargoConnection struct {
	RegisterInstanceStub func(*fargo.Instance) error

	DeregisterInstanceStub func(*fargo.Instance) error

	HeartBeatInstanceStub func(*fargo.Instance) error

	GetInstanceStub func(string, string) (*fargo.Instance, error)

	GetAppStub func(string) (*fargo.Application, error)

	GetAppsStub func() (map[string]*fargo.Application, error)

	ScheduleAppUpdatesStub func(string, bool, <-chan struct{}) <-chan fargo.AppUpdate
	// contains filtered or unexported fields
}

func (*FargoConnection) DeregisterInstance

func (fake *FargoConnection) DeregisterInstance(arg1 *fargo.Instance) error

func (*FargoConnection) DeregisterInstanceArgsForCall

func (fake *FargoConnection) DeregisterInstanceArgsForCall(i int) *fargo.Instance

func (*FargoConnection) DeregisterInstanceCallCount

func (fake *FargoConnection) DeregisterInstanceCallCount() int

func (*FargoConnection) DeregisterInstanceReturns

func (fake *FargoConnection) DeregisterInstanceReturns(result1 error)

func (*FargoConnection) GetApp

func (fake *FargoConnection) GetApp(arg1 string) (*fargo.Application, error)

func (*FargoConnection) GetAppArgsForCall

func (fake *FargoConnection) GetAppArgsForCall(i int) string

func (*FargoConnection) GetAppCallCount

func (fake *FargoConnection) GetAppCallCount() int

func (*FargoConnection) GetAppReturns

func (fake *FargoConnection) GetAppReturns(result1 *fargo.Application, result2 error)

func (*FargoConnection) GetApps

func (fake *FargoConnection) GetApps() (map[string]*fargo.Application, error)

func (*FargoConnection) GetAppsCallCount

func (fake *FargoConnection) GetAppsCallCount() int

func (*FargoConnection) GetAppsReturns

func (fake *FargoConnection) GetAppsReturns(result1 map[string]*fargo.Application, result2 error)

func (*FargoConnection) GetInstance

func (fake *FargoConnection) GetInstance(arg1 string, arg2 string) (*fargo.Instance, error)

func (*FargoConnection) GetInstanceArgsForCall

func (fake *FargoConnection) GetInstanceArgsForCall(i int) (string, string)

func (*FargoConnection) GetInstanceCallCount

func (fake *FargoConnection) GetInstanceCallCount() int

func (*FargoConnection) GetInstanceReturns

func (fake *FargoConnection) GetInstanceReturns(result1 *fargo.Instance, result2 error)

func (*FargoConnection) HeartBeatInstance

func (fake *FargoConnection) HeartBeatInstance(arg1 *fargo.Instance) error

func (*FargoConnection) HeartBeatInstanceArgsForCall

func (fake *FargoConnection) HeartBeatInstanceArgsForCall(i int) *fargo.Instance

func (*FargoConnection) HeartBeatInstanceCallCount

func (fake *FargoConnection) HeartBeatInstanceCallCount() int

func (*FargoConnection) HeartBeatInstanceReturns

func (fake *FargoConnection) HeartBeatInstanceReturns(result1 error)

func (*FargoConnection) RegisterInstance

func (fake *FargoConnection) RegisterInstance(arg1 *fargo.Instance) error

func (*FargoConnection) RegisterInstanceArgsForCall

func (fake *FargoConnection) RegisterInstanceArgsForCall(i int) *fargo.Instance

func (*FargoConnection) RegisterInstanceCallCount

func (fake *FargoConnection) RegisterInstanceCallCount() int

func (*FargoConnection) RegisterInstanceReturns

func (fake *FargoConnection) RegisterInstanceReturns(result1 error)

func (*FargoConnection) ScheduleAppUpdates

func (fake *FargoConnection) ScheduleAppUpdates(arg1 string, arg2 bool, arg3 <-chan struct{}) <-chan fargo.AppUpdate

func (*FargoConnection) ScheduleAppUpdatesArgsForCall

func (fake *FargoConnection) ScheduleAppUpdatesArgsForCall(i int) (string, bool, <-chan struct{})

func (*FargoConnection) ScheduleAppUpdatesCallCount

func (fake *FargoConnection) ScheduleAppUpdatesCallCount() int

func (*FargoConnection) ScheduleAppUpdatesReturns

func (fake *FargoConnection) ScheduleAppUpdatesReturns(result1 <-chan fargo.AppUpdate)

Jump to

Keyboard shortcuts

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