Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader wraps kubernetes.Interface to access Pod logs.
func NewReader ¶
func NewReader(clientset kubernetes.Interface) *Reader
NewReader constructs a new Reader with the specified kubernetes.Interface.
func (*Reader) GetLogsForPod ¶
func (r *Reader) GetLogsForPod(ctx context.Context, key client.ObjectKey, options *corev1.PodLogOptions) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.