From a83425d44ba29eef4edef05d00950aaeb7259836 Mon Sep 17 00:00:00 2001 From: fibonacci1729 Date: Fri, 5 Aug 2016 10:14:12 -0600 Subject: [PATCH] style & doc comments --- pkg/storage/doc.go | 1 + pkg/storage/driver/driver.go | 1 + pkg/storage/driver/memory.go | 1 + pkg/storage/driver/memory_test.go | 1 + pkg/storage/filter.go | 1 + pkg/storage/storage.go | 1 + pkg/storage/storage_test.go | 29 +---------------------------- 7 files changed, 7 insertions(+), 28 deletions(-) diff --git a/pkg/storage/doc.go b/pkg/storage/doc.go index 9a4027923..2a3cf3ce0 100644 --- a/pkg/storage/doc.go +++ b/pkg/storage/doc.go @@ -20,4 +20,5 @@ Tiller stores releases (see 'cmd/tiller/environment'.Environment). The backend storage mechanism may be implemented with different backends. This package and its subpackages provide storage layers for Tiller objects. */ + package storage // import "k8s.io/helm/pkg/storage" diff --git a/pkg/storage/driver/driver.go b/pkg/storage/driver/driver.go index c3b0977a6..0788fca60 100644 --- a/pkg/storage/driver/driver.go +++ b/pkg/storage/driver/driver.go @@ -13,6 +13,7 @@ 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 driver // import "k8s.io/helm/pkg/storage/driver" import ( diff --git a/pkg/storage/driver/memory.go b/pkg/storage/driver/memory.go index c76674962..88635c7cf 100644 --- a/pkg/storage/driver/memory.go +++ b/pkg/storage/driver/memory.go @@ -13,6 +13,7 @@ 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 driver // import "k8s.io/helm/pkg/storage/driver" import ( diff --git a/pkg/storage/driver/memory_test.go b/pkg/storage/driver/memory_test.go index 5acf2ecca..fe766634d 100644 --- a/pkg/storage/driver/memory_test.go +++ b/pkg/storage/driver/memory_test.go @@ -13,6 +13,7 @@ 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 driver // import "k8s.io/helm/pkg/storage/driver" import ( diff --git a/pkg/storage/filter.go b/pkg/storage/filter.go index 5c1c413f7..91846b006 100644 --- a/pkg/storage/filter.go +++ b/pkg/storage/filter.go @@ -13,6 +13,7 @@ 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 storage import rspb "k8s.io/helm/pkg/proto/hapi/release" diff --git a/pkg/storage/storage.go b/pkg/storage/storage.go index b691be7f6..8996cdf6e 100644 --- a/pkg/storage/storage.go +++ b/pkg/storage/storage.go @@ -13,6 +13,7 @@ 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 storage // import "k8s.io/helm/pkg/storage" import ( diff --git a/pkg/storage/storage_test.go b/pkg/storage/storage_test.go index ef5cc0723..3ad66f702 100644 --- a/pkg/storage/storage_test.go +++ b/pkg/storage/storage_test.go @@ -13,6 +13,7 @@ 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 storage // import "k8s.io/helm/pkg/storage" import ( @@ -146,31 +147,3 @@ func assertErrNil(eh func(args ...interface{}), err error, message string) { eh(fmt.Sprintf("%s: %q", message, err)) } } - -/* -func releaseData() *rspb.Release { - var manifest = `apiVersion: v1 - kind: ConfigMap - metadata: - name: configmap-storage-test - data: - count: "100" - limit: "200" - state: "new" - token: "abc" - ` - - tm, _ := tspb.TimestampProto(time.Now()) - return &rspb.Release{ - Name: "hungry-hippo", - Info: &rspb.Info{ - FirstDeployed: tm, - LastDeployed: tm, - Status: &rspb.Status{Code: rspb.Status_DEPLOYED}, - }, - Version: 2, - Manifest: manifest, - Namespace: "kube-system", - } -} -*/