Skip to content

Commit 0c158fb

Browse files
committed
Import kubectl logs as pkg/cli/internal/logs
This is needed for now to be able to interrupt logs streaming. We can remove this in the next release, added a TODO.
1 parent 9808979 commit 0c158fb

File tree

3 files changed

+1492
-0
lines changed

3 files changed

+1492
-0
lines changed

pkg/cli/internal/logs/doc.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Package logs is a copy of kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/logs,
2+
// which contains LogOptions.RunLogsContext function that is needed for proper signal handling.
3+
// This is not yet available in v33.
4+
//
5+
// TODO: Remove and replace once deps are updated to future v34.
6+
package logs

0 commit comments

Comments
 (0)