Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileDNSZone ¶
ReconcileDNSZone reconciles a DNSZone object
func (*ReconcileDNSZone) Reconcile ¶
Reconcile reads that state of the cluster for a DNSZone object and makes changes based on the state read and what is in the DNSZone.Spec Automatically generate RBAC rules to allow the Controller to read and write DNSZones +kubebuilder:rbac:groups=hive.openshift.io,resources=dnszones,verbs=get;list;watch;create;update;patch;delete
type ZoneReconciler ¶
type ZoneReconciler struct {
// contains filtered or unexported fields
}
ZoneReconciler manages getting the desired state, getting the current state and reconciling the two.
func NewZoneReconciler ¶
func NewZoneReconciler( desiredState *hivev1.DNSZone, kubeClient client.Client, logger log.FieldLogger, awsClient awsclient.Client, ) (*ZoneReconciler, error)
NewZoneReconciler creates a new ZoneReconciler object. A new ZoneReconciler is expected to be created for each controller sync.
func (*ZoneReconciler) Reconcile ¶
func (zr *ZoneReconciler) Reconcile() error
Reconcile attempts to make the current state reflect the desired state. It does this idempotently.