Documentation ¶
Overview ¶
This file was generated by counterfeiter
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter
Index ¶
- type FakeActiveScheduleSychronizer
- type FakeAppMetricDB
- func (fake *FakeAppMetricDB) Close() error
- func (fake *FakeAppMetricDB) CloseCallCount() int
- func (fake *FakeAppMetricDB) CloseReturns(result1 error)
- func (fake *FakeAppMetricDB) GetDBStatus() sql.DBStats
- func (fake *FakeAppMetricDB) GetDBStatusCallCount() int
- func (fake *FakeAppMetricDB) GetDBStatusReturns(result1 sql.DBStats)
- func (fake *FakeAppMetricDB) Invocations() map[string][][]interface{}
- func (fake *FakeAppMetricDB) PruneAppMetrics(before int64) error
- func (fake *FakeAppMetricDB) PruneAppMetricsArgsForCall(i int) int64
- func (fake *FakeAppMetricDB) PruneAppMetricsCallCount() int
- func (fake *FakeAppMetricDB) PruneAppMetricsReturns(result1 error)
- func (fake *FakeAppMetricDB) RetrieveAppMetrics(appId string, metricType string, start int64, end int64, ...) ([]*models.AppMetric, error)
- func (fake *FakeAppMetricDB) RetrieveAppMetricsArgsForCall(i int) (string, string, int64, int64, db.OrderType)
- func (fake *FakeAppMetricDB) RetrieveAppMetricsCallCount() int
- func (fake *FakeAppMetricDB) RetrieveAppMetricsReturns(result1 []*models.AppMetric, result2 error)
- func (fake *FakeAppMetricDB) SaveAppMetric(appMetric *models.AppMetric) error
- func (fake *FakeAppMetricDB) SaveAppMetricArgsForCall(i int) *models.AppMetric
- func (fake *FakeAppMetricDB) SaveAppMetricCallCount() int
- func (fake *FakeAppMetricDB) SaveAppMetricReturns(result1 error)
- func (fake *FakeAppMetricDB) SaveAppMetricsInBulk(metrics []*models.AppMetric) error
- func (fake *FakeAppMetricDB) SaveAppMetricsInBulkArgsForCall(i int) []*models.AppMetric
- func (fake *FakeAppMetricDB) SaveAppMetricsInBulkCallCount() int
- func (fake *FakeAppMetricDB) SaveAppMetricsInBulkReturns(result1 error)
- type FakeBindingDB
- func (fake *FakeBindingDB) CheckServiceBinding(arg1 string) bool
- func (fake *FakeBindingDB) CheckServiceBindingArgsForCall(i int) string
- func (fake *FakeBindingDB) CheckServiceBindingCallCount() int
- func (fake *FakeBindingDB) CheckServiceBindingCalls(stub func(string) bool)
- func (fake *FakeBindingDB) CheckServiceBindingReturns(result1 bool)
- func (fake *FakeBindingDB) CheckServiceBindingReturnsOnCall(i int, result1 bool)
- func (fake *FakeBindingDB) Close() error
- func (fake *FakeBindingDB) CloseCallCount() int
- func (fake *FakeBindingDB) CloseCalls(stub func() error)
- func (fake *FakeBindingDB) CloseReturns(result1 error)
- func (fake *FakeBindingDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeBindingDB) CountServiceInstancesInOrg(arg1 string) (int, error)
- func (fake *FakeBindingDB) CountServiceInstancesInOrgArgsForCall(i int) string
- func (fake *FakeBindingDB) CountServiceInstancesInOrgCallCount() int
- func (fake *FakeBindingDB) CountServiceInstancesInOrgCalls(stub func(string) (int, error))
- func (fake *FakeBindingDB) CountServiceInstancesInOrgReturns(result1 int, result2 error)
- func (fake *FakeBindingDB) CountServiceInstancesInOrgReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeBindingDB) CreateServiceBinding(arg1 string, arg2 string, arg3 string) error
- func (fake *FakeBindingDB) CreateServiceBindingArgsForCall(i int) (string, string, string)
- func (fake *FakeBindingDB) CreateServiceBindingCallCount() int
- func (fake *FakeBindingDB) CreateServiceBindingCalls(stub func(string, string, string) error)
- func (fake *FakeBindingDB) CreateServiceBindingReturns(result1 error)
- func (fake *FakeBindingDB) CreateServiceBindingReturnsOnCall(i int, result1 error)
- func (fake *FakeBindingDB) CreateServiceInstance(arg1 models.ServiceInstance) error
- func (fake *FakeBindingDB) CreateServiceInstanceArgsForCall(i int) models.ServiceInstance
- func (fake *FakeBindingDB) CreateServiceInstanceCallCount() int
- func (fake *FakeBindingDB) CreateServiceInstanceCalls(stub func(models.ServiceInstance) error)
- func (fake *FakeBindingDB) CreateServiceInstanceReturns(result1 error)
- func (fake *FakeBindingDB) CreateServiceInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeBindingDB) DeleteServiceBinding(arg1 string) error
- func (fake *FakeBindingDB) DeleteServiceBindingArgsForCall(i int) string
- func (fake *FakeBindingDB) DeleteServiceBindingByAppId(arg1 string) error
- func (fake *FakeBindingDB) DeleteServiceBindingByAppIdArgsForCall(i int) string
- func (fake *FakeBindingDB) DeleteServiceBindingByAppIdCallCount() int
- func (fake *FakeBindingDB) DeleteServiceBindingByAppIdCalls(stub func(string) error)
- func (fake *FakeBindingDB) DeleteServiceBindingByAppIdReturns(result1 error)
- func (fake *FakeBindingDB) DeleteServiceBindingByAppIdReturnsOnCall(i int, result1 error)
- func (fake *FakeBindingDB) DeleteServiceBindingCallCount() int
- func (fake *FakeBindingDB) DeleteServiceBindingCalls(stub func(string) error)
- func (fake *FakeBindingDB) DeleteServiceBindingReturns(result1 error)
- func (fake *FakeBindingDB) DeleteServiceBindingReturnsOnCall(i int, result1 error)
- func (fake *FakeBindingDB) DeleteServiceInstance(arg1 string) error
- func (fake *FakeBindingDB) DeleteServiceInstanceArgsForCall(i int) string
- func (fake *FakeBindingDB) DeleteServiceInstanceCallCount() int
- func (fake *FakeBindingDB) DeleteServiceInstanceCalls(stub func(string) error)
- func (fake *FakeBindingDB) DeleteServiceInstanceReturns(result1 error)
- func (fake *FakeBindingDB) DeleteServiceInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeBindingDB) GetAppIdByBindingId(arg1 string) (string, error)
- func (fake *FakeBindingDB) GetAppIdByBindingIdArgsForCall(i int) string
- func (fake *FakeBindingDB) GetAppIdByBindingIdCallCount() int
- func (fake *FakeBindingDB) GetAppIdByBindingIdCalls(stub func(string) (string, error))
- func (fake *FakeBindingDB) GetAppIdByBindingIdReturns(result1 string, result2 error)
- func (fake *FakeBindingDB) GetAppIdByBindingIdReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBindingDB) GetAppIdsByInstanceId(arg1 string) ([]string, error)
- func (fake *FakeBindingDB) GetAppIdsByInstanceIdArgsForCall(i int) string
- func (fake *FakeBindingDB) GetAppIdsByInstanceIdCallCount() int
- func (fake *FakeBindingDB) GetAppIdsByInstanceIdCalls(stub func(string) ([]string, error))
- func (fake *FakeBindingDB) GetAppIdsByInstanceIdReturns(result1 []string, result2 error)
- func (fake *FakeBindingDB) GetAppIdsByInstanceIdReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeBindingDB) GetBindingIdsByInstanceId(arg1 string) ([]string, error)
- func (fake *FakeBindingDB) GetBindingIdsByInstanceIdArgsForCall(i int) string
- func (fake *FakeBindingDB) GetBindingIdsByInstanceIdCallCount() int
- func (fake *FakeBindingDB) GetBindingIdsByInstanceIdCalls(stub func(string) ([]string, error))
- func (fake *FakeBindingDB) GetBindingIdsByInstanceIdReturns(result1 []string, result2 error)
- func (fake *FakeBindingDB) GetBindingIdsByInstanceIdReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeBindingDB) GetDBStatus() sql.DBStats
- func (fake *FakeBindingDB) GetDBStatusCallCount() int
- func (fake *FakeBindingDB) GetDBStatusCalls(stub func() sql.DBStats)
- func (fake *FakeBindingDB) GetDBStatusReturns(result1 sql.DBStats)
- func (fake *FakeBindingDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
- func (fake *FakeBindingDB) GetServiceInstance(arg1 string) (*models.ServiceInstance, error)
- func (fake *FakeBindingDB) GetServiceInstanceArgsForCall(i int) string
- func (fake *FakeBindingDB) GetServiceInstanceByAppId(arg1 string) (*models.ServiceInstance, error)
- func (fake *FakeBindingDB) GetServiceInstanceByAppIdArgsForCall(i int) string
- func (fake *FakeBindingDB) GetServiceInstanceByAppIdCallCount() int
- func (fake *FakeBindingDB) GetServiceInstanceByAppIdCalls(stub func(string) (*models.ServiceInstance, error))
- func (fake *FakeBindingDB) GetServiceInstanceByAppIdReturns(result1 *models.ServiceInstance, result2 error)
- func (fake *FakeBindingDB) GetServiceInstanceByAppIdReturnsOnCall(i int, result1 *models.ServiceInstance, result2 error)
- func (fake *FakeBindingDB) GetServiceInstanceCallCount() int
- func (fake *FakeBindingDB) GetServiceInstanceCalls(stub func(string) (*models.ServiceInstance, error))
- func (fake *FakeBindingDB) GetServiceInstanceReturns(result1 *models.ServiceInstance, result2 error)
- func (fake *FakeBindingDB) GetServiceInstanceReturnsOnCall(i int, result1 *models.ServiceInstance, result2 error)
- func (fake *FakeBindingDB) Invocations() map[string][][]interface{}
- func (fake *FakeBindingDB) UpdateServiceInstance(arg1 models.ServiceInstance) error
- func (fake *FakeBindingDB) UpdateServiceInstanceArgsForCall(i int) models.ServiceInstance
- func (fake *FakeBindingDB) UpdateServiceInstanceCallCount() int
- func (fake *FakeBindingDB) UpdateServiceInstanceCalls(stub func(models.ServiceInstance) error)
- func (fake *FakeBindingDB) UpdateServiceInstanceReturns(result1 error)
- func (fake *FakeBindingDB) UpdateServiceInstanceReturnsOnCall(i int, result1 error)
- type FakeCFClient
- func (fake *FakeCFClient) GetApp(arg1 string) (*models.AppEntity, error)
- func (fake *FakeCFClient) GetAppArgsForCall(i int) string
- func (fake *FakeCFClient) GetAppCallCount() int
- func (fake *FakeCFClient) GetAppCalls(stub func(string) (*models.AppEntity, error))
- func (fake *FakeCFClient) GetAppReturns(result1 *models.AppEntity, result2 error)
- func (fake *FakeCFClient) GetAppReturnsOnCall(i int, result1 *models.AppEntity, result2 error)
- func (fake *FakeCFClient) GetEndpoints() cf.Endpoints
- func (fake *FakeCFClient) GetEndpointsCallCount() int
- func (fake *FakeCFClient) GetEndpointsCalls(stub func() cf.Endpoints)
- func (fake *FakeCFClient) GetEndpointsReturns(result1 cf.Endpoints)
- func (fake *FakeCFClient) GetEndpointsReturnsOnCall(i int, result1 cf.Endpoints)
- func (fake *FakeCFClient) GetServiceInstancesInOrg(arg1 string, arg2 string) (int, error)
- func (fake *FakeCFClient) GetServiceInstancesInOrgArgsForCall(i int) (string, string)
- func (fake *FakeCFClient) GetServiceInstancesInOrgCallCount() int
- func (fake *FakeCFClient) GetServiceInstancesInOrgCalls(stub func(string, string) (int, error))
- func (fake *FakeCFClient) GetServiceInstancesInOrgReturns(result1 int, result2 error)
- func (fake *FakeCFClient) GetServiceInstancesInOrgReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeCFClient) GetServicePlan(arg1 string) (string, error)
- func (fake *FakeCFClient) GetServicePlanArgsForCall(i int) string
- func (fake *FakeCFClient) GetServicePlanCallCount() int
- func (fake *FakeCFClient) GetServicePlanCalls(stub func(string) (string, error))
- func (fake *FakeCFClient) GetServicePlanReturns(result1 string, result2 error)
- func (fake *FakeCFClient) GetServicePlanReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeCFClient) GetTokens() (cf.Tokens, error)
- func (fake *FakeCFClient) GetTokensCallCount() int
- func (fake *FakeCFClient) GetTokensCalls(stub func() (cf.Tokens, error))
- func (fake *FakeCFClient) GetTokensReturns(result1 cf.Tokens, result2 error)
- func (fake *FakeCFClient) GetTokensReturnsOnCall(i int, result1 cf.Tokens, result2 error)
- func (fake *FakeCFClient) Invocations() map[string][][]interface{}
- func (fake *FakeCFClient) IsTokenAuthorized(arg1 string, arg2 string) (bool, error)
- func (fake *FakeCFClient) IsTokenAuthorizedArgsForCall(i int) (string, string)
- func (fake *FakeCFClient) IsTokenAuthorizedCallCount() int
- func (fake *FakeCFClient) IsTokenAuthorizedCalls(stub func(string, string) (bool, error))
- func (fake *FakeCFClient) IsTokenAuthorizedReturns(result1 bool, result2 error)
- func (fake *FakeCFClient) IsTokenAuthorizedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeCFClient) IsUserAdmin(arg1 string) (bool, error)
- func (fake *FakeCFClient) IsUserAdminArgsForCall(i int) string
- func (fake *FakeCFClient) IsUserAdminCallCount() int
- func (fake *FakeCFClient) IsUserAdminCalls(stub func(string) (bool, error))
- func (fake *FakeCFClient) IsUserAdminReturns(result1 bool, result2 error)
- func (fake *FakeCFClient) IsUserAdminReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeCFClient) IsUserSpaceDeveloper(arg1 string, arg2 string) (bool, error)
- func (fake *FakeCFClient) IsUserSpaceDeveloperArgsForCall(i int) (string, string)
- func (fake *FakeCFClient) IsUserSpaceDeveloperCallCount() int
- func (fake *FakeCFClient) IsUserSpaceDeveloperCalls(stub func(string, string) (bool, error))
- func (fake *FakeCFClient) IsUserSpaceDeveloperReturns(result1 bool, result2 error)
- func (fake *FakeCFClient) IsUserSpaceDeveloperReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeCFClient) Login() error
- func (fake *FakeCFClient) LoginCallCount() int
- func (fake *FakeCFClient) LoginCalls(stub func() error)
- func (fake *FakeCFClient) LoginReturns(result1 error)
- func (fake *FakeCFClient) LoginReturnsOnCall(i int, result1 error)
- func (fake *FakeCFClient) RefreshAuthToken() (string, error)
- func (fake *FakeCFClient) RefreshAuthTokenCallCount() int
- func (fake *FakeCFClient) RefreshAuthTokenCalls(stub func() (string, error))
- func (fake *FakeCFClient) RefreshAuthTokenReturns(result1 string, result2 error)
- func (fake *FakeCFClient) RefreshAuthTokenReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeCFClient) SetAppInstances(arg1 string, arg2 int) error
- func (fake *FakeCFClient) SetAppInstancesArgsForCall(i int) (string, int)
- func (fake *FakeCFClient) SetAppInstancesCallCount() int
- func (fake *FakeCFClient) SetAppInstancesCalls(stub func(string, int) error)
- func (fake *FakeCFClient) SetAppInstancesReturns(result1 error)
- func (fake *FakeCFClient) SetAppInstancesReturnsOnCall(i int, result1 error)
- type FakeCredentials
- func (fake *FakeCredentials) Create(arg1 string, arg2 *models.Credential) (*models.Credential, error)
- func (fake *FakeCredentials) CreateArgsForCall(i int) (string, *models.Credential)
- func (fake *FakeCredentials) CreateCallCount() int
- func (fake *FakeCredentials) CreateCalls(stub func(string, *models.Credential) (*models.Credential, error))
- func (fake *FakeCredentials) CreateReturns(result1 *models.Credential, result2 error)
- func (fake *FakeCredentials) CreateReturnsOnCall(i int, result1 *models.Credential, result2 error)
- func (fake *FakeCredentials) Delete(arg1 string) error
- func (fake *FakeCredentials) DeleteArgsForCall(i int) string
- func (fake *FakeCredentials) DeleteCallCount() int
- func (fake *FakeCredentials) DeleteCalls(stub func(string) error)
- func (fake *FakeCredentials) DeleteReturns(result1 error)
- func (fake *FakeCredentials) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeCredentials) Invocations() map[string][][]interface{}
- func (fake *FakeCredentials) Validate(arg1 string, arg2 models.Credential) (bool, error)
- func (fake *FakeCredentials) ValidateArgsForCall(i int) (string, models.Credential)
- func (fake *FakeCredentials) ValidateCallCount() int
- func (fake *FakeCredentials) ValidateCalls(stub func(string, models.Credential) (bool, error))
- func (fake *FakeCredentials) ValidateReturns(result1 bool, result2 error)
- func (fake *FakeCredentials) ValidateReturnsOnCall(i int, result1 bool, result2 error)
- type FakeDatabaseStatus
- type FakeEmitter
- func (fake *FakeEmitter) Accept(envelope *loggregator_v2.Envelope)
- func (fake *FakeEmitter) AcceptArgsForCall(i int) *loggregator_v2.Envelope
- func (fake *FakeEmitter) AcceptCallCount() int
- func (fake *FakeEmitter) Emit(envelope *loggregator_v2.Envelope) error
- func (fake *FakeEmitter) EmitArgsForCall(i int) *loggregator_v2.Envelope
- func (fake *FakeEmitter) EmitCallCount() int
- func (fake *FakeEmitter) EmitReturns(result1 error)
- func (fake *FakeEmitter) Invocations() map[string][][]interface{}
- func (fake *FakeEmitter) Start() error
- func (fake *FakeEmitter) StartCallCount() int
- func (fake *FakeEmitter) StartReturns(result1 error)
- func (fake *FakeEmitter) Stop()
- func (fake *FakeEmitter) StopCallCount() int
- type FakeHTTPStatusCollector
- func (fake *FakeHTTPStatusCollector) Collect(arg1 chan<- prometheus.Metric)
- func (fake *FakeHTTPStatusCollector) CollectArgsForCall(i int) chan<- prometheus.Metric
- func (fake *FakeHTTPStatusCollector) CollectCallCount() int
- func (fake *FakeHTTPStatusCollector) DecConcurrentHTTPRequest()
- func (fake *FakeHTTPStatusCollector) DecConcurrentHTTPRequestCallCount() int
- func (fake *FakeHTTPStatusCollector) Describe(arg1 chan<- *prometheus.Desc)
- func (fake *FakeHTTPStatusCollector) DescribeArgsForCall(i int) chan<- *prometheus.Desc
- func (fake *FakeHTTPStatusCollector) DescribeCallCount() int
- func (fake *FakeHTTPStatusCollector) IncConcurrentHTTPRequest()
- func (fake *FakeHTTPStatusCollector) IncConcurrentHTTPRequestCallCount() int
- func (fake *FakeHTTPStatusCollector) Invocations() map[string][][]interface{}
- type FakeInstanceMetricsDB
- func (fake *FakeInstanceMetricsDB) Close() error
- func (fake *FakeInstanceMetricsDB) CloseCallCount() int
- func (fake *FakeInstanceMetricsDB) CloseReturns(result1 error)
- func (fake *FakeInstanceMetricsDB) GetDBStatus() sql.DBStats
- func (fake *FakeInstanceMetricsDB) GetDBStatusCallCount() int
- func (fake *FakeInstanceMetricsDB) GetDBStatusReturns(result1 sql.DBStats)
- func (fake *FakeInstanceMetricsDB) Invocations() map[string][][]interface{}
- func (fake *FakeInstanceMetricsDB) PruneInstanceMetrics(before int64) error
- func (fake *FakeInstanceMetricsDB) PruneInstanceMetricsArgsForCall(i int) int64
- func (fake *FakeInstanceMetricsDB) PruneInstanceMetricsCallCount() int
- func (fake *FakeInstanceMetricsDB) PruneInstanceMetricsReturns(result1 error)
- func (fake *FakeInstanceMetricsDB) RetrieveInstanceMetrics(appid string, instanceIndex int, name string, start int64, end int64, ...) ([]*models.AppInstanceMetric, error)
- func (fake *FakeInstanceMetricsDB) RetrieveInstanceMetricsArgsForCall(i int) (string, int, string, int64, int64, db.OrderType)
- func (fake *FakeInstanceMetricsDB) RetrieveInstanceMetricsCallCount() int
- func (fake *FakeInstanceMetricsDB) RetrieveInstanceMetricsReturns(result1 []*models.AppInstanceMetric, result2 error)
- func (fake *FakeInstanceMetricsDB) SaveMetric(metric *models.AppInstanceMetric) error
- func (fake *FakeInstanceMetricsDB) SaveMetricArgsForCall(i int) *models.AppInstanceMetric
- func (fake *FakeInstanceMetricsDB) SaveMetricCallCount() int
- func (fake *FakeInstanceMetricsDB) SaveMetricReturns(result1 error)
- func (fake *FakeInstanceMetricsDB) SaveMetricsInBulk(metrics []*models.AppInstanceMetric) error
- func (fake *FakeInstanceMetricsDB) SaveMetricsInBulkArgsForCall(i int) []*models.AppInstanceMetric
- func (fake *FakeInstanceMetricsDB) SaveMetricsInBulkCallCount() int
- func (fake *FakeInstanceMetricsDB) SaveMetricsInBulkReturns(result1 error)
- type FakeLimiter
- func (fake *FakeLimiter) ExceedsLimit(arg1 string) bool
- func (fake *FakeLimiter) ExceedsLimitArgsForCall(i int) string
- func (fake *FakeLimiter) ExceedsLimitCallCount() int
- func (fake *FakeLimiter) ExceedsLimitReturns(result1 bool)
- func (fake *FakeLimiter) ExceedsLimitReturnsOnCall(i int, result1 bool)
- func (fake *FakeLimiter) Invocations() map[string][][]interface{}
- type FakeMetricForwarder
- type FakeOperator
- type FakePolicyDB
- func (fake *FakePolicyDB) Close() error
- func (fake *FakePolicyDB) CloseCallCount() int
- func (fake *FakePolicyDB) CloseCalls(stub func() error)
- func (fake *FakePolicyDB) CloseReturns(result1 error)
- func (fake *FakePolicyDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakePolicyDB) DeleteCredential(arg1 string) error
- func (fake *FakePolicyDB) DeleteCredentialArgsForCall(i int) string
- func (fake *FakePolicyDB) DeleteCredentialCallCount() int
- func (fake *FakePolicyDB) DeleteCredentialCalls(stub func(string) error)
- func (fake *FakePolicyDB) DeleteCredentialReturns(result1 error)
- func (fake *FakePolicyDB) DeleteCredentialReturnsOnCall(i int, result1 error)
- func (fake *FakePolicyDB) DeletePoliciesByPolicyGuid(arg1 string) ([]string, error)
- func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidArgsForCall(i int) string
- func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidCallCount() int
- func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidCalls(stub func(string) ([]string, error))
- func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidReturns(result1 []string, result2 error)
- func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakePolicyDB) DeletePolicy(arg1 string) error
- func (fake *FakePolicyDB) DeletePolicyArgsForCall(i int) string
- func (fake *FakePolicyDB) DeletePolicyCallCount() int
- func (fake *FakePolicyDB) DeletePolicyCalls(stub func(string) error)
- func (fake *FakePolicyDB) DeletePolicyReturns(result1 error)
- func (fake *FakePolicyDB) DeletePolicyReturnsOnCall(i int, result1 error)
- func (fake *FakePolicyDB) GetAppIds() (map[string]bool, error)
- func (fake *FakePolicyDB) GetAppIdsCallCount() int
- func (fake *FakePolicyDB) GetAppIdsCalls(stub func() (map[string]bool, error))
- func (fake *FakePolicyDB) GetAppIdsReturns(result1 map[string]bool, result2 error)
- func (fake *FakePolicyDB) GetAppIdsReturnsOnCall(i int, result1 map[string]bool, result2 error)
- func (fake *FakePolicyDB) GetAppPolicy(arg1 string) (*models.ScalingPolicy, error)
- func (fake *FakePolicyDB) GetAppPolicyArgsForCall(i int) string
- func (fake *FakePolicyDB) GetAppPolicyCallCount() int
- func (fake *FakePolicyDB) GetAppPolicyCalls(stub func(string) (*models.ScalingPolicy, error))
- func (fake *FakePolicyDB) GetAppPolicyReturns(result1 *models.ScalingPolicy, result2 error)
- func (fake *FakePolicyDB) GetAppPolicyReturnsOnCall(i int, result1 *models.ScalingPolicy, result2 error)
- func (fake *FakePolicyDB) GetCredential(arg1 string) (*models.Credential, error)
- func (fake *FakePolicyDB) GetCredentialArgsForCall(i int) string
- func (fake *FakePolicyDB) GetCredentialCallCount() int
- func (fake *FakePolicyDB) GetCredentialCalls(stub func(string) (*models.Credential, error))
- func (fake *FakePolicyDB) GetCredentialReturns(result1 *models.Credential, result2 error)
- func (fake *FakePolicyDB) GetCredentialReturnsOnCall(i int, result1 *models.Credential, result2 error)
- func (fake *FakePolicyDB) GetDBStatus() sql.DBStats
- func (fake *FakePolicyDB) GetDBStatusCallCount() int
- func (fake *FakePolicyDB) GetDBStatusCalls(stub func() sql.DBStats)
- func (fake *FakePolicyDB) GetDBStatusReturns(result1 sql.DBStats)
- func (fake *FakePolicyDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
- func (fake *FakePolicyDB) Invocations() map[string][][]interface{}
- func (fake *FakePolicyDB) RetrievePolicies() ([]*models.PolicyJson, error)
- func (fake *FakePolicyDB) RetrievePoliciesCallCount() int
- func (fake *FakePolicyDB) RetrievePoliciesCalls(stub func() ([]*models.PolicyJson, error))
- func (fake *FakePolicyDB) RetrievePoliciesReturns(result1 []*models.PolicyJson, result2 error)
- func (fake *FakePolicyDB) RetrievePoliciesReturnsOnCall(i int, result1 []*models.PolicyJson, result2 error)
- func (fake *FakePolicyDB) SaveAppPolicy(arg1 string, arg2 string, arg3 string) error
- func (fake *FakePolicyDB) SaveAppPolicyArgsForCall(i int) (string, string, string)
- func (fake *FakePolicyDB) SaveAppPolicyCallCount() int
- func (fake *FakePolicyDB) SaveAppPolicyCalls(stub func(string, string, string) error)
- func (fake *FakePolicyDB) SaveAppPolicyReturns(result1 error)
- func (fake *FakePolicyDB) SaveAppPolicyReturnsOnCall(i int, result1 error)
- func (fake *FakePolicyDB) SaveCredential(arg1 string, arg2 models.Credential) error
- func (fake *FakePolicyDB) SaveCredentialArgsForCall(i int) (string, models.Credential)
- func (fake *FakePolicyDB) SaveCredentialCallCount() int
- func (fake *FakePolicyDB) SaveCredentialCalls(stub func(string, models.Credential) error)
- func (fake *FakePolicyDB) SaveCredentialReturns(result1 error)
- func (fake *FakePolicyDB) SaveCredentialReturnsOnCall(i int, result1 error)
- func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicy(arg1 []string, arg2 string, arg3 string, arg4 string) ([]string, error)
- func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyArgsForCall(i int) ([]string, string, string, string)
- func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyCallCount() int
- func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyCalls(stub func([]string, string, string, string) ([]string, error))
- func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyReturns(result1 []string, result2 error)
- func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyReturnsOnCall(i int, result1 []string, result2 error)
- type FakeScalingEngine
- func (fake *FakeScalingEngine) ComputeNewInstances(arg1 int, arg2 string) (int, error)
- func (fake *FakeScalingEngine) ComputeNewInstancesArgsForCall(i int) (int, string)
- func (fake *FakeScalingEngine) ComputeNewInstancesCallCount() int
- func (fake *FakeScalingEngine) ComputeNewInstancesCalls(stub func(int, string) (int, error))
- func (fake *FakeScalingEngine) ComputeNewInstancesReturns(result1 int, result2 error)
- func (fake *FakeScalingEngine) ComputeNewInstancesReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeScalingEngine) Invocations() map[string][][]interface{}
- func (fake *FakeScalingEngine) RemoveActiveSchedule(arg1 string, arg2 string) error
- func (fake *FakeScalingEngine) RemoveActiveScheduleArgsForCall(i int) (string, string)
- func (fake *FakeScalingEngine) RemoveActiveScheduleCallCount() int
- func (fake *FakeScalingEngine) RemoveActiveScheduleCalls(stub func(string, string) error)
- func (fake *FakeScalingEngine) RemoveActiveScheduleReturns(result1 error)
- func (fake *FakeScalingEngine) RemoveActiveScheduleReturnsOnCall(i int, result1 error)
- func (fake *FakeScalingEngine) Scale(arg1 string, arg2 *models.Trigger) (*models.AppScalingResult, error)
- func (fake *FakeScalingEngine) ScaleArgsForCall(i int) (string, *models.Trigger)
- func (fake *FakeScalingEngine) ScaleCallCount() int
- func (fake *FakeScalingEngine) ScaleCalls(stub func(string, *models.Trigger) (*models.AppScalingResult, error))
- func (fake *FakeScalingEngine) ScaleReturns(result1 *models.AppScalingResult, result2 error)
- func (fake *FakeScalingEngine) ScaleReturnsOnCall(i int, result1 *models.AppScalingResult, result2 error)
- func (fake *FakeScalingEngine) SetActiveSchedule(arg1 string, arg2 *models.ActiveSchedule) error
- func (fake *FakeScalingEngine) SetActiveScheduleArgsForCall(i int) (string, *models.ActiveSchedule)
- func (fake *FakeScalingEngine) SetActiveScheduleCallCount() int
- func (fake *FakeScalingEngine) SetActiveScheduleCalls(stub func(string, *models.ActiveSchedule) error)
- func (fake *FakeScalingEngine) SetActiveScheduleReturns(result1 error)
- func (fake *FakeScalingEngine) SetActiveScheduleReturnsOnCall(i int, result1 error)
- type FakeScalingEngineDB
- func (fake *FakeScalingEngineDB) CanScaleApp(arg1 string) (bool, int64, error)
- func (fake *FakeScalingEngineDB) CanScaleAppArgsForCall(i int) string
- func (fake *FakeScalingEngineDB) CanScaleAppCallCount() int
- func (fake *FakeScalingEngineDB) CanScaleAppCalls(stub func(string) (bool, int64, error))
- func (fake *FakeScalingEngineDB) CanScaleAppReturns(result1 bool, result2 int64, result3 error)
- func (fake *FakeScalingEngineDB) CanScaleAppReturnsOnCall(i int, result1 bool, result2 int64, result3 error)
- func (fake *FakeScalingEngineDB) Close() error
- func (fake *FakeScalingEngineDB) CloseCallCount() int
- func (fake *FakeScalingEngineDB) CloseCalls(stub func() error)
- func (fake *FakeScalingEngineDB) CloseReturns(result1 error)
- func (fake *FakeScalingEngineDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeScalingEngineDB) GetActiveSchedule(arg1 string) (*models.ActiveSchedule, error)
- func (fake *FakeScalingEngineDB) GetActiveScheduleArgsForCall(i int) string
- func (fake *FakeScalingEngineDB) GetActiveScheduleCallCount() int
- func (fake *FakeScalingEngineDB) GetActiveScheduleCalls(stub func(string) (*models.ActiveSchedule, error))
- func (fake *FakeScalingEngineDB) GetActiveScheduleReturns(result1 *models.ActiveSchedule, result2 error)
- func (fake *FakeScalingEngineDB) GetActiveScheduleReturnsOnCall(i int, result1 *models.ActiveSchedule, result2 error)
- func (fake *FakeScalingEngineDB) GetActiveSchedules() (map[string]string, error)
- func (fake *FakeScalingEngineDB) GetActiveSchedulesCallCount() int
- func (fake *FakeScalingEngineDB) GetActiveSchedulesCalls(stub func() (map[string]string, error))
- func (fake *FakeScalingEngineDB) GetActiveSchedulesReturns(result1 map[string]string, result2 error)
- func (fake *FakeScalingEngineDB) GetActiveSchedulesReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeScalingEngineDB) GetDBStatus() sql.DBStats
- func (fake *FakeScalingEngineDB) GetDBStatusCallCount() int
- func (fake *FakeScalingEngineDB) GetDBStatusCalls(stub func() sql.DBStats)
- func (fake *FakeScalingEngineDB) GetDBStatusReturns(result1 sql.DBStats)
- func (fake *FakeScalingEngineDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
- func (fake *FakeScalingEngineDB) Invocations() map[string][][]interface{}
- func (fake *FakeScalingEngineDB) PruneScalingHistories(arg1 int64) error
- func (fake *FakeScalingEngineDB) PruneScalingHistoriesArgsForCall(i int) int64
- func (fake *FakeScalingEngineDB) PruneScalingHistoriesCallCount() int
- func (fake *FakeScalingEngineDB) PruneScalingHistoriesCalls(stub func(int64) error)
- func (fake *FakeScalingEngineDB) PruneScalingHistoriesReturns(result1 error)
- func (fake *FakeScalingEngineDB) PruneScalingHistoriesReturnsOnCall(i int, result1 error)
- func (fake *FakeScalingEngineDB) RemoveActiveSchedule(arg1 string) error
- func (fake *FakeScalingEngineDB) RemoveActiveScheduleArgsForCall(i int) string
- func (fake *FakeScalingEngineDB) RemoveActiveScheduleCallCount() int
- func (fake *FakeScalingEngineDB) RemoveActiveScheduleCalls(stub func(string) error)
- func (fake *FakeScalingEngineDB) RemoveActiveScheduleReturns(result1 error)
- func (fake *FakeScalingEngineDB) RemoveActiveScheduleReturnsOnCall(i int, result1 error)
- func (fake *FakeScalingEngineDB) RetrieveScalingHistories(arg1 string, arg2 int64, arg3 int64, arg4 db.OrderType, arg5 bool) ([]*models.AppScalingHistory, error)
- func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesArgsForCall(i int) (string, int64, int64, db.OrderType, bool)
- func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesCallCount() int
- func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesCalls(...)
- func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesReturns(result1 []*models.AppScalingHistory, result2 error)
- func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesReturnsOnCall(i int, result1 []*models.AppScalingHistory, result2 error)
- func (fake *FakeScalingEngineDB) SaveScalingHistory(arg1 *models.AppScalingHistory) error
- func (fake *FakeScalingEngineDB) SaveScalingHistoryArgsForCall(i int) *models.AppScalingHistory
- func (fake *FakeScalingEngineDB) SaveScalingHistoryCallCount() int
- func (fake *FakeScalingEngineDB) SaveScalingHistoryCalls(stub func(*models.AppScalingHistory) error)
- func (fake *FakeScalingEngineDB) SaveScalingHistoryReturns(result1 error)
- func (fake *FakeScalingEngineDB) SaveScalingHistoryReturnsOnCall(i int, result1 error)
- func (fake *FakeScalingEngineDB) SetActiveSchedule(arg1 string, arg2 *models.ActiveSchedule) error
- func (fake *FakeScalingEngineDB) SetActiveScheduleArgsForCall(i int) (string, *models.ActiveSchedule)
- func (fake *FakeScalingEngineDB) SetActiveScheduleCallCount() int
- func (fake *FakeScalingEngineDB) SetActiveScheduleCalls(stub func(string, *models.ActiveSchedule) error)
- func (fake *FakeScalingEngineDB) SetActiveScheduleReturns(result1 error)
- func (fake *FakeScalingEngineDB) SetActiveScheduleReturnsOnCall(i int, result1 error)
- func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTime(arg1 string, arg2 int64) error
- func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeArgsForCall(i int) (string, int64)
- func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeCallCount() int
- func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeCalls(stub func(string, int64) error)
- func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeReturns(result1 error)
- func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeReturnsOnCall(i int, result1 error)
- type FakeSchedulerDB
- func (fake *FakeSchedulerDB) Close() error
- func (fake *FakeSchedulerDB) CloseCallCount() int
- func (fake *FakeSchedulerDB) CloseCalls(stub func() error)
- func (fake *FakeSchedulerDB) CloseReturns(result1 error)
- func (fake *FakeSchedulerDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeSchedulerDB) GetActiveSchedules() (map[string]*models.ActiveSchedule, error)
- func (fake *FakeSchedulerDB) GetActiveSchedulesCallCount() int
- func (fake *FakeSchedulerDB) GetActiveSchedulesCalls(stub func() (map[string]*models.ActiveSchedule, error))
- func (fake *FakeSchedulerDB) GetActiveSchedulesReturns(result1 map[string]*models.ActiveSchedule, result2 error)
- func (fake *FakeSchedulerDB) GetActiveSchedulesReturnsOnCall(i int, result1 map[string]*models.ActiveSchedule, result2 error)
- func (fake *FakeSchedulerDB) GetDBStatus() sql.DBStats
- func (fake *FakeSchedulerDB) GetDBStatusCallCount() int
- func (fake *FakeSchedulerDB) GetDBStatusCalls(stub func() sql.DBStats)
- func (fake *FakeSchedulerDB) GetDBStatusReturns(result1 sql.DBStats)
- func (fake *FakeSchedulerDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
- func (fake *FakeSchedulerDB) Invocations() map[string][][]interface{}
- type FakeStoredProcedureDB
- func (fake *FakeStoredProcedureDB) Close() error
- func (fake *FakeStoredProcedureDB) CloseCallCount() int
- func (fake *FakeStoredProcedureDB) CloseCalls(stub func() error)
- func (fake *FakeStoredProcedureDB) CloseReturns(result1 error)
- func (fake *FakeStoredProcedureDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeStoredProcedureDB) CreateCredentials(arg1 models.CredentialsOptions) (*models.Credential, error)
- func (fake *FakeStoredProcedureDB) CreateCredentialsArgsForCall(i int) models.CredentialsOptions
- func (fake *FakeStoredProcedureDB) CreateCredentialsCallCount() int
- func (fake *FakeStoredProcedureDB) CreateCredentialsCalls(stub func(models.CredentialsOptions) (*models.Credential, error))
- func (fake *FakeStoredProcedureDB) CreateCredentialsReturns(result1 *models.Credential, result2 error)
- func (fake *FakeStoredProcedureDB) CreateCredentialsReturnsOnCall(i int, result1 *models.Credential, result2 error)
- func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentials(arg1 string) error
- func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsArgsForCall(i int) string
- func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsCallCount() int
- func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsCalls(stub func(string) error)
- func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsReturns(result1 error)
- func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsReturnsOnCall(i int, result1 error)
- func (fake *FakeStoredProcedureDB) DeleteCredentials(arg1 models.CredentialsOptions) error
- func (fake *FakeStoredProcedureDB) DeleteCredentialsArgsForCall(i int) models.CredentialsOptions
- func (fake *FakeStoredProcedureDB) DeleteCredentialsCallCount() int
- func (fake *FakeStoredProcedureDB) DeleteCredentialsCalls(stub func(models.CredentialsOptions) error)
- func (fake *FakeStoredProcedureDB) DeleteCredentialsReturns(result1 error)
- func (fake *FakeStoredProcedureDB) DeleteCredentialsReturnsOnCall(i int, result1 error)
- func (fake *FakeStoredProcedureDB) Invocations() map[string][][]interface{}
- func (fake *FakeStoredProcedureDB) ValidateCredentials(arg1 models.Credential) (*models.CredentialsOptions, error)
- func (fake *FakeStoredProcedureDB) ValidateCredentialsArgsForCall(i int) models.Credential
- func (fake *FakeStoredProcedureDB) ValidateCredentialsCallCount() int
- func (fake *FakeStoredProcedureDB) ValidateCredentialsCalls(stub func(models.Credential) (*models.CredentialsOptions, error))
- func (fake *FakeStoredProcedureDB) ValidateCredentialsReturns(result1 *models.CredentialsOptions, result2 error)
- func (fake *FakeStoredProcedureDB) ValidateCredentialsReturnsOnCall(i int, result1 *models.CredentialsOptions, result2 error)
- type FakeWSHelper
- func (fake *FakeWSHelper) CloseConn() error
- func (fake *FakeWSHelper) CloseConnCallCount() int
- func (fake *FakeWSHelper) CloseConnReturns(result1 error)
- func (fake *FakeWSHelper) Invocations() map[string][][]interface{}
- func (fake *FakeWSHelper) Ping() error
- func (fake *FakeWSHelper) PingCallCount() int
- func (fake *FakeWSHelper) PingReturns(result1 error)
- func (fake *FakeWSHelper) Read() error
- func (fake *FakeWSHelper) ReadCallCount() int
- func (fake *FakeWSHelper) ReadReturns(result1 error)
- func (fake *FakeWSHelper) SetupConn() error
- func (fake *FakeWSHelper) SetupConnCallCount() int
- func (fake *FakeWSHelper) SetupConnReturns(result1 error)
- func (fake *FakeWSHelper) Write(envelope *loggregator_v2.Envelope) error
- func (fake *FakeWSHelper) WriteArgsForCall(i int) *loggregator_v2.Envelope
- func (fake *FakeWSHelper) WriteCallCount() int
- func (fake *FakeWSHelper) WriteReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeActiveScheduleSychronizer ¶
type FakeActiveScheduleSychronizer struct { SyncStub func() // contains filtered or unexported fields }
func (*FakeActiveScheduleSychronizer) Invocations ¶
func (fake *FakeActiveScheduleSychronizer) Invocations() map[string][][]interface{}
func (*FakeActiveScheduleSychronizer) Sync ¶
func (fake *FakeActiveScheduleSychronizer) Sync()
func (*FakeActiveScheduleSychronizer) SyncCallCount ¶
func (fake *FakeActiveScheduleSychronizer) SyncCallCount() int
type FakeAppMetricDB ¶
type FakeAppMetricDB struct { GetDBStatusStub func() sql.DBStats SaveAppMetricStub func(appMetric *models.AppMetric) error SaveAppMetricsInBulkStub func(metrics []*models.AppMetric) error RetrieveAppMetricsStub func(appId string, metricType string, start int64, end int64, orderType db.OrderType) ([]*models.AppMetric, error) PruneAppMetricsStub func(before int64) error CloseStub func() error // contains filtered or unexported fields }
func (*FakeAppMetricDB) Close ¶
func (fake *FakeAppMetricDB) Close() error
func (*FakeAppMetricDB) CloseCallCount ¶
func (fake *FakeAppMetricDB) CloseCallCount() int
func (*FakeAppMetricDB) CloseReturns ¶
func (fake *FakeAppMetricDB) CloseReturns(result1 error)
func (*FakeAppMetricDB) GetDBStatus ¶
func (fake *FakeAppMetricDB) GetDBStatus() sql.DBStats
func (*FakeAppMetricDB) GetDBStatusCallCount ¶
func (fake *FakeAppMetricDB) GetDBStatusCallCount() int
func (*FakeAppMetricDB) GetDBStatusReturns ¶
func (fake *FakeAppMetricDB) GetDBStatusReturns(result1 sql.DBStats)
func (*FakeAppMetricDB) Invocations ¶
func (fake *FakeAppMetricDB) Invocations() map[string][][]interface{}
func (*FakeAppMetricDB) PruneAppMetrics ¶
func (fake *FakeAppMetricDB) PruneAppMetrics(before int64) error
func (*FakeAppMetricDB) PruneAppMetricsArgsForCall ¶
func (fake *FakeAppMetricDB) PruneAppMetricsArgsForCall(i int) int64
func (*FakeAppMetricDB) PruneAppMetricsCallCount ¶
func (fake *FakeAppMetricDB) PruneAppMetricsCallCount() int
func (*FakeAppMetricDB) PruneAppMetricsReturns ¶
func (fake *FakeAppMetricDB) PruneAppMetricsReturns(result1 error)
func (*FakeAppMetricDB) RetrieveAppMetrics ¶
func (*FakeAppMetricDB) RetrieveAppMetricsArgsForCall ¶
func (*FakeAppMetricDB) RetrieveAppMetricsCallCount ¶
func (fake *FakeAppMetricDB) RetrieveAppMetricsCallCount() int
func (*FakeAppMetricDB) RetrieveAppMetricsReturns ¶
func (fake *FakeAppMetricDB) RetrieveAppMetricsReturns(result1 []*models.AppMetric, result2 error)
func (*FakeAppMetricDB) SaveAppMetric ¶
func (fake *FakeAppMetricDB) SaveAppMetric(appMetric *models.AppMetric) error
func (*FakeAppMetricDB) SaveAppMetricArgsForCall ¶
func (fake *FakeAppMetricDB) SaveAppMetricArgsForCall(i int) *models.AppMetric
func (*FakeAppMetricDB) SaveAppMetricCallCount ¶
func (fake *FakeAppMetricDB) SaveAppMetricCallCount() int
func (*FakeAppMetricDB) SaveAppMetricReturns ¶
func (fake *FakeAppMetricDB) SaveAppMetricReturns(result1 error)
func (*FakeAppMetricDB) SaveAppMetricsInBulk ¶
func (fake *FakeAppMetricDB) SaveAppMetricsInBulk(metrics []*models.AppMetric) error
func (*FakeAppMetricDB) SaveAppMetricsInBulkArgsForCall ¶
func (fake *FakeAppMetricDB) SaveAppMetricsInBulkArgsForCall(i int) []*models.AppMetric
func (*FakeAppMetricDB) SaveAppMetricsInBulkCallCount ¶
func (fake *FakeAppMetricDB) SaveAppMetricsInBulkCallCount() int
func (*FakeAppMetricDB) SaveAppMetricsInBulkReturns ¶
func (fake *FakeAppMetricDB) SaveAppMetricsInBulkReturns(result1 error)
type FakeBindingDB ¶
type FakeBindingDB struct { CheckServiceBindingStub func(string) bool CloseStub func() error CountServiceInstancesInOrgStub func(string) (int, error) CreateServiceBindingStub func(string, string, string) error CreateServiceInstanceStub func(models.ServiceInstance) error DeleteServiceBindingStub func(string) error DeleteServiceBindingByAppIdStub func(string) error DeleteServiceInstanceStub func(string) error GetAppIdByBindingIdStub func(string) (string, error) GetAppIdsByInstanceIdStub func(string) ([]string, error) GetBindingIdsByInstanceIdStub func(string) ([]string, error) GetDBStatusStub func() sql.DBStats GetServiceInstanceStub func(string) (*models.ServiceInstance, error) GetServiceInstanceByAppIdStub func(string) (*models.ServiceInstance, error) UpdateServiceInstanceStub func(models.ServiceInstance) error // contains filtered or unexported fields }
func (*FakeBindingDB) CheckServiceBinding ¶
func (fake *FakeBindingDB) CheckServiceBinding(arg1 string) bool
func (*FakeBindingDB) CheckServiceBindingArgsForCall ¶
func (fake *FakeBindingDB) CheckServiceBindingArgsForCall(i int) string
func (*FakeBindingDB) CheckServiceBindingCallCount ¶
func (fake *FakeBindingDB) CheckServiceBindingCallCount() int
func (*FakeBindingDB) CheckServiceBindingCalls ¶
func (fake *FakeBindingDB) CheckServiceBindingCalls(stub func(string) bool)
func (*FakeBindingDB) CheckServiceBindingReturns ¶
func (fake *FakeBindingDB) CheckServiceBindingReturns(result1 bool)
func (*FakeBindingDB) CheckServiceBindingReturnsOnCall ¶
func (fake *FakeBindingDB) CheckServiceBindingReturnsOnCall(i int, result1 bool)
func (*FakeBindingDB) Close ¶
func (fake *FakeBindingDB) Close() error
func (*FakeBindingDB) CloseCallCount ¶
func (fake *FakeBindingDB) CloseCallCount() int
func (*FakeBindingDB) CloseCalls ¶
func (fake *FakeBindingDB) CloseCalls(stub func() error)
func (*FakeBindingDB) CloseReturns ¶
func (fake *FakeBindingDB) CloseReturns(result1 error)
func (*FakeBindingDB) CloseReturnsOnCall ¶
func (fake *FakeBindingDB) CloseReturnsOnCall(i int, result1 error)
func (*FakeBindingDB) CountServiceInstancesInOrg ¶
func (fake *FakeBindingDB) CountServiceInstancesInOrg(arg1 string) (int, error)
func (*FakeBindingDB) CountServiceInstancesInOrgArgsForCall ¶
func (fake *FakeBindingDB) CountServiceInstancesInOrgArgsForCall(i int) string
func (*FakeBindingDB) CountServiceInstancesInOrgCallCount ¶
func (fake *FakeBindingDB) CountServiceInstancesInOrgCallCount() int
func (*FakeBindingDB) CountServiceInstancesInOrgCalls ¶
func (fake *FakeBindingDB) CountServiceInstancesInOrgCalls(stub func(string) (int, error))
func (*FakeBindingDB) CountServiceInstancesInOrgReturns ¶
func (fake *FakeBindingDB) CountServiceInstancesInOrgReturns(result1 int, result2 error)
func (*FakeBindingDB) CountServiceInstancesInOrgReturnsOnCall ¶
func (fake *FakeBindingDB) CountServiceInstancesInOrgReturnsOnCall(i int, result1 int, result2 error)
func (*FakeBindingDB) CreateServiceBinding ¶
func (fake *FakeBindingDB) CreateServiceBinding(arg1 string, arg2 string, arg3 string) error
func (*FakeBindingDB) CreateServiceBindingArgsForCall ¶
func (fake *FakeBindingDB) CreateServiceBindingArgsForCall(i int) (string, string, string)
func (*FakeBindingDB) CreateServiceBindingCallCount ¶
func (fake *FakeBindingDB) CreateServiceBindingCallCount() int
func (*FakeBindingDB) CreateServiceBindingCalls ¶
func (fake *FakeBindingDB) CreateServiceBindingCalls(stub func(string, string, string) error)
func (*FakeBindingDB) CreateServiceBindingReturns ¶
func (fake *FakeBindingDB) CreateServiceBindingReturns(result1 error)
func (*FakeBindingDB) CreateServiceBindingReturnsOnCall ¶
func (fake *FakeBindingDB) CreateServiceBindingReturnsOnCall(i int, result1 error)
func (*FakeBindingDB) CreateServiceInstance ¶
func (fake *FakeBindingDB) CreateServiceInstance(arg1 models.ServiceInstance) error
func (*FakeBindingDB) CreateServiceInstanceArgsForCall ¶
func (fake *FakeBindingDB) CreateServiceInstanceArgsForCall(i int) models.ServiceInstance
func (*FakeBindingDB) CreateServiceInstanceCallCount ¶
func (fake *FakeBindingDB) CreateServiceInstanceCallCount() int
func (*FakeBindingDB) CreateServiceInstanceCalls ¶
func (fake *FakeBindingDB) CreateServiceInstanceCalls(stub func(models.ServiceInstance) error)
func (*FakeBindingDB) CreateServiceInstanceReturns ¶
func (fake *FakeBindingDB) CreateServiceInstanceReturns(result1 error)
func (*FakeBindingDB) CreateServiceInstanceReturnsOnCall ¶
func (fake *FakeBindingDB) CreateServiceInstanceReturnsOnCall(i int, result1 error)
func (*FakeBindingDB) DeleteServiceBinding ¶
func (fake *FakeBindingDB) DeleteServiceBinding(arg1 string) error
func (*FakeBindingDB) DeleteServiceBindingArgsForCall ¶
func (fake *FakeBindingDB) DeleteServiceBindingArgsForCall(i int) string
func (*FakeBindingDB) DeleteServiceBindingByAppId ¶
func (fake *FakeBindingDB) DeleteServiceBindingByAppId(arg1 string) error
func (*FakeBindingDB) DeleteServiceBindingByAppIdArgsForCall ¶
func (fake *FakeBindingDB) DeleteServiceBindingByAppIdArgsForCall(i int) string
func (*FakeBindingDB) DeleteServiceBindingByAppIdCallCount ¶
func (fake *FakeBindingDB) DeleteServiceBindingByAppIdCallCount() int
func (*FakeBindingDB) DeleteServiceBindingByAppIdCalls ¶
func (fake *FakeBindingDB) DeleteServiceBindingByAppIdCalls(stub func(string) error)
func (*FakeBindingDB) DeleteServiceBindingByAppIdReturns ¶
func (fake *FakeBindingDB) DeleteServiceBindingByAppIdReturns(result1 error)
func (*FakeBindingDB) DeleteServiceBindingByAppIdReturnsOnCall ¶
func (fake *FakeBindingDB) DeleteServiceBindingByAppIdReturnsOnCall(i int, result1 error)
func (*FakeBindingDB) DeleteServiceBindingCallCount ¶
func (fake *FakeBindingDB) DeleteServiceBindingCallCount() int
func (*FakeBindingDB) DeleteServiceBindingCalls ¶
func (fake *FakeBindingDB) DeleteServiceBindingCalls(stub func(string) error)
func (*FakeBindingDB) DeleteServiceBindingReturns ¶
func (fake *FakeBindingDB) DeleteServiceBindingReturns(result1 error)
func (*FakeBindingDB) DeleteServiceBindingReturnsOnCall ¶
func (fake *FakeBindingDB) DeleteServiceBindingReturnsOnCall(i int, result1 error)
func (*FakeBindingDB) DeleteServiceInstance ¶
func (fake *FakeBindingDB) DeleteServiceInstance(arg1 string) error
func (*FakeBindingDB) DeleteServiceInstanceArgsForCall ¶
func (fake *FakeBindingDB) DeleteServiceInstanceArgsForCall(i int) string
func (*FakeBindingDB) DeleteServiceInstanceCallCount ¶
func (fake *FakeBindingDB) DeleteServiceInstanceCallCount() int
func (*FakeBindingDB) DeleteServiceInstanceCalls ¶
func (fake *FakeBindingDB) DeleteServiceInstanceCalls(stub func(string) error)
func (*FakeBindingDB) DeleteServiceInstanceReturns ¶
func (fake *FakeBindingDB) DeleteServiceInstanceReturns(result1 error)
func (*FakeBindingDB) DeleteServiceInstanceReturnsOnCall ¶
func (fake *FakeBindingDB) DeleteServiceInstanceReturnsOnCall(i int, result1 error)
func (*FakeBindingDB) GetAppIdByBindingId ¶
func (fake *FakeBindingDB) GetAppIdByBindingId(arg1 string) (string, error)
func (*FakeBindingDB) GetAppIdByBindingIdArgsForCall ¶
func (fake *FakeBindingDB) GetAppIdByBindingIdArgsForCall(i int) string
func (*FakeBindingDB) GetAppIdByBindingIdCallCount ¶
func (fake *FakeBindingDB) GetAppIdByBindingIdCallCount() int
func (*FakeBindingDB) GetAppIdByBindingIdCalls ¶
func (fake *FakeBindingDB) GetAppIdByBindingIdCalls(stub func(string) (string, error))
func (*FakeBindingDB) GetAppIdByBindingIdReturns ¶
func (fake *FakeBindingDB) GetAppIdByBindingIdReturns(result1 string, result2 error)
func (*FakeBindingDB) GetAppIdByBindingIdReturnsOnCall ¶
func (fake *FakeBindingDB) GetAppIdByBindingIdReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBindingDB) GetAppIdsByInstanceId ¶
func (fake *FakeBindingDB) GetAppIdsByInstanceId(arg1 string) ([]string, error)
func (*FakeBindingDB) GetAppIdsByInstanceIdArgsForCall ¶
func (fake *FakeBindingDB) GetAppIdsByInstanceIdArgsForCall(i int) string
func (*FakeBindingDB) GetAppIdsByInstanceIdCallCount ¶
func (fake *FakeBindingDB) GetAppIdsByInstanceIdCallCount() int
func (*FakeBindingDB) GetAppIdsByInstanceIdCalls ¶
func (fake *FakeBindingDB) GetAppIdsByInstanceIdCalls(stub func(string) ([]string, error))
func (*FakeBindingDB) GetAppIdsByInstanceIdReturns ¶
func (fake *FakeBindingDB) GetAppIdsByInstanceIdReturns(result1 []string, result2 error)
func (*FakeBindingDB) GetAppIdsByInstanceIdReturnsOnCall ¶
func (fake *FakeBindingDB) GetAppIdsByInstanceIdReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeBindingDB) GetBindingIdsByInstanceId ¶
func (fake *FakeBindingDB) GetBindingIdsByInstanceId(arg1 string) ([]string, error)
func (*FakeBindingDB) GetBindingIdsByInstanceIdArgsForCall ¶
func (fake *FakeBindingDB) GetBindingIdsByInstanceIdArgsForCall(i int) string
func (*FakeBindingDB) GetBindingIdsByInstanceIdCallCount ¶
func (fake *FakeBindingDB) GetBindingIdsByInstanceIdCallCount() int
func (*FakeBindingDB) GetBindingIdsByInstanceIdCalls ¶
func (fake *FakeBindingDB) GetBindingIdsByInstanceIdCalls(stub func(string) ([]string, error))
func (*FakeBindingDB) GetBindingIdsByInstanceIdReturns ¶
func (fake *FakeBindingDB) GetBindingIdsByInstanceIdReturns(result1 []string, result2 error)
func (*FakeBindingDB) GetBindingIdsByInstanceIdReturnsOnCall ¶
func (fake *FakeBindingDB) GetBindingIdsByInstanceIdReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeBindingDB) GetDBStatus ¶
func (fake *FakeBindingDB) GetDBStatus() sql.DBStats
func (*FakeBindingDB) GetDBStatusCallCount ¶
func (fake *FakeBindingDB) GetDBStatusCallCount() int
func (*FakeBindingDB) GetDBStatusCalls ¶
func (fake *FakeBindingDB) GetDBStatusCalls(stub func() sql.DBStats)
func (*FakeBindingDB) GetDBStatusReturns ¶
func (fake *FakeBindingDB) GetDBStatusReturns(result1 sql.DBStats)
func (*FakeBindingDB) GetDBStatusReturnsOnCall ¶
func (fake *FakeBindingDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
func (*FakeBindingDB) GetServiceInstance ¶
func (fake *FakeBindingDB) GetServiceInstance(arg1 string) (*models.ServiceInstance, error)
func (*FakeBindingDB) GetServiceInstanceArgsForCall ¶
func (fake *FakeBindingDB) GetServiceInstanceArgsForCall(i int) string
func (*FakeBindingDB) GetServiceInstanceByAppId ¶
func (fake *FakeBindingDB) GetServiceInstanceByAppId(arg1 string) (*models.ServiceInstance, error)
func (*FakeBindingDB) GetServiceInstanceByAppIdArgsForCall ¶
func (fake *FakeBindingDB) GetServiceInstanceByAppIdArgsForCall(i int) string
func (*FakeBindingDB) GetServiceInstanceByAppIdCallCount ¶
func (fake *FakeBindingDB) GetServiceInstanceByAppIdCallCount() int
func (*FakeBindingDB) GetServiceInstanceByAppIdCalls ¶
func (fake *FakeBindingDB) GetServiceInstanceByAppIdCalls(stub func(string) (*models.ServiceInstance, error))
func (*FakeBindingDB) GetServiceInstanceByAppIdReturns ¶
func (fake *FakeBindingDB) GetServiceInstanceByAppIdReturns(result1 *models.ServiceInstance, result2 error)
func (*FakeBindingDB) GetServiceInstanceByAppIdReturnsOnCall ¶
func (fake *FakeBindingDB) GetServiceInstanceByAppIdReturnsOnCall(i int, result1 *models.ServiceInstance, result2 error)
func (*FakeBindingDB) GetServiceInstanceCallCount ¶
func (fake *FakeBindingDB) GetServiceInstanceCallCount() int
func (*FakeBindingDB) GetServiceInstanceCalls ¶
func (fake *FakeBindingDB) GetServiceInstanceCalls(stub func(string) (*models.ServiceInstance, error))
func (*FakeBindingDB) GetServiceInstanceReturns ¶
func (fake *FakeBindingDB) GetServiceInstanceReturns(result1 *models.ServiceInstance, result2 error)
func (*FakeBindingDB) GetServiceInstanceReturnsOnCall ¶
func (fake *FakeBindingDB) GetServiceInstanceReturnsOnCall(i int, result1 *models.ServiceInstance, result2 error)
func (*FakeBindingDB) Invocations ¶
func (fake *FakeBindingDB) Invocations() map[string][][]interface{}
func (*FakeBindingDB) UpdateServiceInstance ¶
func (fake *FakeBindingDB) UpdateServiceInstance(arg1 models.ServiceInstance) error
func (*FakeBindingDB) UpdateServiceInstanceArgsForCall ¶
func (fake *FakeBindingDB) UpdateServiceInstanceArgsForCall(i int) models.ServiceInstance
func (*FakeBindingDB) UpdateServiceInstanceCallCount ¶
func (fake *FakeBindingDB) UpdateServiceInstanceCallCount() int
func (*FakeBindingDB) UpdateServiceInstanceCalls ¶
func (fake *FakeBindingDB) UpdateServiceInstanceCalls(stub func(models.ServiceInstance) error)
func (*FakeBindingDB) UpdateServiceInstanceReturns ¶
func (fake *FakeBindingDB) UpdateServiceInstanceReturns(result1 error)
func (*FakeBindingDB) UpdateServiceInstanceReturnsOnCall ¶
func (fake *FakeBindingDB) UpdateServiceInstanceReturnsOnCall(i int, result1 error)
type FakeCFClient ¶
type FakeCFClient struct { GetAppStub func(string) (*models.AppEntity, error) GetEndpointsStub func() cf.Endpoints GetServiceInstancesInOrgStub func(string, string) (int, error) GetServicePlanStub func(string) (string, error) GetTokensStub func() (cf.Tokens, error) IsTokenAuthorizedStub func(string, string) (bool, error) IsUserAdminStub func(string) (bool, error) IsUserSpaceDeveloperStub func(string, string) (bool, error) LoginStub func() error RefreshAuthTokenStub func() (string, error) SetAppInstancesStub func(string, int) error // contains filtered or unexported fields }
func (*FakeCFClient) GetApp ¶
func (fake *FakeCFClient) GetApp(arg1 string) (*models.AppEntity, error)
func (*FakeCFClient) GetAppArgsForCall ¶
func (fake *FakeCFClient) GetAppArgsForCall(i int) string
func (*FakeCFClient) GetAppCallCount ¶
func (fake *FakeCFClient) GetAppCallCount() int
func (*FakeCFClient) GetAppCalls ¶
func (fake *FakeCFClient) GetAppCalls(stub func(string) (*models.AppEntity, error))
func (*FakeCFClient) GetAppReturns ¶
func (fake *FakeCFClient) GetAppReturns(result1 *models.AppEntity, result2 error)
func (*FakeCFClient) GetAppReturnsOnCall ¶
func (fake *FakeCFClient) GetAppReturnsOnCall(i int, result1 *models.AppEntity, result2 error)
func (*FakeCFClient) GetEndpoints ¶
func (fake *FakeCFClient) GetEndpoints() cf.Endpoints
func (*FakeCFClient) GetEndpointsCallCount ¶
func (fake *FakeCFClient) GetEndpointsCallCount() int
func (*FakeCFClient) GetEndpointsCalls ¶
func (fake *FakeCFClient) GetEndpointsCalls(stub func() cf.Endpoints)
func (*FakeCFClient) GetEndpointsReturns ¶
func (fake *FakeCFClient) GetEndpointsReturns(result1 cf.Endpoints)
func (*FakeCFClient) GetEndpointsReturnsOnCall ¶
func (fake *FakeCFClient) GetEndpointsReturnsOnCall(i int, result1 cf.Endpoints)
func (*FakeCFClient) GetServiceInstancesInOrg ¶
func (fake *FakeCFClient) GetServiceInstancesInOrg(arg1 string, arg2 string) (int, error)
func (*FakeCFClient) GetServiceInstancesInOrgArgsForCall ¶
func (fake *FakeCFClient) GetServiceInstancesInOrgArgsForCall(i int) (string, string)
func (*FakeCFClient) GetServiceInstancesInOrgCallCount ¶
func (fake *FakeCFClient) GetServiceInstancesInOrgCallCount() int
func (*FakeCFClient) GetServiceInstancesInOrgCalls ¶
func (fake *FakeCFClient) GetServiceInstancesInOrgCalls(stub func(string, string) (int, error))
func (*FakeCFClient) GetServiceInstancesInOrgReturns ¶
func (fake *FakeCFClient) GetServiceInstancesInOrgReturns(result1 int, result2 error)
func (*FakeCFClient) GetServiceInstancesInOrgReturnsOnCall ¶
func (fake *FakeCFClient) GetServiceInstancesInOrgReturnsOnCall(i int, result1 int, result2 error)
func (*FakeCFClient) GetServicePlan ¶
func (fake *FakeCFClient) GetServicePlan(arg1 string) (string, error)
func (*FakeCFClient) GetServicePlanArgsForCall ¶
func (fake *FakeCFClient) GetServicePlanArgsForCall(i int) string
func (*FakeCFClient) GetServicePlanCallCount ¶
func (fake *FakeCFClient) GetServicePlanCallCount() int
func (*FakeCFClient) GetServicePlanCalls ¶
func (fake *FakeCFClient) GetServicePlanCalls(stub func(string) (string, error))
func (*FakeCFClient) GetServicePlanReturns ¶
func (fake *FakeCFClient) GetServicePlanReturns(result1 string, result2 error)
func (*FakeCFClient) GetServicePlanReturnsOnCall ¶
func (fake *FakeCFClient) GetServicePlanReturnsOnCall(i int, result1 string, result2 error)
func (*FakeCFClient) GetTokensCallCount ¶
func (fake *FakeCFClient) GetTokensCallCount() int
func (*FakeCFClient) GetTokensCalls ¶
func (fake *FakeCFClient) GetTokensCalls(stub func() (cf.Tokens, error))
func (*FakeCFClient) GetTokensReturns ¶
func (fake *FakeCFClient) GetTokensReturns(result1 cf.Tokens, result2 error)
func (*FakeCFClient) GetTokensReturnsOnCall ¶
func (fake *FakeCFClient) GetTokensReturnsOnCall(i int, result1 cf.Tokens, result2 error)
func (*FakeCFClient) Invocations ¶
func (fake *FakeCFClient) Invocations() map[string][][]interface{}
func (*FakeCFClient) IsTokenAuthorized ¶
func (fake *FakeCFClient) IsTokenAuthorized(arg1 string, arg2 string) (bool, error)
func (*FakeCFClient) IsTokenAuthorizedArgsForCall ¶
func (fake *FakeCFClient) IsTokenAuthorizedArgsForCall(i int) (string, string)
func (*FakeCFClient) IsTokenAuthorizedCallCount ¶
func (fake *FakeCFClient) IsTokenAuthorizedCallCount() int
func (*FakeCFClient) IsTokenAuthorizedCalls ¶
func (fake *FakeCFClient) IsTokenAuthorizedCalls(stub func(string, string) (bool, error))
func (*FakeCFClient) IsTokenAuthorizedReturns ¶
func (fake *FakeCFClient) IsTokenAuthorizedReturns(result1 bool, result2 error)
func (*FakeCFClient) IsTokenAuthorizedReturnsOnCall ¶
func (fake *FakeCFClient) IsTokenAuthorizedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeCFClient) IsUserAdmin ¶
func (fake *FakeCFClient) IsUserAdmin(arg1 string) (bool, error)
func (*FakeCFClient) IsUserAdminArgsForCall ¶
func (fake *FakeCFClient) IsUserAdminArgsForCall(i int) string
func (*FakeCFClient) IsUserAdminCallCount ¶
func (fake *FakeCFClient) IsUserAdminCallCount() int
func (*FakeCFClient) IsUserAdminCalls ¶
func (fake *FakeCFClient) IsUserAdminCalls(stub func(string) (bool, error))
func (*FakeCFClient) IsUserAdminReturns ¶
func (fake *FakeCFClient) IsUserAdminReturns(result1 bool, result2 error)
func (*FakeCFClient) IsUserAdminReturnsOnCall ¶
func (fake *FakeCFClient) IsUserAdminReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeCFClient) IsUserSpaceDeveloper ¶
func (fake *FakeCFClient) IsUserSpaceDeveloper(arg1 string, arg2 string) (bool, error)
func (*FakeCFClient) IsUserSpaceDeveloperArgsForCall ¶
func (fake *FakeCFClient) IsUserSpaceDeveloperArgsForCall(i int) (string, string)
func (*FakeCFClient) IsUserSpaceDeveloperCallCount ¶
func (fake *FakeCFClient) IsUserSpaceDeveloperCallCount() int
func (*FakeCFClient) IsUserSpaceDeveloperCalls ¶
func (fake *FakeCFClient) IsUserSpaceDeveloperCalls(stub func(string, string) (bool, error))
func (*FakeCFClient) IsUserSpaceDeveloperReturns ¶
func (fake *FakeCFClient) IsUserSpaceDeveloperReturns(result1 bool, result2 error)
func (*FakeCFClient) IsUserSpaceDeveloperReturnsOnCall ¶
func (fake *FakeCFClient) IsUserSpaceDeveloperReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeCFClient) Login ¶
func (fake *FakeCFClient) Login() error
func (*FakeCFClient) LoginCallCount ¶
func (fake *FakeCFClient) LoginCallCount() int
func (*FakeCFClient) LoginCalls ¶
func (fake *FakeCFClient) LoginCalls(stub func() error)
func (*FakeCFClient) LoginReturns ¶
func (fake *FakeCFClient) LoginReturns(result1 error)
func (*FakeCFClient) LoginReturnsOnCall ¶
func (fake *FakeCFClient) LoginReturnsOnCall(i int, result1 error)
func (*FakeCFClient) RefreshAuthToken ¶
func (fake *FakeCFClient) RefreshAuthToken() (string, error)
func (*FakeCFClient) RefreshAuthTokenCallCount ¶
func (fake *FakeCFClient) RefreshAuthTokenCallCount() int
func (*FakeCFClient) RefreshAuthTokenCalls ¶
func (fake *FakeCFClient) RefreshAuthTokenCalls(stub func() (string, error))
func (*FakeCFClient) RefreshAuthTokenReturns ¶
func (fake *FakeCFClient) RefreshAuthTokenReturns(result1 string, result2 error)
func (*FakeCFClient) RefreshAuthTokenReturnsOnCall ¶
func (fake *FakeCFClient) RefreshAuthTokenReturnsOnCall(i int, result1 string, result2 error)
func (*FakeCFClient) SetAppInstances ¶
func (fake *FakeCFClient) SetAppInstances(arg1 string, arg2 int) error
func (*FakeCFClient) SetAppInstancesArgsForCall ¶
func (fake *FakeCFClient) SetAppInstancesArgsForCall(i int) (string, int)
func (*FakeCFClient) SetAppInstancesCallCount ¶
func (fake *FakeCFClient) SetAppInstancesCallCount() int
func (*FakeCFClient) SetAppInstancesCalls ¶
func (fake *FakeCFClient) SetAppInstancesCalls(stub func(string, int) error)
func (*FakeCFClient) SetAppInstancesReturns ¶
func (fake *FakeCFClient) SetAppInstancesReturns(result1 error)
func (*FakeCFClient) SetAppInstancesReturnsOnCall ¶
func (fake *FakeCFClient) SetAppInstancesReturnsOnCall(i int, result1 error)
type FakeCredentials ¶
type FakeCredentials struct { CreateStub func(string, *models.Credential) (*models.Credential, error) DeleteStub func(string) error ValidateStub func(string, models.Credential) (bool, error) // contains filtered or unexported fields }
func (*FakeCredentials) Create ¶
func (fake *FakeCredentials) Create(arg1 string, arg2 *models.Credential) (*models.Credential, error)
func (*FakeCredentials) CreateArgsForCall ¶
func (fake *FakeCredentials) CreateArgsForCall(i int) (string, *models.Credential)
func (*FakeCredentials) CreateCallCount ¶
func (fake *FakeCredentials) CreateCallCount() int
func (*FakeCredentials) CreateCalls ¶
func (fake *FakeCredentials) CreateCalls(stub func(string, *models.Credential) (*models.Credential, error))
func (*FakeCredentials) CreateReturns ¶
func (fake *FakeCredentials) CreateReturns(result1 *models.Credential, result2 error)
func (*FakeCredentials) CreateReturnsOnCall ¶
func (fake *FakeCredentials) CreateReturnsOnCall(i int, result1 *models.Credential, result2 error)
func (*FakeCredentials) Delete ¶
func (fake *FakeCredentials) Delete(arg1 string) error
func (*FakeCredentials) DeleteArgsForCall ¶
func (fake *FakeCredentials) DeleteArgsForCall(i int) string
func (*FakeCredentials) DeleteCallCount ¶
func (fake *FakeCredentials) DeleteCallCount() int
func (*FakeCredentials) DeleteCalls ¶
func (fake *FakeCredentials) DeleteCalls(stub func(string) error)
func (*FakeCredentials) DeleteReturns ¶
func (fake *FakeCredentials) DeleteReturns(result1 error)
func (*FakeCredentials) DeleteReturnsOnCall ¶
func (fake *FakeCredentials) DeleteReturnsOnCall(i int, result1 error)
func (*FakeCredentials) Invocations ¶
func (fake *FakeCredentials) Invocations() map[string][][]interface{}
func (*FakeCredentials) Validate ¶
func (fake *FakeCredentials) Validate(arg1 string, arg2 models.Credential) (bool, error)
func (*FakeCredentials) ValidateArgsForCall ¶
func (fake *FakeCredentials) ValidateArgsForCall(i int) (string, models.Credential)
func (*FakeCredentials) ValidateCallCount ¶
func (fake *FakeCredentials) ValidateCallCount() int
func (*FakeCredentials) ValidateCalls ¶
func (fake *FakeCredentials) ValidateCalls(stub func(string, models.Credential) (bool, error))
func (*FakeCredentials) ValidateReturns ¶
func (fake *FakeCredentials) ValidateReturns(result1 bool, result2 error)
func (*FakeCredentials) ValidateReturnsOnCall ¶
func (fake *FakeCredentials) ValidateReturnsOnCall(i int, result1 bool, result2 error)
type FakeDatabaseStatus ¶
type FakeDatabaseStatus struct { GetDBStatusStub func() sql.DBStats // contains filtered or unexported fields }
func (*FakeDatabaseStatus) GetDBStatus ¶
func (fake *FakeDatabaseStatus) GetDBStatus() sql.DBStats
func (*FakeDatabaseStatus) GetDBStatusCallCount ¶
func (fake *FakeDatabaseStatus) GetDBStatusCallCount() int
func (*FakeDatabaseStatus) GetDBStatusReturns ¶
func (fake *FakeDatabaseStatus) GetDBStatusReturns(result1 sql.DBStats)
func (*FakeDatabaseStatus) Invocations ¶
func (fake *FakeDatabaseStatus) Invocations() map[string][][]interface{}
type FakeEmitter ¶
type FakeEmitter struct { AcceptStub func(envelope *loggregator_v2.Envelope) EmitStub func(envelope *loggregator_v2.Envelope) error StartStub func() error StopStub func() // contains filtered or unexported fields }
func (*FakeEmitter) Accept ¶
func (fake *FakeEmitter) Accept(envelope *loggregator_v2.Envelope)
func (*FakeEmitter) AcceptArgsForCall ¶
func (fake *FakeEmitter) AcceptArgsForCall(i int) *loggregator_v2.Envelope
func (*FakeEmitter) AcceptCallCount ¶
func (fake *FakeEmitter) AcceptCallCount() int
func (*FakeEmitter) Emit ¶
func (fake *FakeEmitter) Emit(envelope *loggregator_v2.Envelope) error
func (*FakeEmitter) EmitArgsForCall ¶
func (fake *FakeEmitter) EmitArgsForCall(i int) *loggregator_v2.Envelope
func (*FakeEmitter) EmitCallCount ¶
func (fake *FakeEmitter) EmitCallCount() int
func (*FakeEmitter) EmitReturns ¶
func (fake *FakeEmitter) EmitReturns(result1 error)
func (*FakeEmitter) Invocations ¶
func (fake *FakeEmitter) Invocations() map[string][][]interface{}
func (*FakeEmitter) Start ¶
func (fake *FakeEmitter) Start() error
func (*FakeEmitter) StartCallCount ¶
func (fake *FakeEmitter) StartCallCount() int
func (*FakeEmitter) StartReturns ¶
func (fake *FakeEmitter) StartReturns(result1 error)
func (*FakeEmitter) Stop ¶
func (fake *FakeEmitter) Stop()
func (*FakeEmitter) StopCallCount ¶
func (fake *FakeEmitter) StopCallCount() int
type FakeHTTPStatusCollector ¶
type FakeHTTPStatusCollector struct { DescribeStub func(chan<- *prometheus.Desc) CollectStub func(chan<- prometheus.Metric) IncConcurrentHTTPRequestStub func() DecConcurrentHTTPRequestStub func() // contains filtered or unexported fields }
func (*FakeHTTPStatusCollector) Collect ¶
func (fake *FakeHTTPStatusCollector) Collect(arg1 chan<- prometheus.Metric)
func (*FakeHTTPStatusCollector) CollectArgsForCall ¶
func (fake *FakeHTTPStatusCollector) CollectArgsForCall(i int) chan<- prometheus.Metric
func (*FakeHTTPStatusCollector) CollectCallCount ¶
func (fake *FakeHTTPStatusCollector) CollectCallCount() int
func (*FakeHTTPStatusCollector) DecConcurrentHTTPRequest ¶
func (fake *FakeHTTPStatusCollector) DecConcurrentHTTPRequest()
func (*FakeHTTPStatusCollector) DecConcurrentHTTPRequestCallCount ¶
func (fake *FakeHTTPStatusCollector) DecConcurrentHTTPRequestCallCount() int
func (*FakeHTTPStatusCollector) Describe ¶
func (fake *FakeHTTPStatusCollector) Describe(arg1 chan<- *prometheus.Desc)
func (*FakeHTTPStatusCollector) DescribeArgsForCall ¶
func (fake *FakeHTTPStatusCollector) DescribeArgsForCall(i int) chan<- *prometheus.Desc
func (*FakeHTTPStatusCollector) DescribeCallCount ¶
func (fake *FakeHTTPStatusCollector) DescribeCallCount() int
func (*FakeHTTPStatusCollector) IncConcurrentHTTPRequest ¶
func (fake *FakeHTTPStatusCollector) IncConcurrentHTTPRequest()
func (*FakeHTTPStatusCollector) IncConcurrentHTTPRequestCallCount ¶
func (fake *FakeHTTPStatusCollector) IncConcurrentHTTPRequestCallCount() int
func (*FakeHTTPStatusCollector) Invocations ¶
func (fake *FakeHTTPStatusCollector) Invocations() map[string][][]interface{}
type FakeInstanceMetricsDB ¶
type FakeInstanceMetricsDB struct { GetDBStatusStub func() sql.DBStats RetrieveInstanceMetricsStub func(appid string, instanceIndex int, name string, start int64, end int64, orderType db.OrderType) ([]*models.AppInstanceMetric, error) SaveMetricStub func(metric *models.AppInstanceMetric) error SaveMetricsInBulkStub func(metrics []*models.AppInstanceMetric) error PruneInstanceMetricsStub func(before int64) error CloseStub func() error // contains filtered or unexported fields }
func (*FakeInstanceMetricsDB) Close ¶
func (fake *FakeInstanceMetricsDB) Close() error
func (*FakeInstanceMetricsDB) CloseCallCount ¶
func (fake *FakeInstanceMetricsDB) CloseCallCount() int
func (*FakeInstanceMetricsDB) CloseReturns ¶
func (fake *FakeInstanceMetricsDB) CloseReturns(result1 error)
func (*FakeInstanceMetricsDB) GetDBStatus ¶
func (fake *FakeInstanceMetricsDB) GetDBStatus() sql.DBStats
func (*FakeInstanceMetricsDB) GetDBStatusCallCount ¶
func (fake *FakeInstanceMetricsDB) GetDBStatusCallCount() int
func (*FakeInstanceMetricsDB) GetDBStatusReturns ¶
func (fake *FakeInstanceMetricsDB) GetDBStatusReturns(result1 sql.DBStats)
func (*FakeInstanceMetricsDB) Invocations ¶
func (fake *FakeInstanceMetricsDB) Invocations() map[string][][]interface{}
func (*FakeInstanceMetricsDB) PruneInstanceMetrics ¶
func (fake *FakeInstanceMetricsDB) PruneInstanceMetrics(before int64) error
func (*FakeInstanceMetricsDB) PruneInstanceMetricsArgsForCall ¶
func (fake *FakeInstanceMetricsDB) PruneInstanceMetricsArgsForCall(i int) int64
func (*FakeInstanceMetricsDB) PruneInstanceMetricsCallCount ¶
func (fake *FakeInstanceMetricsDB) PruneInstanceMetricsCallCount() int
func (*FakeInstanceMetricsDB) PruneInstanceMetricsReturns ¶
func (fake *FakeInstanceMetricsDB) PruneInstanceMetricsReturns(result1 error)
func (*FakeInstanceMetricsDB) RetrieveInstanceMetrics ¶
func (*FakeInstanceMetricsDB) RetrieveInstanceMetricsArgsForCall ¶
func (*FakeInstanceMetricsDB) RetrieveInstanceMetricsCallCount ¶
func (fake *FakeInstanceMetricsDB) RetrieveInstanceMetricsCallCount() int
func (*FakeInstanceMetricsDB) RetrieveInstanceMetricsReturns ¶
func (fake *FakeInstanceMetricsDB) RetrieveInstanceMetricsReturns(result1 []*models.AppInstanceMetric, result2 error)
func (*FakeInstanceMetricsDB) SaveMetric ¶
func (fake *FakeInstanceMetricsDB) SaveMetric(metric *models.AppInstanceMetric) error
func (*FakeInstanceMetricsDB) SaveMetricArgsForCall ¶
func (fake *FakeInstanceMetricsDB) SaveMetricArgsForCall(i int) *models.AppInstanceMetric
func (*FakeInstanceMetricsDB) SaveMetricCallCount ¶
func (fake *FakeInstanceMetricsDB) SaveMetricCallCount() int
func (*FakeInstanceMetricsDB) SaveMetricReturns ¶
func (fake *FakeInstanceMetricsDB) SaveMetricReturns(result1 error)
func (*FakeInstanceMetricsDB) SaveMetricsInBulk ¶
func (fake *FakeInstanceMetricsDB) SaveMetricsInBulk(metrics []*models.AppInstanceMetric) error
func (*FakeInstanceMetricsDB) SaveMetricsInBulkArgsForCall ¶
func (fake *FakeInstanceMetricsDB) SaveMetricsInBulkArgsForCall(i int) []*models.AppInstanceMetric
func (*FakeInstanceMetricsDB) SaveMetricsInBulkCallCount ¶
func (fake *FakeInstanceMetricsDB) SaveMetricsInBulkCallCount() int
func (*FakeInstanceMetricsDB) SaveMetricsInBulkReturns ¶
func (fake *FakeInstanceMetricsDB) SaveMetricsInBulkReturns(result1 error)
type FakeLimiter ¶
type FakeLimiter struct { ExceedsLimitStub func(string) bool // contains filtered or unexported fields }
func (*FakeLimiter) ExceedsLimit ¶
func (fake *FakeLimiter) ExceedsLimit(arg1 string) bool
func (*FakeLimiter) ExceedsLimitArgsForCall ¶
func (fake *FakeLimiter) ExceedsLimitArgsForCall(i int) string
func (*FakeLimiter) ExceedsLimitCallCount ¶
func (fake *FakeLimiter) ExceedsLimitCallCount() int
func (*FakeLimiter) ExceedsLimitReturns ¶
func (fake *FakeLimiter) ExceedsLimitReturns(result1 bool)
func (*FakeLimiter) ExceedsLimitReturnsOnCall ¶
func (fake *FakeLimiter) ExceedsLimitReturnsOnCall(i int, result1 bool)
func (*FakeLimiter) Invocations ¶
func (fake *FakeLimiter) Invocations() map[string][][]interface{}
type FakeMetricForwarder ¶
type FakeMetricForwarder struct { EmitMetricStub func(*models.CustomMetric) // contains filtered or unexported fields }
func (*FakeMetricForwarder) EmitMetric ¶
func (fake *FakeMetricForwarder) EmitMetric(arg1 *models.CustomMetric)
func (*FakeMetricForwarder) EmitMetricArgsForCall ¶
func (fake *FakeMetricForwarder) EmitMetricArgsForCall(i int) *models.CustomMetric
func (*FakeMetricForwarder) EmitMetricCallCount ¶
func (fake *FakeMetricForwarder) EmitMetricCallCount() int
func (*FakeMetricForwarder) Invocations ¶
func (fake *FakeMetricForwarder) Invocations() map[string][][]interface{}
type FakeOperator ¶
type FakeOperator struct { OperateStub func() // contains filtered or unexported fields }
func (*FakeOperator) Invocations ¶
func (fake *FakeOperator) Invocations() map[string][][]interface{}
func (*FakeOperator) Operate ¶
func (fake *FakeOperator) Operate()
func (*FakeOperator) OperateCallCount ¶
func (fake *FakeOperator) OperateCallCount() int
type FakePolicyDB ¶
type FakePolicyDB struct { CloseStub func() error DeleteCredentialStub func(string) error DeletePoliciesByPolicyGuidStub func(string) ([]string, error) DeletePolicyStub func(string) error GetAppIdsStub func() (map[string]bool, error) GetAppPolicyStub func(string) (*models.ScalingPolicy, error) GetCredentialStub func(string) (*models.Credential, error) GetDBStatusStub func() sql.DBStats RetrievePoliciesStub func() ([]*models.PolicyJson, error) SaveAppPolicyStub func(string, string, string) error SaveCredentialStub func(string, models.Credential) error SetOrUpdateDefaultAppPolicyStub func([]string, string, string, string) ([]string, error) // contains filtered or unexported fields }
func (*FakePolicyDB) Close ¶
func (fake *FakePolicyDB) Close() error
func (*FakePolicyDB) CloseCallCount ¶
func (fake *FakePolicyDB) CloseCallCount() int
func (*FakePolicyDB) CloseCalls ¶
func (fake *FakePolicyDB) CloseCalls(stub func() error)
func (*FakePolicyDB) CloseReturns ¶
func (fake *FakePolicyDB) CloseReturns(result1 error)
func (*FakePolicyDB) CloseReturnsOnCall ¶
func (fake *FakePolicyDB) CloseReturnsOnCall(i int, result1 error)
func (*FakePolicyDB) DeleteCredential ¶
func (fake *FakePolicyDB) DeleteCredential(arg1 string) error
func (*FakePolicyDB) DeleteCredentialArgsForCall ¶
func (fake *FakePolicyDB) DeleteCredentialArgsForCall(i int) string
func (*FakePolicyDB) DeleteCredentialCallCount ¶
func (fake *FakePolicyDB) DeleteCredentialCallCount() int
func (*FakePolicyDB) DeleteCredentialCalls ¶
func (fake *FakePolicyDB) DeleteCredentialCalls(stub func(string) error)
func (*FakePolicyDB) DeleteCredentialReturns ¶
func (fake *FakePolicyDB) DeleteCredentialReturns(result1 error)
func (*FakePolicyDB) DeleteCredentialReturnsOnCall ¶
func (fake *FakePolicyDB) DeleteCredentialReturnsOnCall(i int, result1 error)
func (*FakePolicyDB) DeletePoliciesByPolicyGuid ¶
func (fake *FakePolicyDB) DeletePoliciesByPolicyGuid(arg1 string) ([]string, error)
func (*FakePolicyDB) DeletePoliciesByPolicyGuidArgsForCall ¶
func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidArgsForCall(i int) string
func (*FakePolicyDB) DeletePoliciesByPolicyGuidCallCount ¶
func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidCallCount() int
func (*FakePolicyDB) DeletePoliciesByPolicyGuidCalls ¶
func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidCalls(stub func(string) ([]string, error))
func (*FakePolicyDB) DeletePoliciesByPolicyGuidReturns ¶
func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidReturns(result1 []string, result2 error)
func (*FakePolicyDB) DeletePoliciesByPolicyGuidReturnsOnCall ¶
func (fake *FakePolicyDB) DeletePoliciesByPolicyGuidReturnsOnCall(i int, result1 []string, result2 error)
func (*FakePolicyDB) DeletePolicy ¶
func (fake *FakePolicyDB) DeletePolicy(arg1 string) error
func (*FakePolicyDB) DeletePolicyArgsForCall ¶
func (fake *FakePolicyDB) DeletePolicyArgsForCall(i int) string
func (*FakePolicyDB) DeletePolicyCallCount ¶
func (fake *FakePolicyDB) DeletePolicyCallCount() int
func (*FakePolicyDB) DeletePolicyCalls ¶
func (fake *FakePolicyDB) DeletePolicyCalls(stub func(string) error)
func (*FakePolicyDB) DeletePolicyReturns ¶
func (fake *FakePolicyDB) DeletePolicyReturns(result1 error)
func (*FakePolicyDB) DeletePolicyReturnsOnCall ¶
func (fake *FakePolicyDB) DeletePolicyReturnsOnCall(i int, result1 error)
func (*FakePolicyDB) GetAppIdsCallCount ¶
func (fake *FakePolicyDB) GetAppIdsCallCount() int
func (*FakePolicyDB) GetAppIdsCalls ¶
func (fake *FakePolicyDB) GetAppIdsCalls(stub func() (map[string]bool, error))
func (*FakePolicyDB) GetAppIdsReturns ¶
func (fake *FakePolicyDB) GetAppIdsReturns(result1 map[string]bool, result2 error)
func (*FakePolicyDB) GetAppIdsReturnsOnCall ¶
func (fake *FakePolicyDB) GetAppIdsReturnsOnCall(i int, result1 map[string]bool, result2 error)
func (*FakePolicyDB) GetAppPolicy ¶
func (fake *FakePolicyDB) GetAppPolicy(arg1 string) (*models.ScalingPolicy, error)
func (*FakePolicyDB) GetAppPolicyArgsForCall ¶
func (fake *FakePolicyDB) GetAppPolicyArgsForCall(i int) string
func (*FakePolicyDB) GetAppPolicyCallCount ¶
func (fake *FakePolicyDB) GetAppPolicyCallCount() int
func (*FakePolicyDB) GetAppPolicyCalls ¶
func (fake *FakePolicyDB) GetAppPolicyCalls(stub func(string) (*models.ScalingPolicy, error))
func (*FakePolicyDB) GetAppPolicyReturns ¶
func (fake *FakePolicyDB) GetAppPolicyReturns(result1 *models.ScalingPolicy, result2 error)
func (*FakePolicyDB) GetAppPolicyReturnsOnCall ¶
func (fake *FakePolicyDB) GetAppPolicyReturnsOnCall(i int, result1 *models.ScalingPolicy, result2 error)
func (*FakePolicyDB) GetCredential ¶
func (fake *FakePolicyDB) GetCredential(arg1 string) (*models.Credential, error)
func (*FakePolicyDB) GetCredentialArgsForCall ¶
func (fake *FakePolicyDB) GetCredentialArgsForCall(i int) string
func (*FakePolicyDB) GetCredentialCallCount ¶
func (fake *FakePolicyDB) GetCredentialCallCount() int
func (*FakePolicyDB) GetCredentialCalls ¶
func (fake *FakePolicyDB) GetCredentialCalls(stub func(string) (*models.Credential, error))
func (*FakePolicyDB) GetCredentialReturns ¶
func (fake *FakePolicyDB) GetCredentialReturns(result1 *models.Credential, result2 error)
func (*FakePolicyDB) GetCredentialReturnsOnCall ¶
func (fake *FakePolicyDB) GetCredentialReturnsOnCall(i int, result1 *models.Credential, result2 error)
func (*FakePolicyDB) GetDBStatus ¶
func (fake *FakePolicyDB) GetDBStatus() sql.DBStats
func (*FakePolicyDB) GetDBStatusCallCount ¶
func (fake *FakePolicyDB) GetDBStatusCallCount() int
func (*FakePolicyDB) GetDBStatusCalls ¶
func (fake *FakePolicyDB) GetDBStatusCalls(stub func() sql.DBStats)
func (*FakePolicyDB) GetDBStatusReturns ¶
func (fake *FakePolicyDB) GetDBStatusReturns(result1 sql.DBStats)
func (*FakePolicyDB) GetDBStatusReturnsOnCall ¶
func (fake *FakePolicyDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
func (*FakePolicyDB) Invocations ¶
func (fake *FakePolicyDB) Invocations() map[string][][]interface{}
func (*FakePolicyDB) RetrievePolicies ¶
func (fake *FakePolicyDB) RetrievePolicies() ([]*models.PolicyJson, error)
func (*FakePolicyDB) RetrievePoliciesCallCount ¶
func (fake *FakePolicyDB) RetrievePoliciesCallCount() int
func (*FakePolicyDB) RetrievePoliciesCalls ¶
func (fake *FakePolicyDB) RetrievePoliciesCalls(stub func() ([]*models.PolicyJson, error))
func (*FakePolicyDB) RetrievePoliciesReturns ¶
func (fake *FakePolicyDB) RetrievePoliciesReturns(result1 []*models.PolicyJson, result2 error)
func (*FakePolicyDB) RetrievePoliciesReturnsOnCall ¶
func (fake *FakePolicyDB) RetrievePoliciesReturnsOnCall(i int, result1 []*models.PolicyJson, result2 error)
func (*FakePolicyDB) SaveAppPolicy ¶
func (fake *FakePolicyDB) SaveAppPolicy(arg1 string, arg2 string, arg3 string) error
func (*FakePolicyDB) SaveAppPolicyArgsForCall ¶
func (fake *FakePolicyDB) SaveAppPolicyArgsForCall(i int) (string, string, string)
func (*FakePolicyDB) SaveAppPolicyCallCount ¶
func (fake *FakePolicyDB) SaveAppPolicyCallCount() int
func (*FakePolicyDB) SaveAppPolicyCalls ¶
func (fake *FakePolicyDB) SaveAppPolicyCalls(stub func(string, string, string) error)
func (*FakePolicyDB) SaveAppPolicyReturns ¶
func (fake *FakePolicyDB) SaveAppPolicyReturns(result1 error)
func (*FakePolicyDB) SaveAppPolicyReturnsOnCall ¶
func (fake *FakePolicyDB) SaveAppPolicyReturnsOnCall(i int, result1 error)
func (*FakePolicyDB) SaveCredential ¶
func (fake *FakePolicyDB) SaveCredential(arg1 string, arg2 models.Credential) error
func (*FakePolicyDB) SaveCredentialArgsForCall ¶
func (fake *FakePolicyDB) SaveCredentialArgsForCall(i int) (string, models.Credential)
func (*FakePolicyDB) SaveCredentialCallCount ¶
func (fake *FakePolicyDB) SaveCredentialCallCount() int
func (*FakePolicyDB) SaveCredentialCalls ¶
func (fake *FakePolicyDB) SaveCredentialCalls(stub func(string, models.Credential) error)
func (*FakePolicyDB) SaveCredentialReturns ¶
func (fake *FakePolicyDB) SaveCredentialReturns(result1 error)
func (*FakePolicyDB) SaveCredentialReturnsOnCall ¶
func (fake *FakePolicyDB) SaveCredentialReturnsOnCall(i int, result1 error)
func (*FakePolicyDB) SetOrUpdateDefaultAppPolicy ¶
func (*FakePolicyDB) SetOrUpdateDefaultAppPolicyArgsForCall ¶
func (*FakePolicyDB) SetOrUpdateDefaultAppPolicyCallCount ¶
func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyCallCount() int
func (*FakePolicyDB) SetOrUpdateDefaultAppPolicyCalls ¶
func (*FakePolicyDB) SetOrUpdateDefaultAppPolicyReturns ¶
func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyReturns(result1 []string, result2 error)
func (*FakePolicyDB) SetOrUpdateDefaultAppPolicyReturnsOnCall ¶
func (fake *FakePolicyDB) SetOrUpdateDefaultAppPolicyReturnsOnCall(i int, result1 []string, result2 error)
type FakeScalingEngine ¶
type FakeScalingEngine struct { ComputeNewInstancesStub func(int, string) (int, error) RemoveActiveScheduleStub func(string, string) error ScaleStub func(string, *models.Trigger) (*models.AppScalingResult, error) SetActiveScheduleStub func(string, *models.ActiveSchedule) error // contains filtered or unexported fields }
func (*FakeScalingEngine) ComputeNewInstances ¶
func (fake *FakeScalingEngine) ComputeNewInstances(arg1 int, arg2 string) (int, error)
func (*FakeScalingEngine) ComputeNewInstancesArgsForCall ¶
func (fake *FakeScalingEngine) ComputeNewInstancesArgsForCall(i int) (int, string)
func (*FakeScalingEngine) ComputeNewInstancesCallCount ¶
func (fake *FakeScalingEngine) ComputeNewInstancesCallCount() int
func (*FakeScalingEngine) ComputeNewInstancesCalls ¶
func (fake *FakeScalingEngine) ComputeNewInstancesCalls(stub func(int, string) (int, error))
func (*FakeScalingEngine) ComputeNewInstancesReturns ¶
func (fake *FakeScalingEngine) ComputeNewInstancesReturns(result1 int, result2 error)
func (*FakeScalingEngine) ComputeNewInstancesReturnsOnCall ¶
func (fake *FakeScalingEngine) ComputeNewInstancesReturnsOnCall(i int, result1 int, result2 error)
func (*FakeScalingEngine) Invocations ¶
func (fake *FakeScalingEngine) Invocations() map[string][][]interface{}
func (*FakeScalingEngine) RemoveActiveSchedule ¶
func (fake *FakeScalingEngine) RemoveActiveSchedule(arg1 string, arg2 string) error
func (*FakeScalingEngine) RemoveActiveScheduleArgsForCall ¶
func (fake *FakeScalingEngine) RemoveActiveScheduleArgsForCall(i int) (string, string)
func (*FakeScalingEngine) RemoveActiveScheduleCallCount ¶
func (fake *FakeScalingEngine) RemoveActiveScheduleCallCount() int
func (*FakeScalingEngine) RemoveActiveScheduleCalls ¶
func (fake *FakeScalingEngine) RemoveActiveScheduleCalls(stub func(string, string) error)
func (*FakeScalingEngine) RemoveActiveScheduleReturns ¶
func (fake *FakeScalingEngine) RemoveActiveScheduleReturns(result1 error)
func (*FakeScalingEngine) RemoveActiveScheduleReturnsOnCall ¶
func (fake *FakeScalingEngine) RemoveActiveScheduleReturnsOnCall(i int, result1 error)
func (*FakeScalingEngine) Scale ¶
func (fake *FakeScalingEngine) Scale(arg1 string, arg2 *models.Trigger) (*models.AppScalingResult, error)
func (*FakeScalingEngine) ScaleArgsForCall ¶
func (fake *FakeScalingEngine) ScaleArgsForCall(i int) (string, *models.Trigger)
func (*FakeScalingEngine) ScaleCallCount ¶
func (fake *FakeScalingEngine) ScaleCallCount() int
func (*FakeScalingEngine) ScaleCalls ¶
func (fake *FakeScalingEngine) ScaleCalls(stub func(string, *models.Trigger) (*models.AppScalingResult, error))
func (*FakeScalingEngine) ScaleReturns ¶
func (fake *FakeScalingEngine) ScaleReturns(result1 *models.AppScalingResult, result2 error)
func (*FakeScalingEngine) ScaleReturnsOnCall ¶
func (fake *FakeScalingEngine) ScaleReturnsOnCall(i int, result1 *models.AppScalingResult, result2 error)
func (*FakeScalingEngine) SetActiveSchedule ¶
func (fake *FakeScalingEngine) SetActiveSchedule(arg1 string, arg2 *models.ActiveSchedule) error
func (*FakeScalingEngine) SetActiveScheduleArgsForCall ¶
func (fake *FakeScalingEngine) SetActiveScheduleArgsForCall(i int) (string, *models.ActiveSchedule)
func (*FakeScalingEngine) SetActiveScheduleCallCount ¶
func (fake *FakeScalingEngine) SetActiveScheduleCallCount() int
func (*FakeScalingEngine) SetActiveScheduleCalls ¶
func (fake *FakeScalingEngine) SetActiveScheduleCalls(stub func(string, *models.ActiveSchedule) error)
func (*FakeScalingEngine) SetActiveScheduleReturns ¶
func (fake *FakeScalingEngine) SetActiveScheduleReturns(result1 error)
func (*FakeScalingEngine) SetActiveScheduleReturnsOnCall ¶
func (fake *FakeScalingEngine) SetActiveScheduleReturnsOnCall(i int, result1 error)
type FakeScalingEngineDB ¶
type FakeScalingEngineDB struct { CanScaleAppStub func(string) (bool, int64, error) CloseStub func() error GetActiveScheduleStub func(string) (*models.ActiveSchedule, error) GetActiveSchedulesStub func() (map[string]string, error) GetDBStatusStub func() sql.DBStats PruneScalingHistoriesStub func(int64) error RemoveActiveScheduleStub func(string) error RetrieveScalingHistoriesStub func(string, int64, int64, db.OrderType, bool) ([]*models.AppScalingHistory, error) SaveScalingHistoryStub func(*models.AppScalingHistory) error SetActiveScheduleStub func(string, *models.ActiveSchedule) error UpdateScalingCooldownExpireTimeStub func(string, int64) error // contains filtered or unexported fields }
func (*FakeScalingEngineDB) CanScaleApp ¶
func (fake *FakeScalingEngineDB) CanScaleApp(arg1 string) (bool, int64, error)
func (*FakeScalingEngineDB) CanScaleAppArgsForCall ¶
func (fake *FakeScalingEngineDB) CanScaleAppArgsForCall(i int) string
func (*FakeScalingEngineDB) CanScaleAppCallCount ¶
func (fake *FakeScalingEngineDB) CanScaleAppCallCount() int
func (*FakeScalingEngineDB) CanScaleAppCalls ¶
func (fake *FakeScalingEngineDB) CanScaleAppCalls(stub func(string) (bool, int64, error))
func (*FakeScalingEngineDB) CanScaleAppReturns ¶
func (fake *FakeScalingEngineDB) CanScaleAppReturns(result1 bool, result2 int64, result3 error)
func (*FakeScalingEngineDB) CanScaleAppReturnsOnCall ¶
func (fake *FakeScalingEngineDB) CanScaleAppReturnsOnCall(i int, result1 bool, result2 int64, result3 error)
func (*FakeScalingEngineDB) Close ¶
func (fake *FakeScalingEngineDB) Close() error
func (*FakeScalingEngineDB) CloseCallCount ¶
func (fake *FakeScalingEngineDB) CloseCallCount() int
func (*FakeScalingEngineDB) CloseCalls ¶
func (fake *FakeScalingEngineDB) CloseCalls(stub func() error)
func (*FakeScalingEngineDB) CloseReturns ¶
func (fake *FakeScalingEngineDB) CloseReturns(result1 error)
func (*FakeScalingEngineDB) CloseReturnsOnCall ¶
func (fake *FakeScalingEngineDB) CloseReturnsOnCall(i int, result1 error)
func (*FakeScalingEngineDB) GetActiveSchedule ¶
func (fake *FakeScalingEngineDB) GetActiveSchedule(arg1 string) (*models.ActiveSchedule, error)
func (*FakeScalingEngineDB) GetActiveScheduleArgsForCall ¶
func (fake *FakeScalingEngineDB) GetActiveScheduleArgsForCall(i int) string
func (*FakeScalingEngineDB) GetActiveScheduleCallCount ¶
func (fake *FakeScalingEngineDB) GetActiveScheduleCallCount() int
func (*FakeScalingEngineDB) GetActiveScheduleCalls ¶
func (fake *FakeScalingEngineDB) GetActiveScheduleCalls(stub func(string) (*models.ActiveSchedule, error))
func (*FakeScalingEngineDB) GetActiveScheduleReturns ¶
func (fake *FakeScalingEngineDB) GetActiveScheduleReturns(result1 *models.ActiveSchedule, result2 error)
func (*FakeScalingEngineDB) GetActiveScheduleReturnsOnCall ¶
func (fake *FakeScalingEngineDB) GetActiveScheduleReturnsOnCall(i int, result1 *models.ActiveSchedule, result2 error)
func (*FakeScalingEngineDB) GetActiveSchedules ¶
func (fake *FakeScalingEngineDB) GetActiveSchedules() (map[string]string, error)
func (*FakeScalingEngineDB) GetActiveSchedulesCallCount ¶
func (fake *FakeScalingEngineDB) GetActiveSchedulesCallCount() int
func (*FakeScalingEngineDB) GetActiveSchedulesCalls ¶
func (fake *FakeScalingEngineDB) GetActiveSchedulesCalls(stub func() (map[string]string, error))
func (*FakeScalingEngineDB) GetActiveSchedulesReturns ¶
func (fake *FakeScalingEngineDB) GetActiveSchedulesReturns(result1 map[string]string, result2 error)
func (*FakeScalingEngineDB) GetActiveSchedulesReturnsOnCall ¶
func (fake *FakeScalingEngineDB) GetActiveSchedulesReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeScalingEngineDB) GetDBStatus ¶
func (fake *FakeScalingEngineDB) GetDBStatus() sql.DBStats
func (*FakeScalingEngineDB) GetDBStatusCallCount ¶
func (fake *FakeScalingEngineDB) GetDBStatusCallCount() int
func (*FakeScalingEngineDB) GetDBStatusCalls ¶
func (fake *FakeScalingEngineDB) GetDBStatusCalls(stub func() sql.DBStats)
func (*FakeScalingEngineDB) GetDBStatusReturns ¶
func (fake *FakeScalingEngineDB) GetDBStatusReturns(result1 sql.DBStats)
func (*FakeScalingEngineDB) GetDBStatusReturnsOnCall ¶
func (fake *FakeScalingEngineDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
func (*FakeScalingEngineDB) Invocations ¶
func (fake *FakeScalingEngineDB) Invocations() map[string][][]interface{}
func (*FakeScalingEngineDB) PruneScalingHistories ¶
func (fake *FakeScalingEngineDB) PruneScalingHistories(arg1 int64) error
func (*FakeScalingEngineDB) PruneScalingHistoriesArgsForCall ¶
func (fake *FakeScalingEngineDB) PruneScalingHistoriesArgsForCall(i int) int64
func (*FakeScalingEngineDB) PruneScalingHistoriesCallCount ¶
func (fake *FakeScalingEngineDB) PruneScalingHistoriesCallCount() int
func (*FakeScalingEngineDB) PruneScalingHistoriesCalls ¶
func (fake *FakeScalingEngineDB) PruneScalingHistoriesCalls(stub func(int64) error)
func (*FakeScalingEngineDB) PruneScalingHistoriesReturns ¶
func (fake *FakeScalingEngineDB) PruneScalingHistoriesReturns(result1 error)
func (*FakeScalingEngineDB) PruneScalingHistoriesReturnsOnCall ¶
func (fake *FakeScalingEngineDB) PruneScalingHistoriesReturnsOnCall(i int, result1 error)
func (*FakeScalingEngineDB) RemoveActiveSchedule ¶
func (fake *FakeScalingEngineDB) RemoveActiveSchedule(arg1 string) error
func (*FakeScalingEngineDB) RemoveActiveScheduleArgsForCall ¶
func (fake *FakeScalingEngineDB) RemoveActiveScheduleArgsForCall(i int) string
func (*FakeScalingEngineDB) RemoveActiveScheduleCallCount ¶
func (fake *FakeScalingEngineDB) RemoveActiveScheduleCallCount() int
func (*FakeScalingEngineDB) RemoveActiveScheduleCalls ¶
func (fake *FakeScalingEngineDB) RemoveActiveScheduleCalls(stub func(string) error)
func (*FakeScalingEngineDB) RemoveActiveScheduleReturns ¶
func (fake *FakeScalingEngineDB) RemoveActiveScheduleReturns(result1 error)
func (*FakeScalingEngineDB) RemoveActiveScheduleReturnsOnCall ¶
func (fake *FakeScalingEngineDB) RemoveActiveScheduleReturnsOnCall(i int, result1 error)
func (*FakeScalingEngineDB) RetrieveScalingHistories ¶
func (fake *FakeScalingEngineDB) RetrieveScalingHistories(arg1 string, arg2 int64, arg3 int64, arg4 db.OrderType, arg5 bool) ([]*models.AppScalingHistory, error)
func (*FakeScalingEngineDB) RetrieveScalingHistoriesArgsForCall ¶
func (*FakeScalingEngineDB) RetrieveScalingHistoriesCallCount ¶
func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesCallCount() int
func (*FakeScalingEngineDB) RetrieveScalingHistoriesCalls ¶
func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesCalls(stub func(string, int64, int64, db.OrderType, bool) ([]*models.AppScalingHistory, error))
func (*FakeScalingEngineDB) RetrieveScalingHistoriesReturns ¶
func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesReturns(result1 []*models.AppScalingHistory, result2 error)
func (*FakeScalingEngineDB) RetrieveScalingHistoriesReturnsOnCall ¶
func (fake *FakeScalingEngineDB) RetrieveScalingHistoriesReturnsOnCall(i int, result1 []*models.AppScalingHistory, result2 error)
func (*FakeScalingEngineDB) SaveScalingHistory ¶
func (fake *FakeScalingEngineDB) SaveScalingHistory(arg1 *models.AppScalingHistory) error
func (*FakeScalingEngineDB) SaveScalingHistoryArgsForCall ¶
func (fake *FakeScalingEngineDB) SaveScalingHistoryArgsForCall(i int) *models.AppScalingHistory
func (*FakeScalingEngineDB) SaveScalingHistoryCallCount ¶
func (fake *FakeScalingEngineDB) SaveScalingHistoryCallCount() int
func (*FakeScalingEngineDB) SaveScalingHistoryCalls ¶
func (fake *FakeScalingEngineDB) SaveScalingHistoryCalls(stub func(*models.AppScalingHistory) error)
func (*FakeScalingEngineDB) SaveScalingHistoryReturns ¶
func (fake *FakeScalingEngineDB) SaveScalingHistoryReturns(result1 error)
func (*FakeScalingEngineDB) SaveScalingHistoryReturnsOnCall ¶
func (fake *FakeScalingEngineDB) SaveScalingHistoryReturnsOnCall(i int, result1 error)
func (*FakeScalingEngineDB) SetActiveSchedule ¶
func (fake *FakeScalingEngineDB) SetActiveSchedule(arg1 string, arg2 *models.ActiveSchedule) error
func (*FakeScalingEngineDB) SetActiveScheduleArgsForCall ¶
func (fake *FakeScalingEngineDB) SetActiveScheduleArgsForCall(i int) (string, *models.ActiveSchedule)
func (*FakeScalingEngineDB) SetActiveScheduleCallCount ¶
func (fake *FakeScalingEngineDB) SetActiveScheduleCallCount() int
func (*FakeScalingEngineDB) SetActiveScheduleCalls ¶
func (fake *FakeScalingEngineDB) SetActiveScheduleCalls(stub func(string, *models.ActiveSchedule) error)
func (*FakeScalingEngineDB) SetActiveScheduleReturns ¶
func (fake *FakeScalingEngineDB) SetActiveScheduleReturns(result1 error)
func (*FakeScalingEngineDB) SetActiveScheduleReturnsOnCall ¶
func (fake *FakeScalingEngineDB) SetActiveScheduleReturnsOnCall(i int, result1 error)
func (*FakeScalingEngineDB) UpdateScalingCooldownExpireTime ¶
func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTime(arg1 string, arg2 int64) error
func (*FakeScalingEngineDB) UpdateScalingCooldownExpireTimeArgsForCall ¶
func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeArgsForCall(i int) (string, int64)
func (*FakeScalingEngineDB) UpdateScalingCooldownExpireTimeCallCount ¶
func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeCallCount() int
func (*FakeScalingEngineDB) UpdateScalingCooldownExpireTimeCalls ¶
func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeCalls(stub func(string, int64) error)
func (*FakeScalingEngineDB) UpdateScalingCooldownExpireTimeReturns ¶
func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeReturns(result1 error)
func (*FakeScalingEngineDB) UpdateScalingCooldownExpireTimeReturnsOnCall ¶
func (fake *FakeScalingEngineDB) UpdateScalingCooldownExpireTimeReturnsOnCall(i int, result1 error)
type FakeSchedulerDB ¶
type FakeSchedulerDB struct { CloseStub func() error GetActiveSchedulesStub func() (map[string]*models.ActiveSchedule, error) GetDBStatusStub func() sql.DBStats // contains filtered or unexported fields }
func (*FakeSchedulerDB) Close ¶
func (fake *FakeSchedulerDB) Close() error
func (*FakeSchedulerDB) CloseCallCount ¶
func (fake *FakeSchedulerDB) CloseCallCount() int
func (*FakeSchedulerDB) CloseCalls ¶
func (fake *FakeSchedulerDB) CloseCalls(stub func() error)
func (*FakeSchedulerDB) CloseReturns ¶
func (fake *FakeSchedulerDB) CloseReturns(result1 error)
func (*FakeSchedulerDB) CloseReturnsOnCall ¶
func (fake *FakeSchedulerDB) CloseReturnsOnCall(i int, result1 error)
func (*FakeSchedulerDB) GetActiveSchedules ¶
func (fake *FakeSchedulerDB) GetActiveSchedules() (map[string]*models.ActiveSchedule, error)
func (*FakeSchedulerDB) GetActiveSchedulesCallCount ¶
func (fake *FakeSchedulerDB) GetActiveSchedulesCallCount() int
func (*FakeSchedulerDB) GetActiveSchedulesCalls ¶
func (fake *FakeSchedulerDB) GetActiveSchedulesCalls(stub func() (map[string]*models.ActiveSchedule, error))
func (*FakeSchedulerDB) GetActiveSchedulesReturns ¶
func (fake *FakeSchedulerDB) GetActiveSchedulesReturns(result1 map[string]*models.ActiveSchedule, result2 error)
func (*FakeSchedulerDB) GetActiveSchedulesReturnsOnCall ¶
func (fake *FakeSchedulerDB) GetActiveSchedulesReturnsOnCall(i int, result1 map[string]*models.ActiveSchedule, result2 error)
func (*FakeSchedulerDB) GetDBStatus ¶
func (fake *FakeSchedulerDB) GetDBStatus() sql.DBStats
func (*FakeSchedulerDB) GetDBStatusCallCount ¶
func (fake *FakeSchedulerDB) GetDBStatusCallCount() int
func (*FakeSchedulerDB) GetDBStatusCalls ¶
func (fake *FakeSchedulerDB) GetDBStatusCalls(stub func() sql.DBStats)
func (*FakeSchedulerDB) GetDBStatusReturns ¶
func (fake *FakeSchedulerDB) GetDBStatusReturns(result1 sql.DBStats)
func (*FakeSchedulerDB) GetDBStatusReturnsOnCall ¶
func (fake *FakeSchedulerDB) GetDBStatusReturnsOnCall(i int, result1 sql.DBStats)
func (*FakeSchedulerDB) Invocations ¶
func (fake *FakeSchedulerDB) Invocations() map[string][][]interface{}
type FakeStoredProcedureDB ¶
type FakeStoredProcedureDB struct { CloseStub func() error CreateCredentialsStub func(models.CredentialsOptions) (*models.Credential, error) DeleteAllInstanceCredentialsStub func(string) error DeleteCredentialsStub func(models.CredentialsOptions) error ValidateCredentialsStub func(models.Credential) (*models.CredentialsOptions, error) // contains filtered or unexported fields }
func (*FakeStoredProcedureDB) Close ¶
func (fake *FakeStoredProcedureDB) Close() error
func (*FakeStoredProcedureDB) CloseCallCount ¶
func (fake *FakeStoredProcedureDB) CloseCallCount() int
func (*FakeStoredProcedureDB) CloseCalls ¶
func (fake *FakeStoredProcedureDB) CloseCalls(stub func() error)
func (*FakeStoredProcedureDB) CloseReturns ¶
func (fake *FakeStoredProcedureDB) CloseReturns(result1 error)
func (*FakeStoredProcedureDB) CloseReturnsOnCall ¶
func (fake *FakeStoredProcedureDB) CloseReturnsOnCall(i int, result1 error)
func (*FakeStoredProcedureDB) CreateCredentials ¶
func (fake *FakeStoredProcedureDB) CreateCredentials(arg1 models.CredentialsOptions) (*models.Credential, error)
func (*FakeStoredProcedureDB) CreateCredentialsArgsForCall ¶
func (fake *FakeStoredProcedureDB) CreateCredentialsArgsForCall(i int) models.CredentialsOptions
func (*FakeStoredProcedureDB) CreateCredentialsCallCount ¶
func (fake *FakeStoredProcedureDB) CreateCredentialsCallCount() int
func (*FakeStoredProcedureDB) CreateCredentialsCalls ¶
func (fake *FakeStoredProcedureDB) CreateCredentialsCalls(stub func(models.CredentialsOptions) (*models.Credential, error))
func (*FakeStoredProcedureDB) CreateCredentialsReturns ¶
func (fake *FakeStoredProcedureDB) CreateCredentialsReturns(result1 *models.Credential, result2 error)
func (*FakeStoredProcedureDB) CreateCredentialsReturnsOnCall ¶
func (fake *FakeStoredProcedureDB) CreateCredentialsReturnsOnCall(i int, result1 *models.Credential, result2 error)
func (*FakeStoredProcedureDB) DeleteAllInstanceCredentials ¶
func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentials(arg1 string) error
func (*FakeStoredProcedureDB) DeleteAllInstanceCredentialsArgsForCall ¶
func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsArgsForCall(i int) string
func (*FakeStoredProcedureDB) DeleteAllInstanceCredentialsCallCount ¶
func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsCallCount() int
func (*FakeStoredProcedureDB) DeleteAllInstanceCredentialsCalls ¶
func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsCalls(stub func(string) error)
func (*FakeStoredProcedureDB) DeleteAllInstanceCredentialsReturns ¶
func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsReturns(result1 error)
func (*FakeStoredProcedureDB) DeleteAllInstanceCredentialsReturnsOnCall ¶
func (fake *FakeStoredProcedureDB) DeleteAllInstanceCredentialsReturnsOnCall(i int, result1 error)
func (*FakeStoredProcedureDB) DeleteCredentials ¶
func (fake *FakeStoredProcedureDB) DeleteCredentials(arg1 models.CredentialsOptions) error
func (*FakeStoredProcedureDB) DeleteCredentialsArgsForCall ¶
func (fake *FakeStoredProcedureDB) DeleteCredentialsArgsForCall(i int) models.CredentialsOptions
func (*FakeStoredProcedureDB) DeleteCredentialsCallCount ¶
func (fake *FakeStoredProcedureDB) DeleteCredentialsCallCount() int
func (*FakeStoredProcedureDB) DeleteCredentialsCalls ¶
func (fake *FakeStoredProcedureDB) DeleteCredentialsCalls(stub func(models.CredentialsOptions) error)
func (*FakeStoredProcedureDB) DeleteCredentialsReturns ¶
func (fake *FakeStoredProcedureDB) DeleteCredentialsReturns(result1 error)
func (*FakeStoredProcedureDB) DeleteCredentialsReturnsOnCall ¶
func (fake *FakeStoredProcedureDB) DeleteCredentialsReturnsOnCall(i int, result1 error)
func (*FakeStoredProcedureDB) Invocations ¶
func (fake *FakeStoredProcedureDB) Invocations() map[string][][]interface{}
func (*FakeStoredProcedureDB) ValidateCredentials ¶
func (fake *FakeStoredProcedureDB) ValidateCredentials(arg1 models.Credential) (*models.CredentialsOptions, error)
func (*FakeStoredProcedureDB) ValidateCredentialsArgsForCall ¶
func (fake *FakeStoredProcedureDB) ValidateCredentialsArgsForCall(i int) models.Credential
func (*FakeStoredProcedureDB) ValidateCredentialsCallCount ¶
func (fake *FakeStoredProcedureDB) ValidateCredentialsCallCount() int
func (*FakeStoredProcedureDB) ValidateCredentialsCalls ¶
func (fake *FakeStoredProcedureDB) ValidateCredentialsCalls(stub func(models.Credential) (*models.CredentialsOptions, error))
func (*FakeStoredProcedureDB) ValidateCredentialsReturns ¶
func (fake *FakeStoredProcedureDB) ValidateCredentialsReturns(result1 *models.CredentialsOptions, result2 error)
func (*FakeStoredProcedureDB) ValidateCredentialsReturnsOnCall ¶
func (fake *FakeStoredProcedureDB) ValidateCredentialsReturnsOnCall(i int, result1 *models.CredentialsOptions, result2 error)
type FakeWSHelper ¶
type FakeWSHelper struct { SetupConnStub func() error CloseConnStub func() error WriteStub func(envelope *loggregator_v2.Envelope) error ReadStub func() error PingStub func() error // contains filtered or unexported fields }
func (*FakeWSHelper) CloseConn ¶
func (fake *FakeWSHelper) CloseConn() error
func (*FakeWSHelper) CloseConnCallCount ¶
func (fake *FakeWSHelper) CloseConnCallCount() int
func (*FakeWSHelper) CloseConnReturns ¶
func (fake *FakeWSHelper) CloseConnReturns(result1 error)
func (*FakeWSHelper) Invocations ¶
func (fake *FakeWSHelper) Invocations() map[string][][]interface{}
func (*FakeWSHelper) Ping ¶
func (fake *FakeWSHelper) Ping() error
func (*FakeWSHelper) PingCallCount ¶
func (fake *FakeWSHelper) PingCallCount() int
func (*FakeWSHelper) PingReturns ¶
func (fake *FakeWSHelper) PingReturns(result1 error)
func (*FakeWSHelper) Read ¶
func (fake *FakeWSHelper) Read() error
func (*FakeWSHelper) ReadCallCount ¶
func (fake *FakeWSHelper) ReadCallCount() int
func (*FakeWSHelper) ReadReturns ¶
func (fake *FakeWSHelper) ReadReturns(result1 error)
func (*FakeWSHelper) SetupConn ¶
func (fake *FakeWSHelper) SetupConn() error
func (*FakeWSHelper) SetupConnCallCount ¶
func (fake *FakeWSHelper) SetupConnCallCount() int
func (*FakeWSHelper) SetupConnReturns ¶
func (fake *FakeWSHelper) SetupConnReturns(result1 error)
func (*FakeWSHelper) Write ¶
func (fake *FakeWSHelper) Write(envelope *loggregator_v2.Envelope) error
func (*FakeWSHelper) WriteArgsForCall ¶
func (fake *FakeWSHelper) WriteArgsForCall(i int) *loggregator_v2.Envelope
func (*FakeWSHelper) WriteCallCount ¶
func (fake *FakeWSHelper) WriteCallCount() int
func (*FakeWSHelper) WriteReturns ¶
func (fake *FakeWSHelper) WriteReturns(result1 error)
Source Files ¶
- fake_app_metric_db.go
- fake_binding_db.go
- fake_cf_client.go
- fake_credentials.go
- fake_database_status.go
- fake_emitter.go
- fake_httpstatus_collector.go
- fake_instancemetrics_db.go
- fake_metric_forwarder.go
- fake_operator.go
- fake_policy_db.go
- fake_ratelimiter.go
- fake_scalingengine.go
- fake_scalingengine_db.go
- fake_scheduler_db.go
- fake_storedprocedure_db.go
- fake_sychronizer.go
- fake_wshelper.go
- fakes.go