Documentation ¶
Index ¶
Constants ¶
View Source
const (
HandleHelperLogCollection = "/api/v1/help/log"
)
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(controller *control.Controller)
func SprintfWithLF ¶
Types ¶
type FileDetail ¶ added in v1.4.0
type FileDetail struct { FileName string `json:"filename"` Offset int64 `json:"offset"` Size int64 `json:"size"` Modify int64 `json:"modify"` Ignored bool `json:"ignored"` }
func (*FileDetail) FmtDetails ¶ added in v1.4.0
func (d *FileDetail) FmtDetails() string
type FileStatus ¶ added in v1.4.0
func (*FileStatus) SetStatus ¶ added in v1.4.0
func (f *FileStatus) SetStatus(pipeline string, source string, paths []string, detail FileDetail)
type LogCollectionStatus ¶ added in v1.4.0
type LogCollectionStatus struct { FdStatus FdStatus `json:"fdStatus"` FileStatus FileStatus `json:"fileStatus"` }
type Source ¶ added in v1.4.0
type Source struct {
SourceStat map[string]SourceDetails `json:"source"`
}
type SourceDetails ¶ added in v1.4.0
type SourceDetails struct { Paths []string `json:"paths"` Detail []FileDetail `json:"detail"` }
Click to show internal directories.
Click to hide internal directories.