kubernetes

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodRedirect

type PodRedirect struct {
	BuiltinDNSEnabled     bool
	BuiltinDNSPort        uint32
	ExcludeOutboundPorts  string
	RedirectPortOutbound  uint32
	RedirectInbound       bool
	ExcludeInboundPorts   string
	RedirectPortInbound   uint32
	RedirectPortInboundV6 uint32
	UID                   string
}

func NewPodRedirectForPod

func NewPodRedirectForPod(pod *kube_core.Pod) (*PodRedirect, error)

func (*PodRedirect) AsKumactlCommandLine

func (pr *PodRedirect) AsKumactlCommandLine() []string

func (*PodRedirect) AsTransparentProxyConfig

func (pr *PodRedirect) AsTransparentProxyConfig() *config.TransparentProxyConfig

Jump to

Keyboard shortcuts

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