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
36c77182
Commit
36c77182
authored
Jul 17, 2017
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api types: fix protobuf names that are different from JSON name
parent
d20414e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
types.go
staging/src/k8s.io/api/authorization/v1/types.go
+1
-1
types.go
staging/src/k8s.io/api/authorization/v1beta1/types.go
+1
-1
types.go
staging/src/k8s.io/api/certificates/v1beta1/types.go
+1
-1
types.go
.../k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1/types.go
+1
-1
No files found.
staging/src/k8s.io/api/authorization/v1/types.go
View file @
36c77182
...
@@ -131,7 +131,7 @@ type SubjectAccessReviewSpec struct {
...
@@ -131,7 +131,7 @@ type SubjectAccessReviewSpec struct {
// User is the user you're testing for.
// User is the user you're testing for.
// If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
// If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
// +optional
// +optional
User
string
`json:"user,omitempty" protobuf:"bytes,3,opt,name=
verb
"`
User
string
`json:"user,omitempty" protobuf:"bytes,3,opt,name=
user
"`
// Groups is the groups you're testing for.
// Groups is the groups you're testing for.
// +optional
// +optional
Groups
[]
string
`json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"`
Groups
[]
string
`json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"`
...
...
staging/src/k8s.io/api/authorization/v1beta1/types.go
View file @
36c77182
...
@@ -131,7 +131,7 @@ type SubjectAccessReviewSpec struct {
...
@@ -131,7 +131,7 @@ type SubjectAccessReviewSpec struct {
// User is the user you're testing for.
// User is the user you're testing for.
// If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups
// If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups
// +optional
// +optional
User
string
`json:"user,omitempty" protobuf:"bytes,3,opt,name=
verb
"`
User
string
`json:"user,omitempty" protobuf:"bytes,3,opt,name=
user
"`
// Groups is the groups you're testing for.
// Groups is the groups you're testing for.
// +optional
// +optional
Groups
[]
string
`json:"group,omitempty" protobuf:"bytes,4,rep,name=group"`
Groups
[]
string
`json:"group,omitempty" protobuf:"bytes,4,rep,name=group"`
...
...
staging/src/k8s.io/api/certificates/v1beta1/types.go
View file @
36c77182
...
@@ -51,7 +51,7 @@ type CertificateSigningRequestSpec struct {
...
@@ -51,7 +51,7 @@ type CertificateSigningRequestSpec struct {
// valid for.
// valid for.
// See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3
// See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3
// https://tools.ietf.org/html/rfc5280#section-4.2.1.12
// https://tools.ietf.org/html/rfc5280#section-4.2.1.12
Usages
[]
KeyUsage
`json:"usages,omitempty" protobuf:"bytes,5,opt,name=
keyUsage
"`
Usages
[]
KeyUsage
`json:"usages,omitempty" protobuf:"bytes,5,opt,name=
usages
"`
// Information about the requesting user.
// Information about the requesting user.
// See user.Info interface for details.
// See user.Info interface for details.
...
...
staging/src/k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1/types.go
View file @
36c77182
...
@@ -48,7 +48,7 @@ type MetricValue struct {
...
@@ -48,7 +48,7 @@ type MetricValue struct {
// which these metrics were calculated, when returning rate
// which these metrics were calculated, when returning rate
// metrics calculated from cumulative metrics (or zero for
// metrics calculated from cumulative metrics (or zero for
// non-calculated instantaneous metrics).
// non-calculated instantaneous metrics).
WindowSeconds
*
int64
`json:"window,omitempty" protobuf:"bytes,4,opt,name=window
Seconds
"`
WindowSeconds
*
int64
`json:"window,omitempty" protobuf:"bytes,4,opt,name=window"`
// the value of the metric for this
// the value of the metric for this
Value
resource
.
Quantity
`json:"value" protobuf:"bytes,5,name=value"`
Value
resource
.
Quantity
`json:"value" protobuf:"bytes,5,name=value"`
...
...
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