1 # @summary Adds per-host overrides to the system default APT proxy configuration
4 # Specifies the scope of the override. Valid options: a string containing a hostname.
7 # Specifies a proxy host to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: a string containing a hostname.
10 # Specifies a proxy port to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: an integer containing a port number.
13 # Specifies whether to enable https for this override.
16 # Specifies whether or not to use a `DIRECT` target to bypass the system default proxy.
18 type Apt::Proxy_Per_Host = Struct[
21 host => Optional[String],
22 port => Optional[Integer[1, 65535]],
23 https => Optional[Boolean],
24 direct => Optional[Boolean],