blob: 384a055b2d211d14759b36626ce5534c1b5d2922 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# mock config defs with diff use cases
config_entry: &entry
name: test config
default: DEFAULT
description:
- This does nothing, its for testing
env:
- name: ENVVAR
ini:
- section: defaults
key: inikey
type: string
config_entry_multi: &entry_multi
name: has more than one entry per config source
default: DEFAULT
description:
- This does nothing, its for testing
env:
- name: MATTERLESS
- name: MATTERMORE
ini:
- section: defaults
key: matterless
- section: defaults
key: mattermore
type: string
config_entry_bool:
<<: *entry
type: bool
default: False
config_entry_list:
<<: *entry
type: list
default: [DEFAULT]
config_entry_deprecated:
<<: *entry
deprecated: &dep
why: 'cause i wanna'
version: 9.2
alternative: 'none whatso ever'
config_entry_multi_deprecated:
<<: *entry_multi
deprecated: *dep
config_entry_multi_deprecated_source:
<<: *entry_multi
env:
- name: MATTERLESS
deprecated: *dep
- name: MATTERMORE
ini:
- section: defaults
key: matterless
deprecated: *dep
- section: defaults
key: mattermore
|