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
291acd1a
Commit
291acd1a
authored
Jul 24, 2015
by
Jerzy Szczepkowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10708 from soltysh/notin_operator
Fixed notin operator in labels' selectors comments.
parents
8ea206b8
a11911d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
selector.go
pkg/labels/selector.go
+3
-3
No files found.
pkg/labels/selector.go
View file @
291acd1a
...
@@ -618,7 +618,7 @@ func (p *Parser) parseExactValue() (util.StringSet, error) {
...
@@ -618,7 +618,7 @@ func (p *Parser) parseExactValue() (util.StringSet, error) {
// <requirement> ::= KEY [ <set-based-restriction> | <exact-match-restriction>
// <requirement> ::= KEY [ <set-based-restriction> | <exact-match-restriction>
// <set-based-restriction> ::= "" | <inclusion-exclusion> <value-set>
// <set-based-restriction> ::= "" | <inclusion-exclusion> <value-set>
// <inclusion-exclusion> ::= <inclusion> | <exclusion>
// <inclusion-exclusion> ::= <inclusion> | <exclusion>
// <exclusion> ::= "not
" <inclusion>
// <exclusion> ::= "not
in"
// <inclusion> ::= "in"
// <inclusion> ::= "in"
// <value-set> ::= "(" <values> ")"
// <value-set> ::= "(" <values> ")"
// <values> ::= VALUE | VALUE "," <values>
// <values> ::= VALUE | VALUE "," <values>
...
@@ -627,12 +627,12 @@ func (p *Parser) parseExactValue() (util.StringSet, error) {
...
@@ -627,12 +627,12 @@ func (p *Parser) parseExactValue() (util.StringSet, error) {
// VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 64 character.
// VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 64 character.
// Delimiter is white space: (' ', '\t')
// Delimiter is white space: (' ', '\t')
// Example of valid syntax:
// Example of valid syntax:
// "x in (foo,,baz),y,z not
in ()"
// "x in (foo,,baz),y,z notin ()"
//
//
// Note:
// Note:
// (1) Inclusion - " in " - denotes that the KEY is equal to any of the
// (1) Inclusion - " in " - denotes that the KEY is equal to any of the
// VALUEs in its requirement
// VALUEs in its requirement
// (2) Exclusion - " not
in " - denotes that the KEY is not equal to any
// (2) Exclusion - " notin " - denotes that the KEY is not equal to any
// of the VALUEs in its requirement
// of the VALUEs in its requirement
// (3) The empty string is a valid VALUE
// (3) The empty string is a valid VALUE
// (4) A requirement with just a KEY - as in "y" above - denotes that
// (4) A requirement with just a KEY - as in "y" above - denotes that
...
...
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