Class ServiceEntrySpec

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ServiceEntrySpec
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html
    • Constructor Detail

      • ServiceEntrySpec

        public ServiceEntrySpec​(java.util.List<java.lang.String> addresses,
                                java.util.List<ServiceEntrySpecEndpoints> endpoints,
                                java.util.List<java.lang.String> exportTo,
                                java.util.List<java.lang.String> hosts,
                                java.lang.String location,
                                java.util.List<GatewaySpecPort> ports,
                                java.lang.String resolution,
                                java.util.List<java.lang.String> subjectAltNames,
                                ServiceEntrySpecWorkloadSelector workloadSelector)
      • ServiceEntrySpec

        public ServiceEntrySpec()
    • Method Detail

      • getAddresses

        public java.util.List<java.lang.String> getAddresses()
        The virtual IP addresses associated with the service.
      • getEndpoints

        public java.util.List<ServiceEntrySpecEndpoints> getEndpoints()
        One or more endpoints associated with the service.
      • getExportTo

        public java.util.List<java.lang.String> getExportTo()
        A list of namespaces to which this service is exported.
      • getHosts

        public java.util.List<java.lang.String> getHosts()
        The hosts associated with the ServiceEntry.
      • getLocation

        public java.lang.String getLocation()
      • getPorts

        public java.util.List<GatewaySpecPort> getPorts()
        The ports associated with the external service.
      • getResolution

        public java.lang.String getResolution()
        Service discovery mode for the hosts.
      • getSubjectAltNames

        public java.util.List<java.lang.String> getSubjectAltNames()
      • setAddresses

        public void setAddresses​(java.util.List<java.lang.String> addresses)
        The virtual IP addresses associated with the service.
      • setEndpoints

        public void setEndpoints​(java.util.List<ServiceEntrySpecEndpoints> endpoints)
        One or more endpoints associated with the service.
      • setExportTo

        public void setExportTo​(java.util.List<java.lang.String> exportTo)
        A list of namespaces to which this service is exported.
      • setHosts

        public void setHosts​(java.util.List<java.lang.String> hosts)
        The hosts associated with the ServiceEntry.
      • setLocation

        public void setLocation​(java.lang.String location)
      • setPorts

        public void setPorts​(java.util.List<GatewaySpecPort> ports)
        The ports associated with the external service.
      • setResolution

        public void setResolution​(java.lang.String resolution)
        Service discovery mode for the hosts.
      • setSubjectAltNames

        public void setSubjectAltNames​(java.util.List<java.lang.String> subjectAltNames)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object