webconsole

package
v0.3.10-0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

View Source
const (
	SERVICE_TYPE    = "webconsole"
	SERVICE_VERSION = ""
)
View Source
const (
	VNC       = "vnc"
	ALIYUN    = "aliyun"
	QCLOUD    = "qcloud"
	OPENSTACK = "openstack"
	SPICE     = "spice"
	WMKS      = "wmks"
	VMRC      = "vmrc"
	ZSTACK    = "zstack"
	CTYUN     = "ctyun"
	HUAWEI    = "huawei"
	HCS       = "hcs"
	APSARA    = "apsara"
	JDCLOUD   = "jdcloud"
	CLOUDPODS = "cloudpods"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandLogListInput

type CommandLogListInput struct {
	apis.Meta
	apis.OpsLogListInput
}

type SK8sRequest

type SK8sRequest struct {
	Cluster   string `json:"cluster"`
	Namespace string `json:"namespace"`
	Container string `json:"container"`
}

type SK8sShellRequest

type SK8sShellRequest struct {
	SK8sRequest

	Command string            `json:"command"`
	Env     map[string]string `json:"env"`
}

type ServerRemoteConsoleResponse

type ServerRemoteConsoleResponse struct {
	ConnectParams string `json:"connect_params"`
	Session       string `json:"session,omitempty"`

	apis.Meta
}

func (*ServerRemoteConsoleResponse) GetConnectParams

func (resp *ServerRemoteConsoleResponse) GetConnectParams() string

func (*ServerRemoteConsoleResponse) GetConnectProtocol

func (resp *ServerRemoteConsoleResponse) GetConnectProtocol() (string, error)

Jump to

Keyboard shortcuts

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