To get the package, execute:
go get gopkg.in/kubernetes/kubernetes.v1/pkg/kubectl/cmd
To import this package, add the following line to your code:
import "gopkg.in/kubernetes/kubernetes.v1/pkg/kubectl/cmd"
For more details, see the API documentation.