Skip to content

Commit e8315e5

Browse files
Merge pull request #2116 from JoelSpeed/fix-linter-issues
For the love of consistency... Apply linter auto-fixes
2 parents c1fdeb0 + 00176d2 commit e8315e5

File tree

388 files changed

+9623
-9786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

388 files changed

+9623
-9786
lines changed

apiserver/v1/types_apirequestcount.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ type APIRequestCount struct {
3535
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
3636

3737
// spec defines the characteristics of the resource.
38-
// +kubebuilder:validation:Required
3938
// +required
4039
Spec APIRequestCountSpec `json:"spec"`
4140

@@ -126,7 +125,7 @@ type PerNodeAPIRequestLog struct {
126125
// PerUserAPIRequestCount contains logs of a user's requests.
127126
type PerUserAPIRequestCount struct {
128127

129-
// userName that made the request.
128+
// username that made the request.
130129
// +kubebuilder:validation:MaxLength=512
131130
UserName string `json:"username"`
132131

apiserver/v1/zz_generated.crd-manifests/kube-apiserver_apirequestcounts.crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ spec:
186186
maxLength: 1024
187187
type: string
188188
username:
189-
description: userName that made the request.
189+
description: username that made the request.
190190
maxLength: 512
191191
type: string
192192
required:
@@ -282,7 +282,7 @@ spec:
282282
maxLength: 1024
283283
type: string
284284
username:
285-
description: userName that made the request.
285+
description: username that made the request.
286286
maxLength: 512
287287
type: string
288288
required:

apiserver/v1/zz_generated.featuregated-crd-manifests/apirequestcounts.apiserver.openshift.io/AAA_ungated.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ spec:
187187
maxLength: 1024
188188
type: string
189189
username:
190-
description: userName that made the request.
190+
description: username that made the request.
191191
maxLength: 512
192192
type: string
193193
required:
@@ -283,7 +283,7 @@ spec:
283283
maxLength: 1024
284284
type: string
285285
username:
286-
description: userName that made the request.
286+
description: username that made the request.
287287
maxLength: 512
288288
type: string
289289
required:

apiserver/v1/zz_generated.swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1/generated.proto

Lines changed: 80 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1/types.go

Lines changed: 80 additions & 80 deletions
Large diffs are not rendered by default.

apps/v1/zz_generated.swagger_doc_generated.go

Lines changed: 80 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authorization/v1/generated.proto

Lines changed: 67 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authorization/v1/types.go

Lines changed: 67 additions & 67 deletions
Large diffs are not rendered by default.

authorization/v1/zz_generated.crd-manifests/0000_03_config-operator_01_rolebindingrestrictions.crd.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ spec:
4747
metadata:
4848
type: object
4949
spec:
50-
description: Spec defines the matcher.
50+
description: spec defines the matcher.
5151
properties:
5252
grouprestriction:
53-
description: GroupRestriction matches against group subjects.
53+
description: grouprestriction matches against group subjects.
5454
nullable: true
5555
properties:
5656
groups:
5757
description: |-
58-
Groups is a list of groups used to match against an individual user's
58+
groups is a list of groups used to match against an individual user's
5959
groups. If the user is a member of one of the whitelisted groups, the user
6060
is allowed to be bound to a role.
6161
items:
@@ -118,30 +118,30 @@ spec:
118118
type: array
119119
type: object
120120
serviceaccountrestriction:
121-
description: ServiceAccountRestriction matches against service-account
121+
description: serviceaccountrestriction matches against service-account
122122
subjects.
123123
nullable: true
124124
properties:
125125
namespaces:
126-
description: Namespaces specifies a list of literal namespace
126+
description: namespaces specifies a list of literal namespace
127127
names.
128128
items:
129129
type: string
130130
type: array
131131
serviceaccounts:
132-
description: ServiceAccounts specifies a list of literal service-account
132+
description: serviceaccounts specifies a list of literal service-account
133133
names.
134134
items:
135135
description: |-
136136
ServiceAccountReference specifies a service account and namespace by their
137137
names.
138138
properties:
139139
name:
140-
description: Name is the name of the service account.
140+
description: name is the name of the service account.
141141
type: string
142142
namespace:
143143
description: |-
144-
Namespace is the namespace of the service account. Service accounts from
144+
namespace is the namespace of the service account. Service accounts from
145145
inside the whitelisted namespaces are allowed to be bound to roles. If
146146
Namespace is empty, then the namespace of the RoleBindingRestriction in
147147
which the ServiceAccountReference is embedded is used.
@@ -150,11 +150,11 @@ spec:
150150
type: array
151151
type: object
152152
userrestriction:
153-
description: UserRestriction matches against user subjects.
153+
description: userrestriction matches against user subjects.
154154
nullable: true
155155
properties:
156156
groups:
157-
description: Groups specifies a list of literal group names.
157+
description: groups specifies a list of literal group names.
158158
items:
159159
type: string
160160
nullable: true
@@ -214,7 +214,7 @@ spec:
214214
nullable: true
215215
type: array
216216
users:
217-
description: Users specifies a list of literal user names.
217+
description: users specifies a list of literal user names.
218218
items:
219219
type: string
220220
type: array

0 commit comments

Comments
 (0)