package
0.2.0-rc
Repository: https://github.com/aylei/kubectl-debug.git
Documentation: pkg.go.dev

# Functions

DisplayJSONMessagesStream displays a json message stream from `in` to `out`, `isTerminal` describes if `out` is a terminal.
DisplayJSONMessagesToStream prints json messages to the output stream.
GetSize returns the current size of the terminal associated with fd.
IsTerminal returns whether the passed object is a terminal or not.

# Constants

RFC3339NanoFixed is time.RFC3339Nano with nanoseconds padded using zeros to ensure the formatted time isalways the same number of characters.

# Structs

JSONError wraps a concrete Code and Message, `Code` is is an integer error code, `Message` is the error message.
JSONMessage defines a message struct.
JSONProgress describes a Progress.
TTY helps invoke a function and preserve the state of the terminal, even if the process is terminated during execution.

# Type aliases

SafeFunc is a function to be invoked by TTY.