traefik/pkg/provider/kubernetes/k8s/router_transform.go
Julien Salleyron d582e01892
runtime.Object in routerTransform
Co-authored-by: lbenguigui <lbenguigui@gmail.com>
2024-03-15 09:24:03 +01:00

12 lines
236 B
Go

package k8s
import (
"context"
"github.com/traefik/traefik/v3/pkg/config/dynamic"
"k8s.io/apimachinery/pkg/runtime"
)
type RouterTransform interface {
Apply(ctx context.Context, rt *dynamic.Router, object runtime.Object) error
}