Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumeControllerOptions ¶
type PersistentVolumeControllerOptions struct { PVClaimBinderSyncPeriod time.Duration VolumeConfigFlags VolumeConfigFlags }
func NewPersistentVolumeControllerOptions ¶
func NewPersistentVolumeControllerOptions() PersistentVolumeControllerOptions
func (*PersistentVolumeControllerOptions) AddFlags ¶
func (o *PersistentVolumeControllerOptions) AddFlags(fs *pflag.FlagSet)
type VolumeConfigFlags ¶
type VolumeConfigFlags struct { PersistentVolumeRecyclerMaximumRetry int PersistentVolumeRecyclerMinimumTimeoutNFS int PersistentVolumeRecyclerPodTemplateFilePathNFS string PersistentVolumeRecyclerIncrementTimeoutNFS int PersistentVolumeRecyclerPodTemplateFilePathHostPath string PersistentVolumeRecyclerMinimumTimeoutHostPath int PersistentVolumeRecyclerIncrementTimeoutHostPath int EnableHostPathProvisioning bool }
VolumeConfigFlags is used to bind CLI flags to variables. This top-level struct contains *all* enumerated CLI flags meant to configure all volume plugins. From this config, the binary will create many instances of volume.VolumeConfig which are then passed to the appropriate plugin. The ControllerManager binary is the only part of the code which knows what plugins are supported and which CLI flags correspond to each plugin.
Click to show internal directories.
Click to hide internal directories.