Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shadow ¶
type Shadow struct {
Options *options.DaemonOptions
}
Shadow shadow
func (*Shadow) Inbound ¶
func (s *Shadow) Inbound(exposePort, podName, remoteIP string, credential *util.SSHCredential) (err error)
Inbound mapping local port from cluster
func (*Shadow) Outbound ¶
func (s *Shadow) Outbound(name, podIP string, credential *util.SSHCredential, cidrs []string, cli exec.CliInterface) (err error)
Outbound start vpn connection
type ShadowInterface ¶
type ShadowInterface interface { Inbound(exposePort, podName, remoteIP string, credential *util.SSHCredential) (err error) Outbound(name, podIP string, credential *util.SSHCredential, cidrs []string, exec exec.CliInterface) (err error) }
ShadowInterface shadow interface
Click to show internal directories.
Click to hide internal directories.