Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "server", Usage: "starts the ymir server daemon", Action: server, Flags: []cli.Flag{ cli.BoolFlag{ EnvVar: "DEBUG", Name: "debug", Usage: "start the server in debug mode", }, cli.StringFlag{ EnvVar: "SERVER_ADDR", Name: "server-addr", Usage: "server address", Value: ":5600", }, cli.StringFlag{ EnvVar: "KUBERNETE_ADDR", Name: "kubernete-addr", Usage: "kubernete addr", Value: "https://kubernetes.default", }, cli.StringFlag{ EnvVar: "JOB_NAMESPACE", Name: "job-namespace", Usage: "job namespace", Value: "ymir", }, cli.DurationFlag{ EnvVar: "TIMEOUT_FOR_START", Name: "timeout-for-start", Usage: "timeout for start", Value: time.Minute * 1, }, cli.StringFlag{ EnvVar: "AGENT_IMAGE", Name: "agent-image", Usage: "agent image", Value: "hub.c.163.com/u2takey/ymir:v-agent-test", }, }, }
Command exports the server command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.