package
0.0.0-20250306163500-5f3bb2705e1f
Repository: https://github.com/versoriumx/teleport.git
Documentation: pkg.go.dev

# Functions

NewKubeAPIMock creates Kubernetes API server for handling exec calls.
WithExecError sets the error to be returned by the Exec call.
WithGetPodError sets the error to be returned by the GetPod call.

# Constants

CloseStreamMessage is an expected keyword if stdin is enable and the underlying protocol does not support half closed streams.
DefaultStreamCreationTimeout.
No description provided by the author
PortForwardPayload is the message that dummy portforward handler writes into the connection before terminating the portforward connection.
The SPDY subprotocol "v4.channel.k8s.io" is used for remote command attachment/execution.
Name of header that specifies stream type.
Value for streamType header for data stream.
Value for streamType header for error stream.
Value for streamType header for terminal resize stream.
Value for streamType header for stderr stream.
Value for streamType header for stdin stream.
Value for streamType header for stdout stream.

# Structs

No description provided by the author

# Type aliases

Option is a functional option for KubeMockServer.