queuefakes

package
v96.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeChangeFetcher

type FakeChangeFetcher struct {
	FetchStub func(ctx context.Context, logger lager.Logger, owner, name string, reenable bool) error
	// contains filtered or unexported fields
}

func (*FakeChangeFetcher) Fetch

func (fake *FakeChangeFetcher) Fetch(ctx context.Context, logger lager.Logger, owner string, name string, reenable bool) error

func (*FakeChangeFetcher) FetchArgsForCall

func (fake *FakeChangeFetcher) FetchArgsForCall(i int) (context.Context, lager.Logger, string, string, bool)

func (*FakeChangeFetcher) FetchCallCount

func (fake *FakeChangeFetcher) FetchCallCount() int

func (*FakeChangeFetcher) FetchReturns

func (fake *FakeChangeFetcher) FetchReturns(result1 error)

func (*FakeChangeFetcher) FetchReturnsOnCall

func (fake *FakeChangeFetcher) FetchReturnsOnCall(i int, result1 error)

func (*FakeChangeFetcher) Invocations

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

type FakeEnqueuer

type FakeEnqueuer struct {
	EnqueueStub func(queue.Task) error
	// contains filtered or unexported fields
}

func (*FakeEnqueuer) Enqueue

func (fake *FakeEnqueuer) Enqueue(arg1 queue.Task) error

func (*FakeEnqueuer) EnqueueArgsForCall

func (fake *FakeEnqueuer) EnqueueArgsForCall(i int) queue.Task

func (*FakeEnqueuer) EnqueueCallCount

func (fake *FakeEnqueuer) EnqueueCallCount() int

func (*FakeEnqueuer) EnqueueReturns

func (fake *FakeEnqueuer) EnqueueReturns(result1 error)

func (*FakeEnqueuer) EnqueueReturnsOnCall

func (fake *FakeEnqueuer) EnqueueReturnsOnCall(i int, result1 error)

func (*FakeEnqueuer) Invocations

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

type FakePlan

type FakePlan struct {
	TaskStub func(string) queue.Task
	// contains filtered or unexported fields
}

func (*FakePlan) Invocations

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

func (*FakePlan) Task

func (fake *FakePlan) Task(arg1 string) queue.Task

func (*FakePlan) TaskArgsForCall

func (fake *FakePlan) TaskArgsForCall(i int) string

func (*FakePlan) TaskCallCount

func (fake *FakePlan) TaskCallCount() int

func (*FakePlan) TaskReturns

func (fake *FakePlan) TaskReturns(result1 queue.Task)

func (*FakePlan) TaskReturnsOnCall

func (fake *FakePlan) TaskReturnsOnCall(i int, result1 queue.Task)

type FakePubSubProcessor

type FakePubSubProcessor struct {
	ProcessStub func(context.Context, *pubsub.Message) (bool, error)
	// contains filtered or unexported fields
}

func (*FakePubSubProcessor) Invocations

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

func (*FakePubSubProcessor) Process

func (fake *FakePubSubProcessor) Process(arg1 context.Context, arg2 *pubsub.Message) (bool, error)

func (*FakePubSubProcessor) ProcessArgsForCall

func (fake *FakePubSubProcessor) ProcessArgsForCall(i int) (context.Context, *pubsub.Message)

func (*FakePubSubProcessor) ProcessCallCount

func (fake *FakePubSubProcessor) ProcessCallCount() int

func (*FakePubSubProcessor) ProcessReturns

func (fake *FakePubSubProcessor) ProcessReturns(result1 bool, result2 error)

func (*FakePubSubProcessor) ProcessReturnsOnCall

func (fake *FakePubSubProcessor) ProcessReturnsOnCall(i int, result1 bool, result2 error)

type FakeTask

type FakeTask struct {
	IDStub func() string

	TypeStub func() string

	PayloadStub func() string
	// contains filtered or unexported fields
}

func (*FakeTask) ID

func (fake *FakeTask) ID() string

func (*FakeTask) IDCallCount

func (fake *FakeTask) IDCallCount() int

func (*FakeTask) IDReturns

func (fake *FakeTask) IDReturns(result1 string)

func (*FakeTask) IDReturnsOnCall

func (fake *FakeTask) IDReturnsOnCall(i int, result1 string)

func (*FakeTask) Invocations

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

func (*FakeTask) Payload

func (fake *FakeTask) Payload() string

func (*FakeTask) PayloadCallCount

func (fake *FakeTask) PayloadCallCount() int

func (*FakeTask) PayloadReturns

func (fake *FakeTask) PayloadReturns(result1 string)

func (*FakeTask) PayloadReturnsOnCall

func (fake *FakeTask) PayloadReturnsOnCall(i int, result1 string)

func (*FakeTask) Type

func (fake *FakeTask) Type() string

func (*FakeTask) TypeCallCount

func (fake *FakeTask) TypeCallCount() int

func (*FakeTask) TypeReturns

func (fake *FakeTask) TypeReturns(result1 string)

func (*FakeTask) TypeReturnsOnCall

func (fake *FakeTask) TypeReturnsOnCall(i int, result1 string)

type FakeTopic

type FakeTopic struct {
	PublishStub func(context.Context, *pubsub.Message) *pubsub.PublishResult
	// contains filtered or unexported fields
}

func (*FakeTopic) Invocations

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

func (*FakeTopic) Publish

func (fake *FakeTopic) Publish(arg1 context.Context, arg2 *pubsub.Message) *pubsub.PublishResult

func (*FakeTopic) PublishArgsForCall

func (fake *FakeTopic) PublishArgsForCall(i int) (context.Context, *pubsub.Message)

func (*FakeTopic) PublishCallCount

func (fake *FakeTopic) PublishCallCount() int

func (*FakeTopic) PublishReturns

func (fake *FakeTopic) PublishReturns(result1 *pubsub.PublishResult)

func (*FakeTopic) PublishReturnsOnCall

func (fake *FakeTopic) PublishReturnsOnCall(i int, result1 *pubsub.PublishResult)

type FakeUUIDGenerator

type FakeUUIDGenerator struct {
	GenerateStub func() string
	// contains filtered or unexported fields
}

func (*FakeUUIDGenerator) Generate

func (fake *FakeUUIDGenerator) Generate() string

func (*FakeUUIDGenerator) GenerateCallCount

func (fake *FakeUUIDGenerator) GenerateCallCount() int

func (*FakeUUIDGenerator) GenerateReturns

func (fake *FakeUUIDGenerator) GenerateReturns(result1 string)

func (*FakeUUIDGenerator) GenerateReturnsOnCall

func (fake *FakeUUIDGenerator) GenerateReturnsOnCall(i int, result1 string)

func (*FakeUUIDGenerator) Invocations

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

Jump to

Keyboard shortcuts

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