Embed https://git.frostfs.info/dkirillov/policy-reader tool to 'frostfs-adm morph ape' command Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
24 lines
538 B
Go
24 lines
538 B
Go
package ape
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/ape/chains"
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/ape/raw"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var Cmd = &cobra.Command{
|
|
Use: "ape",
|
|
Short: "Section for APE configuration commands",
|
|
}
|
|
|
|
func init() {
|
|
Cmd.AddCommand(raw.Cmd)
|
|
Cmd.AddCommand(chains.Cmd)
|
|
|
|
initAddRuleChainCmd()
|
|
initRemoveRuleChainCmd()
|
|
initListRuleChainsCmd()
|
|
initSetAdminCmd()
|
|
initGetAdminCmd()
|
|
initListTargetsCmd()
|
|
}
|