Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileDNSZone ¶
ReconcileDNSZone reconciles a DNSZone object
func NewReconcileDNSZone ¶
func NewReconcileDNSZone(client client.Client, scheme *runtime.Scheme, logger log.FieldLogger, awsClientBuilder func(kClient client.Client, secretName, namespace, region string) (awsclient.Client, error)) *ReconcileDNSZone
NewReconcileDNSZone creates a new reconciler for testing purposes
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
func (*ReconcileDNSZone) SetAWSClientBuilder ¶
func (r *ReconcileDNSZone) SetAWSClientBuilder(awsClientBuilder func(kClient client.Client, secretName, namespace, region string) (awsclient.Client, error))
SetAWSClientBuilder sets the AWS client builder for testing purposes
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( dnsZone *hivev1.DNSZone, kubeClient client.Client, logger log.FieldLogger, awsClient awsclient.Client, scheme *runtime.Scheme, ) (*ZoneReconciler, error)
NewZoneReconciler creates a new ZoneReconciler object. A new ZoneReconciler is expected to be created for each controller sync.
Click to show internal directories.
Click to hide internal directories.