1Config::Generator::ScheUmsae(r3)Contributed Perl DocumenCtoantfiiogn::Generator::Schema(3)
2
3
4

NAME

6       Config::Generator::Schema - Config::Generator schema support
7

DESCRIPTION

9       This module eases the manipulation of schemas used to validate the
10       configuration data.
11

FUNCTIONS

13       This module provides the following functions (none of them being
14       exported by default):
15
16       extend_schema(NAME, SCHEMA)
17           extend the named schema
18
19       mandatory_subtree(NAME)
20           declare a part of the schema to be mandatory
21
22       register_schema(NAME, SCHEMA)
23           register the given SCHEMA under the given NAME
24
25       validate_basic()
26           perform a basic validation (before any schema is even known)
27
28       validate_before()
29           perform a schema-based validation (before the execution of the
30           "check" hooks)
31
32       validate_after()
33           perform a schema-based validation (after the execution of the
34           "check" hooks)
35
36       validate_data(DATA, NAME)
37           validate the given DATA using the given named schema
38

CONSTANTS

40       This module provides the following useful constants to simplify schema
41       declarations (none of them being exported by default):
42
43       ·   DEF_BOOLEAN
44
45       ·   DEF_DURATION
46
47       ·   DEF_HOSTNAME
48
49       ·   DEF_INTEGER
50
51       ·   DEF_NAME
52
53       ·   DEF_NUMBER
54
55       ·   DEF_PATH
56
57       ·   DEF_SIZE
58
59       ·   DEF_STRING
60
61       ·   OPT_BOOLEAN
62
63       ·   OPT_DURATION
64
65       ·   OPT_HOSTNAME
66
67       ·   OPT_INTEGER
68
69       ·   OPT_NAME
70
71       ·   OPT_NUMBER
72
73       ·   OPT_PATH
74
75       ·   OPT_SIZE
76
77       ·   OPT_STRING
78
79       ·   OPT_STRING_LIST
80
81       ·   OPT_STRING_TABLE
82
83       ·   REQ_BOOLEAN
84
85       ·   REQ_DURATION
86
87       ·   REQ_HOSTNAME
88
89       ·   REQ_INTEGER
90
91       ·   REQ_NAME
92
93       ·   REQ_NUMBER
94
95       ·   REQ_PATH
96
97       ·   REQ_SIZE
98
99       ·   REQ_STRING
100

AUTHOR

102       Lionel Cons <http://cern.ch/lionel.cons>
103
104       Copyright (C) CERN 2013-2016
105
106
107
108perl v5.30.1                      2020-01-29      Config::Generator::Schema(3)
Impressum