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 (
56
56
ServiceFailed ServiceStatus = "FAILED"
57
57
)
58
58
59
+ // Deprecated: use Subscribe instead #851
59
60
type EndLogConditional struct {
60
61
Service string
61
62
Host string
62
63
EventLog string
63
64
}
64
65
66
+ // Deprecated: use Subscribe instead #851
65
67
type TailDetectStopEventFunc func (services []string , host string , eventlog string ) bool
66
68
67
69
type TailOptions struct {
@@ -70,12 +72,13 @@ type TailOptions struct {
70
72
Etag types.ETag
71
73
Since time.Time
72
74
Raw bool
73
- EndEventDetectFunc TailDetectStopEventFunc
75
+ EndEventDetectFunc TailDetectStopEventFunc // Deprecated: use Subscribe instead #851
74
76
Verbose bool
75
77
}
76
78
77
79
var P = track .P
78
80
81
+ // Deprecated: use Subscribe instead #851
79
82
func CreateEndLogEventDetectFunc (conditionals []EndLogConditional ) TailDetectStopEventFunc {
80
83
return func (services []string , host string , eventLog string ) bool {
81
84
for _ , conditional := range conditionals {
You can’t perform that action at this time.
0 commit comments