Class: LabelSelector

Inherits:
Object
  • Object
show all
Defined in:
lib/xlsx_to_k8s_network_policy.rb

Overview

A base label selector

Direct Known Subclasses

MatchLabels

Defined Under Namespace

Classes: MatchLabels

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object

TODO: MatchExpressions < LabelSelector



29
30
31
# File 'lib/xlsx_to_k8s_network_policy.rb', line 29

def ==(other)
  other.class == self.class && other.labels == labels
end