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 ¶
- type BackendSetRepo
- func (fake *BackendSetRepo) Get(guid models.DiegoProcessGUID) *models.BackendSet
- func (fake *BackendSetRepo) GetArgsForCall(i int) models.DiegoProcessGUID
- func (fake *BackendSetRepo) GetCallCount() int
- func (fake *BackendSetRepo) GetInternalBackends(guid models.DiegoProcessGUID) *models.BackendSet
- func (fake *BackendSetRepo) GetInternalBackendsArgsForCall(i int) models.DiegoProcessGUID
- func (fake *BackendSetRepo) GetInternalBackendsCallCount() int
- func (fake *BackendSetRepo) GetInternalBackendsReturns(result1 *models.BackendSet)
- func (fake *BackendSetRepo) GetInternalBackendsReturnsOnCall(i int, result1 *models.BackendSet)
- func (fake *BackendSetRepo) GetReturns(result1 *models.BackendSet)
- func (fake *BackendSetRepo) GetReturnsOnCall(i int, result1 *models.BackendSet)
- func (fake *BackendSetRepo) Invocations() map[string][][]interface{}
- type CAPIDiegoProcessAssociationsRepo
- func (fake *CAPIDiegoProcessAssociationsRepo) Delete(capiProcessGUID *models.CAPIProcessGUID)
- func (fake *CAPIDiegoProcessAssociationsRepo) DeleteArgsForCall(i int) *models.CAPIProcessGUID
- func (fake *CAPIDiegoProcessAssociationsRepo) DeleteCallCount() int
- func (fake *CAPIDiegoProcessAssociationsRepo) Get(capiProcessGUID *models.CAPIProcessGUID) *models.CAPIDiegoProcessAssociation
- func (fake *CAPIDiegoProcessAssociationsRepo) GetArgsForCall(i int) *models.CAPIProcessGUID
- func (fake *CAPIDiegoProcessAssociationsRepo) GetCallCount() int
- func (fake *CAPIDiegoProcessAssociationsRepo) GetReturns(result1 *models.CAPIDiegoProcessAssociation)
- func (fake *CAPIDiegoProcessAssociationsRepo) GetReturnsOnCall(i int, result1 *models.CAPIDiegoProcessAssociation)
- func (fake *CAPIDiegoProcessAssociationsRepo) Invocations() map[string][][]interface{}
- func (fake *CAPIDiegoProcessAssociationsRepo) List() map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs
- func (fake *CAPIDiegoProcessAssociationsRepo) ListCallCount() int
- func (fake *CAPIDiegoProcessAssociationsRepo) ListReturns(result1 map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs)
- func (fake *CAPIDiegoProcessAssociationsRepo) ListReturnsOnCall(i int, result1 map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs)
- func (fake *CAPIDiegoProcessAssociationsRepo) Sync(capiDiegoProcessAssociations []*models.CAPIDiegoProcessAssociation)
- func (fake *CAPIDiegoProcessAssociationsRepo) SyncArgsForCall(i int) []*models.CAPIDiegoProcessAssociation
- func (fake *CAPIDiegoProcessAssociationsRepo) SyncCallCount() int
- func (fake *CAPIDiegoProcessAssociationsRepo) Upsert(capiDiegoProcessAssociation *models.CAPIDiegoProcessAssociation)
- func (fake *CAPIDiegoProcessAssociationsRepo) UpsertArgsForCall(i int) *models.CAPIDiegoProcessAssociation
- func (fake *CAPIDiegoProcessAssociationsRepo) UpsertCallCount() int
- type Collector
- func (fake *Collector) Collect() []*models.RouteWithBackends
- func (fake *Collector) CollectCallCount() int
- func (fake *Collector) CollectReturns(result1 []*models.RouteWithBackends)
- func (fake *Collector) CollectReturnsOnCall(i int, result1 []*models.RouteWithBackends)
- func (fake *Collector) Invocations() map[string][][]interface{}
- type RouteMappingsRepo
- func (fake *RouteMappingsRepo) GetCalculatedWeight(rm *models.RouteMapping) int32
- func (fake *RouteMappingsRepo) GetCalculatedWeightArgsForCall(i int) *models.RouteMapping
- func (fake *RouteMappingsRepo) GetCalculatedWeightCallCount() int
- func (fake *RouteMappingsRepo) GetCalculatedWeightReturns(result1 int32)
- func (fake *RouteMappingsRepo) GetCalculatedWeightReturnsOnCall(i int, result1 int32)
- func (fake *RouteMappingsRepo) Invocations() map[string][][]interface{}
- func (fake *RouteMappingsRepo) List() map[string]*models.RouteMapping
- func (fake *RouteMappingsRepo) ListCallCount() int
- func (fake *RouteMappingsRepo) ListReturns(result1 map[string]*models.RouteMapping)
- func (fake *RouteMappingsRepo) ListReturnsOnCall(i int, result1 map[string]*models.RouteMapping)
- func (fake *RouteMappingsRepo) Map(routeMapping *models.RouteMapping)
- func (fake *RouteMappingsRepo) MapArgsForCall(i int) *models.RouteMapping
- func (fake *RouteMappingsRepo) MapCallCount() int
- func (fake *RouteMappingsRepo) Sync(routeMappings []*models.RouteMapping)
- func (fake *RouteMappingsRepo) SyncArgsForCall(i int) []*models.RouteMapping
- func (fake *RouteMappingsRepo) SyncCallCount() int
- func (fake *RouteMappingsRepo) Unmap(routeMapping *models.RouteMapping)
- func (fake *RouteMappingsRepo) UnmapArgsForCall(i int) *models.RouteMapping
- func (fake *RouteMappingsRepo) UnmapCallCount() int
- type RoutesRepo
- func (fake *RoutesRepo) Delete(guid models.RouteGUID)
- func (fake *RoutesRepo) DeleteArgsForCall(i int) models.RouteGUID
- func (fake *RoutesRepo) DeleteCallCount() int
- func (fake *RoutesRepo) Get(guid models.RouteGUID) (*models.Route, bool)
- func (fake *RoutesRepo) GetArgsForCall(i int) models.RouteGUID
- func (fake *RoutesRepo) GetCallCount() int
- func (fake *RoutesRepo) GetReturns(result1 *models.Route, result2 bool)
- func (fake *RoutesRepo) GetReturnsOnCall(i int, result1 *models.Route, result2 bool)
- func (fake *RoutesRepo) Invocations() map[string][][]interface{}
- func (fake *RoutesRepo) List() map[string]string
- func (fake *RoutesRepo) ListCallCount() int
- func (fake *RoutesRepo) ListReturns(result1 map[string]string)
- func (fake *RoutesRepo) ListReturnsOnCall(i int, result1 map[string]string)
- func (fake *RoutesRepo) Sync(routes []*models.Route)
- func (fake *RoutesRepo) SyncArgsForCall(i int) []*models.Route
- func (fake *RoutesRepo) SyncCallCount() int
- func (fake *RoutesRepo) Upsert(route *models.Route)
- func (fake *RoutesRepo) UpsertArgsForCall(i int) *models.Route
- func (fake *RoutesRepo) UpsertCallCount() int
- type RoutesRepoVIPResolverInterface
- func (fake *RoutesRepoVIPResolverInterface) GetVIPByName(hostname string) (string, bool)
- func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameArgsForCall(i int) string
- func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameCallCount() int
- func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameReturns(result1 string, result2 bool)
- func (fake *RoutesRepoVIPResolverInterface) GetVIPByNameReturnsOnCall(i int, result1 string, result2 bool)
- func (fake *RoutesRepoVIPResolverInterface) Invocations() map[string][][]interface{}
- type VIPProvider
- func (fake *VIPProvider) Get(hostname string) string
- func (fake *VIPProvider) GetArgsForCall(i int) string
- func (fake *VIPProvider) GetCallCount() int
- func (fake *VIPProvider) GetReturns(result1 string)
- func (fake *VIPProvider) GetReturnsOnCall(i int, result1 string)
- func (fake *VIPProvider) Invocations() map[string][][]interface{}
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 (fake *BackendSetRepo) Get(guid models.DiegoProcessGUID) *models.BackendSet
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 (fake *CAPIDiegoProcessAssociationsRepo) Get(capiProcessGUID *models.CAPIProcessGUID) *models.CAPIDiegoProcessAssociation
func (*CAPIDiegoProcessAssociationsRepo) GetArgsForCall ¶
func (fake *CAPIDiegoProcessAssociationsRepo) GetArgsForCall(i int) *models.CAPIProcessGUID
func (*CAPIDiegoProcessAssociationsRepo) GetCallCount ¶
func (fake *CAPIDiegoProcessAssociationsRepo) GetCallCount() int
func (*CAPIDiegoProcessAssociationsRepo) GetReturns ¶
func (fake *CAPIDiegoProcessAssociationsRepo) GetReturns(result1 *models.CAPIDiegoProcessAssociation)
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 (fake *CAPIDiegoProcessAssociationsRepo) List() map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs
func (*CAPIDiegoProcessAssociationsRepo) ListCallCount ¶
func (fake *CAPIDiegoProcessAssociationsRepo) ListCallCount() int
func (*CAPIDiegoProcessAssociationsRepo) ListReturns ¶
func (fake *CAPIDiegoProcessAssociationsRepo) ListReturns(result1 map[models.CAPIProcessGUID]*models.DiegoProcessGUIDs)
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 (fake *CAPIDiegoProcessAssociationsRepo) SyncArgsForCall(i int) []*models.CAPIDiegoProcessAssociation
func (*CAPIDiegoProcessAssociationsRepo) SyncCallCount ¶
func (fake *CAPIDiegoProcessAssociationsRepo) SyncCallCount() int
func (*CAPIDiegoProcessAssociationsRepo) Upsert ¶
func (fake *CAPIDiegoProcessAssociationsRepo) Upsert(capiDiegoProcessAssociation *models.CAPIDiegoProcessAssociation)
func (*CAPIDiegoProcessAssociationsRepo) UpsertArgsForCall ¶
func (fake *CAPIDiegoProcessAssociationsRepo) UpsertArgsForCall(i int) *models.CAPIDiegoProcessAssociation
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 (*Collector) CollectReturns ¶
func (fake *Collector) CollectReturns(result1 []*models.RouteWithBackends)
func (*Collector) CollectReturnsOnCall ¶
func (fake *Collector) CollectReturnsOnCall(i int, result1 []*models.RouteWithBackends)
func (*Collector) Invocations ¶
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) 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{}
Click to show internal directories.
Click to hide internal directories.