{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.3","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package options\n\n## Types\n\n```go\ntype PersistentVolumeControllerOptions struct {\n\tPVClaimBinderSyncPeriod time.Duration\n\tVolumeConfigFlags       VolumeConfigFlags\n}\n```\n\n```go\nfunc NewPersistentVolumeControllerOptions() PersistentVolumeControllerOptions\n```\n\n```go\nfunc (o *PersistentVolumeControllerOptions) AddFlags(fs *pflag.FlagSet)\n```\n\n```go\ntype VolumeConfigFlags struct {\n\tPersistentVolumeRecyclerMaximumRetry                int\n\tPersistentVolumeRecyclerMinimumTimeoutNFS           int\n\tPersistentVolumeRecyclerPodTemplateFilePathNFS      string\n\tPersistentVolumeRecyclerIncrementTimeoutNFS         int\n\tPersistentVolumeRecyclerPodTemplateFilePathHostPath string\n\tPersistentVolumeRecyclerMinimumTimeoutHostPath      int\n\tPersistentVolumeRecyclerIncrementTimeoutHostPath    int\n\tEnableHostPathProvisioning                          bool\n\tEnableDynamicProvisioning                           bool\n}\n```\nVolumeConfigFlags 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.\n\n","path":"github.com/stackpointcloud/kubernetes/pkg/controller/persistentvolume/options","name":"options","synopsis":"","isRedistributable":true}
