Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPodNotFound = errors.New(`no logs return,because not found instance`) ErrTooManyPodsFound = errors.New(`too many pods found in the job,`) )
Functions ¶
This section is empty.
Types ¶
type Pipe ¶
type Pipe struct { Reader io.ReadCloser Writer io.WriteCloser }
type PodLogPrinter ¶
func NewPodLogPrinter ¶
func NewPodLogPrinter(podNames []string, logArgs *podlogs.OuterRequestArgs) (*PodLogPrinter, error)
func (*PodLogPrinter) AcceptLogs ¶ added in v0.7.0
func (slp *PodLogPrinter) AcceptLogs(writeCloser io.WriteCloser) (int, error)
func (*PodLogPrinter) CheckPodIsInJob ¶
func (slp *PodLogPrinter) CheckPodIsInJob() error
func (*PodLogPrinter) Print ¶
func (slp *PodLogPrinter) Print() (int, error)
func (*PodLogPrinter) PrintMultiPodsHelp ¶
func (slp *PodLogPrinter) PrintMultiPodsHelp()
Click to show internal directories.
Click to hide internal directories.