Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Annotation on ConfigMaps in flux-system to indicate they should be synced SyncConfigMapAnnotation = "flux-extension.nrfcloud.com/sync-configmap" // Annotation on Namespaces to indicate they want to receive synced ConfigMaps SyncTargetAnnotation = "flux-extension.nrfcloud.com/sync-target" // Annotation to track the source of synced ConfigMaps SyncSourceAnnotation = "flux-extension.nrfcloud.com/sync-source" // The source namespace for ConfigMaps FluxSystemNamespace = "flux-system" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapReconciler ¶ added in v0.1.0
type ConfigMapReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
ConfigMapReconciler reconciles ConfigMap objects in flux-system namespace
func (*ConfigMapReconciler) SetupWithManager ¶ added in v0.1.0
func (r *ConfigMapReconciler) SetupWithManager(mgr ctrl.Manager) error
type GitRepositoryReconciler ¶
type GitRepositoryReconciler struct {
client.Client
Scheme *runtime.Scheme
Config *config.Config
// contains filtered or unexported fields
}
GitRepositoryReconciler reconciles GitRepository objects
func (*GitRepositoryReconciler) Reconcile ¶
func (r *GitRepositoryReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile implements the reconciliation logic for GitRepository resources
func (*GitRepositoryReconciler) SetupWithManager ¶
func (r *GitRepositoryReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager
type NamespaceReconciler ¶ added in v0.1.0
type NamespaceReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
NamespaceReconciler reconciles Namespace objects for ConfigMap syncing
func (*NamespaceReconciler) SetupWithManager ¶ added in v0.1.0
func (r *NamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.