pkg

package
v0.3.0-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPatcherConfiguration

func NewPatcherConfiguration(csi *csibaremetalv1.Deployment) (patcherConfiguration, error)

Types

type CSIDeployment

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

func NewCSIDeployment

func NewCSIDeployment(clientSet kubernetes.Clientset, client client.Client, log logr.Logger) CSIDeployment

func (*CSIDeployment) CleanLabels

func (c *CSIDeployment) CleanLabels(ctx context.Context) error

func (*CSIDeployment) ReconcileNodes

func (c *CSIDeployment) ReconcileNodes(ctx context.Context, csi *csibaremetalv1.Deployment) error

func (*CSIDeployment) UninstallPatcher

func (c *CSIDeployment) UninstallPatcher(ctx context.Context, csi csibaremetalv1.Deployment) error

func (*CSIDeployment) Update

func (c *CSIDeployment) Update(ctx context.Context, csi *csibaremetalv1.Deployment, scheme *runtime.Scheme) error

type Controller

type Controller struct {
	kubernetes.Clientset
	logr.Logger
}

func (*Controller) Update

func (c *Controller) Update(ctx context.Context, csi *csibaremetalv1.Deployment, scheme *runtime.Scheme) error

type NodeController

type NodeController struct {
	kubernetes.Clientset
	logr.Logger
}

func (*NodeController) Update

func (nc *NodeController) Update(ctx context.Context, csi *csibaremetalv1.Deployment, scheme *runtime.Scheme) error

type SchedulerExtender

type SchedulerExtender struct {
	kubernetes.Clientset
	logr.Logger
}

func (*SchedulerExtender) Update

type SchedulerPatcher

type SchedulerPatcher struct {
	kubernetes.Clientset
	logr.Logger
	Client client.Client
}

func (*SchedulerPatcher) PatchOpenShift

func (p *SchedulerPatcher) PatchOpenShift(ctx context.Context, csi *csibaremetalv1.Deployment) error

func (*SchedulerPatcher) UnPatchOpenShift

func (p *SchedulerPatcher) UnPatchOpenShift(ctx context.Context) error

func (*SchedulerPatcher) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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