controller

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodDriver

type PodDriver struct {
	Client k8sclient.K8sClient

	mount.SafeFormatAndMount
	// contains filtered or unexported fields
}

func NewPodDriver

func NewPodDriver(client k8sclient.K8sClient) *PodDriver

func (*PodDriver) Run

func (p *PodDriver) Run(ctx context.Context, current *corev1.Pod) (reconcile.Result, error)

type PodReconciler

type PodReconciler struct {
	k8sclient.K8sClient
}

func (PodReconciler) Reconcile

func (p PodReconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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