processing audit information of non-standard request
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package v1alpha1
|
||||
|
||||
import "k8s.io/apiserver/pkg/apis/audit"
|
||||
import (
|
||||
"k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apiserver/pkg/apis/audit"
|
||||
)
|
||||
|
||||
type Event struct {
|
||||
// Devops project
|
||||
@@ -18,3 +21,7 @@ type Event struct {
|
||||
type EventList struct {
|
||||
Items []Event
|
||||
}
|
||||
|
||||
type Object struct {
|
||||
v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user