File tree 7 files changed +11
-5
lines changed
7 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ toolchain go1.22.4
6
6
7
7
require (
8
8
github.com/alecthomas/kingpin v2.2.6+incompatible
9
+ github.com/alecthomas/kingpin/v2 v2.4.0
9
10
github.com/coreos/go-systemd/v22 v22.5.0
10
11
github.com/docker/docker v27.3.1+incompatible
11
12
github.com/nxadm/tail v1.4.11
@@ -42,6 +43,7 @@ require (
42
43
github.com/prometheus/common v0.60.0 // indirect
43
44
github.com/prometheus/procfs v0.15.1 // indirect
44
45
github.com/rogpeppe/go-internal v1.13.1 // indirect
46
+ github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
45
47
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
46
48
go.opentelemetry.io/otel v1.30.0 // indirect
47
49
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.30.0 // indirect
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
4
4
github.com/Microsoft/go-winio v0.6.2 /go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU =
5
5
github.com/alecthomas/kingpin v2.2.6+incompatible h1:5svnBTFgJjZvGKyYBtMB0+m5wvrbUHiqye8wRJMlnYI =
6
6
github.com/alecthomas/kingpin v2.2.6+incompatible /go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE =
7
+ github.com/alecthomas/kingpin/v2 v2.4.0 h1:f48lwail6p8zpO1bC4TxtqACaGqHYA22qkHjHpqDjYY =
8
+ github.com/alecthomas/kingpin/v2 v2.4.0 /go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE =
7
9
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM =
8
10
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 /go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc =
9
11
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc =
@@ -92,6 +94,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
92
94
github.com/stretchr/testify v1.4.0 /go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4 =
93
95
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
94
96
github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
97
+ github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc =
98
+ github.com/xhit/go-str2duration/v2 v2.1.0 /go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU =
95
99
github.com/yuin/goldmark v1.1.27 /go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74 =
96
100
github.com/yuin/goldmark v1.2.1 /go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74 =
97
101
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 h1:ZIg3ZT/aQ7AfKqdwp7ECpOK6vHqquXXuyTjIO8ZdmPs =
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"io"
7
7
8
- "github.com/alecthomas/kingpin"
8
+ "github.com/alecthomas/kingpin/v2 "
9
9
)
10
10
11
11
// A LogSourceFactory provides a repository of log sources that can be
Original file line number Diff line number Diff line change 9
9
"log"
10
10
"strings"
11
11
12
- "github.com/alecthomas/kingpin"
12
+ "github.com/alecthomas/kingpin/v2 "
13
13
"github.com/docker/docker/api/types/container"
14
14
"github.com/docker/docker/client"
15
15
)
Original file line number Diff line number Diff line change 5
5
"io"
6
6
"log"
7
7
8
- "github.com/alecthomas/kingpin"
8
+ "github.com/alecthomas/kingpin/v2 "
9
9
"github.com/nxadm/tail"
10
10
)
11
11
Original file line number Diff line number Diff line change 9
9
"log"
10
10
"time"
11
11
12
- "github.com/alecthomas/kingpin"
12
+ "github.com/alecthomas/kingpin/v2 "
13
13
"github.com/coreos/go-systemd/v22/sdjournal"
14
14
)
15
15
Original file line number Diff line number Diff line change 7
7
"os"
8
8
9
9
_ "embed"
10
- "github.com/alecthomas/kingpin"
10
+ "github.com/alecthomas/kingpin/v2 "
11
11
"github.com/prometheus/client_golang/prometheus"
12
12
"github.com/prometheus/client_golang/prometheus/promhttp"
13
13
)
You can’t perform that action at this time.
0 commit comments