client

package
v0.0.0-...-a803e64 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeKafkaSourceClient

func NewFakeKafkaSourceClient(ns string) types.KafkaSourceClient

NewFakeKafkaSourceClient is to create a fake KafkaSourceClient to test

func NewFakeKafkaSourceParams

func NewFakeKafkaSourceParams() *types.KafkaSourceParams

NewFakeKafkaSourceParams is to create a fake KafkaSourceParams to test

func NewKafkaSourceClient

func NewKafkaSourceClient(kafkaParams *types.KafkaSourceParams, restConfig *rest.Config, ns string) (types.KafkaSourceClient, error)

NewKafkaSourceClient is to create a KafkaSourceClient

Types

type KafkaSourceBuilder

type KafkaSourceBuilder struct {
	// contains filtered or unexported fields
}

KafkaSourceBuilder is for building the source

func NewKafkaSourceBuilder

func NewKafkaSourceBuilder(name string) *KafkaSourceBuilder

NewKafkaSourceBuilder for building ApiServer source object

func NewKafkaSourceBuilderFromExisting

func NewKafkaSourceBuilderFromExisting(kSource *v1alpha1.KafkaSource) *KafkaSourceBuilder

NewKafkaSourceBuilderFromExisting for building the object from existing KafkaSource object

func (*KafkaSourceBuilder) BootstrapServers

func (b *KafkaSourceBuilder) BootstrapServers(server string) *KafkaSourceBuilder

BootstrapServers to set the value of BootstrapServers

func (*KafkaSourceBuilder) Build

Build the KafkaSource object

func (*KafkaSourceBuilder) ConsumerGroup

func (b *KafkaSourceBuilder) ConsumerGroup(consumerGroup string) *KafkaSourceBuilder

ConsumerGroup to set the value of ConsumerGroup

func (*KafkaSourceBuilder) Sink

Sink or destination of the source

func (*KafkaSourceBuilder) Topics

func (b *KafkaSourceBuilder) Topics(topics string) *KafkaSourceBuilder

Topics to set the value of Topics

Jump to

Keyboard shortcuts

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