constant

package
v0.0.0-...-1b9e8c6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StreamProtocolV1Name represents the initial unversioned subprotocol used for remote command attachment/execution.
	StreamProtocolV1Name = "channel.k8s.io"

	// StreamProtocolV2Name is the second version of the subprotocol and resolves the issues present in the first version.
	StreamProtocolV2Name = "v2.channel.k8s.io"

	// StreamProtocolV3Name is the third version of the subprotocol and adds support for resizing container terminals.
	StreamProtocolV3Name = "v3.channel.k8s.io"

	// StreamProtocolV4Name is the 4th version of the subprotocol and adds support for exit codes.
	StreamProtocolV4Name = "v4.channel.k8s.io"

	// PortForwardProtocolV1Name is the SPDY subprotocol "portforward.k8s.io" used for port forwarding.
	PortForwardProtocolV1Name = "portforward.k8s.io"
)
View Source
const (
	// StreamType is the name of header that specifies stream type
	StreamType = "streamType"
	// StreamTypeStdin is the value for streamType header for stdin stream
	StreamTypeStdin = "stdin"
	// StreamTypeStdout is the value for streamType header for stdout stream
	StreamTypeStdout = "stdout"
	// StreamTypeStderr is the value for streamType header for stderr stream
	StreamTypeStderr = "stderr"
	// StreamTypeData is the value for streamType header for data stream
	StreamTypeData = "data"
	// StreamTypeError is the value for streamType header for error stream
	StreamTypeError = "error"
	// StreamTypeResize is the value for streamType header for terminal resize stream
	StreamTypeResize = "resize"

	// PortHeader is the name of header that specifies the port being forwarded.
	PortHeader = "port"
	// PortForwardRequestIDHeader is the name of header that specifies a request ID
	// used to associate the error and data streams for a single forwarded connection.
	PortForwardRequestIDHeader = "requestID"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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