2023-05-15 16:38:05 +02:00
|
|
|
package k8s
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2023-05-17 11:07:09 +02:00
|
|
|
"github.com/traefik/traefik/v3/pkg/config/dynamic"
|
2024-03-15 09:24:03 +01:00
|
|
|
"k8s.io/apimachinery/pkg/runtime"
|
2023-05-15 16:38:05 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
type RouterTransform interface {
|
2024-03-15 09:24:03 +01:00
|
|
|
Apply(ctx context.Context, rt *dynamic.Router, object runtime.Object) error
|
2023-05-15 16:38:05 +02:00
|
|
|
}
|