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

io.k8s.api.networking.v1alpha1.ServiceCIDRSpec Maven / Gradle / Ivy

package io.k8s.api.networking.v1alpha1;

import java.lang.String;
import java.util.List;

/**
 * ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
 */
public class ServiceCIDRSpec {
  public List cidrs;

  /**
   * CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
   */
  public ServiceCIDRSpec cidrs(List cidrs) {
    this.cidrs = cidrs;
    return this;
  }

  public static ServiceCIDRSpec serviceCIDRSpec() {
    return new ServiceCIDRSpec();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy