]>
git.proxmox.com Git - pmg-docs.git/blob - gen-pmg.conf.5-opts.pl
4f06ed70a3ded52cc1b85a2113e4ac70acf055e8
12 my $types = PMG
::Config
::Base-
>lookup_types;
14 my $single_section = shift;
22 rejectunknownsender
=> 1,
30 conn_count_limit
=> 1,
32 message_rate_limit
=> 1,
51 if ($single_section) {
52 if (my $a = $key_groups->{$single_section}) {
53 my ($sec, $hash) = @$a;
54 $single_section = $sec;
60 foreach my $section (@$types) {
61 my $plugin = PMG
::Config
::Base-
>lookup($section);
62 my $schema = $plugin->updateSchema(1);
63 my $properties = $schema->{properties
};
65 if (defined($single_section)) {
66 next if $section ne $single_section;
68 print ".Section '$section'\n\n";
74 my ($key, $phash) = @_;
75 return 1 if $key eq 'digest';
76 return 1 if $key eq 'delete';
77 return 1 if $select_keys && !$select_keys->{$key};
81 print PVE
::RESTHandler
::dump_properties
(
82 $properties, 'asciidoc', 'config', $filter);
85 if (defined($single_section)) {
86 die "no such section '$single_section'" if !$found;