github.com/projecteru2/core@v0.0.0-20240321043226-06bcc1c23f58/resource/plugins/binary/commands.go (about)

     1  package binary
     2  
     3  const (
     4  	CalculateDeployCommand  = "calculate-deploy"
     5  	CalculateReallocCommand = "calculate-realloc"
     6  	CalculateRemapCommand   = "calculate-remap"
     7  
     8  	AddNodeCommand    = "add-node"
     9  	RemoveNodeCommand = "remove-node"
    10  
    11  	GetNodesDeployCapacityCommand = "get-nodes-deploy-capacity"
    12  
    13  	SetNodeResourceCapacityCommand = "set-node-resource-capacity"
    14  
    15  	GetNodeResourceInfoCommand = "get-node-resource-info"
    16  	SetNodeResourceInfoCommand = "set-node-resource-info"
    17  
    18  	SetNodeResourceUsageCommand = "set-node-resource-usage"
    19  
    20  	GetMostIdleNodeCommand = "get-most-idle-node"
    21  
    22  	FixNodeResourceCommand = "fix-node-resource"
    23  
    24  	GetMetricsDescriptionCommand = "get-metrics-description"
    25  	GetMetricsCommand            = "get-metrics"
    26  )