Commit 87aa0224
87aa02241587Merged
Roman Mironov <[email protected]> ยท 4 years ago ยท 3 files ยท ~3 modified
Description
Refactor fields to snake_case
Details
- Commit
- 87aa02241587
- Parent
- 78bf79c10ca8
pkg/release/config.gomodifiedView file
@@ -27,23 +27,23 @@
2727
ValuesF []ValuesReference `yaml:"values,omitempty"`2828
TagsF []string `yaml:"tags,omitempty"`2929
Timeout time.Duration `yaml:"timeout,omitempty"`30-
MaxHistory int `yaml:"maxhistory,omitempty"`30+
MaxHistory int `yaml:"max_history,omitempty"`3131
AllowFailure bool `yaml:"allow_failure,omitempty"`3232
Atomic bool `yaml:"atomic,omitempty"`33-
CleanupOnFail bool `yaml:"cleanuponfail,omitempty"`34-
CreateNamespace bool `yaml:"createnamespace,omitempty"`33+
CleanupOnFail bool `yaml:"cleanup_on_fail,omitempty"`34+
CreateNamespace bool `yaml:"create_namespace,omitempty"`3535
Devel bool `yaml:"devel,omitempty"`36-
DisableHooks bool `yaml:"disablehooks,omitempty"`37-
DisableOpenAPIValidation bool `yaml:"disableopenapivalidation,omitempty"`38-
dryRun bool `yaml:"dryrun,omitempty"`36+
DisableHooks bool `yaml:"disable_hooks,omitempty"`37+
DisableOpenAPIValidation bool `yaml:"disable_open_api_validation,omitempty"`38+
dryRun bool `yaml:"dry_run,omitempty"`3939
Force bool `yaml:"force,omitempty"`4040
Recreate bool `yaml:"recreate,omitempty"`41-
ResetValues bool `yaml:"resetvalues,omitempty"`42-
ReuseValues bool `yaml:"reusevalues,omitempty"`43-
SkipCRDs bool `yaml:"skipcrds,omitempty"`44-
SubNotes bool `yaml:"subnotes,omitempty"`41+
ResetValues bool `yaml:"reset_values,omitempty"`42+
ReuseValues bool `yaml:"reuse_values,omitempty"`43+
SkipCRDs bool `yaml:"skip_crds,omitempty"`44+
SubNotes bool `yaml:"sub_notes,omitempty"`4545
Wait bool `yaml:"wait,omitempty"`46-
WaitForJobs bool `yaml:"waitforjobs,omitempty"`46+
WaitForJobs bool `yaml:"wait_for_jobs,omitempty"`4747
}4848
4949
func (rel *config) DryRun(b bool) {tests/01_helmwave.yml.tplmodifiedView file
Loading diffโฆ
tests/02_helmwave.ymlmodifiedView file
Loading diffโฆ