controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BrokerConfigMapKey    = "bootstrap_servers"
	KafkaChannelSeparator = "."
)
View Source
const (

	// ConfigMapName is the name of the ConfigMap in the knative-eventing namespace that contains
	// the subscription information for all kafka Channels. The Provisioner writes to it and the
	// Dispatcher reads from it.
	DispatcherConfigMapName = "kafka-channel-dispatcher"
)
View Source
const (
	// Name is the name of the kafka ClusterChannelProvisioner.
	Name = "kafka"
)

Variables

This section is empty.

Functions

func ProvideController

func ProvideController(mgr manager.Manager, config *KafkaProvisionerConfig, logger *zap.Logger) (controller.Controller, error)

ProvideController returns a Provisioner controller.

Types

type KafkaProvisionerConfig

type KafkaProvisionerConfig struct {
	Brokers []string
}

func GetProvisionerConfig added in v0.2.1

func GetProvisionerConfig(path string) (*KafkaProvisionerConfig, error)

GetProvisionerConfig returns the details of the associated ClusterChannelProvisioner object

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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