mirror of
https://github.com/MizuchiLabs/mantrae.git
synced 2026-01-07 15:00:01 -06:00
88 lines
3.2 KiB
YAML
88 lines
3.2 KiB
YAML
version: "2"
|
|
sql:
|
|
- engine: "sqlite"
|
|
# schema: "internal/store/migrations"
|
|
schema: "internal/store/00000_base.sql"
|
|
queries: "internal/store/queries"
|
|
gen:
|
|
go:
|
|
package: "db"
|
|
out: "internal/store/db"
|
|
emit_json_tags: true
|
|
emit_prepared_queries: true
|
|
emit_interface: true
|
|
emit_pointers_for_null_types: true
|
|
json_tags_case_style: "camel"
|
|
overrides:
|
|
- column: "http_routers.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "Router"
|
|
pointer: true
|
|
- column: "tcp_routers.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "TCPRouter"
|
|
pointer: true
|
|
- column: "udp_routers.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "UDPRouter"
|
|
pointer: true
|
|
- column: "http_services.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "Service"
|
|
pointer: true
|
|
- column: "tcp_services.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "TCPService"
|
|
pointer: true
|
|
- column: "udp_services.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "UDPService"
|
|
pointer: true
|
|
- column: "http_middlewares.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "Middleware"
|
|
pointer: true
|
|
- column: "tcp_middlewares.config"
|
|
go_type:
|
|
import: "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
type: "TCPMiddleware"
|
|
pointer: true
|
|
- column: "traefik_instances.config"
|
|
go_type:
|
|
import: "github.com/mizuchilabs/mantrae/internal/store/schema"
|
|
type: "Configuration"
|
|
pointer: true
|
|
- column: "traefik_instances.entrypoints"
|
|
go_type:
|
|
import: "github.com/mizuchilabs/mantrae/internal/store/schema"
|
|
type: "EntryPoints"
|
|
pointer: true
|
|
- column: "traefik_instances.overview"
|
|
go_type:
|
|
import: "github.com/mizuchilabs/mantrae/internal/store/schema"
|
|
type: "Overview"
|
|
pointer: true
|
|
- column: "dns_providers.config"
|
|
go_type:
|
|
import: "github.com/mizuchilabs/mantrae/internal/store/schema"
|
|
type: "DNSProviderConfig"
|
|
pointer: true
|
|
- column: "agents.private_ips"
|
|
go_type:
|
|
import: "github.com/mizuchilabs/mantrae/internal/store/schema"
|
|
type: "AgentPrivateIPs"
|
|
pointer: true
|
|
- column: "agents.containers"
|
|
go_type:
|
|
import: "github.com/mizuchilabs/mantrae/internal/store/schema"
|
|
type: "AgentContainers"
|
|
pointer: true
|
|
|