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.
Index ¶
- type Consumer
- func (fake *Consumer) Consume(arg1 context.Context) error
- func (fake *Consumer) ConsumeArgsForCall(i int) context.Context
- func (fake *Consumer) ConsumeCallCount() int
- func (fake *Consumer) ConsumeCalls(stub func(context.Context) error)
- func (fake *Consumer) ConsumeReturns(result1 error)
- func (fake *Consumer) ConsumeReturnsOnCall(i int, result1 error)
- func (fake *Consumer) Invocations() map[string][][]interface{}
- type MessageHandler
- func (fake *MessageHandler) ConsumeMessage(arg1 context.Context, arg2 *sarama.ConsumerMessage) error
- func (fake *MessageHandler) ConsumeMessageArgsForCall(i int) (context.Context, *sarama.ConsumerMessage)
- func (fake *MessageHandler) ConsumeMessageCallCount() int
- func (fake *MessageHandler) ConsumeMessageCalls(stub func(context.Context, *sarama.ConsumerMessage) error)
- func (fake *MessageHandler) ConsumeMessageReturns(result1 error)
- func (fake *MessageHandler) ConsumeMessageReturnsOnCall(i int, result1 error)
- func (fake *MessageHandler) Invocations() map[string][][]interface{}
- type PersistentMessageHandler
- func (fake *PersistentMessageHandler) ConsumeMessage(arg1 context.Context, arg2 *bolt.Tx, arg3 *sarama.ConsumerMessage) error
- func (fake *PersistentMessageHandler) ConsumeMessageArgsForCall(i int) (context.Context, *bolt.Tx, *sarama.ConsumerMessage)
- func (fake *PersistentMessageHandler) ConsumeMessageCallCount() int
- func (fake *PersistentMessageHandler) ConsumeMessageCalls(stub func(context.Context, *bolt.Tx, *sarama.ConsumerMessage) error)
- func (fake *PersistentMessageHandler) ConsumeMessageReturns(result1 error)
- func (fake *PersistentMessageHandler) ConsumeMessageReturnsOnCall(i int, result1 error)
- func (fake *PersistentMessageHandler) Invocations() map[string][][]interface{}
- type SchemaAvro
- func (fake *SchemaAvro) Invocations() map[string][][]interface{}
- func (fake *SchemaAvro) Schema() string
- func (fake *SchemaAvro) SchemaCallCount() int
- func (fake *SchemaAvro) SchemaCalls(stub func() string)
- func (fake *SchemaAvro) SchemaReturns(result1 string)
- func (fake *SchemaAvro) SchemaReturnsOnCall(i int, result1 string)
- func (fake *SchemaAvro) Serialize(arg1 io.Writer) error
- func (fake *SchemaAvro) SerializeArgsForCall(i int) io.Writer
- func (fake *SchemaAvro) SerializeCallCount() int
- func (fake *SchemaAvro) SerializeCalls(stub func(io.Writer) error)
- func (fake *SchemaAvro) SerializeReturns(result1 error)
- func (fake *SchemaAvro) SerializeReturnsOnCall(i int, result1 error)
- type SchemaAvroEncoderBuilder
- func (fake *SchemaAvroEncoderBuilder) BuildEncoder(arg1 string, arg2 schema.Avro) (sarama.Encoder, error)
- func (fake *SchemaAvroEncoderBuilder) BuildEncoderArgsForCall(i int) (string, schema.Avro)
- func (fake *SchemaAvroEncoderBuilder) BuildEncoderCallCount() int
- func (fake *SchemaAvroEncoderBuilder) BuildEncoderCalls(stub func(string, schema.Avro) (sarama.Encoder, error))
- func (fake *SchemaAvroEncoderBuilder) BuildEncoderReturns(result1 sarama.Encoder, result2 error)
- func (fake *SchemaAvroEncoderBuilder) BuildEncoderReturnsOnCall(i int, result1 sarama.Encoder, result2 error)
- func (fake *SchemaAvroEncoderBuilder) Invocations() map[string][][]interface{}
- type SchemaRegistry
- func (fake *SchemaRegistry) Invocations() map[string][][]interface{}
- func (fake *SchemaRegistry) SchemaId(arg1 string, arg2 string) (uint32, error)
- func (fake *SchemaRegistry) SchemaIdArgsForCall(i int) (string, string)
- func (fake *SchemaRegistry) SchemaIdCallCount() int
- func (fake *SchemaRegistry) SchemaIdCalls(stub func(string, string) (uint32, error))
- func (fake *SchemaRegistry) SchemaIdReturns(result1 uint32, result2 error)
- func (fake *SchemaRegistry) SchemaIdReturnsOnCall(i int, result1 uint32, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { ConsumeStub func(context.Context) error // contains filtered or unexported fields }
func (*Consumer) ConsumeArgsForCall ¶
func (*Consumer) ConsumeCallCount ¶
func (*Consumer) ConsumeCalls ¶
func (*Consumer) ConsumeReturns ¶
func (*Consumer) ConsumeReturnsOnCall ¶
func (*Consumer) Invocations ¶
type MessageHandler ¶
type MessageHandler struct { ConsumeMessageStub func(context.Context, *sarama.ConsumerMessage) error // contains filtered or unexported fields }
func (*MessageHandler) ConsumeMessage ¶
func (fake *MessageHandler) ConsumeMessage(arg1 context.Context, arg2 *sarama.ConsumerMessage) error
func (*MessageHandler) ConsumeMessageArgsForCall ¶
func (fake *MessageHandler) ConsumeMessageArgsForCall(i int) (context.Context, *sarama.ConsumerMessage)
func (*MessageHandler) ConsumeMessageCallCount ¶
func (fake *MessageHandler) ConsumeMessageCallCount() int
func (*MessageHandler) ConsumeMessageCalls ¶
func (fake *MessageHandler) ConsumeMessageCalls(stub func(context.Context, *sarama.ConsumerMessage) error)
func (*MessageHandler) ConsumeMessageReturns ¶
func (fake *MessageHandler) ConsumeMessageReturns(result1 error)
func (*MessageHandler) ConsumeMessageReturnsOnCall ¶
func (fake *MessageHandler) ConsumeMessageReturnsOnCall(i int, result1 error)
func (*MessageHandler) Invocations ¶
func (fake *MessageHandler) Invocations() map[string][][]interface{}
type PersistentMessageHandler ¶
type PersistentMessageHandler struct { ConsumeMessageStub func(context.Context, *bolt.Tx, *sarama.ConsumerMessage) error // contains filtered or unexported fields }
func (*PersistentMessageHandler) ConsumeMessage ¶
func (fake *PersistentMessageHandler) ConsumeMessage(arg1 context.Context, arg2 *bolt.Tx, arg3 *sarama.ConsumerMessage) error
func (*PersistentMessageHandler) ConsumeMessageArgsForCall ¶
func (fake *PersistentMessageHandler) ConsumeMessageArgsForCall(i int) (context.Context, *bolt.Tx, *sarama.ConsumerMessage)
func (*PersistentMessageHandler) ConsumeMessageCallCount ¶
func (fake *PersistentMessageHandler) ConsumeMessageCallCount() int
func (*PersistentMessageHandler) ConsumeMessageCalls ¶
func (fake *PersistentMessageHandler) ConsumeMessageCalls(stub func(context.Context, *bolt.Tx, *sarama.ConsumerMessage) error)
func (*PersistentMessageHandler) ConsumeMessageReturns ¶
func (fake *PersistentMessageHandler) ConsumeMessageReturns(result1 error)
func (*PersistentMessageHandler) ConsumeMessageReturnsOnCall ¶
func (fake *PersistentMessageHandler) ConsumeMessageReturnsOnCall(i int, result1 error)
func (*PersistentMessageHandler) Invocations ¶
func (fake *PersistentMessageHandler) Invocations() map[string][][]interface{}
type SchemaAvro ¶
type SchemaAvro struct { SchemaStub func() string SerializeStub func(io.Writer) error // contains filtered or unexported fields }
func (*SchemaAvro) Invocations ¶
func (fake *SchemaAvro) Invocations() map[string][][]interface{}
func (*SchemaAvro) Schema ¶
func (fake *SchemaAvro) Schema() string
func (*SchemaAvro) SchemaCallCount ¶
func (fake *SchemaAvro) SchemaCallCount() int
func (*SchemaAvro) SchemaCalls ¶
func (fake *SchemaAvro) SchemaCalls(stub func() string)
func (*SchemaAvro) SchemaReturns ¶
func (fake *SchemaAvro) SchemaReturns(result1 string)
func (*SchemaAvro) SchemaReturnsOnCall ¶
func (fake *SchemaAvro) SchemaReturnsOnCall(i int, result1 string)
func (*SchemaAvro) SerializeArgsForCall ¶
func (fake *SchemaAvro) SerializeArgsForCall(i int) io.Writer
func (*SchemaAvro) SerializeCallCount ¶
func (fake *SchemaAvro) SerializeCallCount() int
func (*SchemaAvro) SerializeCalls ¶
func (fake *SchemaAvro) SerializeCalls(stub func(io.Writer) error)
func (*SchemaAvro) SerializeReturns ¶
func (fake *SchemaAvro) SerializeReturns(result1 error)
func (*SchemaAvro) SerializeReturnsOnCall ¶
func (fake *SchemaAvro) SerializeReturnsOnCall(i int, result1 error)
type SchemaAvroEncoderBuilder ¶
type SchemaAvroEncoderBuilder struct { BuildEncoderStub func(string, schema.Avro) (sarama.Encoder, error) // contains filtered or unexported fields }
func (*SchemaAvroEncoderBuilder) BuildEncoder ¶
func (*SchemaAvroEncoderBuilder) BuildEncoderArgsForCall ¶
func (fake *SchemaAvroEncoderBuilder) BuildEncoderArgsForCall(i int) (string, schema.Avro)
func (*SchemaAvroEncoderBuilder) BuildEncoderCallCount ¶
func (fake *SchemaAvroEncoderBuilder) BuildEncoderCallCount() int
func (*SchemaAvroEncoderBuilder) BuildEncoderCalls ¶
func (*SchemaAvroEncoderBuilder) BuildEncoderReturns ¶
func (fake *SchemaAvroEncoderBuilder) BuildEncoderReturns(result1 sarama.Encoder, result2 error)
func (*SchemaAvroEncoderBuilder) BuildEncoderReturnsOnCall ¶
func (fake *SchemaAvroEncoderBuilder) BuildEncoderReturnsOnCall(i int, result1 sarama.Encoder, result2 error)
func (*SchemaAvroEncoderBuilder) Invocations ¶
func (fake *SchemaAvroEncoderBuilder) Invocations() map[string][][]interface{}
type SchemaRegistry ¶
type SchemaRegistry struct { SchemaIdStub func(string, string) (uint32, error) // contains filtered or unexported fields }
func (*SchemaRegistry) Invocations ¶
func (fake *SchemaRegistry) Invocations() map[string][][]interface{}
func (*SchemaRegistry) SchemaId ¶
func (fake *SchemaRegistry) SchemaId(arg1 string, arg2 string) (uint32, error)
func (*SchemaRegistry) SchemaIdArgsForCall ¶
func (fake *SchemaRegistry) SchemaIdArgsForCall(i int) (string, string)
func (*SchemaRegistry) SchemaIdCallCount ¶
func (fake *SchemaRegistry) SchemaIdCallCount() int
func (*SchemaRegistry) SchemaIdCalls ¶
func (fake *SchemaRegistry) SchemaIdCalls(stub func(string, string) (uint32, error))
func (*SchemaRegistry) SchemaIdReturns ¶
func (fake *SchemaRegistry) SchemaIdReturns(result1 uint32, result2 error)
func (*SchemaRegistry) SchemaIdReturnsOnCall ¶
func (fake *SchemaRegistry) SchemaIdReturnsOnCall(i int, result1 uint32, result2 error)
Click to show internal directories.
Click to hide internal directories.