func (action serviceAction) ObjectMeta() *metav1.ObjectMeta {
	return &action.service.ObjectMeta
}
ObjectMeta returns the objectMeta piece of the Action interface object
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}
}
func UpdateServiceAction(service *v1.Service) Action {
	return serviceAction{kind: actionUpdate, service: service}
}
func DeleteServiceAction(service *v1.Service) Action {
	return serviceAction{kind: actionDelete, service: service}
}
type serviceAction struct {
	kind    string
	service *v1.Service
}