Make HttpGetter a shared Kubelet type.

This commit is contained in:
Victor Marmol
2015-04-29 17:50:59 -07:00
parent dd976a27fb
commit 4db5127073
3 changed files with 10 additions and 7 deletions

View File

@@ -16,5 +16,11 @@ limitations under the License.
package types
import "net/http"
// DockerID is an ID of docker container. It is a type to make it clear when we're working with docker container Ids
type DockerID string
type HttpGetter interface {
Get(url string) (*http.Response, error)
}