MCPcopy Create free account
hub / github.com/PostHog/duckgres / CLIInputs

Struct CLIInputs

configresolve/resolve.go:27–85  ·  view source on GitHub ↗

CLIInputs carries the post-flag.Parse() values from the binary's main plus a Set map indicating which flags the user actually provided. The caller is the source of truth for "was this flag set", since flag.Visit only sees flags that landed in os.Args; defaults look identical to unset flags from the

Source from the content-addressed store, hash-verified

25// only sees flags that landed in os.Args; defaults look identical to
26// unset flags from the resolver's perspective without this signal.
27type CLIInputs struct {
28 Set map[string]bool
29
30 Host string
31 Port int
32 DataDir string
33 CertFile string
34 KeyFile string
35 FilePersistence bool
36 ProcessIsolation bool
37 IdleTimeout string
38 SessionInitTimeout string
39 StatementTimeout string
40 MemoryLimit string
41 Threads int
42 MemoryBudget string
43 MemoryRebalance bool
44 DuckLakeDeltaCatalogEnabled bool
45 DuckLakeDeltaCatalogPath string
46 DuckLakeDefaultSpecVersion string
47 ProcessMinWorkers int
48 ProcessMaxWorkers int
49 ProcessRetireOnSessionEnd bool
50 WorkerQueueTimeout string
51 WorkerIdleTimeout string
52 HandoverDrainTimeout string
53 ACMEDomain string
54 ACMEEmail string
55 ACMECacheDir string
56 ACMEDNSProvider string
57 ACMEDNSZoneID string
58 MaxConnections int
59 ConfigStoreConn string
60 ConfigPollInterval string
61 InternalSecret string
62 InternalSecretFallbacks string
63 ReadOnlySecret string
64 ReadOnlySecretFallbacks string
65 SNIRoutingMode string
66 ManagedHostnameSuffixes string
67 WorkerBackend string
68 K8sWorkerImage string
69 K8sWorkerNamespace string
70 K8sControlPlaneID string
71 K8sWorkerPort int
72 K8sWorkerSecret string
73 K8sWorkerConfigMap string
74 K8sWorkerImagePullPolicy string
75 K8sWorkerServiceAccount string
76 K8sWorkerCPURequest string
77 K8sWorkerMemoryRequest string
78 K8sWorkerNodeSelector string
79 K8sWorkerTolerationKey string
80 K8sWorkerTolerationValue string
81 AWSRegion string
82 QueryLog bool
83
84 AdmissionReclaimerMaxReservations int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected