Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDistributionController ¶
SetupWithManager sets up the controller with the Manager.
Types ¶
type DistributionReconciler ¶
type DistributionReconciler struct { resolver.DistributionClassReader // Used to load the required certificate for the distribution's TLS // settings CertificateResolver resolver.CertificateResolver // List of providers supported Providers []provider.CDNProvider // The generic Logger interface for the reconciller Logger logr.Logger // contains filtered or unexported fields }
func (*DistributionReconciler) Reconcile ¶
func (r *DistributionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Main function called when a reconciliation is required
This method's primary job is loading up the resources in question (the Distribution and associated DistributionClass or ClusterDistributionClass), and then kicking off either a reconciliation job or a deletion job.
Click to show internal directories.
Click to hide internal directories.