cmd

package
v6.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: PostgreSQL Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string // set by main

)

Functions

func Main

func Main()

Types

type Controller

type Controller struct {
	Check          bool
	Color          bool
	Config         string
	Real           bool
	SkipPrivileges bool
	Quiet          int
	Verbose        int
	Verbosity      string
	LogLevel       slog.Level
	Directory      string
	Dsn            string
}

Controller holds flags/env values controlling the execution of ldap2pg.

func (Controller) Finalize

func (controller Controller) Finalize(errs *errorlist.List, start time.Time, roles, grants, queries int) error

Finalize logs the end of ldap2pg execution and determine exit code.

Jump to

Keyboard shortcuts

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