This repository was archived by the owner on May 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 11package pluginlib
22
33var PluginType = struct {
4- PROXY int
5- CONTAINER int
6- DNS int
7- MISC int
4+ PROXY int
5+ CONTAINER int
6+ DNS int
7+ APPLICATION int
88}{
9- PROXY : 0 ,
10- CONTAINER : 1 ,
11- DNS : 2 ,
12- MISC : 3 ,
9+ PROXY : 0 ,
10+ CONTAINER : 1 ,
11+ DNS : 2 ,
12+ APPLICATION : 3 ,
1313}
1414
1515type TerraformProvider struct {
16- name string
17- vendor string
18- version string
19- resourceName string
20- init string
21- providerPerProject bool
16+ name string `yaml:"name"`
17+ vendor string `yaml:"vendor"`
18+ version string `yaml:"version"`
19+ resourceName string `yaml:"resource_name"`
20+ init string `yaml:"init"`
21+ providerPerProject bool `yaml:"provider_per_project"`
2222}
2323
2424type PluginConfig struct {
25- Name string
26- Description string
27- Version string
28- Author string
29- PluginType int
25+ Name string `yaml:"name"`
26+ Description string `yaml:"description,omitempty"`
27+ Version string `yaml:"version,omitempty"`
28+ Authors [] string `yaml:"authors,omitempty"`
29+ PluginType int `yaml:"plugin_type"`
3030 Terraform TerraformProvider
3131}
You can’t perform that action at this time.
0 commit comments