Peter Kurfer
647f602c79
- added Core CRD to manage DB migrations & configuration, PostgREST and GoTrue (auth) - added APIGateway CRD to manage Envoy proxy - added Dashboard CRD to manage (so far) pg-meta and (soon) studio deployments - implemented basic Envoy control plane based on K8s watcher
13 lines
212 B
Go
13 lines
212 B
Go
package api
|
|
|
|
import (
|
|
"iter"
|
|
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"sigs.k8s.io/controller-runtime/pkg/client"
|
|
)
|
|
|
|
type ObjectList[T metav1.Object] interface {
|
|
client.ObjectList
|
|
Iter() iter.Seq[T]
|
|
}
|