IPBlock

final case class IPBlock(cidr: String, except: Option[Seq[String]])

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

Source:
IPBlock.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addExcept(newValues: String*): IPBlock

Inherited methods

Inherited from:
Product