Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegistryPath ¶ added in v1.5.0
func RegistryPath() string
RegistryPath returns the path to the runnel registry file
Types ¶
type ID ¶
type ID struct { // Route is the key Route *Route // the rest is metadata MachineName string Pid int }
ID represents a registry ID
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager can create, start and cleanup a tunnel It keeps track of created tunnels for multiple vms so that it can cleanup after unclean shutdowns.
func (*Manager) CleanupNotRunningTunnels ¶
CleanupNotRunningTunnels cleans up tunnels that are not running
func (*Manager) StartTunnel ¶
func (mgr *Manager) StartTunnel(ctx context.Context, machineName string, machineAPI libmachine.API, configLoader config.Loader, v1Core typed_core.CoreV1Interface) (done chan bool, err error)
StartTunnel starts the tunnel
type Patch ¶
type Patch struct { Type types.PatchType NameSpace string NameSpaceSet bool Resource string Subresource string ResourceName string BodyContent string }
Patch represents a patch
Click to show internal directories.
Click to hide internal directories.