Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideLogStream, )
Functions ¶
This section is empty.
Types ¶
type LogStream ¶
type LogStream interface {
// Create creates a log stream for the deployment id
Create(context.Context, int64) error
// Delete deletes a log stream for deployment id
Delete(context.Context, int64) error
// Write writes to the log stream
Write(context.Context, int64, *types.LogLine) error
// Tail tails the log stream
Tail(context.Context, int64) (<-chan *types.LogLine, <-chan error)
}
func NewInMemory ¶
func NewInMemory() LogStream
func ProvideLogStream ¶
func ProvideLogStream() LogStream
Click to show internal directories.
Click to hide internal directories.