2023-04-25 12:09:20 +00:00
|
|
|
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)
|
2023-05-03 13:19:46 +00:00
|
|
|
irCmd.AddCommand(removeNodeCmd)
|
2023-05-18 10:08:05 +00:00
|
|
|
irCmd.AddCommand(irHealthCheckCmd)
|
2023-10-16 15:15:04 +00:00
|
|
|
irCmd.AddCommand(removeContainerCmd)
|
2023-04-25 12:09:20 +00:00
|
|
|
|
|
|
|
initControlIRTickEpochCmd()
|
2023-05-03 13:19:46 +00:00
|
|
|
initControlIRRemoveNodeCmd()
|
2023-05-18 10:08:05 +00:00
|
|
|
initControlIRHealthCheckCmd()
|
2023-10-16 15:15:04 +00:00
|
|
|
initControlIRRemoveContainerCmd()
|
2023-04-25 12:09:20 +00:00
|
|
|
}
|