forked from TrueCloudLab/frostfs-node
[#932] adm: Move command frostfsid
to package frostfsid
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
a92188e5f9
commit
218bd72f9a
6 changed files with 41 additions and 36 deletions
|
@ -2,6 +2,7 @@ package morph
|
|||
|
||||
import (
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/ape"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/frostfsid"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/policy"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/util"
|
||||
"github.com/spf13/cobra"
|
||||
|
@ -262,18 +263,7 @@ func init() {
|
|||
initProxyAddAccount()
|
||||
initProxyRemoveAccount()
|
||||
|
||||
RootCmd.AddCommand(frostfsidCmd)
|
||||
initFrostfsIDCreateNamespaceCmd()
|
||||
initFrostfsIDListNamespacesCmd()
|
||||
initFrostfsIDCreateSubjectCmd()
|
||||
initFrostfsIDDeleteSubjectCmd()
|
||||
initFrostfsIDListSubjectsCmd()
|
||||
initFrostfsIDCreateGroupCmd()
|
||||
initFrostfsIDDeleteGroupCmd()
|
||||
initFrostfsIDListGroupsCmd()
|
||||
initFrostfsIDAddSubjectToGroupCmd()
|
||||
initFrostfsIDRemoveSubjectFromGroupCmd()
|
||||
initFrostfsIDListGroupSubjectsCmd()
|
||||
RootCmd.AddCommand(frostfsid.Cmd)
|
||||
}
|
||||
|
||||
func initProxyAddAccount() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue