Use import () way

Signed-off-by: xichengliudui <1693291525@qq.com>
pull/5307/head
xichengliudui 7 years ago
parent c99a3c676a
commit df9e00dd68

@ -16,7 +16,9 @@ limitations under the License.
package kube // import "k8s.io/helm/pkg/kube" package kube // import "k8s.io/helm/pkg/kube"
import "k8s.io/cli-runtime/pkg/genericclioptions/resource" import (
"k8s.io/cli-runtime/pkg/genericclioptions/resource"
)
// Result provides convenience methods for comparing collections of Infos. // Result provides convenience methods for comparing collections of Infos.
type Result []*resource.Info type Result []*resource.Info

@ -16,7 +16,9 @@ limitations under the License.
package support package support
import "fmt" import (
"fmt"
)
// Severity indicates the severity of a Message. // Severity indicates the severity of a Message.
const ( const (

@ -16,7 +16,9 @@ limitations under the License.
package releaseutil // import "k8s.io/helm/pkg/releaseutil" package releaseutil // import "k8s.io/helm/pkg/releaseutil"
import rspb "k8s.io/helm/pkg/proto/hapi/release" import (
rspb "k8s.io/helm/pkg/proto/hapi/release"
)
// FilterFunc returns true if the release object satisfies // FilterFunc returns true if the release object satisfies
// the predicate of the underlying filter func. // the predicate of the underlying filter func.

@ -15,7 +15,9 @@ limitations under the License.
*/ */
package errors // import "k8s.io/helm/pkg/storage/errors" package errors // import "k8s.io/helm/pkg/storage/errors"
import "fmt" import (
"fmt"
)
var ( var (
// ErrReleaseNotFound indicates that a release is not found. // ErrReleaseNotFound indicates that a release is not found.

@ -16,7 +16,9 @@ limitations under the License.
package version // import "k8s.io/helm/pkg/version" package version // import "k8s.io/helm/pkg/version"
import "k8s.io/helm/pkg/proto/hapi/version" import (
"k8s.io/helm/pkg/proto/hapi/version"
)
var ( var (
// Version is the current version of the Helm. // Version is the current version of the Helm.

Loading…
Cancel
Save