// IsServiceIngressReady returns true if external ip is available
IsServiceIngressReady returns true if external ip is available
// IsServiceIngressReady returns true if external ip is available
func (m *AppManager) IsServiceIngressReady(svc *apiv1.Service, err error) bool {
	if err != nil || svc == nil {
		return false
	}
	if svc.Status.LoadBalancer.Ingress != nil && len(svc.Status.LoadBalancer.Ingress) > 0 {
		return true
	}
	if m.minikubeNodeIP() != "" {
		if len(svc.Spec.Ports) > 0 {
			return true
		}
	}
	return false
}
func ( m * AppManager ) IsServiceIngressReady ( svc * apiv1 . Service , err error ) bool { if err != nil || svc == nil { return false } if svc . Status . LoadBalancer . Ingress != nil && len ( svc . Status . LoadBalancer . Ingress ) > 0 { return true } if m . minikubeNodeIP ( ) != " " { if len ( svc . Spec . Ports ) > 0 { return true } } return false }
IsServiceIngressReady returns true if external ip is available
IsServiceIngressReady returns true if external ip is available
// TODO: Support the other local k8s clusters