container

package
v0.0.0-...-648e9b4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(request *restful.Request, response *restful.Response)

ws.Route(ws.GET("/ns/{ns}/podName/{podName}/exec")

func GetFirstContainerName

func GetFirstContainerName(ns string, podName string) (string, error)

func Log

func Log(request *restful.Request, response *restful.Response)

ws.Route(ws.GET("/ns/{ns}/podName/{podName}/log")

func ReadLog

func ReadLog(ctx context.Context, eg *errgroup.Group, logEvent chan []byte, ns, podName, containerName string)

func Resize

func Resize(req *restful.Request, resp *restful.Response)

Types

This section is empty.

Jump to

Keyboard shortcuts

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