Skip to content

Commit

Permalink
style: reformatted golang code
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Sep 28, 2023
1 parent 1f73850 commit 96f5e83
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true
charset = utf-8
28 changes: 14 additions & 14 deletions config/specification.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
package config

type Specification struct {
AssumeRoles []string `json:"assumeRoles" split_words:"true" required:"false"`
WorkerThreads int `json:"workerThreads" split_words:"true" required:"false" default:"1"`
AwsEndpointOverride string `json:"awsEndpointOverride" split_words:"true" required:"false"`
DiscoveryDisabledEc2 bool `json:"discoveryDisabledEc2" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledRds bool `json:"discoveryDisabledRds" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledZone bool `json:"discoveryDisabledZone" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledFis bool `json:"discoveryDisabledFis" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledLambda bool `json:"discoveryDisabledLambda" split_words:"true" required:"false" default:"false"`
DiscoveryIntervalEc2 int `json:"discoveryIntervalEc2" split_words:"true" required:"false" default:"30"`
DiscoveryIntervalRds int `json:"discoveryIntervalRds" split_words:"true" required:"false" default:"30"`
DiscoveryIntervalZone int `json:"discoveryIntervalZone" split_words:"true" required:"false" default:"300"`
DiscoveryIntervalFis int `json:"discoveryIntervalFis" split_words:"true" required:"false" default:"300"`
DiscoveryIntervalLambda int `json:"discoveryIntervalLambda" split_words:"true" required:"false" default:"60"`
EnrichEc2DataForTargetTypes []string `json:"EnrichEc2DataForTargetTypes" split_words:"true" default:"com.steadybit.extension_jvm.application,com.steadybit.extension_container.container,com.steadybit.extension_kubernetes.kubernetes-deployment"`
AssumeRoles []string `json:"assumeRoles" split_words:"true" required:"false"`
WorkerThreads int `json:"workerThreads" split_words:"true" required:"false" default:"1"`
AwsEndpointOverride string `json:"awsEndpointOverride" split_words:"true" required:"false"`
DiscoveryDisabledEc2 bool `json:"discoveryDisabledEc2" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledRds bool `json:"discoveryDisabledRds" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledZone bool `json:"discoveryDisabledZone" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledFis bool `json:"discoveryDisabledFis" split_words:"true" required:"false" default:"false"`
DiscoveryDisabledLambda bool `json:"discoveryDisabledLambda" split_words:"true" required:"false" default:"false"`
DiscoveryIntervalEc2 int `json:"discoveryIntervalEc2" split_words:"true" required:"false" default:"30"`
DiscoveryIntervalRds int `json:"discoveryIntervalRds" split_words:"true" required:"false" default:"30"`
DiscoveryIntervalZone int `json:"discoveryIntervalZone" split_words:"true" required:"false" default:"300"`
DiscoveryIntervalFis int `json:"discoveryIntervalFis" split_words:"true" required:"false" default:"300"`
DiscoveryIntervalLambda int `json:"discoveryIntervalLambda" split_words:"true" required:"false" default:"60"`
EnrichEc2DataForTargetTypes []string `json:"EnrichEc2DataForTargetTypes" split_words:"true" default:"com.steadybit.extension_jvm.application,com.steadybit.extension_container.container,com.steadybit.extension_kubernetes.kubernetes-deployment"`
DiscoveryAttributesExcludesEc2 []string `json:"discoveryAttributesExcludesEc2" split_words:"true" required:"false"`
DiscoveryAttributesExcludesZone []string `json:"discoveryAttributesExcludesZone" split_words:"true" required:"false"`
DiscoveryAttributesExcludesFis []string `json:"discoveryAttributesExcludesFis" split_words:"true" required:"false"`
Expand Down

0 comments on commit 96f5e83

Please sign in to comment.