Fix PartyBus pipeline lint failures
The PartyBus pipeline performs a lint (syntax checking) on the golang code and found these problems.
For now the pipeline allows lint failures but we should fix them as much as possible.
golint -set_exit_status ./...
cmd/cmd.go:26:1: exported function NewRootCmd should have comment or be unexported
cmd/completion.go:55:1: exported function NewCompletionCmd should have comment or be unexported
cmd/constants.go:4:2: comment on exported const BigBangHelmReleaseName should be of the form "BigBangHelmReleaseName ..."
cmd/constants.go:6:2: comment on exported const BigBangNamespace should be of the form "BigBangNamespace ..."
cmd/constants.go:8:2: comment on exported const BigBangCliVersion should be of the form "BigBangCliVersion ..."
cmd/list.go:29:1: exported function NewGetReleasesCmd should have comment or be unexported
cmd/status.go:40:1: exported function NewStatusCmd should have comment or be unexported
cmd/status.go:55:1: comment on exported type PodData should be of the form "PodData ..." (with optional leading article)
cmd/status.go:62:1: comment on exported type StsData should be of the form "StsData ..." (with optional leading article)
cmd/status.go:71:1: comment on exported type DpmtData should be of the form "DpmtData ..." (with optional leading article)
cmd/status.go:80:1: comment on exported type DmstData should be of the form "DmstData ..." (with optional leading article)
cmd/status.go:171:9: if block ends with a return statement, so drop this else and outdent its block
cmd/values.go:31:1: exported function NewGetValuesCmd should have comment or be unexported
cmd/version.go:30:1: exported function NewVersionCmd should have comment or be unexported
util/factory.go:21:1: exported function NewFactory should have comment or be unexported
util/factory.go:21:39: exported func NewFactory returns unexported type *util.utilFactory, which can be annoying to use
util/helm/client.go:121:1: comment on exported method HelmClient.GetList should be of the form "GetList ..."
util/helm/client.go:133:1: comment on exported method HelmClient.GetValues should be of the form "GetValues ..."
util/helm/client.go:150:6: exported type FakeClient should have comment or be unexported
util/helm/client.go:165:1: comment on exported method FakeClient.GetList should be of the form "GetList ..."
util/helm/client.go:170:1: comment on exported method FakeClient.GetValues should be of the form "GetValues ..."
util/helm/client_getter.go:46:1: exported method RESTClientGetter.ToRESTMapper should have comment or be unexported
util/helm/client_getter.go:56:1: exported method RESTClientGetter.ToRawKubeConfigLoader should have comment or be unexported
util/helm/types.go:31:6: type name will be used as helm.HelmClient by other packages, and that stutters; consider calling this Client
util/k8s/iostreams.go:9:1: exported function GetIOStream should have comment or be unexported
util/k8s/kubeutil.go:15:1: comment on exported function BuildKubeConfigFromFlags should be of the form "BuildKubeConfigFromFlags ..."
util/k8s/kubeutil.go:55:1: comment on exported function GetKubeConfigFromPathList should be of the form "GetKubeConfigFromPathList ..."
util/test/fake_factory.go:13:6: exported type FakeFactory should have comment or be unexported
util/test/fake_factory.go:17:1: exported method FakeFactory.GetHelmClient should have comment or be unexported
util/test/fake_factory.go:21:1: exported method FakeFactory.GetClientSet should have comment or be unexported
util/test/fake_factory.go:26:1: exported method FakeFactory.GetRuntimeClient should have comment or be unexported
Found 31 lint suggestions; failing.