Go API Documentation

github.com/semaphoreui/semaphore/cli/setup

No package summary is available.

Package

Files: 1. Third party imports: 1. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Constants

Types

IConfig

This type doesn't have documentation.

Field name Field type Comment
type

any

No comment on field.

Functions

func InteractiveRunnerSetup

Uses: fmt.Println, util.RunnerConfig.

func InteractiveSetup

Uses: filepath.Clean, filepath.Join, fmt.Print, os.TempDir, util.DbDriverBolt, util.DbDriverMySQL, util.DbDriverPostgres, util.LdapMappings.

func SaveConfig

Uses: filepath.Dir, filepath.Join, fmt.Printf, log.Panic, os.Getwd, os.IsNotExist, os.MkdirAll, os.Stat, os.UserConfigDir, os.WriteFile.

Private functions

func askConfirmation

References: fmt.Print, fmt.Println, fmt.Scanln, strings.ToLower.

func askValue

References: fmt.Print, fmt.Println, fmt.Scanln, fmt.Sscanln.

func scanBoltDb

References: filepath.Join, os.Getwd, os.TempDir, util.DbConfig.

func scanErrorChecker

References: log.Warn.

func scanMySQL

References: util.DbConfig.

func scanPostgres

References: util.DbConfig.