Documentation ¶
Index ¶
- type FileLogStorageManager
- func (f *FileLogStorageManager) ClearLogs(ctx context.Context, path string) error
- func (f *FileLogStorageManager) GetID() string
- func (f *FileLogStorageManager) PushLogLine(ctx context.Context, path string, log []byte) error
- func (f *FileLogStorageManager) ReadLogs(ctx context.Context, opts *logstorage.LogGetOpts, w io.WriteCloser) error
- func (f *FileLogStorageManager) StreamLogs(ctx context.Context, opts *logstorage.LogGetOpts, w io.WriteCloser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLogStorageManager ¶
type FileLogStorageManager struct {
RootDir string
}
func NewFileLogStorageManager ¶
func NewFileLogStorageManager(rootDir string) (*FileLogStorageManager, error)
func (*FileLogStorageManager) ClearLogs ¶
func (f *FileLogStorageManager) ClearLogs(ctx context.Context, path string) error
func (*FileLogStorageManager) GetID ¶
func (f *FileLogStorageManager) GetID() string
func (*FileLogStorageManager) PushLogLine ¶
func (*FileLogStorageManager) ReadLogs ¶
func (f *FileLogStorageManager) ReadLogs(ctx context.Context, opts *logstorage.LogGetOpts, w io.WriteCloser) error
func (*FileLogStorageManager) StreamLogs ¶
func (f *FileLogStorageManager) StreamLogs(ctx context.Context, opts *logstorage.LogGetOpts, w io.WriteCloser) error
Click to show internal directories.
Click to hide internal directories.