server

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KUBERNIKUS_TUNNELS iptables.Chain = "KUBERNIKUS-TUNNELS"
)

Variables

This section is empty.

Functions

func GetNodeHostIP

func GetNodeHostIP(node *v1.Node) (net.IP, error)

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(informer informers.NodeInformer, serviceCIDR string, tunnel *guttle.Server) *Controller

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{}, wg *sync.WaitGroup)

type Tunnel

type Tunnel struct {
	Server *guttle.Server
}

func NewTunnel

func NewTunnel(options *TunnelOptions) (*Tunnel, error)

func (*Tunnel) Run

func (t *Tunnel) Run(stopCh <-chan struct{}, wg *sync.WaitGroup)

type TunnelOptions

type TunnelOptions struct {
	ClientCA    string
	Certificate string
	PrivateKey  string
}

Jump to

Keyboard shortcuts

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