Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardConfigPrinter ¶
Types ¶
type ConfigOptions ¶
type ConfigOptions struct { MappingFile string Config *config.Config ConfigPrinter ConfigPrinter }
type ConfigPrinter ¶
func JSONConfigPrinter ¶
func JSONConfigPrinter(w io.Writer) ConfigPrinter
func YAMLConfigPrinter ¶
func YAMLConfigPrinter(w io.Writer) ConfigPrinter
type PostgresOptions ¶
type PostgresOptions struct { PostgresURI string ReplogConfig *pgxpool.Config PoolConfig *pgxpool.Config }
PostgresOptions holds options related to postgres
func (*PostgresOptions) Complete ¶
func (o *PostgresOptions) Complete() error
Complete configures postgres options from a URI if needed Set either URI or the config objects, but not both.
type SpiceDBOptions ¶
type SpiceDBOptions struct { SpiceDBEndpoint string SpiceDBToken string SpiceDBInsecure bool Client *authzed.Client }
func (*SpiceDBOptions) Complete ¶
func (o *SpiceDBOptions) Complete(dryRun bool) (err error)
Click to show internal directories.
Click to hide internal directories.