Documentation
¶
Index ¶
- Constants
- func New(args runtime.Object, handle framework.Handle) (framework.Plugin, error)
- type Reconciler
- func (r *Reconciler) Evict(ctx context.Context, pod *corev1.Pod, evictOptions framework.EvictOptions) bool
- func (r *Reconciler) Filter(pod *corev1.Pod) bool
- func (r *Reconciler) Name() string
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *Reconciler) Start(ctx context.Context) error
Constants ¶
View Source
const (
Name = names.MigrationController
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
func (*Reconciler) Evict ¶
func (r *Reconciler) Evict(ctx context.Context, pod *corev1.Pod, evictOptions framework.EvictOptions) bool
Evict evicts a pod (no pre-check performed)
func (*Reconciler) Filter ¶
func (r *Reconciler) Filter(pod *corev1.Pod) bool
Filter checks if a pod can be evicted
func (*Reconciler) Name ¶
func (r *Reconciler) Name() string
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a PodMigrationJob object and makes changes based on the state read and what is in the Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments
Click to show internal directories.
Click to hide internal directories.