Révision 8c00b818
Pull up rule regexp to type aliases
REFERENCE.md | ||
---|---|---|
74 | 74 |
* [`Nftables::Addr::Set`](#nftablesaddrset): Represents a set expression to be used within a rule. |
75 | 75 |
* [`Nftables::Port`](#nftablesport): Represents a port expression to be used within a rule. |
76 | 76 |
* [`Nftables::Port::Range`](#nftablesportrange): Represents a port range expression to be used within a rule. |
77 |
* [`Nftables::RuleName`](#nftablesrulename): Represents a rule name to be used in a raw rule created via nftables::rule. |
|
78 |
It's a dash separated string. The first component describes the chain to |
|
79 |
add the rule to, the second the rule name and the (optional) third a number. |
|
80 |
Ex: 'default_in-sshd', 'default_out-my_service-2'. |
|
81 |
* [`Nftables::SimpleRuleName`](#nftablessimplerulename): Represents a simple rule name to be used in a rule created via nftables::simplerule |
|
77 | 82 |
|
78 | 83 |
## Classes |
79 | 84 |
|
... | ... | |
847 | 852 |
|
848 | 853 |
##### `rulename` |
849 | 854 |
|
850 |
Data type: `Pattern[/^[a-zA-Z0-9_]+-[a-zA-Z0-9_]+(-\d+)?$/]`
|
|
855 |
Data type: `Nftables::RuleName`
|
|
851 | 856 |
|
852 | 857 |
|
853 | 858 |
|
... | ... | |
1286 | 1291 |
|
1287 | 1292 |
##### `rulename` |
1288 | 1293 |
|
1289 |
Data type: `Pattern[/^[a-zA-Z0-9_]+(-\d+)?$/]`
|
|
1294 |
Data type: `Nftables::SimpleRuleName`
|
|
1290 | 1295 |
|
1291 | 1296 |
The symbolic name for the rule to add. Defaults to the resource's title. |
1292 | 1297 |
|
... | ... | |
1415 | 1420 |
|
1416 | 1421 |
Alias of `Pattern[/^\d+-\d+$/]` |
1417 | 1422 |
|
1423 |
### `Nftables::RuleName` |
|
1424 |
|
|
1425 |
Represents a rule name to be used in a raw rule created via nftables::rule. |
|
1426 |
It's a dash separated string. The first component describes the chain to |
|
1427 |
add the rule to, the second the rule name and the (optional) third a number. |
|
1428 |
Ex: 'default_in-sshd', 'default_out-my_service-2'. |
|
1429 |
|
|
1430 |
Alias of `Pattern[/^[a-zA-Z0-9_]+-[a-zA-Z0-9_]+(-\d+)?$/]` |
|
1431 |
|
|
1432 |
### `Nftables::SimpleRuleName` |
|
1433 |
|
|
1434 |
Represents a simple rule name to be used in a rule created via nftables::simplerule |
|
1435 |
|
|
1436 |
Alias of `Pattern[/^[a-zA-Z0-9_]+(-\d+)?$/]` |
|
1437 |
|
Formats disponibles : Unified diff