fake

package
v0.0.0-...-69af3c4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeEventWith

func NewFakeEventWith(args cloud.EventArgs) cloud.Event

NewFakeEventWith creates a new fake event with a given args

Types

type FakeEventArgs

type FakeEventArgs struct {
	DataContentTypeStub func() string

	DataSchemaStub func() string

	ExtensionsStub func() map[string]interface{}

	SourceStub func() string

	SubjectStub func() string

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

func (*FakeEventArgs) DataContentType

func (fake *FakeEventArgs) DataContentType() string

func (*FakeEventArgs) DataContentTypeCallCount

func (fake *FakeEventArgs) DataContentTypeCallCount() int

func (*FakeEventArgs) DataContentTypeCalls

func (fake *FakeEventArgs) DataContentTypeCalls(stub func() string)

func (*FakeEventArgs) DataContentTypeReturns

func (fake *FakeEventArgs) DataContentTypeReturns(result1 string)

func (*FakeEventArgs) DataContentTypeReturnsOnCall

func (fake *FakeEventArgs) DataContentTypeReturnsOnCall(i int, result1 string)

func (*FakeEventArgs) DataSchema

func (fake *FakeEventArgs) DataSchema() string

func (*FakeEventArgs) DataSchemaCallCount

func (fake *FakeEventArgs) DataSchemaCallCount() int

func (*FakeEventArgs) DataSchemaCalls

func (fake *FakeEventArgs) DataSchemaCalls(stub func() string)

func (*FakeEventArgs) DataSchemaReturns

func (fake *FakeEventArgs) DataSchemaReturns(result1 string)

func (*FakeEventArgs) DataSchemaReturnsOnCall

func (fake *FakeEventArgs) DataSchemaReturnsOnCall(i int, result1 string)

func (*FakeEventArgs) Extensions

func (fake *FakeEventArgs) Extensions() map[string]interface{}

func (*FakeEventArgs) ExtensionsCallCount

func (fake *FakeEventArgs) ExtensionsCallCount() int

func (*FakeEventArgs) ExtensionsCalls

func (fake *FakeEventArgs) ExtensionsCalls(stub func() map[string]interface{})

func (*FakeEventArgs) ExtensionsReturns

func (fake *FakeEventArgs) ExtensionsReturns(result1 map[string]interface{})

func (*FakeEventArgs) ExtensionsReturnsOnCall

func (fake *FakeEventArgs) ExtensionsReturnsOnCall(i int, result1 map[string]interface{})

func (*FakeEventArgs) Invocations

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

func (*FakeEventArgs) Source

func (fake *FakeEventArgs) Source() string

func (*FakeEventArgs) SourceCallCount

func (fake *FakeEventArgs) SourceCallCount() int

func (*FakeEventArgs) SourceCalls

func (fake *FakeEventArgs) SourceCalls(stub func() string)

func (*FakeEventArgs) SourceReturns

func (fake *FakeEventArgs) SourceReturns(result1 string)

func (*FakeEventArgs) SourceReturnsOnCall

func (fake *FakeEventArgs) SourceReturnsOnCall(i int, result1 string)

func (*FakeEventArgs) Subject

func (fake *FakeEventArgs) Subject() string

func (*FakeEventArgs) SubjectCallCount

func (fake *FakeEventArgs) SubjectCallCount() int

func (*FakeEventArgs) SubjectCalls

func (fake *FakeEventArgs) SubjectCalls(stub func() string)

func (*FakeEventArgs) SubjectReturns

func (fake *FakeEventArgs) SubjectReturns(result1 string)

func (*FakeEventArgs) SubjectReturnsOnCall

func (fake *FakeEventArgs) SubjectReturnsOnCall(i int, result1 string)

func (*FakeEventArgs) Type

func (fake *FakeEventArgs) Type() string

func (*FakeEventArgs) TypeCallCount

func (fake *FakeEventArgs) TypeCallCount() int

func (*FakeEventArgs) TypeCalls

func (fake *FakeEventArgs) TypeCalls(stub func() string)

func (*FakeEventArgs) TypeReturns

func (fake *FakeEventArgs) TypeReturns(result1 string)

func (*FakeEventArgs) TypeReturnsOnCall

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

type FakeEventArgsConverter

type FakeEventArgsConverter struct {
	DataAsStub func(interface{}) error

	DataContentTypeStub func() string

	DataSchemaStub func() string

	ExtensionsStub func() map[string]interface{}

	SourceStub func() string

	SubjectStub func() string

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

func (*FakeEventArgsConverter) DataAs

func (fake *FakeEventArgsConverter) DataAs(arg1 interface{}) error

func (*FakeEventArgsConverter) DataAsArgsForCall

func (fake *FakeEventArgsConverter) DataAsArgsForCall(i int) interface{}

func (*FakeEventArgsConverter) DataAsCallCount

func (fake *FakeEventArgsConverter) DataAsCallCount() int

func (*FakeEventArgsConverter) DataAsCalls

func (fake *FakeEventArgsConverter) DataAsCalls(stub func(interface{}) error)

func (*FakeEventArgsConverter) DataAsReturns

func (fake *FakeEventArgsConverter) DataAsReturns(result1 error)

func (*FakeEventArgsConverter) DataAsReturnsOnCall

func (fake *FakeEventArgsConverter) DataAsReturnsOnCall(i int, result1 error)

func (*FakeEventArgsConverter) DataContentType

func (fake *FakeEventArgsConverter) DataContentType() string

func (*FakeEventArgsConverter) DataContentTypeCallCount

func (fake *FakeEventArgsConverter) DataContentTypeCallCount() int

func (*FakeEventArgsConverter) DataContentTypeCalls

func (fake *FakeEventArgsConverter) DataContentTypeCalls(stub func() string)

func (*FakeEventArgsConverter) DataContentTypeReturns

func (fake *FakeEventArgsConverter) DataContentTypeReturns(result1 string)

func (*FakeEventArgsConverter) DataContentTypeReturnsOnCall

func (fake *FakeEventArgsConverter) DataContentTypeReturnsOnCall(i int, result1 string)

func (*FakeEventArgsConverter) DataSchema

func (fake *FakeEventArgsConverter) DataSchema() string

func (*FakeEventArgsConverter) DataSchemaCallCount

func (fake *FakeEventArgsConverter) DataSchemaCallCount() int

func (*FakeEventArgsConverter) DataSchemaCalls

func (fake *FakeEventArgsConverter) DataSchemaCalls(stub func() string)

func (*FakeEventArgsConverter) DataSchemaReturns

func (fake *FakeEventArgsConverter) DataSchemaReturns(result1 string)

func (*FakeEventArgsConverter) DataSchemaReturnsOnCall

func (fake *FakeEventArgsConverter) DataSchemaReturnsOnCall(i int, result1 string)

func (*FakeEventArgsConverter) Extensions

func (fake *FakeEventArgsConverter) Extensions() map[string]interface{}

func (*FakeEventArgsConverter) ExtensionsCallCount

func (fake *FakeEventArgsConverter) ExtensionsCallCount() int

func (*FakeEventArgsConverter) ExtensionsCalls

func (fake *FakeEventArgsConverter) ExtensionsCalls(stub func() map[string]interface{})

func (*FakeEventArgsConverter) ExtensionsReturns

func (fake *FakeEventArgsConverter) ExtensionsReturns(result1 map[string]interface{})

func (*FakeEventArgsConverter) ExtensionsReturnsOnCall

func (fake *FakeEventArgsConverter) ExtensionsReturnsOnCall(i int, result1 map[string]interface{})

func (*FakeEventArgsConverter) Invocations

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

func (*FakeEventArgsConverter) Source

func (fake *FakeEventArgsConverter) Source() string

func (*FakeEventArgsConverter) SourceCallCount

func (fake *FakeEventArgsConverter) SourceCallCount() int

func (*FakeEventArgsConverter) SourceCalls

func (fake *FakeEventArgsConverter) SourceCalls(stub func() string)

func (*FakeEventArgsConverter) SourceReturns

func (fake *FakeEventArgsConverter) SourceReturns(result1 string)

func (*FakeEventArgsConverter) SourceReturnsOnCall

func (fake *FakeEventArgsConverter) SourceReturnsOnCall(i int, result1 string)

func (*FakeEventArgsConverter) Subject

func (fake *FakeEventArgsConverter) Subject() string

func (*FakeEventArgsConverter) SubjectCallCount

func (fake *FakeEventArgsConverter) SubjectCallCount() int

func (*FakeEventArgsConverter) SubjectCalls

func (fake *FakeEventArgsConverter) SubjectCalls(stub func() string)

func (*FakeEventArgsConverter) SubjectReturns

func (fake *FakeEventArgsConverter) SubjectReturns(result1 string)

func (*FakeEventArgsConverter) SubjectReturnsOnCall

func (fake *FakeEventArgsConverter) SubjectReturnsOnCall(i int, result1 string)

func (*FakeEventArgsConverter) Type

func (fake *FakeEventArgsConverter) Type() string

func (*FakeEventArgsConverter) TypeCallCount

func (fake *FakeEventArgsConverter) TypeCallCount() int

func (*FakeEventArgsConverter) TypeCalls

func (fake *FakeEventArgsConverter) TypeCalls(stub func() string)

func (*FakeEventArgsConverter) TypeReturns

func (fake *FakeEventArgsConverter) TypeReturns(result1 string)

func (*FakeEventArgsConverter) TypeReturnsOnCall

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

type FakeEventArgsDispatcher

type FakeEventArgsDispatcher struct {
	DispatchStub func(context.Context, cloud.EventArgs) error
	// contains filtered or unexported fields
}

func (*FakeEventArgsDispatcher) Dispatch

func (fake *FakeEventArgsDispatcher) Dispatch(arg1 context.Context, arg2 cloud.EventArgs) error

func (*FakeEventArgsDispatcher) DispatchArgsForCall

func (fake *FakeEventArgsDispatcher) DispatchArgsForCall(i int) (context.Context, cloud.EventArgs)

func (*FakeEventArgsDispatcher) DispatchCallCount

func (fake *FakeEventArgsDispatcher) DispatchCallCount() int

func (*FakeEventArgsDispatcher) DispatchCalls

func (fake *FakeEventArgsDispatcher) DispatchCalls(stub func(context.Context, cloud.EventArgs) error)

func (*FakeEventArgsDispatcher) DispatchReturns

func (fake *FakeEventArgsDispatcher) DispatchReturns(result1 error)

func (*FakeEventArgsDispatcher) DispatchReturnsOnCall

func (fake *FakeEventArgsDispatcher) DispatchReturnsOnCall(i int, result1 error)

func (*FakeEventArgsDispatcher) Invocations

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

type FakeEventSender

type FakeEventSender struct {
	SendStub func(context.Context, event.Event) protocol.Result
	// contains filtered or unexported fields
}

func (*FakeEventSender) Invocations

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

func (*FakeEventSender) Send

func (fake *FakeEventSender) Send(arg1 context.Context, arg2 event.Event) protocol.Result

func (*FakeEventSender) SendArgsForCall

func (fake *FakeEventSender) SendArgsForCall(i int) (context.Context, event.Event)

func (*FakeEventSender) SendCallCount

func (fake *FakeEventSender) SendCallCount() int

func (*FakeEventSender) SendCalls

func (fake *FakeEventSender) SendCalls(stub func(context.Context, event.Event) protocol.Result)

func (*FakeEventSender) SendReturns

func (fake *FakeEventSender) SendReturns(result1 protocol.Result)

func (*FakeEventSender) SendReturnsOnCall

func (fake *FakeEventSender) SendReturnsOnCall(i int, result1 protocol.Result)

Jump to

Keyboard shortcuts

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