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
af2e55e7
Commit
af2e55e7
authored
Jul 12, 2017
by
Bobby (Babak) Salamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addressed reviewer comments
parent
33e6a476
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
types.go
pkg/apis/scheduling/types.go
+1
-1
types.go
staging/src/k8s.io/api/scheduling/v1alpha1/types.go
+4
-4
No files found.
pkg/apis/scheduling/types.go
View file @
af2e55e7
...
...
@@ -40,7 +40,7 @@ type PriorityClass struct {
GlobalDefault
bool
// Description is an arbitrary string that usually provides guidelines on
// whe
re
this priority class should be used.
// whe
n
this priority class should be used.
// +optional
Description
string
}
...
...
staging/src/k8s.io/api/scheduling/v1alpha1/types.go
View file @
af2e55e7
...
...
@@ -37,13 +37,13 @@ type PriorityClass struct {
// receive when they have the name of this class in their pod spec.
Value
int32
`json:"value" protobuf:"bytes,2,opt,name=value"`
//
G
lobalDefault specifies whether this PriorityClass should be considered as
//
g
lobalDefault specifies whether this PriorityClass should be considered as
// the default priority for pods that do not have any priority class.
// +optional
GlobalDefault
bool
`json:"globalDefault,omitempty" protobuf:"bytes,3,opt,name=globalDefault"`
//
D
escription is an arbitrary string that usually provides guidelines on
// whe
re
this priority class should be used.
//
d
escription is an arbitrary string that usually provides guidelines on
// whe
n
this priority class should be used.
// +optional
Description
string
`json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
}
...
...
@@ -58,6 +58,6 @@ type PriorityClassList struct {
// +optional
metav1
.
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
//
Items is the list of Storage
Classes
//
items is the list of Priority
Classes
Items
[]
PriorityClass
`json:"items" protobuf:"bytes,2,rep,name=items"`
}
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