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
9ecee38f
Commit
9ecee38f
authored
Aug 17, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Aug 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #27275 from nebril/issue-27274
Automatic merge from submit-queue Replace map[string]string with labels.Set (TODO) fixes #27274
parents
9b5936cb
7b304166
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
3 deletions
+0
-3
types.go
pkg/api/types.go
+0
-1
generated.proto
pkg/api/v1/generated.proto
+0
-1
types.go
pkg/api/v1/types.go
+0
-1
No files found.
pkg/api/types.go
View file @
9ecee38f
...
@@ -130,7 +130,6 @@ type ObjectMeta struct {
...
@@ -130,7 +130,6 @@ type ObjectMeta struct {
// The prefix is optional. If the prefix is not specified, the key is assumed to be private
// The prefix is optional. If the prefix is not specified, the key is assumed to be private
// to the user. Other system components that wish to use labels must specify a prefix. The
// to the user. Other system components that wish to use labels must specify a prefix. The
// "kubernetes.io/" prefix is reserved for use by kubernetes components.
// "kubernetes.io/" prefix is reserved for use by kubernetes components.
// TODO: replace map[string]string with labels.LabelSet type
Labels
map
[
string
]
string
`json:"labels,omitempty"`
Labels
map
[
string
]
string
`json:"labels,omitempty"`
// Annotations are unstructured key value data stored with a resource that may be set by
// Annotations are unstructured key value data stored with a resource that may be set by
...
...
pkg/api/v1/generated.proto
View file @
9ecee38f
...
@@ -1479,7 +1479,6 @@ message ObjectMeta {
...
@@ -1479,7 +1479,6 @@ message ObjectMeta {
// (scope and select) objects. May match selectors of replication controllers
// (scope and select) objects. May match selectors of replication controllers
// and services.
// and services.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
// TODO: replace map[string]string with labels.LabelSet type
map
<
string
,
string
>
labels
=
11
;
map
<
string
,
string
>
labels
=
11
;
// Annotations is an unstructured key value map stored with a resource that may be
// Annotations is an unstructured key value map stored with a resource that may be
...
...
pkg/api/v1/types.go
View file @
9ecee38f
...
@@ -167,7 +167,6 @@ type ObjectMeta struct {
...
@@ -167,7 +167,6 @@ type ObjectMeta struct {
// (scope and select) objects. May match selectors of replication controllers
// (scope and select) objects. May match selectors of replication controllers
// and services.
// and services.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
// TODO: replace map[string]string with labels.LabelSet type
Labels
map
[
string
]
string
`json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`
Labels
map
[
string
]
string
`json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`
// Annotations is an unstructured key value map stored with a resource that may be
// Annotations is an unstructured key value map stored with a resource that may be
...
...
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