Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CONTAINER_PORT = "1729" VpnImageName = "linuxserver/wireguard:latest" CONT_PATH_KEY = "kl.container.path" CONT_NAME_KEY = "kl.container.name" CONT_MARK_KEY = "kl.container" CONT_VPN_MARK_KEY = "kl.container.vpn" CONT_WORKSPACE_MARK_KEY = "kl.container.workspace" SSH_PORT_KEY = "kl.container.ssh.port" KLCONFIG_HASH_KEY = "kl.container.klconfig.hash" )
View Source
const (
NO_RUNNING_CONTAINERS = "no container running"
)
Variables ¶
View Source
var NotFoundErr = functions.Error("container not found")
View Source
var UserCanceled = fn.Errorf("user canceled")
Functions ¶
func GenerateConnectionScript ¶ added in v1.1.0
func GenerateConnectionScript(clusterConfig *fileclient.TeamClusterConfig) (string, error)
Types ¶
type BoxClient ¶ added in v1.1.0
type ContainerConfig ¶
type ContainerConfig struct { Name string // contains filtered or unexported fields }
type ProxyConfig ¶ added in v1.1.0
type ProxyConfig struct { // TargetContainerId string TargetContainerPath string ExposedPorts []int }
func (*ProxyConfig) GetHash ¶ added in v1.1.0
func (c *ProxyConfig) GetHash() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.