allowCommand returns the allow subcommand.
(ctx context.Context)
| 11 | |
| 12 | // allowCommand returns the allow subcommand. |
| 13 | func allowCommand(ctx context.Context) cli.Command { |
| 14 | ctx = policycontext.WithAllow(ctx) |
| 15 | return cli.Command{ |
| 16 | Name: "allow", |
| 17 | Usage: "manage allowed names for X.509 certificate issuance policies", |
| 18 | UsageText: "**step ca policy <scope> x509 allow** <subcommand> [arguments] [global-flags] [subcommand-flags]", |
| 19 | Description: `**step ca policy <scope> x509 allow** command group provides facilities for managing X.509 names to be allowed.`, |
| 20 | Subcommands: cli.Commands{ |
| 21 | actions.CommonNamesCommand(ctx), |
| 22 | actions.DNSCommand(ctx), |
| 23 | actions.EmailCommand(ctx), |
| 24 | actions.IPCommand(ctx), |
| 25 | actions.URICommand(ctx), |
| 26 | }, |
| 27 | } |
| 28 | } |
no test coverage detected
searching dependent graphs…