Update the util/kubernetes client to retrieve logs

This commit is contained in:
Jake Sanders
2019-12-17 16:09:51 +00:00
parent 0415ead504
commit 53ca742c66
7 changed files with 85 additions and 9 deletions

View File

@@ -9,7 +9,9 @@ type klog struct{}
func (k *klog) Read(...log.ReadOption) []log.Record { return nil }
func (k *klog) Write(log.Record) {}
func (k *klog) Write(l log.Record) {
write(l)
}
func (k *klog) Stream(stop chan bool) <-chan log.Record {
c := make(chan log.Record)