connect

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shadow added in v0.0.12

type Shadow struct {
	Options *options.DaemonOptions
}

Shadow shadow

func Create added in v0.0.12

func Create(options *options.DaemonOptions) (shadow Shadow)

Create create shadow

func (*Shadow) Inbound added in v0.0.12

func (s *Shadow) Inbound(exposePort, podName, remoteIP string) (err error)

Inbound mapping local port from cluster

func (*Shadow) Outbound added in v0.0.12

func (s *Shadow) Outbound(name, podIP string, cidrs []string) (err error)

Outbound start vpn connection

type ShadowInterface added in v0.0.12

type ShadowInterface interface {
	Inbound(exposePort, podName, remoteIP string) (err error)
	Outbound(name, podIP string, cidrs []string) (err error)
}

ShadowInterface shadow interface

Jump to

Keyboard shortcuts

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