Skip to content

Commit

Permalink
deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vito committed Oct 6, 2015
1 parent 7806f26 commit ee19712
Show file tree
Hide file tree
Showing 249 changed files with 1,553 additions and 41,304 deletions.
14 changes: 7 additions & 7 deletions Godeps_darwin/Godeps.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ImportPath": "github.com/vito/houdini",
"GoVersion": "go1.4.2",
"GoVersion": "go1.5.1",
"Packages": [
"./..."
],
Expand All @@ -11,21 +11,21 @@
},
{
"ImportPath": "github.com/cloudfoundry-incubator/garden",
"Comment": "go-wshd-720-gdd6b2d5",
"Rev": "dd6b2d5f923feec84a3e144805ce65e302af75ac"
"Comment": "go-wshd-796-g5be458e",
"Rev": "5be458e0c99cd7bf6e031ac402af250d6d71bfad"
},
{
"ImportPath": "github.com/kr/pty",
"Comment": "release.r56-25-g05017fc",
"Rev": "05017fcccf23c823bfdea560dcc958a136e54fb7"
"Comment": "release.r56-28-g5cf931e",
"Rev": "5cf931ef8f76dccd0910001d74a58a7fca84a83d"
},
{
"ImportPath": "github.com/pivotal-golang/lager",
"Rev": "09a71f6eb2dcc1c2335e37ceb78a91c6f618d561"
"Rev": "be52ae622d25728f17aac7330e4565201c19155c"
},
{
"ImportPath": "github.com/pkg/term/termios",
"Rev": "2266b46824adef0c4977cc4058b8052124f77c20"
"Rev": "d7ef5fb23c9838dfaf4731b1dd94aacaedd89181"
},
{
"ImportPath": "github.com/tedsuo/rata",
Expand Down

This file was deleted.

241 changes: 0 additions & 241 deletions Godeps_darwin/_workspace/src/github.com/bmizerany/pat/mux_test.go

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
package garden

import (
"fmt"
"time"
)
import "time"

//go:generate counterfeiter . Client

type Client interface {
// Pings the garden server.
// Pings the garden server. Checks connectivity to the server. The server may, optionally, respond with specific
// errors indicating health issues.
//
// Errors:
// * None.
// * garden.UnrecoverableError indicates that the garden server has entered an error state from which it cannot recover
Ping() error

// Capacity returns the physical capacity of the server's machine.
Expand Down Expand Up @@ -61,28 +58,6 @@ type Client interface {
Lookup(handle string) (Container, error)
}

type ContainerNotFoundError struct {
Handle string
}

func (err ContainerNotFoundError) Error() string {
return fmt.Sprintf("unknown handle: %s", err.Handle)
}

func NewServiceUnavailableError(cause string) error {
return &ServiceUnavailableError{
Cause: cause,
}
}

type ServiceUnavailableError struct {
Cause string
}

func (err *ServiceUnavailableError) Error() string {
return err.Cause
}

// ContainerSpec specifies the parameters for creating a container. All parameters are optional.
type ContainerSpec struct {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ func (client *client) Containers(properties garden.Properties) ([]garden.Contain
func (client *client) Destroy(handle string) error {
err := client.connection.Destroy(handle)

if err, ok := err.(connection.Error); ok && err.StatusCode == 404 {
return garden.ContainerNotFoundError{handle}
}

return err
}

Expand Down

This file was deleted.

Loading

0 comments on commit ee19712

Please sign in to comment.