Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SHELL_LIST = [...]string{
"/bin/bash",
"/bin/ash",
"/bin/sh",
}
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type BackendConfig struct { Type string // docker or kubectl (for now) Docker DockerConfig Kube KubeConfig GRPC GRPCConfig }
type Config ¶
type Config struct { Debug bool Backend BackendConfig Server ServerConfig }
type ControlConfig ¶ added in v0.1.4
type DockerConfig ¶
type GRPCConfig ¶ added in v0.1.6
type KubeConfig ¶ added in v0.1.4
type KubeConfig struct {
ConfigPath string // normally is $HOME/.kube/config
}
type ServerConfig ¶ added in v0.1.6
type ServerConfig struct { Address string Port int GrpcPort int IdleTime time.Duration Credential string EnableReconnect bool ReconnectTime int MaxConnection int WSOrigin string Term string `default:"xterm"` ShowLocation bool Collaborate bool // audit EnableAudit bool AuditLogDir string `default:"log"` Control ControlConfig }
Click to show internal directories.
Click to hide internal directories.