mirror of
https://github.com/kubernetes/client-go.git
synced 2026-05-18 05:36:01 +00:00
(https://github.com/kubernetes/contrib/tree/master/mungegithub) Directory 1.4 is copied from https://github.com/kubernetes/kubernetes.git, branch release-1.4, last commit is 13fe69db3769db0ae6e6d0092d18c91a5c04ca1c Directory 1.5 is copied from https://github.com/kubernetes/kubernetes.git, branch master, last commit is 0cd24992c2ed1e46fbac9058ded5fae362b6ceef
34 lines
1.0 KiB
Go
34 lines
1.0 KiB
Go
/*
|
|
Copyright 2016 The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package selection
|
|
|
|
// Operator represents a key/field's relationship to value(s).
|
|
// See labels.Requirement and fields.Requirement for more details.
|
|
type Operator string
|
|
|
|
const (
|
|
DoesNotExist Operator = "!"
|
|
Equals Operator = "="
|
|
DoubleEquals Operator = "=="
|
|
In Operator = "in"
|
|
NotEquals Operator = "!="
|
|
NotIn Operator = "notin"
|
|
Exists Operator = "exists"
|
|
GreaterThan Operator = "gt"
|
|
LessThan Operator = "lt"
|
|
)
|