Documentation ¶
Index ¶
- Constants
- type PodDisruptionBudgetTraitReconciler
- func (r *PodDisruptionBudgetTraitReconciler) PodDisruptionBudgetInjector(ctx context.Context, trait oam.Trait, obj oam.Object) (*v1beta1.PodDisruptionBudget, error)
- func (r *PodDisruptionBudgetTraitReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *PodDisruptionBudgetTraitReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const (
LabelKey = "poddisruptionbudgettrait.oam.crossplane.io"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodDisruptionBudgetTraitReconciler ¶
type PodDisruptionBudgetTraitReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
PodDisruptionBudgetTraitReconciler reconciles a PodDisruptionBudgetTrait object
func (*PodDisruptionBudgetTraitReconciler) PodDisruptionBudgetInjector ¶
func (r *PodDisruptionBudgetTraitReconciler) PodDisruptionBudgetInjector(ctx context.Context, trait oam.Trait, obj oam.Object) (*v1beta1.PodDisruptionBudget, error)
PodDisruptionBudgetInjector adds a PodDisruptionBudget object for the resources observed in a workload translation.
func (*PodDisruptionBudgetTraitReconciler) SetupWithManager ¶
func (r *PodDisruptionBudgetTraitReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.