Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPodNotRunning = errors.New(`is not running`) ErrPodStatusUnknown = errors.New(`status is unknown`) )
View Source
var ( ErrPodNotFound = errors.New(`no logs return,because not found instance`) ErrTooManyPodsFound = errors.New(`too many pods found in the job,`) )
Functions ¶
func ParseSinceSeconds ¶
Types ¶
type OuterRequestArgs ¶
type PodLog ¶
type PodLog struct {
Args *PodLogArgs
}
func NewPodLog ¶
func NewPodLog(args *OuterRequestArgs) (*PodLog, error)
func (*PodLog) GetPodLogEntry ¶
func (pl *PodLog) GetPodLogEntry(accept func(io.ReadCloser)) error
type PodLogArgs ¶
type PodLogger ¶ added in v0.7.0
func NewPodLogger ¶ added in v0.7.0
func (*PodLogger) AcceptLogs ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.