kubernetesk8s.io/kubernetes/pkg/controller/volume/vacprotection Index | Files

package vacprotection

import "k8s.io/kubernetes/pkg/controller/volume/vacprotection"

Index

Types

type Controller

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

func NewVACProtectionController

func NewVACProtectionController(logger klog.Logger,
	client clientset.Interface,
	pvcInformer coreinformers.PersistentVolumeClaimInformer,
	pvInformer coreinformers.PersistentVolumeInformer,
	vacInformer storageinformers.VolumeAttributesClassInformer) (*Controller, error)

NewVACProtectionController returns a new *Controller.

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, workers int)

Run runs the controller goroutines.

Source Files

vac_protection_controller.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
21 packages
Last checked
5 hours ago

Tools for package owners.