migration

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func New

func New(args runtime.Object, handle framework.Handle) (framework.Plugin, error)

Types

type Reconciler

type Reconciler struct {
	client.Client
	// contains filtered or unexported fields
}

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

func (*Reconciler) Start

func (r *Reconciler) Start(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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