case class IngressClass(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[IngressClassSpec] = Optional.Absent) extends Product with Serializable
IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The
ingressclass.kubernetes.io/is-default-class
annotation can be used to indicate that an
IngressClass should be considered default. When a single IngressClass resource has this
annotation set to true, new Ingress resources without a class specified will be assigned this
default class.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IngressClass
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new IngressClass(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[IngressClassSpec] = Optional.Absent)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, IngressClassSpec]
Gets spec.
Gets spec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: Optional[IngressClassSpec]