func UpdateServiceAction(service *v1.Service) Action {
	return serviceAction{kind: actionUpdate, service: service}
}
UpdateServiceAction returns an action that updates the given endpoint in the cluster
package sync
import (
	"context"
	"encoding/json"
	"fmt"
	localmetrics "github.com/projectcontour/gimbal/pkg/metrics"
	"github.com/sirupsen/logrus"
	v1 "k8s.io/api/core/v1"
	"k8s.io/apimachinery/pkg/api/errors"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/types"
	"k8s.io/apimachinery/pkg/util/strategicpatch"
	"k8s.io/client-go/kubernetes"
)
func AddServiceAction(service *v1.Service) Action {
	return serviceAction{kind: actionAdd, service: service}
}