mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +02:00
refactor
This commit is contained in:
1 parent
9cd263b2ce
commit
ec30a504ba
73 files changed
+81
-75
No files matched your search
@@ -6,9 +6,15 @@ type command interface {
|
||||
Name() string
|
||||
Help() string
|
||||
Do([]string, *CommandEnv, io.Writer) error
|
||||
IsResourceHeavy() bool
|
||||
HasTag(tag CommandTag) bool
|
||||
}
|
||||
|
||||
var (
|
||||
Commands = []command{}
|
||||
)
|
||||
|
||||
type CommandTag string
|
||||
|
||||
const (
|
||||
ResourceHeavy CommandTag = "resourceHeavy"
|
||||
)
|
||||
Reference in new issue
Block a user