github.com/semaphoreui/semaphore/cli/cmd
No package summary is available.
Package
Files: 19. Third party imports: 6. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Vars
Types
userArgs
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| login |
|
No comment on field. |
| name |
|
No comment on field. |
|
No comment on field. | |
| password |
|
No comment on field. |
| admin |
|
No comment on field. |
| totp |
|
No comment on field. |
| external |
|
No comment on field. |
vaultArgs
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| oldKey |
|
No comment on field. |
Functions
func Execute
Uses: fmt.Fprintln, os.Exit, os.Stderr.
Private functions
func applyChangeUserArgsForUser
References: db.UserWithPwd, fmt.Printf.
func createStore
func createStoreWithMigrationVersion
References: db.FillConfigFromDB, db.Migrate, db.Rollback, factory.CreateStore, util.ConfigInit, util.LookupDefaultApps.
func cropTrailingSlashMiddleware
References: http.HandlerFunc, http.Request, http.ResponseWriter, strings.TrimSuffix.
func doRunnerSetup
nolint: gocyclo
References: fmt.Printf, runners.JobPool, setup.InteractiveRunnerSetup, setup.SaveConfig, util.Config, util.ConfigInit, util.ConfigType.func doSetup
nolint: gocyclo
References: bufio.NewReader, db.Migrate, db.UserWithPwd, factory.CreateStore, fmt.Printf, fmt.Println, os.Exit, os.Stdin, setup.InteractiveSetup, setup.SaveConfig, strings.ToLower, util.ConfigInit, util.ConfigType, util.LogWarning.func init
func readNewline
References: fmt.Print, strings.ReplaceAll, util.LogWarning.
func registerRunner
References: io.ReadAll, os.Stdin, runners.JobPool, strings.TrimSpace, util.Config, util.ConfigInit.
func runRunner
References: runners.JobPool, util.ConfigInit.
func runService
References: api.Route, context.Set, fmt.Printf, fmt.Println, fmt.Sprintf, handlers.ProxyHeaders, http.Error, http.Handle, http.Handler, http.HandlerFunc, http.ListenAndServe, http.ListenAndServeTLS, http.Redirect, http.Request, http.ResponseWriter, http.StatusForbidden, http.StatusTemporaryRedirect, log.Panic, log.WithError, schedules.CreateSchedulePool, sockets.StartWS, strings.HasPrefix, strings.Split, tasks.CreateTaskPool, url.Parse, util.Config, util.Version.
func unregisterRunner
References: runners.JobPool, util.ConfigInit.