Class: VagrantPlugins::ProxyConf::Config::Proxy

Inherits:
Vagrant::Plugin::V2::Config
  • Object
show all
Extended by:
KeyMixin::ClassMethods
Includes:
KeyMixin
Defined in:
lib/vagrant-proxyconf/config/proxy.rb,
lib/vagrant-proxyconf/config/proxy.rb

Overview

Default configuration for all proxy Config classes

Instance Attribute Summary collapse

Attributes included from KeyMixin::ClassMethods

#keys, #name

Method Summary

Methods included from KeyMixin::ClassMethods

key

Methods included from KeyMixin

#config_for, #enabled?, #finalize!, #get, included, #initialize, #key?, #keys, #merge_defaults, #set, #set?, #to_s

Instance Attribute Details

#enabledObject

Defines the mode of the plugin



15
# File 'lib/vagrant-proxyconf/config/proxy.rb', line 15

key :enabled, env_var: 'VAGRANT_PROXY'

#ftpString

Returns the FTP proxy.

Returns:

  • (String)

    the FTP proxy



24
# File 'lib/vagrant-proxyconf/config/proxy.rb', line 24

key :ftp, env_var: 'VAGRANT_FTP_PROXY'

#httpString

Returns the HTTP proxy.

Returns:

  • (String)

    the HTTP proxy



18
# File 'lib/vagrant-proxyconf/config/proxy.rb', line 18

key :http, env_var: 'VAGRANT_HTTP_PROXY'

#httpsString

Returns the HTTPS proxy.

Returns:

  • (String)

    the HTTPS proxy



21
# File 'lib/vagrant-proxyconf/config/proxy.rb', line 21

key :https, env_var: 'VAGRANT_HTTPS_PROXY'

#no_proxyString

Returns a comma separated list of hosts or domains which do not use proxies.

Returns:

  • (String)

    a comma separated list of hosts or domains which do not use proxies



27
# File 'lib/vagrant-proxyconf/config/proxy.rb', line 27

key :no_proxy, env_var: 'VAGRANT_NO_PROXY'