api

package
v1.25.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 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