Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The resource is ready or not ResourceReadyReason = "ResourceReady" // The resource is deleted ResourceDeleteReason = "ResourceDeleted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributionReconciler ¶
distributionReconciler reconciles a distribution object
func NewReconciler ¶
func NewReconciler(mgr manager.Manager) *DistributionReconciler
NewReconciler 返回一个新的 reconcile
func (*DistributionReconciler) Reconcile ¶
func (r *DistributionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DistributionReconciler) SetupWithManager ¶
func (r *DistributionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.