Documentation
¶
Index ¶
- Constants
- type Evaluate
- type NewSyslogJob
- func (this NewSyslogJob) Callback(_ context.Context)
- func (this NewSyslogJob) CanRotate(info rotate.LogInfo, _ context.Context) (bool, error)
- func (this NewSyslogJob) LogState(_ context.Context) (rotate.LogInfo, error)
- func (this NewSyslogJob) Rotate(ctx context.Context) error
- func (this NewSyslogJob) Run(ctx context.Context) rotate.Result
- func (this NewSyslogJob) String() string
- func (this NewSyslogJob) Test(ctx context.Context) rotate.Result
Constants ¶
View Source
const ( GZIP archiveType = "gzip" BZ2 = "bz2" XZ = "xz" NONE = "none" )
if you change it, should change conf/conf const, too.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewSyslogJob ¶
type NewSyslogJob struct {
// contains filtered or unexported fields
}
func (NewSyslogJob) Callback ¶
func (this NewSyslogJob) Callback(_ context.Context)
func (NewSyslogJob) String ¶
func (this NewSyslogJob) String() string
Click to show internal directories.
Click to hide internal directories.