func (m MeasuredService) GetIngressAuth(ctx context.Context, namespace, name string) (ia *authv1.IngressAuth, err error) {
	defer func(t0 time.Time) {
		m.rec.ObserveKubernetesServiceOperation(ctx, namespace, "GetIngressAuth", err == nil, t0)
	}(time.Now())
	return m.next.GetIngressAuth(ctx, namespace, name)
}
GetIngressAuth satisifes multiple interfaces.
package kubernetes
import (
	"context"
	"time"
	appsv1 "k8s.io/api/apps/v1"
	corev1 "k8s.io/api/core/v1"
	networkingv1beta1 "k8s.io/api/networking/v1beta1"
	"k8s.io/apimachinery/pkg/watch"
	"github.com/slok/bilrost/internal/metrics"
	"github.com/slok/bilrost/internal/model"
	authv1 "github.com/slok/bilrost/pkg/apis/auth/v1"
)
type MeasuredService struct {
	rec  metrics.Recorder
	next Service
}
func NewMeasuredService(rec metrics.Recorder, next Service) MeasuredService {
	return MeasuredService{rec: rec, next: next}
}
func (m MeasuredService) GetAuthBackend(ctx context.Context, id string) (a *model.AuthBackend, err error) {
	defer func(t0 time.Time) {
		m.rec.ObserveKubernetesServiceOperation(ctx, "", "GetAuthBackend", err == nil, t0)
	}(time.Now())
	return m.next.GetAuthBackend(ctx, id)
}