Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { // common ID, Name string Image, Command string State, Status string // "running" "Up 13 minutes" IPs []string Shell string // k8s PodName, ContainerName string Namespace, RunningNode string // remote location server address // use this to locate the container // in the proxy mode LocServer string // exec commands in arguments // permit user to execute any command // in that container ExecCMD string }
Container instance
type ContainerActionMessage ¶ added in v0.1.4
type ContainerActionMessage struct { Error string `json:"err"` Code int `json:"code"` Message string `json:"msg"` }
ContainerActionMessage tells the web browser the action's status
type Containers ¶ added in v0.1.5
type Containers struct {
// contains filtered or unexported fields
}
func (*Containers) Append ¶ added in v0.1.5
func (cs *Containers) Append(c Container)
func (*Containers) Find ¶ added in v0.1.5
func (cs *Containers) Find(cID string) Container
func (*Containers) Len ¶ added in v0.1.5
func (cs *Containers) Len() int
func (*Containers) Set ¶ added in v0.1.5
func (cs *Containers) Set(containers []Container)
func (*Containers) SetShell ¶ added in v0.1.5
func (cs *Containers) SetShell(cID, shell string)
type InitMessage ¶ added in v0.1.5
type LogOptions ¶ added in v0.1.7
type ShareTTY ¶ added in v0.1.8
type ShareTTY struct { // contains filtered or unexported fields }
func NewShareTTY ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.