Class: VagrantPlugins::ProxyConf::Config::AptProxy

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

Overview

Proxy configuration for Apt

Defined Under Namespace

Classes: ConfigLine

Instance Attribute Summary collapse

Attributes included from KeyMixin::ClassMethods

#keys, #name

Method Summary

Methods included from KeyMixin::ClassMethods

key

Methods included from KeyMixin

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

Instance Attribute Details

#ftpString

Returns the FTP proxy.

Returns:

  • (String)

    the FTP proxy



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

key :ftp, env_var: 'VAGRANT_APT_FTP_PROXY'

#httpString

Returns the HTTP proxy.

Returns:

  • (String)

    the HTTP proxy



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

key :http, env_var: 'VAGRANT_APT_HTTP_PROXY'

#httpsString

Returns the HTTPS proxy.

Returns:

  • (String)

    the HTTPS proxy



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

key :https, env_var: 'VAGRANT_APT_HTTPS_PROXY'