Documentation ¶ Index ¶ func Tail(ctx context.Context, clientset kubernetes.Interface, ...) type Record Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Tail ¶ func Tail(ctx context.Context, clientset kubernetes.Interface, namespace, podName, containerName string, tlog tailLogger) Tail tails the container log until the following cases: Reached to EOF The Pod is not found (already removed from Node) The context is canceled Types ¶ type Record ¶ added in v0.6.0 type Record struct { RawTimestamp string Namespace string PodName string ContainerName string // Message is the log line. // All trailing whitespaces are trimmed. Message string } Record represents a record of container logs. Source Files ¶ View all Source files tail.go Click to show internal directories. Click to hide internal directories.