Documentation ¶
Overview ¶
Package apiserversource implements the ApiSource controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCfgHost ¶ added in v0.7.0
GetCfgHost extracts the k8s rest config host from the context.
func NewController ¶
NewController initializes the controller and is called by the generated code Registers event handlers to enqueue events
Types ¶
type HostKey ¶ added in v0.7.0
type HostKey struct{}
HostKey is used as the key for associating information with a context.Context.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles a ApiServerSource object
func (*Reconciler) ReconcileKind ¶ added in v0.13.0
func (r *Reconciler) ReconcileKind(ctx context.Context, source *v1alpha2.ApiServerSource) pkgreconciler.Event
func (*Reconciler) UpdateFromLoggingConfigMap ¶ added in v0.9.0
func (r *Reconciler) UpdateFromLoggingConfigMap(cfg *corev1.ConfigMap)
TODO determine how to push the updated logging config to existing data plane Pods.
func (*Reconciler) UpdateFromMetricsConfigMap ¶ added in v0.9.0
func (r *Reconciler) UpdateFromMetricsConfigMap(cfg *corev1.ConfigMap)
TODO determine how to push the updated metrics config to existing data plane Pods.
Click to show internal directories.
Click to hide internal directories.