Documentation

Overview

Package ephemeral implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes

It was derived from the expand controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Run(workers int, stopCh <-chan struct{})
}

Controller creates PVCs for ephemeral inline volumes in a pod spec.

func NewController

func NewController(
	kubeClient clientset.Interface,
	podInformer coreinformers.PodInformer,
	pvcInformer coreinformers.PersistentVolumeClaimInformer) (Controller, error)

NewController creates an ephemeral volume controller.