Documentation ¶
Index ¶
- func SetAlertManagerWithManager(mgr manager.Manager) error
- func SetNewKafkaFromCluster(...)
- func SetupCruiseControlWithManager(mgr ctrl.Manager) *ctrl.Builder
- func SetupKafkaClusterWithManager(mgr ctrl.Manager, log logr.Logger) *ctrl.Builder
- func SetupKafkaTopicWithManager(mgr ctrl.Manager) error
- func SetupKafkaUserWithManager(mgr ctrl.Manager, certManagerNamespace bool) error
- type AController
- type CruiseControlTaskReconciler
- type KafkaClusterReconciler
- type KafkaTopicReconciler
- type KafkaUserReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAlertManagerWithManager ¶
SetAlertManagerWithManager creates a new Alertmanager Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func SetNewKafkaFromCluster ¶ added in v0.15.0
func SetNewKafkaFromCluster(f func(k8sclient client.Client, cluster *v1beta1.KafkaCluster) (kafkaclient.KafkaClient, error))
func SetupCruiseControlWithManager ¶
SetupCruiseControlWithManager registers cruise control controller to the manager
func SetupKafkaClusterWithManager ¶
SetupKafkaClusterWithManager registers kafka cluster controller to the manager
func SetupKafkaTopicWithManager ¶
SetupKafkaTopicWithManager registers kafka topic controller with manager
Types ¶
type AController ¶
AController implements Runnable
func (AController) Start ¶
func (c AController) Start(<-chan struct{}) error
Start initiates the alertmanager controller
type CruiseControlTaskReconciler ¶
CruiseControlTaskReconciler reconciles a kafka cluster object
type KafkaClusterReconciler ¶
type KafkaClusterReconciler struct { client.Client DirectClient client.Reader Log logr.Logger Scheme *runtime.Scheme Namespaces []string KafkaClientProvider kafkaclient.Provider }
KafkaClusterReconciler reconciles a KafkaCluster object
type KafkaTopicReconciler ¶
type KafkaTopicReconciler struct { // This client, initialized using mgr.Client() above, is a split client // that reads objects from the cache and writes to the apiserver Client client.Client Scheme *runtime.Scheme Log logr.Logger }
KafkaTopicReconciler reconciles a KafkaTopic object
type KafkaUserReconciler ¶
type KafkaUserReconciler struct { // This client, initialized using mgr.Client() above, is a split client // that reads objects from the cache and writes to the apiserver Client client.Client Scheme *runtime.Scheme Log logr.Logger }
KafkaUserReconciler reconciles a KafkaUser object