audit-types: add Panic stage

Kubernetes-commit: 3e9c8aaac689d9b0a11849b09aced266b48b3af8
This commit is contained in:
Dr. Stefan Schimanski 2017-05-29 13:24:21 +02:00 committed by Kubernetes Publisher
parent a54d901fa7
commit f695ec4d4b
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,8 @@ const (
// The stage for events generated once the response body has been completed, and no more bytes
// will be sent.
StageResponseComplete = "ResponseComplete"
// The stage for events generated when a panic occured.
StagePanic = "Panic"
)
// Event captures all the information that can be included in an API audit log.

View File

@ -62,6 +62,8 @@ const (
// The stage for events generated once the response body has been completed, and no more bytes
// will be sent.
StageResponseComplete = "ResponseComplete"
// The stage for events generated when a panic occured.
StagePanic = "Panic"
)
// Event captures all the information that can be included in an API audit log.