Skip to content

"dep ensure -add" does not work #106

@crimsonfaith91

Description

@crimsonfaith91

I may miss out something simple, but I couldn't import this package via dep ensure -add github.com/kubernetes-csi/external-snapshotter command.

Following is the output:

Fetching sources...

Solving failure: No versions of github.com/kubernetes-csi/external-snapshotter met constraints:
	v1.0.1: Could not introduce github.com/kubernetes-csi/external-snapshotter@v1.0.1, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v0.4.1: Could not introduce github.com/kubernetes-csi/external-snapshotter@v0.4.1, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v0.4.0: Could not introduce github.com/kubernetes-csi/external-snapshotter@v0.4.0, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v1.0.1-rc1: Could not introduce github.com/kubernetes-csi/external-snapshotter@v1.0.1-rc1, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v1.0.0-rc4: Could not introduce github.com/kubernetes-csi/external-snapshotter@v1.0.0-rc4, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v1.0.0-rc3: Could not introduce github.com/kubernetes-csi/external-snapshotter@v1.0.0-rc3, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v1.0.0-rc2: Could not introduce github.com/kubernetes-csi/external-snapshotter@v1.0.0-rc2, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v0.5.0-alpha.0: Could not introduce github.com/kubernetes-csi/external-snapshotter@v0.5.0-alpha.0, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	v0.4.0-rc.1: Could not introduce github.com/kubernetes-csi/external-snapshotter@v0.4.0-rc.1, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	master: Could not introduce github.com/kubernetes-csi/external-snapshotter@master, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	errorhandling: Could not introduce github.com/kubernetes-csi/external-snapshotter@errorhandling, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	k8s_1.12.0-beta.1: Could not introduce github.com/kubernetes-csi/external-snapshotter@k8s_1.12.0-beta.1, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	release-0.4: Could not introduce github.com/kubernetes-csi/external-snapshotter@release-0.4, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	release-1.0: Could not introduce github.com/kubernetes-csi/external-snapshotter@release-1.0, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	revert-72-pvclister: Could not introduce github.com/kubernetes-csi/external-snapshotter@revert-72-pvclister, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	saad-ali-patch-1: Could not introduce github.com/kubernetes-csi/external-snapshotter@saad-ali-patch-1, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	saad-ali-patch-2: Could not introduce github.com/kubernetes-csi/external-snapshotter@saad-ali-patch-2, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	test-yang: Could not introduce github.com/kubernetes-csi/external-snapshotter@test-yang, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
	updateSize: Could not introduce github.com/kubernetes-csi/external-snapshotter@updateSize, as its subpackage github.com/kubernetes-csi/external-snapshotter does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)

Any documentation / guidance will be much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions