Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c512a078
Commit
c512a078
authored
Jan 26, 2018
by
Cao Shufeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run hack/update-all.sh
parent
97b0d99a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
48 additions
and
1 deletion
+48
-1
BUILD
staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/BUILD
+1
-0
generated.pb.go
.../k8s.io/apiserver/pkg/apis/audit/v1alpha1/generated.pb.go
+0
-0
generated.proto
.../k8s.io/apiserver/pkg/apis/audit/v1alpha1/generated.proto
+8
-0
zz_generated.conversion.go
...server/pkg/apis/audit/v1alpha1/zz_generated.conversion.go
+2
-0
zz_generated.deepcopy.go
...piserver/pkg/apis/audit/v1alpha1/zz_generated.deepcopy.go
+7
-0
BUILD
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/BUILD
+1
-0
generated.pb.go
...c/k8s.io/apiserver/pkg/apis/audit/v1beta1/generated.pb.go
+0
-0
generated.proto
...c/k8s.io/apiserver/pkg/apis/audit/v1beta1/generated.proto
+8
-0
zz_generated.conversion.go
...iserver/pkg/apis/audit/v1beta1/zz_generated.conversion.go
+2
-0
zz_generated.deepcopy.go
...apiserver/pkg/apis/audit/v1beta1/zz_generated.deepcopy.go
+7
-0
zz_generated.deepcopy.go
.../k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go
+7
-0
BUILD
staging/src/k8s.io/apiserver/pkg/audit/BUILD
+5
-1
No files found.
staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/BUILD
View file @
c512a078
...
...
@@ -21,6 +21,7 @@ go_library(
importpath = "k8s.io/apiserver/pkg/apis/audit/v1alpha1",
deps = [
"//vendor/github.com/gogo/protobuf/proto:go_default_library",
"//vendor/github.com/gogo/protobuf/sortkeys:go_default_library",
"//vendor/k8s.io/api/authentication/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/generated.pb.go
View file @
c512a078
This diff is collapsed.
Click to expand it.
staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/generated.proto
View file @
c512a078
...
...
@@ -97,6 +97,14 @@ message Event {
// Time the request reached current audit stage.
// +optional
optional
k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime
stageTimestamp
=
16
;
// Annotations is an unstructured key value map stored with an audit event that may be set by
// plugins invoked in the request serving chain, including authentication, authorization and
// admission plugins. Keys should uniquely identify the informing component to avoid name
// collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values should be short. Annotations
// are included in the Metadata level.
// +optional
map
<
string
,
string
>
annotations
=
17
;
}
// EventList is a list of audit Events.
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/zz_generated.conversion.go
View file @
c512a078
...
...
@@ -84,6 +84,7 @@ func autoConvert_v1alpha1_Event_To_audit_Event(in *Event, out *audit.Event, s co
out
.
ResponseObject
=
(
*
runtime
.
Unknown
)(
unsafe
.
Pointer
(
in
.
ResponseObject
))
out
.
RequestReceivedTimestamp
=
in
.
RequestReceivedTimestamp
out
.
StageTimestamp
=
in
.
StageTimestamp
out
.
Annotations
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
Annotations
))
return
nil
}
...
...
@@ -113,6 +114,7 @@ func autoConvert_audit_Event_To_v1alpha1_Event(in *audit.Event, out *Event, s co
out
.
ResponseObject
=
(
*
runtime
.
Unknown
)(
unsafe
.
Pointer
(
in
.
ResponseObject
))
out
.
RequestReceivedTimestamp
=
in
.
RequestReceivedTimestamp
out
.
StageTimestamp
=
in
.
StageTimestamp
out
.
Annotations
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
Annotations
))
return
nil
}
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/zz_generated.deepcopy.go
View file @
c512a078
...
...
@@ -85,6 +85,13 @@ func (in *Event) DeepCopyInto(out *Event) {
}
in
.
RequestReceivedTimestamp
.
DeepCopyInto
(
&
out
.
RequestReceivedTimestamp
)
in
.
StageTimestamp
.
DeepCopyInto
(
&
out
.
StageTimestamp
)
if
in
.
Annotations
!=
nil
{
in
,
out
:=
&
in
.
Annotations
,
&
out
.
Annotations
*
out
=
make
(
map
[
string
]
string
,
len
(
*
in
))
for
key
,
val
:=
range
*
in
{
(
*
out
)[
key
]
=
val
}
}
return
}
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/BUILD
View file @
c512a078
...
...
@@ -21,6 +21,7 @@ go_library(
importpath = "k8s.io/apiserver/pkg/apis/audit/v1beta1",
deps = [
"//vendor/github.com/gogo/protobuf/proto:go_default_library",
"//vendor/github.com/gogo/protobuf/sortkeys:go_default_library",
"//vendor/k8s.io/api/authentication/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/generated.pb.go
View file @
c512a078
This diff is collapsed.
Click to expand it.
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/generated.proto
View file @
c512a078
...
...
@@ -101,6 +101,14 @@ message Event {
// Time the request reached current audit stage.
// +optional
optional
k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime
stageTimestamp
=
16
;
// Annotations is an unstructured key value map stored with an audit event that may be set by
// plugins invoked in the request serving chain, including authentication, authorization and
// admission plugins. Keys should uniquely identify the informing component to avoid name
// collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values should be short. Annotations
// are included in the Metadata level.
// +optional
map
<
string
,
string
>
annotations
=
17
;
}
// EventList is a list of audit Events.
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/zz_generated.conversion.go
View file @
c512a078
...
...
@@ -76,6 +76,7 @@ func autoConvert_v1beta1_Event_To_audit_Event(in *Event, out *audit.Event, s con
out
.
ResponseObject
=
(
*
runtime
.
Unknown
)(
unsafe
.
Pointer
(
in
.
ResponseObject
))
out
.
RequestReceivedTimestamp
=
in
.
RequestReceivedTimestamp
out
.
StageTimestamp
=
in
.
StageTimestamp
out
.
Annotations
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
Annotations
))
return
nil
}
...
...
@@ -97,6 +98,7 @@ func autoConvert_audit_Event_To_v1beta1_Event(in *audit.Event, out *Event, s con
out
.
ResponseObject
=
(
*
runtime
.
Unknown
)(
unsafe
.
Pointer
(
in
.
ResponseObject
))
out
.
RequestReceivedTimestamp
=
in
.
RequestReceivedTimestamp
out
.
StageTimestamp
=
in
.
StageTimestamp
out
.
Annotations
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
Annotations
))
return
nil
}
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/zz_generated.deepcopy.go
View file @
c512a078
...
...
@@ -85,6 +85,13 @@ func (in *Event) DeepCopyInto(out *Event) {
}
in
.
RequestReceivedTimestamp
.
DeepCopyInto
(
&
out
.
RequestReceivedTimestamp
)
in
.
StageTimestamp
.
DeepCopyInto
(
&
out
.
StageTimestamp
)
if
in
.
Annotations
!=
nil
{
in
,
out
:=
&
in
.
Annotations
,
&
out
.
Annotations
*
out
=
make
(
map
[
string
]
string
,
len
(
*
in
))
for
key
,
val
:=
range
*
in
{
(
*
out
)[
key
]
=
val
}
}
return
}
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go
View file @
c512a078
...
...
@@ -82,6 +82,13 @@ func (in *Event) DeepCopyInto(out *Event) {
}
in
.
RequestReceivedTimestamp
.
DeepCopyInto
(
&
out
.
RequestReceivedTimestamp
)
in
.
StageTimestamp
.
DeepCopyInto
(
&
out
.
StageTimestamp
)
if
in
.
Annotations
!=
nil
{
in
,
out
:=
&
in
.
Annotations
,
&
out
.
Annotations
*
out
=
make
(
map
[
string
]
string
,
len
(
*
in
))
for
key
,
val
:=
range
*
in
{
(
*
out
)[
key
]
=
val
}
}
return
}
...
...
staging/src/k8s.io/apiserver/pkg/audit/BUILD
View file @
c512a078
...
...
@@ -38,10 +38,14 @@ go_library(
go_test(
name = "go_default_test",
srcs = ["union_test.go"],
srcs = [
"request_test.go",
"union_test.go",
],
embed = [":go_default_library"],
importpath = "k8s.io/apiserver/pkg/audit",
deps = [
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
"//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment