fakes

package
v0.0.0-...-c6673f4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateQueryResponse

func GenerateQueryResponse() []chaospeddler.ServiceBinding

GenerateQueryResponse ---

Types

type FakeAppInstanceKiller

type FakeAppInstanceKiller struct {
	KillPercentStub func(chaospeddler.ServiceBinding, int) (map[string]int, error)
	// contains filtered or unexported fields
}

func (*FakeAppInstanceKiller) KillPercent

func (fake *FakeAppInstanceKiller) KillPercent(arg1 chaospeddler.ServiceBinding, arg2 int) (map[string]int, error)

func (*FakeAppInstanceKiller) KillPercentArgsForCall

func (fake *FakeAppInstanceKiller) KillPercentArgsForCall(i int) (chaospeddler.ServiceBinding, int)

func (*FakeAppInstanceKiller) KillPercentCallCount

func (fake *FakeAppInstanceKiller) KillPercentCallCount() int

func (*FakeAppInstanceKiller) KillPercentReturns

func (fake *FakeAppInstanceKiller) KillPercentReturns(result1 map[string]int, result2 error)

type FakeBindingProvisioner

type FakeBindingProvisioner struct {
	SetInstanceIDStub func(string)

	SetBindingIDStub func(string)

	SetBindDetailsStub func(brokerapi.BindDetails)

	SetActiveStub func(bool)
	// contains filtered or unexported fields
}

func (*FakeBindingProvisioner) SetActive

func (fake *FakeBindingProvisioner) SetActive(arg1 bool)

func (*FakeBindingProvisioner) SetActiveArgsForCall

func (fake *FakeBindingProvisioner) SetActiveArgsForCall(i int) bool

func (*FakeBindingProvisioner) SetActiveCallCount

func (fake *FakeBindingProvisioner) SetActiveCallCount() int

func (*FakeBindingProvisioner) SetBindDetails

func (fake *FakeBindingProvisioner) SetBindDetails(arg1 brokerapi.BindDetails)

func (*FakeBindingProvisioner) SetBindDetailsArgsForCall

func (fake *FakeBindingProvisioner) SetBindDetailsArgsForCall(i int) brokerapi.BindDetails

func (*FakeBindingProvisioner) SetBindDetailsCallCount

func (fake *FakeBindingProvisioner) SetBindDetailsCallCount() int

func (*FakeBindingProvisioner) SetBindingID

func (fake *FakeBindingProvisioner) SetBindingID(arg1 string)

func (*FakeBindingProvisioner) SetBindingIDArgsForCall

func (fake *FakeBindingProvisioner) SetBindingIDArgsForCall(i int) string

func (*FakeBindingProvisioner) SetBindingIDCallCount

func (fake *FakeBindingProvisioner) SetBindingIDCallCount() int

func (*FakeBindingProvisioner) SetInstanceID

func (fake *FakeBindingProvisioner) SetInstanceID(arg1 string)

func (*FakeBindingProvisioner) SetInstanceIDArgsForCall

func (fake *FakeBindingProvisioner) SetInstanceIDArgsForCall(i int) string

func (*FakeBindingProvisioner) SetInstanceIDCallCount

func (fake *FakeBindingProvisioner) SetInstanceIDCallCount() int

type FakeGormDB

type FakeGormDB struct {
	CloseStub func() error

	CreateStub func(value interface{}) *gorm.DB

	DBStub func() *sql.DB

	FindStub func(out interface{}, where ...interface{}) *gorm.DB

	SaveStub func(value interface{}) *gorm.DB

	RawStub func(sql string, values ...interface{}) *gorm.DB

	ScanStub func(dest interface{}) *gorm.DB

	DeleteStub func(value interface{}, where ...interface{}) *gorm.DB
	// contains filtered or unexported fields
}

func (*FakeGormDB) Close

func (fake *FakeGormDB) Close() error

func (*FakeGormDB) CloseCallCount

func (fake *FakeGormDB) CloseCallCount() int

func (*FakeGormDB) CloseReturns

func (fake *FakeGormDB) CloseReturns(result1 error)

func (*FakeGormDB) Create

func (fake *FakeGormDB) Create(value interface{}) *gorm.DB

func (*FakeGormDB) CreateArgsForCall

func (fake *FakeGormDB) CreateArgsForCall(i int) interface{}

func (*FakeGormDB) CreateCallCount

func (fake *FakeGormDB) CreateCallCount() int

func (*FakeGormDB) CreateReturns

func (fake *FakeGormDB) CreateReturns(result1 *gorm.DB)

func (*FakeGormDB) DB

func (fake *FakeGormDB) DB() *sql.DB

func (*FakeGormDB) DBCallCount

func (fake *FakeGormDB) DBCallCount() int

func (*FakeGormDB) DBReturns

func (fake *FakeGormDB) DBReturns(result1 *sql.DB)

func (*FakeGormDB) Delete

