From 0596513afd48c99586f98bdf9c7519d163aaa608 Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Sat, 31 Oct 2020 21:49:19 +0100 Subject: [PATCH] Add documentation for kind string constants Signed-off-by: Philip Laine --- api/v1beta1/bucket_types.go | 1 + api/v1beta1/gitrepository_types.go | 1 + api/v1beta1/helmchart_types.go | 1 + 3 files changed, 3 insertions(+) diff --git a/api/v1beta1/bucket_types.go b/api/v1beta1/bucket_types.go index 3d1011af..a0909ae2 100644 --- a/api/v1beta1/bucket_types.go +++ b/api/v1beta1/bucket_types.go @@ -23,6 +23,7 @@ import ( ) const ( + // BucketKind is the string representation of a Bucket. BucketKind = "Bucket" ) diff --git a/api/v1beta1/gitrepository_types.go b/api/v1beta1/gitrepository_types.go index f91acfc2..c8d69653 100644 --- a/api/v1beta1/gitrepository_types.go +++ b/api/v1beta1/gitrepository_types.go @@ -23,6 +23,7 @@ import ( ) const ( + // GitRepositoryKind is the string representation of a GitRepository. GitRepositoryKind = "GitRepository" ) diff --git a/api/v1beta1/helmchart_types.go b/api/v1beta1/helmchart_types.go index 4c56a7ab..7ff013a4 100644 --- a/api/v1beta1/helmchart_types.go +++ b/api/v1beta1/helmchart_types.go @@ -22,6 +22,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) +// HelmChartKind is the string representation of a HelmChart. const HelmChartKind = "HelmChart" // HelmChartSpec defines the desired state of a Helm chart.