controller

package
v0.23.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldInQueue added in v0.18.0

func ShouldInQueue(pod *corev1.Pod) bool

func StartReconciler added in v0.12.0

func StartReconciler() error

Types

type AppController added in v0.18.0

type AppController struct {
	*k8sclient.K8sClient
}

func NewAppController added in v0.18.0

func NewAppController(client *k8sclient.K8sClient) *AppController

func (*AppController) Reconcile added in v0.18.0

func (a *AppController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*AppController) SetupWithManager added in v0.18.0

func (a *AppController) SetupWithManager(mgr ctrl.Manager) error

type JobController added in v0.20.0

type JobController struct {
	*k8sclient.K8sClient
}

func NewJobController added in v0.20.0

func NewJobController(client *k8sclient.K8sClient) *JobController

func (*JobController) Reconcile added in v0.20.0

func (m *JobController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*JobController) SetupWithManager added in v0.20.0

func (m *JobController) SetupWithManager(mgr ctrl.Manager) error

type MountController added in v0.15.0

type MountController struct {
	*k8sclient.K8sClient
}

func NewMountController added in v0.15.0

func NewMountController(client *k8sclient.K8sClient) *MountController

func (MountController) Reconcile added in v0.15.0

func (m MountController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*MountController) SetupWithManager added in v0.15.0

func (m *MountController) SetupWithManager(mgr ctrl.Manager) error

type PodController added in v0.21.0

type PodController struct {
	*k8sclient.K8sClient
}

func NewPodController added in v0.21.0

func NewPodController(client *k8sclient.K8sClient) *PodController

func (*PodController) Reconcile added in v0.21.0

func (m *PodController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*PodController) SetupWithManager added in v0.21.0

func (m *PodController) SetupWithManager(mgr ctrl.Manager) error

type PodDriver

type PodDriver struct {
	Client *k8sclient.K8sClient

	mount.SafeFormatAndMount
	// contains filtered or unexported fields
}

func NewPodDriver

func NewPodDriver(client *k8sclient.K8sClient, mounter mount.SafeFormatAndMount) *PodDriver

func (*PodDriver) CleanUpCache added in v0.14.1

func (p *PodDriver) CleanUpCache(ctx context.Context, pod *corev1.Pod)

CleanUpCache clean up cache

func (*PodDriver) OverwirteMountPodResourcesWithPVC added in v0.23.4

func (p *PodDriver) OverwirteMountPodResourcesWithPVC(ctx context.Context, pod *corev1.Pod) error

func (*PodDriver) Run

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

func (*PodDriver) SetMountInfo added in v0.17.4

func (p *PodDriver) SetMountInfo(mit mountInfoTable)

type PodReconciler

type PodReconciler struct {
	mount.SafeFormatAndMount
	*k8sclient.K8sClient
}

type PodStatus added in v0.23.1

type PodStatus struct {
	// contains filtered or unexported fields
}

type SecretController added in v0.23.3

type SecretController struct {
	*k8sclient.K8sClient
}

func NewSecretController added in v0.23.3

func NewSecretController(client *k8sclient.K8sClient) *SecretController

func (*SecretController) Reconcile added in v0.23.3

func (m *SecretController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*SecretController) SetupWithManager added in v0.23.3

func (m *SecretController) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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