Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Dstore
- func (fake *Dstore) Invocations() map[string][][]interface{}
- func (fake *Dstore) ReadAll() (map[string]datastore.Container, error)
- func (fake *Dstore) ReadAllCallCount() int
- func (fake *Dstore) ReadAllReturns(result1 map[string]datastore.Container, result2 error)
- func (fake *Dstore) ReadAllReturnsOnCall(i int, result1 map[string]datastore.Container, result2 error)
- type LoggingStateGetter
- func (fake *LoggingStateGetter) Invocations() map[string][][]interface{}
- func (fake *LoggingStateGetter) IsEnabled() bool
- func (fake *LoggingStateGetter) IsEnabledCallCount() int
- func (fake *LoggingStateGetter) IsEnabledReturns(result1 bool)
- func (fake *LoggingStateGetter) IsEnabledReturnsOnCall(i int, result1 bool)
- type MetricsSender
- type PolicyClient
- func (fake *PolicyClient) GetPoliciesByID(ids ...string) ([]models.Policy, error)
- func (fake *PolicyClient) GetPoliciesByIDArgsForCall(i int) []string
- func (fake *PolicyClient) GetPoliciesByIDCallCount() int
- func (fake *PolicyClient) GetPoliciesByIDReturns(result1 []models.Policy, result2 error)
- func (fake *PolicyClient) GetPoliciesByIDReturnsOnCall(i int, result1 []models.Policy, result2 error)
- func (fake *PolicyClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dstore ¶
type Dstore struct { ReadAllStub func() (map[string]datastore.Container, error) // contains filtered or unexported fields }
func (*Dstore) Invocations ¶
func (*Dstore) ReadAllCallCount ¶
func (*Dstore) ReadAllReturns ¶
type LoggingStateGetter ¶
type LoggingStateGetter struct { IsEnabledStub func() bool // contains filtered or unexported fields }
func (*LoggingStateGetter) Invocations ¶
func (fake *LoggingStateGetter) Invocations() map[string][][]interface{}
func (*LoggingStateGetter) IsEnabled ¶
func (fake *LoggingStateGetter) IsEnabled() bool
func (*LoggingStateGetter) IsEnabledCallCount ¶
func (fake *LoggingStateGetter) IsEnabledCallCount() int
func (*LoggingStateGetter) IsEnabledReturns ¶
func (fake *LoggingStateGetter) IsEnabledReturns(result1 bool)
func (*LoggingStateGetter) IsEnabledReturnsOnCall ¶ added in v1.0.0
func (fake *LoggingStateGetter) IsEnabledReturnsOnCall(i int, result1 bool)
type MetricsSender ¶
type MetricsSender struct { SendDurationStub func(string, time.Duration) // contains filtered or unexported fields }
func (*MetricsSender) Invocations ¶
func (fake *MetricsSender) Invocations() map[string][][]interface{}
func (*MetricsSender) SendDuration ¶
func (fake *MetricsSender) SendDuration(arg1 string, arg2 time.Duration)
func (*MetricsSender) SendDurationArgsForCall ¶
func (fake *MetricsSender) SendDurationArgsForCall(i int) (string, time.Duration)
func (*MetricsSender) SendDurationCallCount ¶
func (fake *MetricsSender) SendDurationCallCount() int
type PolicyClient ¶
type PolicyClient struct { GetPoliciesByIDStub func(ids ...string) ([]models.Policy, error) // contains filtered or unexported fields }
func (*PolicyClient) GetPoliciesByID ¶
func (fake *PolicyClient) GetPoliciesByID(ids ...string) ([]models.Policy, error)
func (*PolicyClient) GetPoliciesByIDArgsForCall ¶
func (fake *PolicyClient) GetPoliciesByIDArgsForCall(i int) []string
func (*PolicyClient) GetPoliciesByIDCallCount ¶
func (fake *PolicyClient) GetPoliciesByIDCallCount() int
func (*PolicyClient) GetPoliciesByIDReturns ¶
func (fake *PolicyClient) GetPoliciesByIDReturns(result1 []models.Policy, result2 error)
func (*PolicyClient) GetPoliciesByIDReturnsOnCall ¶ added in v1.0.0
func (fake *PolicyClient) GetPoliciesByIDReturnsOnCall(i int, result1 []models.Policy, result2 error)
func (*PolicyClient) Invocations ¶
func (fake *PolicyClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.