Documentation
¶
Index ¶
- type Set
- func (s Set) DeepCopy() Set
- func (s Set) Has(value string) bool
- func (s Set) HasAny(values ...string) bool
- func (s Set) Intersection(set Set) Set
- func (s Set) IsComplement() bool
- func (s Set) Len() int
- func (s Set) String() string
- func (s Set) Type() v1.NodeSelectorOperator
- func (s Set) Values() sets.String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
Set is a logical set of string values for the requirements. It supports representations using complement operator. e.g., if C={"A", "B"}, setting complement = true means C' contains every possible string values other than "A" and "B"
func NewComplementSet ¶
func (Set) DeepCopy ¶
DeepCopy creates a deep copy of the set object It is required by the Kubernetes CRDs code generation
func (Set) HasAny ¶ added in v0.7.3
HasAny returns true if any of the supplied values are in the set.
func (Set) Intersection ¶
Intersection returns a new set containing the common values
func (Set) IsComplement ¶
IsComplement returns whether the set is a complement set.
func (Set) Type ¶ added in v0.7.3
func (s Set) Type() v1.NodeSelectorOperator
Click to show internal directories.
Click to hide internal directories.