func (fake *FakeGormDB) Delete(value interface{}, where ...interface{}) *gorm.DB

func (*FakeGormDB) DeleteArgsForCall

func (fake *FakeGormDB) DeleteArgsForCall(i int) (interface{}, []interface{})

func (*FakeGormDB) DeleteCallCount

func (fake *FakeGormDB) DeleteCallCount() int

func (*FakeGormDB) DeleteReturns

func (fake *FakeGormDB) DeleteReturns(result1 *gorm.DB)

func (*FakeGormDB) Find

func (fake *FakeGormDB) Find(out interface{}, where ...interface{}) *gorm.DB

func (*FakeGormDB) FindArgsForCall

func (fake *FakeGormDB) FindArgsForCall(i int) (interface{}, []interface{})

func (*FakeGormDB) FindCallCount

func (fake *FakeGormDB) FindCallCount() int

func (*FakeGormDB) FindReturns

func (fake *FakeGormDB) FindReturns(result1 *gorm.DB)

func (*FakeGormDB) Raw

func (fake *FakeGormDB) Raw(sql string, values ...interface{}) *gorm.DB

func (*FakeGormDB) RawArgsForCall

func (fake *FakeGormDB) RawArgsForCall(i int) (string, []interface{})

func (*FakeGormDB) RawCallCount

func (fake *FakeGormDB) RawCallCount() int

func (*FakeGormDB) RawReturns

func (fake *FakeGormDB) RawReturns(result1 *gorm.DB)

func (*FakeGormDB) Save

func (fake *FakeGormDB) Save(value interface{}) *gorm.DB

func (*FakeGormDB) SaveArgsForCall

func (fake *FakeGormDB) SaveArgsForCall(i int) interface{}

func (*FakeGormDB) SaveCallCount

func (fake *FakeGormDB) SaveCallCount() int

func (*FakeGormDB) SaveReturns

func (fake *FakeGormDB) SaveReturns(result1 *gorm.DB)

func (*FakeGormDB) Scan

func (fake *FakeGormDB) Scan(dest interface{}) *gorm.DB

func (*FakeGormDB) ScanArgsForCall

func (fake *FakeGormDB) ScanArgsForCall(i int) interface{}

func (*FakeGormDB) ScanCallCount

func (fake *FakeGormDB) ScanCallCount() int

func (*FakeGormDB) ScanReturns

func (fake *FakeGormDB) ScanReturns(result1 *gorm.DB)

type FakeInstanceProvisioner

type FakeInstanceProvisioner struct {
	SetInstanceIDStub func(string)

	SetProvisionDetailsStub func(brokerapi.ProvisionDetails)

	SetActiveStub func(bool)
	// contains filtered or unexported fields
}

func (*FakeInstanceProvisioner) SetActive

func (fake *FakeInstanceProvisioner) SetActive(arg1 bool)

func (*FakeInstanceProvisioner) SetActiveArgsForCall

func (fake *FakeInstanceProvisioner) SetActiveArgsForCall(i int) bool

func (*FakeInstanceProvisioner) SetActiveCallCount

func (fake *FakeInstanceProvisioner) SetActiveCallCount() int

func (*FakeInstanceProvisioner) SetInstanceID

func (fake *FakeInstanceProvisioner) SetInstanceID(arg1 string)

func (*FakeInstanceProvisioner) SetInstanceIDArgsForCall

func (fake *FakeInstanceProvisioner) SetInstanceIDArgsForCall(i int) string

func (*FakeInstanceProvisioner) SetInstanceIDCallCount

func (fake *FakeInstanceProvisioner) SetInstanceIDCallCount() int

func (*FakeInstanceProvisioner) SetProvisionDetails

func (fake *FakeInstanceProvisioner) SetProvisionDetails(arg1 brokerapi.ProvisionDetails)

func (*FakeInstanceProvisioner) SetProvisionDetailsArgsForCall

func (fake *FakeInstanceProvisioner) SetProvisionDetailsArgsForCall(i int) brokerapi.ProvisionDetails

func (*FakeInstanceProvisioner) SetProvisionDetailsCallCount

func (fake *FakeInstanceProvisioner) SetProvisionDetailsCallCount() int

type FakeOrchestrator

type FakeOrchestrator struct {
	DBStub func() chaospeddler.GormDB

	StartStub func()
	// contains filtered or unexported fields
}

func (*FakeOrchestrator) DB

func (fake *FakeOrchestrator) DB() chaospeddler.GormDB

func (*FakeOrchestrator) DBCallCount

func (fake *FakeOrchestrator) DBCallCount() int

func (*FakeOrchestrator) DBReturns

func (fake *FakeOrchestrator) DBReturns(result1 chaospeddler.GormDB)

func (*FakeOrchestrator) Start

func (fake *FakeOrchestrator) Start()

func (*FakeOrchestrator) StartCallCount

func (fake *FakeOrchestrator) StartCallCount() int

Jump to

Keyboard shortcuts

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