package app
import "k8s.io/kubernetes/cmd/kube-proxy/app"
Package app does all of the work necessary to configure and run a Kubernetes app process.
Index ¶
- func NewProxyCommand() *cobra.Command
- type Conntracker
- type ProxyServer
- func NewProxyServer( client *kubeclient.Client, config *options.ProxyServerConfig, iptInterface utiliptables.Interface, proxier proxy.ProxyProvider, broadcaster record.EventBroadcaster, recorder record.EventRecorder, conntracker Conntracker, proxyMode string, ) (*ProxyServer, error)
- func NewProxyServerDefault(config *options.ProxyServerConfig) (*ProxyServer, error)
- func (s *ProxyServer) Run() error
Functions ¶
func NewProxyCommand ¶
NewProxyCommand creates a *cobra.Command object with default parameters
Types ¶
type Conntracker ¶
type ProxyServer ¶
type ProxyServer struct { Client *kubeclient.Client Config *options.ProxyServerConfig IptInterface utiliptables.Interface Proxier proxy.ProxyProvider Broadcaster record.EventBroadcaster Recorder record.EventRecorder Conntracker Conntracker // if nil, ignored ProxyMode string }
func NewProxyServer ¶
func NewProxyServer( client *kubeclient.Client, config *options.ProxyServerConfig, iptInterface utiliptables.Interface, proxier proxy.ProxyProvider, broadcaster record.EventBroadcaster, recorder record.EventRecorder, conntracker Conntracker, proxyMode string, ) (*ProxyServer, error)
func NewProxyServerDefault ¶
func NewProxyServerDefault(config *options.ProxyServerConfig) (*ProxyServer, error)
NewProxyServerDefault creates a new ProxyServer object with default parameters.
func (*ProxyServer) Run ¶
func (s *ProxyServer) Run() error
Run runs the specified ProxyServer. This should never exit (unless CleanupAndExit is set).
Source Files ¶
conntrack.go server.go
Directories ¶
Path | Synopsis |
---|---|
cmd/kube-proxy/app/options | Package options contains flags for initializing a proxy. |
- Version
- v1.3.0-alpha.4
- Published
- May 17, 2016
- Platform
- js/wasm
- Imports
- 32 packages
- Last checked
- 56 seconds ago –
Tools for package owners.