fakes

package
v0.0.0-...-993a85b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendSetRepo

type BackendSetRepo struct {
	GetStub func(guid models.DiegoProcessGUID) *models.BackendSet

	GetInternalBackendsStub func(guid models.DiegoProcessGUID) *models.BackendSet
	// contains filtered or unexported fields
}

func (*BackendSetRepo) Get

func (*BackendSetRepo) GetArgsForCall

func (fake *BackendSetRepo) GetArgsForCall(i int) models.DiegoProcessGUID

func (*BackendSetRepo) GetCallCount

func (fake *BackendSetRepo) GetCallCount() int

func (*BackendSetRepo) GetInternalBackends

func (fake *BackendSetRepo) GetInternalBackends(guid models.DiegoProcessGUID) *models.BackendSet

func (*BackendSetRepo) GetInternalBackendsArgsForCall

func (fake *BackendSetRepo) GetInternalBackendsArgsForCall(i int) models.DiegoProcessGUID

func (*BackendSetRepo) GetInternalBackendsCallCount

func (fake *BackendSetRepo) GetInternalBackendsCallCount() int

func (*BackendSetRepo) GetInternalBackendsReturns

func (fake *BackendSetRepo) GetInternalBackendsReturns(result1 *models.BackendSet)

func (*BackendSetRepo) GetInternalBackendsReturnsOnCall

func (fake *BackendSetRepo) GetInternalBackendsReturnsOnCall(i int, result1 *models.BackendSet)

func (*BackendSetRepo) GetReturns

func (fake *BackendSetRepo) GetReturns(result1 *models.BackendSet)

func (*BackendSetRepo) GetReturnsOnCall

func (fake *BackendSetRepo) GetReturnsOnCall(i int, result1 *models.BackendSet)

func (*BackendSetRepo) Invocations

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

type CAPIDiegoProcessAssociationsRepo

type CAPIDiegoProcessAssociationsRepo struct {
	UpsertStub func(capiDiegoProcessAssociation *models.CAPIDiegoProcessAssociation)

	DeleteStub func(capiProcessGUID *models.CAPIProcessGUID)

	SyncStub func(capiDiegoProcessAssociations []*models.CAPIDiegoProcessAssociation)

	ListStub func() map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs

	GetStub func(capiProcessGUID *models.CAPIProcessGUID) *models.CAPIDiegoProcessAssociation
	// contains filtered or unexported fields
}

func (*CAPIDiegoProcessAssociationsRepo) Delete

func (fake *CAPIDiegoProcessAssociationsRepo) Delete(capiProcessGUID *models.CAPIProcessGUID)

func (*CAPIDiegoProcessAssociationsRepo) DeleteArgsForCall

func (fake *CAPIDiegoProcessAssociationsRepo) DeleteArgsForCall(i int) *models.CAPIProcessGUID

func (*CAPIDiegoProcessAssociationsRepo) DeleteCallCount

func (fake *CAPIDiegoProcessAssociationsRepo) DeleteCallCount() int

func (*CAPIDiegoProcessAssociationsRepo) Get

func (*CAPIDiegoProcessAssociationsRepo) GetArgsForCall

func (*CAPIDiegoProcessAssociationsRepo) GetCallCount

func (fake *CAPIDiegoProcessAssociationsRepo) GetCallCount() int

func (*CAPIDiegoProcessAssociationsRepo) GetReturns

func (*CAPIDiegoProcessAssociationsRepo) GetReturnsOnCall

func (fake *CAPIDiegoProcessAssociationsRepo) GetReturnsOnCall(i int, result1 *models.CAPIDiegoProcessAssociation)

func (*CAPIDiegoProcessAssociationsRepo) Invocations

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

func (*CAPIDiegoProcessAssociationsRepo) List

func (*CAPIDiegoProcessAssociationsRepo) ListCallCount

func (fake *CAPIDiegoProcessAssociationsRepo) ListCallCount() int

func (*CAPIDiegoProcessAssociationsRepo) ListReturns

func (*CAPIDiegoProcessAssociationsRepo) ListReturnsOnCall

func (fake *CAPIDiegoProcessAssociationsRepo) ListReturnsOnCall(i int, result1 map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs)

func (*CAPIDiegoProcessAssociationsRepo) Sync

func (fake *CAPIDiegoProcessAssociationsRepo) Sync(capiDiegoProcessAssociations []*models.CAPIDiegoProcessAssociation)

