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
4602d4fc
Commit
4602d4fc
authored
Jan 10, 2017
by
Ethan Chu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in resource quota controller comment
parent
8ef69025
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
resource_quota_controller.go
pkg/controller/resourcequota/resource_quota_controller.go
+2
-2
No files found.
pkg/controller/resourcequota/resource_quota_controller.go
View file @
4602d4fc
...
@@ -46,7 +46,7 @@ type ResourceQuotaControllerOptions struct {
...
@@ -46,7 +46,7 @@ type ResourceQuotaControllerOptions struct {
Registry
quota
.
Registry
Registry
quota
.
Registry
// Knows how to build controllers that notify replenishment events
// Knows how to build controllers that notify replenishment events
ControllerFactory
ReplenishmentControllerFactory
ControllerFactory
ReplenishmentControllerFactory
// Controls full resync of objects monitored for repleni
hs
ment.
// Controls full resync of objects monitored for repleni
sh
ment.
ReplenishmentResyncPeriod
controller
.
ResyncPeriodFunc
ReplenishmentResyncPeriod
controller
.
ResyncPeriodFunc
// List of GroupKind objects that should be monitored for replenishment at
// List of GroupKind objects that should be monitored for replenishment at
// a faster frequency than the quota controller recalculation interval
// a faster frequency than the quota controller recalculation interval
...
@@ -63,7 +63,7 @@ type ResourceQuotaController struct {
...
@@ -63,7 +63,7 @@ type ResourceQuotaController struct {
rqController
*
cache
.
Controller
rqController
*
cache
.
Controller
// ResourceQuota objects that need to be synchronized
// ResourceQuota objects that need to be synchronized
queue
workqueue
.
RateLimitingInterface
queue
workqueue
.
RateLimitingInterface
// missingUsageQueue holds objects that are missing the initial usage informati
no
// missingUsageQueue holds objects that are missing the initial usage informati
on
missingUsageQueue
workqueue
.
RateLimitingInterface
missingUsageQueue
workqueue
.
RateLimitingInterface
// To allow injection of syncUsage for testing.
// To allow injection of syncUsage for testing.
syncHandler
func
(
key
string
)
error
syncHandler
func
(
key
string
)
error
...
...
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