terminal

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func K8STerminal

func K8STerminal(clustername, namespace, podname, containername string, upperConn *websocket.Conn)

func SoldierTerminal

func SoldierTerminal(r *http.Request, initmessage []byte, upperConn *websocket.Conn)

SoldierTerminal proxy of soldier

func Terminal

func Terminal(w http.ResponseWriter, r *http.Request)

Types

type ContainerInfo

type ContainerInfo struct {
	Env  []string        `json:"env"`
	Name string          `json:"name"`
	Args json.RawMessage `json:"args"`
}

type ContainerInfoArg

type ContainerInfoArg struct {
	Host      string `json:"host"`
	Port      int    `json:"port"`
	Container string `json:"container"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL