controllers

package
v0.0.0-...-9421b25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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) Reconcile

func (*PodDisruptionBudgetTraitReconciler) SetupWithManager

func (r *PodDisruptionBudgetTraitReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL