Documentation ¶
Index ¶
- type CSIDeployment
- func (c *CSIDeployment) ReconcileNodes(ctx context.Context, csi *csibaremetalv1.Deployment) error
- func (c *CSIDeployment) Uninstall(ctx context.Context, csi *csibaremetalv1.Deployment) error
- func (c *CSIDeployment) Update(ctx context.Context, csi *csibaremetalv1.Deployment, scheme *runtime.Scheme) error
- type Controller
- type NodeController
- type SchedulerExtender
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 ¶
func (n *SchedulerExtender) Update(ctx context.Context, csi *csibaremetalv1.Deployment, scheme *runtime.Scheme) error
Update updates csi-baremetal-se or creates if not found
Source Files ¶
Click to show internal directories.
Click to hide internal directories.