Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Follower ¶
type Follower struct {
// contains filtered or unexported fields
}
Follower encapsulate the function of tailing the logs for Pods derived from BuildRuns
func NewFollower ¶
func NewFollower( ctx context.Context, buildRunName string, ioStreams *genericclioptions.IOStreams, params *params.Params, ) (*Follower, error)
NewFollower returns a Follower instance
func (*Follower) GetLogLock ¶
GetLogLock returns the mutex used for coordinating access to log buffers.
func (*Follower) OnEvent ¶
OnEvent reacts on pod state changes, to start and stop tailing container logs.
func (*Follower) OnNoPodEventsYet ¶
func (f *Follower) OnNoPodEventsYet()
OnNoPodEventsYet reacts to the pod watcher telling us it has not received any pod events for our build run
Click to show internal directories.
Click to hide internal directories.