Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStream ¶
func NewStream(pods typedv1.PodInterface, name string, opts *corev1.PodLogOptions) stream.Streamer
Types ¶
type Container ¶
type Container struct {
NewStreamer stream.NewStreamerFunc
// contains filtered or unexported fields
}
type Pod ¶
type Pod struct {
Name string
Ns string
Kc k8s.Interface
Streamer stream.NewStreamerFunc
// contains filtered or unexported fields
}
func (*Pod) Stream ¶
func (p *Pod) Stream(opt *corev1.PodLogOptions) (io.ReadCloser, error)
Stream returns the stream object for given container and mode in order to fetch the logs
Click to show internal directories.
Click to hide internal directories.