pkg

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIDeployment

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

CSIDeployment contains controllers of CSI resources

func NewCSIDeployment

func NewCSIDeployment(clientSet kubernetes.Clientset, client client.Client,
	matcher rbac.Matcher, matchSecurityContextConstraintsPolicies []rbacv1.PolicyRule, matchPodSecurityPolicyTemplate rbacv1.PolicyRule,
	eventRecorder events.EventRecorder, log *logrus.Logger,
) CSIDeployment

NewCSIDeployment creates CSIDeployment

func (*CSIDeployment) ReconcileNodes

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

ReconcileNodes performs node removal procedure

func (*CSIDeployment) Uninstall

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

Uninstall cleans CSI

func (*CSIDeployment) Update

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

Update performs Update functions of contained resources

type Controller

type Controller struct {
	Clientset kubernetes.Interface
	*logrus.Entry
}

Controller controls csi-baremetal-controller

func (*Controller) Update

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

Update updates csi-baremetal-controller or creates if not found

type NodeController

type NodeController struct {
	Clientset kubernetes.Interface
	*logrus.Entry
}

NodeController controls csi-baremetal-node-controller

func (*NodeController) Update

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

Update updates csi-baremetal-node-controller or creates if not found

type SchedulerExtender

type SchedulerExtender struct {
	Clientset kubernetes.Interface
	*logrus.Entry
	PodSecurityPolicyVerifier          securityverifier.SecurityVerifier
	SecurityContextConstraintsVerifier securityverifier.SecurityVerifier
}

SchedulerExtender controls csi-baremetal-se

func (*SchedulerExtender) Update

Update updates csi-baremetal-se or creates if not found

Jump to

Keyboard shortcuts

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