Show / Hide Table of Contents

Enum ChannelIndex

These values identify the various channels which you can use when interacting with a process running in a container in a Kubernetes pod.

Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public enum ChannelIndex : byte

Fields

Name Description
Error

The error channel. This channel is used by Kubernetes to send you error messages, including the exit code of the process.

Resize

The resize channel. Use this channel to resize the terminal. You need to send a JSON-formatted object over this channel, which has a Width and Height property.

StdErr

The standard error channel. Use this channel to read the error output generated by a process running in a container in a Kubernetes pod.

StdIn

The standard input channel. Use this channel to send input to a process running in a container inside a Kubernetes pod.

StdOut

The standard output channel. Use this channel to read standard output generated by a process running in a container in a Kubernetes pod.

See Also
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/server/remotecommand/websocket.go#L29
  • View Source
In this article
Back to top Generated by DocFX