From f5b6ff2832d8f9a8b2349150874d1c2d54a11c53 Mon Sep 17 00:00:00 2001 From: Adam Reese <adam@reese.io> Date: Wed, 14 Nov 2018 11:05:14 -0800 Subject: [PATCH] ref(pkg/chart): rename files to be consistent with types Signed-off-by: Adam Reese <adam@reese.io> --- pkg/chart/chart.go | 3 +++ pkg/chart/chartfile.go | 19 ------------------- pkg/chart/{requirements.go => dependency.go} | 0 3 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 pkg/chart/chartfile.go rename pkg/chart/{requirements.go => dependency.go} (100%) diff --git a/pkg/chart/chart.go b/pkg/chart/chart.go index d314104da..2a190f668 100644 --- a/pkg/chart/chart.go +++ b/pkg/chart/chart.go @@ -15,6 +15,9 @@ limitations under the License. package chart +// APIVersionv1 is the API version number for version 1. +const APIVersionv1 = "v1" + // Chart is a helm package that contains metadata, a default config, zero or more // optionally parameterizable templates, and zero or more charts (dependencies). type Chart struct { diff --git a/pkg/chart/chartfile.go b/pkg/chart/chartfile.go deleted file mode 100644 index 16ce46b8f..000000000 --- a/pkg/chart/chartfile.go +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright The Helm Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package chart - -// APIVersionv1 is the API version number for version 1. -const APIVersionv1 = "v1" diff --git a/pkg/chart/requirements.go b/pkg/chart/dependency.go similarity index 100% rename from pkg/chart/requirements.go rename to pkg/chart/dependency.go -- GitLab