File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,14 @@ const (
5656 ServiceFailed ServiceStatus = "FAILED"
5757)
5858
59+ // Deprecated: use Subscribe instead #851
5960type EndLogConditional struct {
6061 Service string
6162 Host string
6263 EventLog string
6364}
6465
66+ // Deprecated: use Subscribe instead #851
6567type TailDetectStopEventFunc func (services []string , host string , eventlog string ) bool
6668
6769type TailOptions struct {
@@ -70,12 +72,13 @@ type TailOptions struct {
7072 Etag types.ETag
7173 Since time.Time
7274 Raw bool
73- EndEventDetectFunc TailDetectStopEventFunc
75+ EndEventDetectFunc TailDetectStopEventFunc // Deprecated: use Subscribe instead #851
7476 Verbose bool
7577}
7678
7779var P = track .P
7880
81+ // Deprecated: use Subscribe instead #851
7982func CreateEndLogEventDetectFunc (conditionals []EndLogConditional ) TailDetectStopEventFunc {
8083 return func (services []string , host string , eventLog string ) bool {
8184 for _ , conditional := range conditionals {
You can’t perform that action at this time.
0 commit comments