cmd

package
v0.0.0-...-c5ff7ba Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: PostgreSQL Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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(start time.Time, roles, grants, queries int) int

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