network

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const VpnKitLabel = "org.cloudfoundry.cfdev.vpnkit"

Variables

This section is empty.

Functions

func IsCFDevDInstalled

func IsCFDevDInstalled(sockPath string, binPath string, expectedMD5 string) bool

Types

type CFDevD

type CFDevD struct {
	ExecutablePath string
	TimeSyncSocket string
}

func (*CFDevD) Install

func (c *CFDevD) Install() error

type CfdevdClient

type CfdevdClient interface {
	Uninstall() (string, error)
	AddIPAlias() (string, error)
	RemoveIPAlias() (string, error)
}

type DaemonRunner

type DaemonRunner interface {
	AddDaemon(daemon.DaemonSpec) error
	RemoveDaemon(string) error
	Start(string) error
	Stop(string) error
	IsRunning(string) (bool, error)
}

type HostNet

type HostNet struct {
	CfdevdClient CfdevdClient
	Powershell   runner.Powershell
	VMSwitchName string
}

type VpnKit

type VpnKit struct {
	Config        config.Config
	DaemonRunner  DaemonRunner
	Powershell    runner.Powershell
	Label         string
	EthernetGUID  string
	PortGUID      string
	ForwarderGUID string
}

func (*VpnKit) Stop

func (v *VpnKit) Stop() error

func (*VpnKit) Watch

func (v *VpnKit) Watch(exit chan string)

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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