Documentation
¶
Index ¶
- func Add(mgr manager.Manager) error
- type CertReconciler
- type ReconcileRegistry
- func (r *ReconcileRegistry) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileRegistry) ReconcileCertMissing(instance *kubicv1beta1.Registry, nodes map[string]*corev1.Node) error
- func (r *ReconcileRegistry) ReconcileCertPresent(registry *kubicv1beta1.Registry, curNodes map[string]*corev1.Node, ...) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertReconciler ¶
type ReconcileRegistry ¶
type ReconcileRegistry struct { client.Client record.EventRecorder // contains filtered or unexported fields }
ReconcileRegistry reconciles a Registry object
func (*ReconcileRegistry) Reconcile ¶
Reconcile reads that state of the cluster for a Registry object and makes changes based on the state read and what is in the Registry.Spec
Automatically generate RBAC rules to allow the Controller to read and write Jobs +kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=kubic.opensuse.org,resources=registries,verbs=get;list;watch;create;update;patch;delete
func (*ReconcileRegistry) ReconcileCertMissing ¶
func (r *ReconcileRegistry) ReconcileCertMissing(instance *kubicv1beta1.Registry, nodes map[string]*corev1.Node) error
reconcileCertMissing removes all the things created by the controller for a Registry Ensure that delete implementation is idempotent and safe to invoke multiple types for same object.
func (*ReconcileRegistry) ReconcileCertPresent ¶
func (r *ReconcileRegistry) ReconcileCertPresent(registry *kubicv1beta1.Registry, curNodes map[string]*corev1.Node, specSecret *corev1.Secret) (reconcile.Result, error)
reconcileCertPresent reconciles the Certificate for this Registry