Context is the running context for a controller
type Context struct {
client.Client
client.Reader
record.EventRecorder
Log logr.Logger
}
func (c *Context) LogWithValues(keysAndValues ...interface{}) Context
LogWithValues appends values for logger in the context