Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ HELM_HOME=$HOME/Library/helm make install
scripts/update-gofmt.sh
scripts/verify-gofmt.sh
scripts/verify-golint.sh
scripts/verify-govet.sh
+ go vet ./pkg/...
go: warning: "./pkg/..." matched no packages
no packages to vet
+ go vet ./cmd/...
# github.com/databus23/helm-diff/vendor/github.com/deislabs/oras/pkg/context
vendor/github.com/deislabs/oras/pkg/context/logger.go:15:23: cannot use logger (type *"github.com/databus23/helm-diff/vendor/github.com/sirupsen/logrus".Entry) as type *"github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/sirupsen/logrus".Entry in argument to log.WithLogger
vendor/github.com/deislabs/oras/pkg/context/logger.go:34:22: cannot use log.GetLogger(ctx) (type *"github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/sirupsen/logrus".Entry) as type *"github.com/databus23/helm-diff/vendor/github.com/sirupsen/logrus".Entry in return argument
# github.com/databus23/helm-diff/vendor/github.com/deislabs/oras/pkg/content
vendor/github.com/deislabs/oras/pkg/content/file.go:23:2: cannot use &FileStore literal (type *FileStore) as type ProvideIngester in assignment:
*FileStore does not implement ProvideIngester (wrong type for ReaderAt method)
have ReaderAt(context.Context, "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) (content.ReaderAt, error)
want ReaderAt(context.Context, "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) (content.ReaderAt, error)
vendor/github.com/deislabs/oras/pkg/content/file.go:196:25: cannot use desc (type "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) as type "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor in argument to ResolveName
vendor/github.com/deislabs/oras/pkg/content/file.go:204:45: cannot use desc (type "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) as type "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor in argument to s.createWritePath
vendor/github.com/deislabs/oras/pkg/content/file.go:210:20: cannot use *fileWriter literal (type *fileWriter) as type content.Writer in return argument:
*fileWriter does not implement content.Writer (wrong type for Commit method)
have Commit(context.Context, int64, "github.com/databus23/helm-diff/vendor/github.com/opencontainers/go-digest".Digest, ...content.Opt) error
want Commit(context.Context, int64, "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/go-digest".Digest, ...content.Opt) error
vendor/github.com/deislabs/oras/pkg/content/file.go:213:3: cannot use desc (type "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) as type "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor in field value
vendor/github.com/deislabs/oras/pkg/content/memory.go:18:2: cannot use &Memorystore literal (type *Memorystore) as type content.Provider in assignment:
*Memorystore does not implement content.Provider (wrong type for ReaderAt method)
have ReaderAt(context.Context, "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) (content.ReaderAt, error)
want ReaderAt(context.Context, "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) (content.ReaderAt, error)
vendor/github.com/deislabs/oras/pkg/content/memory.go:89:24: cannot use desc (type "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) as type "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor in argument to ResolveName
vendor/github.com/deislabs/oras/pkg/content/memory.go:91:22: cannot use *memoryWriter literal (type *memoryWriter) as type content.Writer in return argument:
*memoryWriter does not implement content.Writer (wrong type for Commit method)
have Commit(context.Context, int64, "github.com/databus23/helm-diff/vendor/github.com/opencontainers/go-digest".Digest, ...content.Opt) error
want Commit(context.Context, int64, "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/go-digest".Digest, ...content.Opt) error
vendor/github.com/deislabs/oras/pkg/content/memory.go:94:3: cannot use desc (type "github.com/databus23/helm-diff/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor) as type "github.com/databus23/helm-diff/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor in field value
# github.com/databus23/helm-diff/vendor/helm.sh/helm/pkg/kube
vendor/helm.sh/helm/pkg/kube/client.go:62:37: cannot use scheme.Scheme (type *"github.com/databus23/helm-diff/vendor/k8s.io/apimachinery/pkg/runtime".Scheme) as type *"github.com/databus23/helm-diff/vendor/k8s.io/apiextensions-apiserver/vendor/k8s.io/apimachinery/pkg/runtime".Scheme in argument to "github.com/databus23/helm-diff/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1".AddToScheme
vendor/helm.sh/helm/pkg/kube/client.go:67:3: cannot use "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util".NewFactory(getter) (type "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util".Factory) as type Factory in field value:
"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util".Factory does not implement Factory (wrong type for KubernetesClientSet method)
have KubernetesClientSet() (*"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes".Clientset, error)
want KubernetesClientSet() (*"github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes".Clientset, error)
vendor/helm.sh/helm/pkg/kube/client.go:67:30: cannot use getter (type "github.com/databus23/helm-diff/vendor/k8s.io/cli-runtime/pkg/genericclioptions".RESTClientGetter) as type "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/cli-runtime/pkg/genericclioptions".RESTClientGetter in argument to "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util".NewFactory:
"github.com/databus23/helm-diff/vendor/k8s.io/cli-runtime/pkg/genericclioptions".RESTClientGetter does not implement "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/cli-runtime/pkg/genericclioptions".RESTClientGetter (wrong type for ToDiscoveryClient method)
have ToDiscoveryClient() ("github.com/databus23/helm-diff/vendor/k8s.io/client-go/discovery".CachedDiscoveryInterface, error)
want ToDiscoveryClient() ("github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/discovery".CachedDiscoveryInterface, error)
vendor/helm.sh/helm/pkg/kube/wait.go:73:58: cannot use currentDeployment (type *"github.com/databus23/helm-diff/vendor/k8s.io/api/apps/v1".Deployment) as type *"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/api/apps/v1".Deployment in argument to "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/controller/deployment/util".GetNewReplicaSet
vendor/helm.sh/helm/pkg/kube/wait.go:73:88: cannot use w.c.AppsV1() (type "github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface) as type "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface in argument to "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/controller/deployment/util".GetNewReplicaSet:
"github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface does not implement "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface (wrong type for ControllerRevisions method)
have ControllerRevisions(string) "github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".ControllerRevisionInterface
want ControllerRevisions(string) "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".ControllerRevisionInterface
vendor/helm.sh/helm/pkg/kube/wait.go:77:26: cannot use newReplicaSet (type *"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/api/apps/v1".ReplicaSet) as type *"github.com/databus23/helm-diff/vendor/k8s.io/api/apps/v1".ReplicaSet in argument to w.deploymentReady
vendor/helm.sh/helm/pkg/kube/wait.go:86:58: cannot use currentDeployment (type *"github.com/databus23/helm-diff/vendor/k8s.io/api/apps/v1".Deployment) as type *"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/api/apps/v1".Deployment in argument to "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/controller/deployment/util".GetNewReplicaSet
vendor/helm.sh/helm/pkg/kube/wait.go:86:88: cannot use w.c.AppsV1() (type "github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface) as type "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface in argument to "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/controller/deployment/util".GetNewReplicaSet:
"github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface does not implement "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".AppsV1Interface (wrong type for ControllerRevisions method)
have ControllerRevisions(string) "github.com/databus23/helm-diff/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".ControllerRevisionInterface
want ControllerRevisions(string) "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/apps/v1".ControllerRevisionInterface
vendor/helm.sh/helm/pkg/kube/wait.go:90:26: cannot use newReplicaSet (type *"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/api/apps/v1".ReplicaSet) as type *"github.com/databus23/helm-diff/vendor/k8s.io/api/apps/v1".ReplicaSet in argument to w.deploymentReady
vendor/helm.sh/helm/pkg/kube/wait.go:99:58: cannot use currentDeployment (type *"github.com/databus23/helm-diff/vendor/k8s.io/api/apps/v1".Deployment) as type *"github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/vendor/k8s.io/api/apps/v1".Deployment in argument to "github.com/databus23/helm-diff/vendor/k8s.io/kubernetes/pkg/controller/deployment/util".GetNewReplicaSet
vendor/helm.sh/helm/pkg/kube/wait.go:99:58: too many errors
make: *** [lint] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.