Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServeCmd = cli.Command{ Name: "serve", Usage: "starts the drone server", Action: func(c *cli.Context) { if err := start(c); err != nil { logrus.Fatal(err) } }, Flags: []cli.Flag{ cli.StringFlag{ EnvVar: "SERVER_ADDR", Name: "server-addr", Usage: "server address", Value: ":8000", }, cli.StringFlag{ EnvVar: "SERVER_CERT", Name: "server-cert", Usage: "server ssl cert", }, cli.StringFlag{ EnvVar: "SERVER_KEY", Name: "server-key", Usage: "server ssl key", }, cli.BoolFlag{ EnvVar: "DEBUG", Name: "debug", Usage: "start the server in debug mode", }, cli.BoolFlag{ EnvVar: "EXPERIMENTAL", Name: "experimental", Usage: "start the server with experimental features", }, cli.BoolFlag{ Name: "agreement.ack", EnvVar: "I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION", Usage: "agree to terms of use.", }, cli.BoolFlag{ Name: "agreement.fix", EnvVar: "I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS", Usage: "agree to terms of use.", }, }, }
ServeCmd is the exported command for starting the drone server.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.