Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller watches kube-apiserver leases and storageversions, and delete stale storage version entries and objects.

func NewStorageVersionGC

func NewStorageVersionGC(clientset kubernetes.Interface, leaseInformer coordinformers.LeaseInformer, storageVersionInformer apiserverinternalinformers.StorageVersionInformer) *Controller

NewStorageVersionGC creates a new Controller.

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run starts one worker.

Source Files