k8s.io/client-go/pkg/api/v1 was retired, how to parse event.Object?

后端 未结 0 499
不思量自难忘°
不思量自难忘° 2020-12-16 01:42

I am watching pods and get event from channel ResultChan(), now I want to parse event.Object. I saw a piece of code like this: event.Object.(*apiv1.Pod), please see the belo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题