api

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateExecReq

type CreateExecReq struct {
	ContainerID string   `json:"container_id,omitempty"`
	Cmd         []string `json:"cmd,omitempty"`
	User        string   `json:"user,omitempty"`
}

CreateExecReq is createExec request struct

type ResizeExecReq

type ResizeExecReq struct {
	ExecID string `json:"exec_id,omitempty"`
	Width  int    `json:"width,omitempty"`
	Height int    `json:"height,omitempty"`
}

ResizeExecReq is resizeExec request struct

type Router

type Router struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Router is api router

func NewRouter

func NewRouter(b manager.Manager, conf *config.ConsoleProxyConfig) *Router

NewRouter return api router

Jump to

Keyboard shortcuts

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