proxy

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnvVars = []string{"HTTP_PROXY", "HTTPS_PROXY", "NO_PROXY"}

EnvVars are variables we plumb through to the underlying container runtime

Functions

func ExcludeIP

func ExcludeIP(ip string) error

ExcludeIP will exclude the ip from the http(s)_proxy

func IsIPExcluded

func IsIPExcluded(ip string) bool

IsIPExcluded checks if an IP is excluded from http(s)_proxy

func UpdateTransport

func UpdateTransport(cfg *rest.Config) *rest.Config

UpdateTransport takes a k8s client *rest.config and returns a config without a proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL