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" )
View Source
const ( // ReceiverFinalizer is the finalizer for Receiver resources ReceiverFinalizer = "flux-extension-controller.nrfcloud.com/receiver" // WebhookIDAnnotation stores the GitHub webhook ID WebhookIDAnnotation = "flux-extension-controller.nrfcloud.com/webhook-id" // RepositoryURLAnnotation stores the repository URL RepositoryURLAnnotation = "flux-extension-controller.nrfcloud.com/repository-url" )
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
type ReceiverReconciler ¶ added in v0.3.0
type ReceiverReconciler struct {
client.Client
Scheme *runtime.Scheme
Config *config.Config
// contains filtered or unexported fields
}
ReceiverReconciler reconciles Receiver objects
func (*ReceiverReconciler) Reconcile ¶ added in v0.3.0
Reconcile implements the reconciliation logic for Receiver resources
func (*ReceiverReconciler) SetupWithManager ¶ added in v0.3.0
func (r *ReceiverReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager
Click to show internal directories.
Click to hide internal directories.