Some checks failed
DCO action / DCO (pull_request) Successful in 1m14s
Vulncheck / Vulncheck (pull_request) Failing after 3m22s
Build / Build Components (1.20) (pull_request) Successful in 3m16s
Build / Build Components (1.21) (pull_request) Successful in 3m13s
Tests and linters / Tests (1.21) (pull_request) Successful in 5m2s
Tests and linters / Tests (1.20) (pull_request) Successful in 5m8s
Tests and linters / Staticcheck (pull_request) Successful in 4m57s
Tests and linters / Tests with -race (pull_request) Successful in 5m3s
Tests and linters / Lint (pull_request) Successful in 5m24s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
21 lines
476 B
Go
21 lines
476 B
Go
package control
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var irCmd = &cobra.Command{
|
|
Use: "ir",
|
|
Short: "Operations with inner ring nodes",
|
|
Long: "Operations with inner ring nodes",
|
|
}
|
|
|
|
func initControlIRCmd() {
|
|
irCmd.AddCommand(tickEpochCmd)
|
|
irCmd.AddCommand(removeNodeCmd)
|
|
irCmd.AddCommand(irHealthCheckCmd)
|
|
irCmd.AddCommand(removeContainerCmd)
|
|
|
|
initControlIRTickEpochCmd()
|
|
initControlIRRemoveNodeCmd()
|
|
initControlIRHealthCheckCmd()
|
|
initControlIRRemoveContainerCmd()
|
|
}
|