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
22f4c1ad
Commit
22f4c1ad
authored
Sep 05, 2017
by
Cao Shufeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix docstring of advanced audit policy
parent
52ac2652
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
types.go
staging/src/k8s.io/apiserver/pkg/apis/audit/types.go
+3
-3
generated.proto
...c/k8s.io/apiserver/pkg/apis/audit/v1beta1/generated.proto
+3
-3
types.go
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/types.go
+3
-3
No files found.
staging/src/k8s.io/apiserver/pkg/apis/audit/types.go
View file @
22f4c1ad
...
...
@@ -220,9 +220,9 @@ type GroupResources struct {
// +optional
Group
string
// Resources is a list of resources within the API group. Subresources are
// matched using a "/" to indicate the subresource. For example, "pods/log
s
"
// would match request to the log
s
subresource of pods. The top level resource
// does not match subresources, "pods" doesn't match "pods/log
s
".
// matched using a "/" to indicate the subresource. For example, "pods/log"
// would match request to the log subresource of pods. The top level resource
// does not match subresources, "pods" doesn't match "pods/log".
// +optional
Resources
[]
string
// ResourceNames is a list of resource instance names that the policy matches.
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/generated.proto
View file @
22f4c1ad
...
...
@@ -108,9 +108,9 @@ message GroupResources {
optional
string
group
=
1
;
// Resources is a list of resources within the API group. Subresources are
// matched using a "/" to indicate the subresource. For example, "pods/log
s
"
// would match request to the log
s
subresource of pods. The top level resource
// does not match subresources, "pods" doesn't match "pods/log
s
".
// matched using a "/" to indicate the subresource. For example, "pods/log"
// would match request to the log subresource of pods. The top level resource
// does not match subresources, "pods" doesn't match "pods/log".
// +optional
repeated
string
resources
=
2
;
...
...
staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/types.go
View file @
22f4c1ad
...
...
@@ -214,9 +214,9 @@ type GroupResources struct {
// +optional
Group
string
`json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
// Resources is a list of resources within the API group. Subresources are
// matched using a "/" to indicate the subresource. For example, "pods/log
s
"
// would match request to the log
s
subresource of pods. The top level resource
// does not match subresources, "pods" doesn't match "pods/log
s
".
// matched using a "/" to indicate the subresource. For example, "pods/log"
// would match request to the log subresource of pods. The top level resource
// does not match subresources, "pods" doesn't match "pods/log".
// +optional
Resources
[]
string
`json:"resources,omitempty" protobuf:"bytes,2,rep,name=resources"`
// ResourceNames is a list of resource instance names that the policy matches.
...
...
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