Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerComposeLogActionWriter ¶
type DockerComposeLogActionWriter struct {
// contains filtered or unexported fields
}
func (*DockerComposeLogActionWriter) LastLogTime ¶ added in v0.22.8
func (w *DockerComposeLogActionWriter) LastLogTime() time.Time
LastLogTime returns the timestamp of the last log message seen or zero time if none.
The last log message seen timestamp might be before the `since` argument, so was discarded.
This method is not goroutine-safe: it is intended to be used after the writer is done.
type DockerComposeLogManager ¶
type DockerComposeLogManager struct {
// contains filtered or unexported fields
}
Collects logs from running docker-compose services.
func NewDockerComposeLogManager ¶
func NewDockerComposeLogManager(dcc dockercompose.DockerComposeClient) *DockerComposeLogManager
func (*DockerComposeLogManager) OnChange ¶
func (m *DockerComposeLogManager) OnChange(ctx context.Context, st store.RStore, summary store.ChangeSummary) error
type HardCancelReader ¶
A reader that will stop returning data after its context has been canceled.
If any data is read from the underlying stream after the cancel happens, throw the data out.
func NewHardCancelReader ¶
func NewHardCancelReader(ctx context.Context, reader io.Reader) *HardCancelReader
func (*HardCancelReader) LastReadTime ¶ added in v0.17.11
func (r *HardCancelReader) LastReadTime() time.Time
Click to show internal directories.
Click to hide internal directories.