forked from logicmonitor/automated-terraform-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
61 lines (61 loc) · 2.24 KB
/
config.yml
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
56
57
58
59
60
61
layout:
application:
- name: facade
source: asset:clientFacade
target: "{{ joinFilePath .Target .ClientPackage }}"
file_name: "{{ .Name }}_client.go"
- name: lmmain
source: "main.gtpl"
target: "{{ joinFilePath .Target }}"
file_name: "main.go"
- name: provider
source: "provider.gtpl"
target: "{{ joinFilePath .Target }}/logicmonitor"
file_name: "provider.go"
- name: utils
source: "utils.gtpl"
target: "{{ joinFilePath .Target }}/logicmonitor/utils"
file_name: "helper_functions.go"
- name: datadump
source: "datadump.gtpl"
target: "{{ joinFilePath .Target }}/data_profile"
file_name: "application.profile"
models:
- name: definition
source: asset:model
target: "{{ joinFilePath .Target .ModelPackage }}"
file_name: "{{ (snakize (pascalize .Name)) }}.go"
- name: schemata
source: "schemata.gtpl"
target: "{{ joinFilePath .Target }}/logicmonitor/schemata"
file_name: "{{ camelize .Name }}_schema.go"
- name: datadump
source: "datadump.gtpl"
target: "{{ joinFilePath .Target }}/data_profile"
file_name: "{{ camelize .Name }}_models.profile"
operations:
- name: tf_parameters
source: asset:clientParameter
target: "{{ joinFilePath .Target .ClientPackage .Package }}"
file_name: "{{ (snakize (pascalize .Name)) }}_parameters.go"
- name: tf_responses
source: "tf_responses.gtpl"
target: "{{ joinFilePath .Target .ClientPackage .Package }}"
file_name: "{{ (snakize (pascalize .Name)) }}_responses.go"
- name: datadump
source: "datadump.gtpl"
target: "{{ joinFilePath .Target }}/data_profile"
file_name: "operations.profile"
operation_groups:
- name: client
source: asset:clientClient
target: "{{ joinFilePath .Target .ClientPackage .Name }}"
file_name: "{{ (snakize (pascalize .Name)) }}_client.go"
- name: resources
source: "resources.gtpl"
target: "{{ joinFilePath .Target }}/logicmonitor/resources"
file_name: "{{ camelize .Name }}_resource.go"
- name: datadump
source: "datadump.gtpl"
target: "{{ joinFilePath .Target }}/data_profile"
file_name: "operation_groups.profile"