Add types for lifecycle events.

+1 - I have a note somewhere to get rid of LivenessProbe.Type