Documentation ¶
Index ¶
- type Storage
- func (s *Storage) AddLog(ctx context.Context, profile string, loggroup string, eventTime time.Time, ...) error
- func (s *Storage) Close() error
- func (s *Storage) GetLogs(ctx context.Context, logGroup string, profile string, podName string, ...) ([]database.Log, error)
- func (s *Storage) GetLogsOfPod(ctx context.Context, profile string, logGroup string, podName string, ...) ([]database.Log, error)
- func (s *Storage) Init() error
- func (s *Storage) PurgeAll(ctx context.Context) error
- func (s *Storage) PurgeSpecificLogPodLogs(ctx context.Context, profile string, loggroup string, podName string) error
- func (s *Storage) PurgeSpecificPeriod(ctx context.Context, profile string, loggroup string, podName string, ...) error
- func (s *Storage) SetNow(now func() time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
func NewStorage ¶
func (*Storage) GetLogsOfPod ¶
func (*Storage) PurgeSpecificLogPodLogs ¶
func (*Storage) PurgeSpecificPeriod ¶
Click to show internal directories.
Click to hide internal directories.