entconfig

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL