...

Source file src/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection/operator.go

Documentation: sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection

     1  // Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT.
     2  // File content copied from k8s.io/apimachinery@v0.19.8/pkg/selection/operator.go
     3  
     4  /*
     5  Copyright 2016 The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  package selection
    21  
    22  // Operator represents a key/field's relationship to value(s).
    23  // See labels.Requirement and fields.Requirement for more details.
    24  type Operator string
    25  
    26  const (
    27  	DoesNotExist Operator = "!"
    28  	Equals       Operator = "="
    29  	DoubleEquals Operator = "=="
    30  	In           Operator = "in"
    31  	NotEquals    Operator = "!="
    32  	NotIn        Operator = "notin"
    33  	Exists       Operator = "exists"
    34  	GreaterThan  Operator = "gt"
    35  	LessThan     Operator = "lt"
    36  )
    37  

View as plain text