|
|
@ -29,11 +29,12 @@ import (
|
|
|
|
"github.com/kubernetes/helm/pkg/version"
|
|
|
|
"github.com/kubernetes/helm/pkg/version"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// DefaultHTTPTimeout is the default HTTP timeout.
|
|
|
|
const (
|
|
|
|
var DefaultHTTPTimeout = time.Second * 10
|
|
|
|
// DefaultHTTPTimeout is the default HTTP timeout.
|
|
|
|
|
|
|
|
DefaultHTTPTimeout = time.Second * 10
|
|
|
|
// DefaultHTTPProtocol is the default HTTP Protocol (http, https).
|
|
|
|
// DefaultHTTPProtocol is the default HTTP Protocol (http, https).
|
|
|
|
var DefaultHTTPProtocol = "http"
|
|
|
|
DefaultHTTPProtocol = "http"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// Client is a DM client.
|
|
|
|
// Client is a DM client.
|
|
|
|
type Client struct {
|
|
|
|
type Client struct {
|
|
|
|