Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvVarLocalDomain = "LOCAL_DOMAIN" ControlBy = "control-by" KubernetesTool = "kt" ComponentConnect = "connect" ComponentExchange = "exchange" ComponentMesh = "mesh" ComponentProvide = "provide" ConnectMethodVpn = "vpn" ConnectMethodSocks = "socks" ConnectMethodSocks5 = "socks5" KTVersion = "kt-version" // Label used for fetch shadow mark in UI KTComponent = "kt-component" // Label used for distinguish shadow type KTRemoteAddress = "kt-remote-address" // Label used for fetch pod IP in UI KTName = "kt-name" // Label used for wait shadow pod ready KTConfig = "kt-config" // Annotation used for clean up context KTLastHeartBeat = "kt-last-heart-beat" YyyyMmDdHhMmSs = "2006-01-02 15:04:05" SshPort = 22 Socks4Port = 1080 )
Variables ¶
This section is empty.
Functions ¶
func IsCommandExecError ¶
IsCommandExecError check the error type
Types ¶
type CommandExecError ¶
type CommandExecError struct {
Reason string
}
CommandExecError ...
func (CommandExecError) Error ¶
func (e CommandExecError) Error() string
Click to show internal directories.
Click to hide internal directories.