func (*CAPIDiegoProcessAssociationsRepo) SyncArgsForCall

func (*CAPIDiegoProcessAssociationsRepo) SyncCallCount

func (fake *CAPIDiegoProcessAssociationsRepo) SyncCallCount() int

func (*CAPIDiegoProcessAssociationsRepo) Upsert

func (fake *CAPIDiegoProcessAssociationsRepo) Upsert(capiDiegoProcessAssociation *models.CAPIDiegoProcessAssociation)

func (*CAPIDiegoProcessAssociationsRepo) UpsertArgsForCall

func (*CAPIDiegoProcessAssociationsRepo) UpsertCallCount

func (fake *CAPIDiegoProcessAssociationsRepo) UpsertCallCount() int

type Collector

type Collector struct {
	CollectStub func() []*models.RouteWithBackends
	// contains filtered or unexported fields
}

func (*Collector) Collect

func (fake *Collector) Collect() []*models.RouteWithBackends

func (*Collector) CollectCallCount

func (fake *Collector) CollectCallCount() int

func (*Collector) CollectReturns

func (fake *Collector) CollectReturns(result1 []*models.RouteWithBackends)

func (*Collector) CollectReturnsOnCall

func (fake *Collector) CollectReturnsOnCall(i int, result1 []*models.RouteWithBackends)

func (*Collector) Invocations

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

type RouteMappingsRepo

type RouteMappingsRepo struct {
	GetCalculatedWeightStub func(rm *models.RouteMapping) int32

	MapStub func(routeMapping *models.RouteMapping)

	UnmapStub func(routeMapping *models.RouteMapping)

	SyncStub func(routeMappings []*models.RouteMapping)

	ListStub func() map[string]*models.RouteMapping
	// contains filtered or unexported fields
}

func (*RouteMappingsRepo) GetCalculatedWeight

func (fake *RouteMappingsRepo) GetCalculatedWeight(rm *models.RouteMapping) int32

func (*RouteMappingsRepo) GetCalculatedWeightArgsForCall

func (fake *RouteMappingsRepo) GetCalculatedWeightArgsForCall(i int) *models.RouteMapping

func (*RouteMappingsRepo) GetCalculatedWeightCallCount

func (fake *RouteMappingsRepo) GetCalculatedWeightCallCount() int

func (*RouteMappingsRepo) GetCalculatedWeightReturns

func (fake *RouteMappingsRepo) GetCalculatedWeightReturns(result1 int32)

func (*RouteMappingsRepo) GetCalculatedWeightReturnsOnCall

func (fake *RouteMappingsRepo) GetCalculatedWeightReturnsOnCall(i int, result1 int32)

func (*RouteMappingsRepo) Invocations

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

func (*RouteMappingsRepo) List

func (fake *RouteMappingsRepo) List() map[string]*models.RouteMapping

func (*RouteMappingsRepo) ListCallCount

func (fake *RouteMappingsRepo) ListCallCount() int

func (*RouteMappingsRepo) ListReturns

func (fake *RouteMappingsRepo) ListReturns(result1 map[string]*models.RouteMapping)

func (*RouteMappingsRepo) ListReturnsOnCall

func (fake *RouteMappingsRepo) ListReturnsOnCall(i int, result1 map[string]*models.RouteMapping)

func (*RouteMappingsRepo) Map

func (fake *RouteMappingsRepo) Map(routeMapping *models.RouteMapping)

func (*RouteMappingsRepo) MapArgsForCall

func (fake *RouteMappingsRepo) MapArgsForCall(i int) *models.RouteMapping

func (*RouteMappingsRepo) MapCallCount

func (fake *RouteMappingsRepo) MapCallCount() int

func (*RouteMappingsRepo) Sync

func (fake *RouteMappingsRepo) Sync(routeMappings []*models.RouteMapping)

func (*RouteMappingsRepo) SyncArgsForCall

func (fake *RouteMappingsRepo) SyncArgsForCall(i int) []*models.RouteMapping

func (*RouteMappingsRepo) SyncCallCount

func (fake *RouteMappingsRepo) SyncCallCount() int

func (*RouteMappingsRepo) Unmap

func (fake *RouteMappingsRepo) Unmap(routeMapping *models.RouteMapping)

func (*RouteMappingsRepo) UnmapArgsForCall

func (fake *RouteMappingsRepo) UnmapArgsForCall(i int) *models.RouteMapping

