Documentation ¶
Overview ¶
Package entconfig holds configuration stuff for the ent server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Flags contains the flags for the server to allow use to test different code paths Flags Flags `json:"flags" koanf:"flags" jsonschema:"description=flags for the server"` // EntityTypes is the list of entity types to create by default for the organization EntityTypes []string `json:"entityTypes" koanf:"entityTypes" default:"" description:"entity types to create for the organization"` }
Config holds the configuration for the ent server
type Flags ¶
type Flags struct { // UseListUserService is a flag to use the list user service endpoint for users with object access, if false, the core db is used directly instead UseListUserService bool `` /* 137-byte string literal not displayed */ // UserListObjectService is a flag to use the list object service endpoint for object access for a user, if false, the core db is used directly instead UseListObjectService bool `` /* 151-byte string literal not displayed */ }
Flags contains the flags for the server to allow use to test different code paths
Click to show internal directories.
Click to hide internal directories.