Documentation ¶
Index ¶
- Constants
- type UthoDNSReconciler
- func (r *UthoDNSReconciler) CreateDnsRecord(ctx context.Context, record *appsv1alpha1.Record, dns *appsv1alpha1.UthoDNS, ...) error
- func (r *UthoDNSReconciler) CreateDnsRecords(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
- func (r *UthoDNSReconciler) CreateDomain(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
- func (r *UthoDNSReconciler) CreateExternalResources(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
- func (r *UthoDNSReconciler) DNSRecordsOnwards(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
- func (r *UthoDNSReconciler) DeleteDNSRecord(ctx context.Context, domain, id string, l *logr.Logger) error
- func (r *UthoDNSReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *UthoDNSReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *UthoDNSReconciler) UpdateDNSRecords(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
Constants ¶
View Source
const ( DomainDeletionNotFound string = "Sorry we unable to find this dns or you dont have access!" InvalidIPAddress string = "Invalid IP Address" InvalidDomain string = "Invalid Domain Name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UthoDNSReconciler ¶
type UthoDNSReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
UthoDNSReconciler reconciles a UthoDNS object
func (*UthoDNSReconciler) CreateDnsRecord ¶
func (r *UthoDNSReconciler) CreateDnsRecord(ctx context.Context, record *appsv1alpha1.Record, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
func (*UthoDNSReconciler) CreateDnsRecords ¶
func (r *UthoDNSReconciler) CreateDnsRecords(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
func (*UthoDNSReconciler) CreateDomain ¶
func (r *UthoDNSReconciler) CreateDomain(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
func (*UthoDNSReconciler) CreateExternalResources ¶
func (r *UthoDNSReconciler) CreateExternalResources(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
func (*UthoDNSReconciler) DNSRecordsOnwards ¶
func (r *UthoDNSReconciler) DNSRecordsOnwards(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
func (*UthoDNSReconciler) DeleteDNSRecord ¶
func (*UthoDNSReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the UthoDNS object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile
func (*UthoDNSReconciler) SetupWithManager ¶
func (r *UthoDNSReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*UthoDNSReconciler) UpdateDNSRecords ¶
func (r *UthoDNSReconciler) UpdateDNSRecords(ctx context.Context, dns *appsv1alpha1.UthoDNS, l *logr.Logger) error
Click to show internal directories.
Click to hide internal directories.