webterminal

package
v0.0.0-...-c9dffe9 Latest Latest
Warning

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

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

Documentation

Overview

Package webterminal provides controller for webterminal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWebterminal

func GetWebterminal(terminalInfo Webterminal) (string, error)

Types

type GetTerminalAPIResponse

type GetTerminalAPIResponse struct {
	Success bool   `json:"success"`
	Token   string `json:"token"`
	Message string `json:"message"`
}

type Webterminal

type Webterminal struct {
	Namespace     string `json:"namespace"`
	PodName       string `json:"pod_name"`
	ContainerName string `json:"container_name"`
	BearerToken   string `json:"bearer_token"`
}

Jump to

Keyboard shortcuts

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