Class ServiceEntrySpec
- java.lang.Object
-
- me.snowdrop.istio.api.networking.v1alpha3.ServiceEntrySpec
-
- All Implemented Interfaces:
Serializable,IstioSpec
public class ServiceEntrySpec extends Object implements Serializable, IstioSpec
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceEntrySpec()No args constructor for use in serializationServiceEntrySpec(List<String> addresses, List<WorkloadEntrySpec> endpoints, List<String> exportTo, List<String> hosts, ServiceEntryLocation location, List<Port> ports, ServiceEntryResolution resolution, List<String> subjectAltNames, WorkloadSelector workloadSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAddresses()List<WorkloadEntrySpec>getEndpoints()List<String>getExportTo()List<String>getHosts()ServiceEntryLocationgetLocation()List<Port>getPorts()ServiceEntryResolutiongetResolution()List<String>getSubjectAltNames()WorkloadSelectorgetWorkloadSelector()voidsetAddresses(List<String> addresses)voidsetEndpoints(List<WorkloadEntrySpec> endpoints)voidsetExportTo(List<String> exportTo)voidsetHosts(List<String> hosts)voidsetLocation(ServiceEntryLocation location)voidsetPorts(List<Port> ports)voidsetResolution(ServiceEntryResolution resolution)voidsetSubjectAltNames(List<String> subjectAltNames)voidsetWorkloadSelector(WorkloadSelector workloadSelector)
-
-
-
Constructor Detail
-
ServiceEntrySpec
public ServiceEntrySpec()
No args constructor for use in serialization
-
ServiceEntrySpec
public ServiceEntrySpec(List<String> addresses, List<WorkloadEntrySpec> endpoints, List<String> exportTo, List<String> hosts, ServiceEntryLocation location, List<Port> ports, ServiceEntryResolution resolution, List<String> subjectAltNames, WorkloadSelector workloadSelector)
- Parameters:
addresses-endpoints-workloadSelector-hosts-location-subjectAltNames-exportTo-ports-resolution-
-
-
Method Detail
-
getEndpoints
public List<WorkloadEntrySpec> getEndpoints()
-
setEndpoints
public void setEndpoints(List<WorkloadEntrySpec> endpoints)
-
getLocation
public ServiceEntryLocation getLocation()
-
setLocation
public void setLocation(ServiceEntryLocation location)
-
getResolution
public ServiceEntryResolution getResolution()
-
setResolution
public void setResolution(ServiceEntryResolution resolution)
-
getWorkloadSelector
public WorkloadSelector getWorkloadSelector()
-
setWorkloadSelector
public void setWorkloadSelector(WorkloadSelector workloadSelector)
-
-