All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.networking.v1.IngressClassSpec Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.networking.v1;

import java.lang.String;

/**
 * IngressClassSpec provides information about the class of an Ingress.
 */
public class IngressClassSpec {
  public String controller;

  public IngressClassParametersReference parameters;

  /**
   * controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
   */
  public IngressClassSpec controller(String controller) {
    this.controller = controller;
    return this;
  }

  public IngressClassSpec parameters(IngressClassParametersReference parameters) {
    this.parameters = parameters;
    return this;
  }

  public static IngressClassSpec ingressClassSpec() {
    return new IngressClassSpec();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy