Skip to content

Commit

Permalink
Merge pull request #1560 from bastelfreak/types
Browse files Browse the repository at this point in the history
init.pp: Add missing datatypes
  • Loading branch information
bastelfreak authored Jul 6, 2023
2 parents 5c76fe5 + 4b1a932 commit cd4dd3c
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 83 deletions.
80 changes: 40 additions & 40 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -629,47 +629,47 @@ Default value: `'on'`

##### <a name="-nginx--accept_mutex_delay"></a>`accept_mutex_delay`

Data type: `Any`
Data type: `Nginx::Time`



Default value: `'500ms'`

##### <a name="-nginx--client_body_buffer_size"></a>`client_body_buffer_size`

Data type: `Any`
Data type: `Nginx::Size`



Default value: `'128k'`

##### <a name="-nginx--client_max_body_size"></a>`client_max_body_size`

Data type: `String`
Data type: `Nginx::Size`



Default value: `'10m'`

##### <a name="-nginx--client_body_timeout"></a>`client_body_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Default value: `'60s'`

##### <a name="-nginx--send_timeout"></a>`send_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Default value: `'60s'`

##### <a name="-nginx--lingering_timeout"></a>`lingering_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Expand Down Expand Up @@ -709,7 +709,7 @@ Default value: `undef`

##### <a name="-nginx--fastcgi_cache_inactive"></a>`fastcgi_cache_inactive`

Data type: `String`
Data type: `Nginx::Time`



Expand Down Expand Up @@ -741,7 +741,7 @@ Default value: `'1'`

##### <a name="-nginx--fastcgi_cache_max_size"></a>`fastcgi_cache_max_size`

Data type: `String`
Data type: `Nginx::Size`



Expand Down Expand Up @@ -773,43 +773,43 @@ Default value: `'off'`

##### <a name="-nginx--gzip_buffers"></a>`gzip_buffers`

Data type: `Any`
Data type: `Optional[String]`



Default value: `undef`

##### <a name="-nginx--gzip_comp_level"></a>`gzip_comp_level`

Data type: `Any`
Data type: `Integer`



Default value: `1`

##### <a name="-nginx--gzip_disable"></a>`gzip_disable`

Data type: `Any`
Data type: `String`



Default value: `'msie6'`

##### <a name="-nginx--gzip_min_length"></a>`gzip_min_length`

Data type: `Any`
Data type: `Integer`



Default value: `20`

##### <a name="-nginx--gzip_http_version"></a>`gzip_http_version`

Data type: `Any`
Data type: `Variant[Enum['1.0','1.1'], Float]`



Default value: `1.1`
Default value: `'1.1'`

##### <a name="-nginx--gzip_proxied"></a>`gzip_proxied`

Expand All @@ -821,7 +821,7 @@ Default value: `'off'`

##### <a name="-nginx--gzip_types"></a>`gzip_types`

Data type: `Any`
Data type: `Optional[Variant[String[1],Array[String[1]]]]`



Expand Down Expand Up @@ -893,19 +893,19 @@ Default value: `'off'`

##### <a name="-nginx--keepalive_timeout"></a>`keepalive_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Default value: `'65s'`

##### <a name="-nginx--keepalive_requests"></a>`keepalive_requests`

Data type: `Any`
Data type: `Variant[Integer, String]`



Default value: `'100'`
Default value: `100`

##### <a name="-nginx--log_format"></a>`log_format`

Expand Down Expand Up @@ -989,7 +989,7 @@ Default value: `512`

##### <a name="-nginx--nginx_cfg_prepend"></a>`nginx_cfg_prepend`

Data type: `Any`
Data type: `Variant[Boolean,Array,Hash]`



Expand All @@ -1005,15 +1005,15 @@ Default value: `'32 4k'`

##### <a name="-nginx--proxy_buffer_size"></a>`proxy_buffer_size`

Data type: `String`
Data type: `Nginx::Size`



Default value: `'8k'`

##### <a name="-nginx--proxy_cache_inactive"></a>`proxy_cache_inactive`

Data type: `String`
Data type: `Nginx::Time`



Expand All @@ -1037,7 +1037,7 @@ Default value: `'1'`

##### <a name="-nginx--proxy_cache_max_size"></a>`proxy_cache_max_size`

Data type: `String`
Data type: `Nginx::Size`



Expand Down Expand Up @@ -1085,7 +1085,7 @@ Default value: `undef`

##### <a name="-nginx--proxy_connect_timeout"></a>`proxy_connect_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Expand All @@ -1109,23 +1109,23 @@ Default value: `undef`

##### <a name="-nginx--proxy_read_timeout"></a>`proxy_read_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Default value: `'90s'`

##### <a name="-nginx--proxy_redirect"></a>`proxy_redirect`

Data type: `Any`
Data type: `Optional[String]`



Default value: `undef`

##### <a name="-nginx--proxy_send_timeout"></a>`proxy_send_timeout`

Data type: `Any`
Data type: `Nginx::Time`



Expand Down Expand Up @@ -1256,15 +1256,15 @@ Default value: `true`

##### <a name="-nginx--types_hash_bucket_size"></a>`types_hash_bucket_size`

Data type: `Any`
Data type: `Variant[Integer,String]`



Default value: `'512'`

##### <a name="-nginx--types_hash_max_size"></a>`types_hash_max_size`

Data type: `Any`
Data type: `Variant[Integer,String]`



Expand Down Expand Up @@ -1352,7 +1352,7 @@ Default value: `'shared:SSL:10m'`

##### <a name="-nginx--ssl_session_timeout"></a>`ssl_session_timeout`

Data type: `String`
Data type: `Nginx::Time`



Expand Down Expand Up @@ -1432,31 +1432,31 @@ Default value: `undef`

##### <a name="-nginx--package_ensure"></a>`package_ensure`

Data type: `Any`
Data type: `String`



Default value: `installed`

##### <a name="-nginx--package_name"></a>`package_name`

Data type: `Any`
Data type: `String`



Default value: `$nginx::params::package_name`

##### <a name="-nginx--package_source"></a>`package_source`

Data type: `Any`
Data type: `String`



Default value: `'nginx'`

##### <a name="-nginx--package_flavor"></a>`package_flavor`

Data type: `Any`
Data type: `Optional[String]`



Expand Down Expand Up @@ -1496,7 +1496,7 @@ Default value: `undef`

##### <a name="-nginx--passenger_package_ensure"></a>`passenger_package_ensure`

Data type: `Any`
Data type: `String`



Expand Down Expand Up @@ -1528,31 +1528,31 @@ Default value: `true`

##### <a name="-nginx--service_flags"></a>`service_flags`

Data type: `Any`
Data type: `Optional[String]`



Default value: `undef`

##### <a name="-nginx--service_restart"></a>`service_restart`

Data type: `Any`
Data type: `Optional[String]`



Default value: `undef`

##### <a name="-nginx--service_name"></a>`service_name`

Data type: `Any`
Data type: `String`



Default value: `'nginx'`

##### <a name="-nginx--service_manage"></a>`service_manage`

Data type: `Any`
Data type: `Boolean`



Expand Down Expand Up @@ -5171,13 +5171,13 @@ Variant[String[1], Struct[{

The Nginx::Size data type.

Alias of `Pattern[/^\d+[k|K|m|M]?$/]`
Alias of `Variant[Integer[0], Pattern[/\A\d+[k|K|m|M]?\z/]]`

### <a name="Nginx--Time"></a>`Nginx::Time`

The Nginx::Time data type.

Alias of `Pattern[/^\d+(ms|s|m|h|d|w|M|y)?$/]`
Alias of `Variant[Integer[0], Pattern[/^(?!$)((\d+y *)?(\d+M *)?(\d+w *)?(\d+d *)?(\d+h *)?(\d+m *)?(\d+s *)?(\d+ms)?|\d+)$/]]`

### <a name="Nginx--UpstreamCustomParameters"></a>`Nginx::UpstreamCustomParameters`

Expand Down
Loading

0 comments on commit cd4dd3c

Please sign in to comment.