Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNamespaceFlags ¶
AddNamespaceFlags adds the namespace-related flags: * --namespace * --all-namespaces
func NewLogCommand ¶
Types ¶
type Log ¶
type Log struct { // Message is the log message itself Message string // namespace of the pod Namespace string // podName of the pod PodName string // PodIndex is the pod's short name PodIndex string // revisionName of the container RevisionName string // PodColor is the color for printing a pod PodColor *color.Color // Revision color to use RevisionColor *color.Color }
Log is the object which will be used together with the template to generate the output.
Click to show internal directories.
Click to hide internal directories.