vpn

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildSA

type ChildSA struct {
	LocalTS      []string `vici:"local_ts"`
	RemoteTS     []string `vici:"remote_ts"`
	ESPProposals []string `vici:"esp_proposals"`
	StartAction  string   `vici:"start_action"`
	//RekeyTime    int      `vici:"rekey_time"`
	SetMarkOut string `vici:"set_mark_out"`
}

type Connection

type Connection struct {
	Name string

	LocalAddrs  []string            `vici:"local_addrs"`
	RemoteAddrs []string            `vici:"remote_addrs"`
	Local       *LocalAuth          `vici:"local"`
	Remote      *RemoteAuth         `vici:"remote"`
	Children    map[string]*ChildSA `vici:"children"`
	Version     int                 `vici:"version"`
	Proposals   []string            `vici:"proposals"`
	Keyingtries int                 `vici:"keyingtries"`
	Encap       string              `vici:"encap"`
}

type LocalAuth

type LocalAuth struct {
	Auth string `vici:"auth"`
	ID   string `vici:"id"`
}

type RemoteAuth

type RemoteAuth struct {
	Auth string `vici:"auth"`
	ID   string `vici:"id"`
}

type Secret

type Secret struct {
	ID     string   `vici:"id"`
	Type   string   `vici:"type"`
	Data   string   `vici:"data"`
	Owners []string `vici:"owners"`
}

type VPNController

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

func NewVPNController

func NewVPNController(
	kubeClientset kubernetes.Interface,
	customClientset clientset.Interface,
	vpnInformer informers.VPNInformer,
	iptablesController *iptablescontroller.Iptablescontroller,
	forwardMark uint32) *VPNController

func (*VPNController) Run

func (v *VPNController) Run(workers int, stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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