Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExitCodeDoneWithNoop up/downリクエストを受け取ったが処理なしの場合(JOB_DONE_NOOP) ExitCodeDoneWithNoop = 129 // ExitCodeUnacceptableState up/downリクエストが受け入れられない状態の場合(処理の実行中やcooldown期間中、シャットダウン中の場合など) ExitCodeUnacceptableState = 130 )
Variables ¶
View Source
var Command = &cobra.Command{ Use: "direct {up | down} [flags]...", Short: "Send Up/Down request directly to Core server", ValidArgs: []string{"up", "down"}, Args: cobra.ExactValidArgs(1), PreRunE: flags.ValidateMultiFunc(true, flags.ValidateDestinationFlags, func(cmd *cobra.Command, args []string) error { if err := validate.Struct(param); err != nil { return err } return flags.ValidateInputsConfigFlags(cmd, args) }, ), RunE: run, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.