kubernetes: k8s.io/kubernetes/pkg/controller/volume/persistentvolume/options Index | Files

package options

import "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/options"

Index

Package Files

options.go

type PersistentVolumeControllerOptions Uses

type PersistentVolumeControllerOptions struct {
    PVClaimBinderSyncPeriod time.Duration
    VolumeConfigFlags       VolumeConfigFlags
}

func NewPersistentVolumeControllerOptions Uses

func NewPersistentVolumeControllerOptions() PersistentVolumeControllerOptions

func (*PersistentVolumeControllerOptions) AddFlags Uses

func (o *PersistentVolumeControllerOptions) AddFlags(fs *pflag.FlagSet)

type VolumeConfigFlags Uses

type VolumeConfigFlags struct {
    PersistentVolumeRecyclerMaximumRetry                int
    PersistentVolumeRecyclerMinimumTimeoutNFS           int
    PersistentVolumeRecyclerPodTemplateFilePathNFS      string
    PersistentVolumeRecyclerIncrementTimeoutNFS         int
    PersistentVolumeRecyclerPodTemplateFilePathHostPath string
    PersistentVolumeRecyclerMinimumTimeoutHostPath      int
    PersistentVolumeRecyclerIncrementTimeoutHostPath    int
    EnableHostPathProvisioning                          bool
    EnableDynamicProvisioning                           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.

Package options imports 2 packages (graph). Updated 2017-10-23. Refresh now. Tools for package owners.