Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeK8sConnector
- func (fake *FakeK8sConnector) Invocations() map[string][][]interface{}
- func (fake *FakeK8sConnector) SetupCustomResourceDefinition(arg1 context.Context) error
- func (fake *FakeK8sConnector) SetupCustomResourceDefinitionArgsForCall(i int) context.Context
- func (fake *FakeK8sConnector) SetupCustomResourceDefinitionCallCount() int
- func (fake *FakeK8sConnector) SetupCustomResourceDefinitionCalls(stub func(context.Context) error)
- func (fake *FakeK8sConnector) SetupCustomResourceDefinitionReturns(result1 error)
- func (fake *FakeK8sConnector) SetupCustomResourceDefinitionReturnsOnCall(i int, result1 error)
- type FakeScheduleStore
- func (fake *FakeScheduleStore) Invocations() map[string][][]interface{}
- func (fake *FakeScheduleStore) List(arg1 context.Context) ([]schedule.TaskDefinition, error)
- func (fake *FakeScheduleStore) ListArgsForCall(i int) context.Context
- func (fake *FakeScheduleStore) ListCallCount() int
- func (fake *FakeScheduleStore) ListCalls(stub func(context.Context) ([]schedule.TaskDefinition, error))
- func (fake *FakeScheduleStore) ListReturns(result1 []schedule.TaskDefinition, result2 error)
- func (fake *FakeScheduleStore) ListReturnsOnCall(i int, result1 []schedule.TaskDefinition, result2 error)
- type PublisherFrontmatterFormatter
- func (fake *PublisherFrontmatterFormatter) Format(arg1 lib.TaskFrontmatter, arg2 string, arg3 schedule.Date, arg4 bool) lib.TaskFrontmatter
- func (fake *PublisherFrontmatterFormatter) FormatArgsForCall(i int) (lib.TaskFrontmatter, string, schedule.Date, bool)
- func (fake *PublisherFrontmatterFormatter) FormatCallCount() int
- func (fake *PublisherFrontmatterFormatter) FormatCalls(...)
- func (fake *PublisherFrontmatterFormatter) FormatReturns(result1 lib.TaskFrontmatter)
- func (fake *PublisherFrontmatterFormatter) FormatReturnsOnCall(i int, result1 lib.TaskFrontmatter)
- func (fake *PublisherFrontmatterFormatter) Invocations() map[string][][]interface{}
- type PublisherPeriodTokenBuilder
- func (fake *PublisherPeriodTokenBuilder) Build(arg1 context.Context, arg2 schedule.TaskDefinition, arg3 schedule.Date) (publisher.PeriodToken, error)
- func (fake *PublisherPeriodTokenBuilder) BuildArgsForCall(i int) (context.Context, schedule.TaskDefinition, schedule.Date)
- func (fake *PublisherPeriodTokenBuilder) BuildCallCount() int
- func (fake *PublisherPeriodTokenBuilder) BuildCalls(...)
- func (fake *PublisherPeriodTokenBuilder) BuildReturns(result1 publisher.PeriodToken, result2 error)
- func (fake *PublisherPeriodTokenBuilder) BuildReturnsOnCall(i int, result1 publisher.PeriodToken, result2 error)
- func (fake *PublisherPeriodTokenBuilder) Invocations() map[string][][]interface{}
- type PublisherPublisher
- func (fake *PublisherPublisher) Invocations() map[string][][]interface{}
- func (fake *PublisherPublisher) Publish(arg1 context.Context, arg2 schedule.TaskDefinition, arg3 schedule.Date) error
- func (fake *PublisherPublisher) PublishArgsForCall(i int) (context.Context, schedule.TaskDefinition, schedule.Date)
- func (fake *PublisherPublisher) PublishCallCount() int
- func (fake *PublisherPublisher) PublishCalls(stub func(context.Context, schedule.TaskDefinition, schedule.Date) error)
- func (fake *PublisherPublisher) PublishReturns(result1 error)
- func (fake *PublisherPublisher) PublishReturnsOnCall(i int, result1 error)
- type PublisherRenderer
- func (fake *PublisherRenderer) Invocations() map[string][][]interface{}
- func (fake *PublisherRenderer) Render(arg1 string, arg2 string, arg3 schedule.Date) string
- func (fake *PublisherRenderer) RenderArgsForCall(i int) (string, string, schedule.Date)
- func (fake *PublisherRenderer) RenderCallCount() int
- func (fake *PublisherRenderer) RenderCalls(stub func(string, string, schedule.Date) string)
- func (fake *PublisherRenderer) RenderReturns(result1 string)
- func (fake *PublisherRenderer) RenderReturnsOnCall(i int, result1 string)
- type PublisherTaskIdentifierCreator
- func (fake *PublisherTaskIdentifierCreator) Create(arg1 context.Context, arg2 schedule.TaskDefinition, arg3 schedule.Date) (lib.TaskIdentifier, publisher.PeriodToken, error)
- func (fake *PublisherTaskIdentifierCreator) CreateArgsForCall(i int) (context.Context, schedule.TaskDefinition, schedule.Date)
- func (fake *PublisherTaskIdentifierCreator) CreateCallCount() int
- func (fake *PublisherTaskIdentifierCreator) CreateCalls(...)
- func (fake *PublisherTaskIdentifierCreator) CreateReturns(result1 lib.TaskIdentifier, result2 publisher.PeriodToken, result3 error)
- func (fake *PublisherTaskIdentifierCreator) CreateReturnsOnCall(i int, result1 lib.TaskIdentifier, result2 publisher.PeriodToken, ...)
- func (fake *PublisherTaskIdentifierCreator) Invocations() map[string][][]interface{}
- type TickMetrics
- func (fake *TickMetrics) IncPublished(arg1 string, arg2 string)
- func (fake *TickMetrics) IncPublishedArgsForCall(i int) (string, string)
- func (fake *TickMetrics) IncPublishedCallCount() int
- func (fake *TickMetrics) IncPublishedCalls(stub func(string, string))
- func (fake *TickMetrics) Invocations() map[string][][]interface{}
- func (fake *TickMetrics) SetLastTickTimestamp(arg1 float64)
- func (fake *TickMetrics) SetLastTickTimestampArgsForCall(i int) float64
- func (fake *TickMetrics) SetLastTickTimestampCallCount() int
- func (fake *TickMetrics) SetLastTickTimestampCalls(stub func(float64))
- type TickTick
- func (fake *TickTick) Invocations() map[string][][]interface{}
- func (fake *TickTick) Run(arg1 context.Context) error
- func (fake *TickTick) RunArgsForCall(i int) context.Context
- func (fake *TickTick) RunCallCount() int
- func (fake *TickTick) RunCalls(stub func(context.Context) error)
- func (fake *TickTick) RunOnce(arg1 context.Context) error
- func (fake *TickTick) RunOnceArgsForCall(i int) context.Context
- func (fake *TickTick) RunOnceCallCount() int
- func (fake *TickTick) RunOnceCalls(stub func(context.Context) error)
- func (fake *TickTick) RunOnceReturns(result1 error)
- func (fake *TickTick) RunOnceReturnsOnCall(i int, result1 error)
- func (fake *TickTick) RunReturns(result1 error)
- func (fake *TickTick) RunReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeK8sConnector ¶
type FakeK8sConnector struct {
SetupCustomResourceDefinitionStub func(context.Context) error
// contains filtered or unexported fields
}
func (*FakeK8sConnector) Invocations ¶
func (fake *FakeK8sConnector) Invocations() map[string][][]interface{}
func (*FakeK8sConnector) SetupCustomResourceDefinition ¶
func (fake *FakeK8sConnector) SetupCustomResourceDefinition(arg1 context.Context) error
func (*FakeK8sConnector) SetupCustomResourceDefinitionArgsForCall ¶
func (fake *FakeK8sConnector) SetupCustomResourceDefinitionArgsForCall(i int) context.Context
func (*FakeK8sConnector) SetupCustomResourceDefinitionCallCount ¶
func (fake *FakeK8sConnector) SetupCustomResourceDefinitionCallCount() int
func (*FakeK8sConnector) SetupCustomResourceDefinitionCalls ¶
func (fake *FakeK8sConnector) SetupCustomResourceDefinitionCalls(stub func(context.Context) error)
func (*FakeK8sConnector) SetupCustomResourceDefinitionReturns ¶
func (fake *FakeK8sConnector) SetupCustomResourceDefinitionReturns(result1 error)
func (*FakeK8sConnector) SetupCustomResourceDefinitionReturnsOnCall ¶
func (fake *FakeK8sConnector) SetupCustomResourceDefinitionReturnsOnCall(i int, result1 error)
type FakeScheduleStore ¶
type FakeScheduleStore struct {
ListStub func(context.Context) ([]schedule.TaskDefinition, error)
// contains filtered or unexported fields
}
func (*FakeScheduleStore) Invocations ¶
func (fake *FakeScheduleStore) Invocations() map[string][][]interface{}
func (*FakeScheduleStore) List ¶
func (fake *FakeScheduleStore) List(arg1 context.Context) ([]schedule.TaskDefinition, error)
func (*FakeScheduleStore) ListArgsForCall ¶
func (fake *FakeScheduleStore) ListArgsForCall(i int) context.Context
func (*FakeScheduleStore) ListCallCount ¶
func (fake *FakeScheduleStore) ListCallCount() int
func (*FakeScheduleStore) ListCalls ¶
func (fake *FakeScheduleStore) ListCalls(stub func(context.Context) ([]schedule.TaskDefinition, error))
func (*FakeScheduleStore) ListReturns ¶
func (fake *FakeScheduleStore) ListReturns(result1 []schedule.TaskDefinition, result2 error)
func (*FakeScheduleStore) ListReturnsOnCall ¶
func (fake *FakeScheduleStore) ListReturnsOnCall(i int, result1 []schedule.TaskDefinition, result2 error)
type PublisherFrontmatterFormatter ¶ added in v0.1.0
type PublisherFrontmatterFormatter struct {
FormatStub func(lib.TaskFrontmatter, string, schedule.Date, bool) lib.TaskFrontmatter
// contains filtered or unexported fields
}
func (*PublisherFrontmatterFormatter) Format ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) Format(arg1 lib.TaskFrontmatter, arg2 string, arg3 schedule.Date, arg4 bool) lib.TaskFrontmatter
func (*PublisherFrontmatterFormatter) FormatArgsForCall ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) FormatArgsForCall(i int) (lib.TaskFrontmatter, string, schedule.Date, bool)
func (*PublisherFrontmatterFormatter) FormatCallCount ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) FormatCallCount() int
func (*PublisherFrontmatterFormatter) FormatCalls ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) FormatCalls(stub func(lib.TaskFrontmatter, string, schedule.Date, bool) lib.TaskFrontmatter)
func (*PublisherFrontmatterFormatter) FormatReturns ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) FormatReturns(result1 lib.TaskFrontmatter)
func (*PublisherFrontmatterFormatter) FormatReturnsOnCall ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) FormatReturnsOnCall(i int, result1 lib.TaskFrontmatter)
func (*PublisherFrontmatterFormatter) Invocations ¶ added in v0.1.0
func (fake *PublisherFrontmatterFormatter) Invocations() map[string][][]interface{}
type PublisherPeriodTokenBuilder ¶ added in v0.6.0
type PublisherPeriodTokenBuilder struct {
BuildStub func(context.Context, schedule.TaskDefinition, schedule.Date) (publisher.PeriodToken, error)
// contains filtered or unexported fields
}
func (*PublisherPeriodTokenBuilder) Build ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) Build(arg1 context.Context, arg2 schedule.TaskDefinition, arg3 schedule.Date) (publisher.PeriodToken, error)
func (*PublisherPeriodTokenBuilder) BuildArgsForCall ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) BuildArgsForCall(i int) (context.Context, schedule.TaskDefinition, schedule.Date)
func (*PublisherPeriodTokenBuilder) BuildCallCount ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) BuildCallCount() int
func (*PublisherPeriodTokenBuilder) BuildCalls ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) BuildCalls(stub func(context.Context, schedule.TaskDefinition, schedule.Date) (publisher.PeriodToken, error))
func (*PublisherPeriodTokenBuilder) BuildReturns ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) BuildReturns(result1 publisher.PeriodToken, result2 error)
func (*PublisherPeriodTokenBuilder) BuildReturnsOnCall ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) BuildReturnsOnCall(i int, result1 publisher.PeriodToken, result2 error)
func (*PublisherPeriodTokenBuilder) Invocations ¶ added in v0.6.0
func (fake *PublisherPeriodTokenBuilder) Invocations() map[string][][]interface{}
type PublisherPublisher ¶
type PublisherPublisher struct {
PublishStub func(context.Context, schedule.TaskDefinition, schedule.Date) error
// contains filtered or unexported fields
}
func (*PublisherPublisher) Invocations ¶
func (fake *PublisherPublisher) Invocations() map[string][][]interface{}
func (*PublisherPublisher) Publish ¶
func (fake *PublisherPublisher) Publish(arg1 context.Context, arg2 schedule.TaskDefinition, arg3 schedule.Date) error
func (*PublisherPublisher) PublishArgsForCall ¶
func (fake *PublisherPublisher) PublishArgsForCall(i int) (context.Context, schedule.TaskDefinition, schedule.Date)
func (*PublisherPublisher) PublishCallCount ¶
func (fake *PublisherPublisher) PublishCallCount() int
func (*PublisherPublisher) PublishCalls ¶
func (fake *PublisherPublisher) PublishCalls(stub func(context.Context, schedule.TaskDefinition, schedule.Date) error)
func (*PublisherPublisher) PublishReturns ¶
func (fake *PublisherPublisher) PublishReturns(result1 error)
func (*PublisherPublisher) PublishReturnsOnCall ¶
func (fake *PublisherPublisher) PublishReturnsOnCall(i int, result1 error)
type PublisherRenderer ¶ added in v0.2.0
type PublisherRenderer struct {
RenderStub func(string, string, schedule.Date) string
// contains filtered or unexported fields
}
func (*PublisherRenderer) Invocations ¶ added in v0.2.0
func (fake *PublisherRenderer) Invocations() map[string][][]interface{}
func (*PublisherRenderer) RenderArgsForCall ¶ added in v0.2.0
func (*PublisherRenderer) RenderCallCount ¶ added in v0.2.0
func (fake *PublisherRenderer) RenderCallCount() int
func (*PublisherRenderer) RenderCalls ¶ added in v0.2.0
func (*PublisherRenderer) RenderReturns ¶ added in v0.2.0
func (fake *PublisherRenderer) RenderReturns(result1 string)
func (*PublisherRenderer) RenderReturnsOnCall ¶ added in v0.2.0
func (fake *PublisherRenderer) RenderReturnsOnCall(i int, result1 string)
type PublisherTaskIdentifierCreator ¶ added in v0.6.0
type PublisherTaskIdentifierCreator struct {
CreateStub func(context.Context, schedule.TaskDefinition, schedule.Date) (lib.TaskIdentifier, publisher.PeriodToken, error)
// contains filtered or unexported fields
}
func (*PublisherTaskIdentifierCreator) Create ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) Create(arg1 context.Context, arg2 schedule.TaskDefinition, arg3 schedule.Date) (lib.TaskIdentifier, publisher.PeriodToken, error)
func (*PublisherTaskIdentifierCreator) CreateArgsForCall ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) CreateArgsForCall(i int) (context.Context, schedule.TaskDefinition, schedule.Date)
func (*PublisherTaskIdentifierCreator) CreateCallCount ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) CreateCallCount() int
func (*PublisherTaskIdentifierCreator) CreateCalls ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) CreateCalls(stub func(context.Context, schedule.TaskDefinition, schedule.Date) (lib.TaskIdentifier, publisher.PeriodToken, error))
func (*PublisherTaskIdentifierCreator) CreateReturns ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) CreateReturns(result1 lib.TaskIdentifier, result2 publisher.PeriodToken, result3 error)
func (*PublisherTaskIdentifierCreator) CreateReturnsOnCall ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) CreateReturnsOnCall(i int, result1 lib.TaskIdentifier, result2 publisher.PeriodToken, result3 error)
func (*PublisherTaskIdentifierCreator) Invocations ¶ added in v0.6.0
func (fake *PublisherTaskIdentifierCreator) Invocations() map[string][][]interface{}
type TickMetrics ¶
type TickMetrics struct {
IncPublishedStub func(string, string)
SetLastTickTimestampStub func(float64)
// contains filtered or unexported fields
}
func (*TickMetrics) IncPublished ¶
func (fake *TickMetrics) IncPublished(arg1 string, arg2 string)
func (*TickMetrics) IncPublishedArgsForCall ¶
func (fake *TickMetrics) IncPublishedArgsForCall(i int) (string, string)
func (*TickMetrics) IncPublishedCallCount ¶
func (fake *TickMetrics) IncPublishedCallCount() int
func (*TickMetrics) IncPublishedCalls ¶
func (fake *TickMetrics) IncPublishedCalls(stub func(string, string))
func (*TickMetrics) Invocations ¶
func (fake *TickMetrics) Invocations() map[string][][]interface{}
func (*TickMetrics) SetLastTickTimestamp ¶
func (fake *TickMetrics) SetLastTickTimestamp(arg1 float64)
func (*TickMetrics) SetLastTickTimestampArgsForCall ¶
func (fake *TickMetrics) SetLastTickTimestampArgsForCall(i int) float64
func (*TickMetrics) SetLastTickTimestampCallCount ¶
func (fake *TickMetrics) SetLastTickTimestampCallCount() int
func (*TickMetrics) SetLastTickTimestampCalls ¶
func (fake *TickMetrics) SetLastTickTimestampCalls(stub func(float64))
type TickTick ¶
type TickTick struct {
RunStub func(context.Context) error
RunOnceStub func(context.Context) error
// contains filtered or unexported fields
}
func (*TickTick) Invocations ¶
func (*TickTick) RunCallCount ¶
func (*TickTick) RunOnceArgsForCall ¶
func (*TickTick) RunOnceCallCount ¶
func (*TickTick) RunOnceCalls ¶
func (*TickTick) RunOnceReturns ¶
func (*TickTick) RunOnceReturnsOnCall ¶
func (*TickTick) RunReturns ¶
func (*TickTick) RunReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.