func (*RouteMappingsRepo) UnmapCallCount

func (fake *RouteMappingsRepo) UnmapCallCount() int

type RoutesRepo

type RoutesRepo struct {
	UpsertStub func(route *models.Route)

	DeleteStub func(guid models.RouteGUID)

	SyncStub func(routes []*models.Route)

	GetStub func(guid models.RouteGUID) (*models.Route, bool)

	ListStub func() map[string]string
	// contains filtered or unexported fields
}

func (*RoutesRepo) Delete

func (fake *RoutesRepo) Delete(guid models.RouteGUID)

func (*RoutesRepo) DeleteArgsForCall

func (fake *RoutesRepo) DeleteArgsForCall(i int) models.RouteGUID

func (*RoutesRepo) DeleteCallCount

func (fake *RoutesRepo) DeleteCallCount() int

func (*RoutesRepo) Get

func (fake *RoutesRepo) Get(guid models.RouteGUID) (*models.Route, bool)

func (*RoutesRepo) GetArgsForCall

func (fake *RoutesRepo) GetArgsForCall(i int) models.RouteGUID

func (*RoutesRepo) GetCallCount

func (fake *RoutesRepo) GetCallCount() int

func (*RoutesRepo) GetReturns

func (fake *RoutesRepo) GetReturns(result1 *models.Route, result2 bool)

func (*RoutesRepo) GetReturnsOnCall

func (fake *RoutesRepo) GetReturnsOnCall(i int, result1 *models.Route, result2 bool)

func (*RoutesRepo) Invocations

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

func (*RoutesRepo) List

func (fake *RoutesRepo) List() map[string]string

func (*RoutesRepo) ListCallCount

func (fake *RoutesRepo) ListCallCount() int

func (*RoutesRepo) ListReturns

func (fake *RoutesRepo) ListReturns(result1 map[string]string)

func (*RoutesRepo) ListReturnsOnCall

func (fake *RoutesRepo) ListReturnsOnCall(i int, result1 map[string]string)

func (*RoutesRepo) Sync

func (fake *RoutesRepo) Sync(routes []*models.Route)

func (*RoutesRepo) SyncArgsForCall

func (fake *RoutesRepo) SyncArgsForCall(i int) []*models.Route

func (*RoutesRepo) SyncCallCount

func (fake *RoutesRepo) SyncCallCount() int

func (*RoutesRepo) Upsert

func (fake *RoutesRepo) Upsert(route *models.Route)

func (*RoutesRepo) UpsertArgsForCall

func (fake *RoutesRepo) UpsertArgsForCall(i int) *models.Route

func (*RoutesRepo) UpsertCallCount

func (fake *RoutesRepo) UpsertCallCount() int

type RoutesRepoVIPResolverInterface

type RoutesRepoVIPResolverInterface struct {
	GetVIPByNameStub func(hostname string) (string, bool)
	// contains filtered or unexported fields
}

func (*RoutesRepoVIPResolverInterface) GetVIPByName

func (fake *RoutesRepoVIPResolverInterface) GetVIPByName(hostname string) (string, bool)

func (*RoutesRepoVIPResolverInterface) GetVIPByNameArgsForCall

func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameArgsForCall(i int) string

func (*RoutesRepoVIPResolverInterface) GetVIPByNameCallCount

func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameCallCount() int

func (*RoutesRepoVIPResolverInterface) GetVIPByNameReturns

func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameReturns(result1 string, result2 bool)

func (*RoutesRepoVIPResolverInterface) GetVIPByNameReturnsOnCall

func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameReturnsOnCall(i int, result1 string, result2 bool)

func (*RoutesRepoVIPResolverInterface) Invocations

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

type VIPProvider

type VIPProvider struct {
	GetStub func(hostname string) string
	// contains filtered or unexported fields
}

func (*VIPProvider) Get

func (fake *VIPProvider) Get(hostname string) string

func (*VIPProvider) GetArgsForCall

func (fake *VIPProvider) GetArgsForCall(i int) string

func (*VIPProvider) GetCallCount

func (fake *VIPProvider) GetCallCount() int

func (*VIPProvider) GetReturns

func (fake *VIPProvider) GetReturns(result1 string)

func (*VIPProvider) GetReturnsOnCall

func (fake *VIPProvider) GetReturnsOnCall(i int, result1 string)

func (*VIPProvider) Invocations

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

Jump to

Keyboard shortcuts

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