package
1.8.0-alpha.1
Repository: https://github.com/josedonizetti/kubernetes.git
Documentation: pkg.go.dev
# Functions
ClearExternalTrafficPolicy resets the ExternalTrafficPolicy field.
GetLoadBalancerSourceRanges first try to parse and verify LoadBalancerSourceRanges field from a service.
GetServiceHealthCheckNodePort Return health check node port for service, if one exists.
IsAllowAll checks whether the netsets.IPNet allows traffic from 0.0.0.0/0.
NeedsHealthCheck Check if service needs health check.
RequestsOnlyLocalTraffic checks if service requests OnlyLocal traffic.
SetServiceHealthCheckNodePort sets the given health check node port on service.