Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,500 changes: 1,500 additions & 0 deletions agentclient/agentclientfakes/fake_agent_client.go

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions agentclient/generate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package agentclient

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate

//counterfeiter:generate github.com/cloudfoundry/bosh-agent/v2/agentclient.AgentClient
325 changes: 0 additions & 325 deletions agentclient/mocks/mocks.go

This file was deleted.

4 changes: 4 additions & 0 deletions blobstore/blobstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import (
boshuuid "github.com/cloudfoundry/bosh-utils/uuid"
)

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate

//counterfeiter:generate . Blobstore

type Blobstore interface {
Get(blobID string) (LocalBlob, error)
Add(sourcePath string) (blobID string, err error)
Expand Down
2 changes: 2 additions & 0 deletions blobstore/blobstore_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (
boshuuid "github.com/cloudfoundry/bosh-utils/uuid"
)

//counterfeiter:generate . Factory

type Factory interface {
Create(string, *http.Client) (Blobstore, error)
}
Expand Down
Loading