ServiceSpec constructor
const
ServiceSpec({
- bool? allocateLoadBalancerNodePorts,
- String? clusterIP,
- List<
String> ? clusterIPs, - List<
String> ? externalIPs, - String? externalName,
- String? externalTrafficPolicy,
- int? healthCheckNodePort,
- String? internalTrafficPolicy,
- List<
String> ? ipFamilies, - String? ipFamilyPolicy,
- String? loadBalancerClass,
- String? loadBalancerIP,
- List<
String> ? loadBalancerSourceRanges, - List<
ServicePort> ? ports, - bool? publishNotReadyAddresses,
- Map<
String, String> ? selector, - String? sessionAffinity,
- SessionAffinityConfig? sessionAffinityConfig,
- String? type,
Default constructor.
Implementation
const ServiceSpec({
this.allocateLoadBalancerNodePorts,
this.clusterIP,
this.clusterIPs,
this.externalIPs,
this.externalName,
this.externalTrafficPolicy,
this.healthCheckNodePort,
this.internalTrafficPolicy,
this.ipFamilies,
this.ipFamilyPolicy,
this.loadBalancerClass,
this.loadBalancerIP,
this.loadBalancerSourceRanges,
this.ports,
this.publishNotReadyAddresses,
this.selector,
this.sessionAffinity,
this.sessionAffinityConfig,
this.type,
});