Add tools.go to keep track of tool versions
Signed-off-by: Krishna Mannem <kmannem@pivotal.io> Co-authored-by: Divya Dadlani <ddadlani@pivotal.io>
This commit is contained in:
parent
b7ac272b52
commit
7be3c122a5
|
@ -266,6 +266,22 @@ to run the unit tests and `testflight`:
|
|||
$ go get github.com/onsi/ginkgo/ginkgo
|
||||
```
|
||||
|
||||
We use [Counterfeiter](https://github.com/maxbrunsfeld/counterfeiter) to generate
|
||||
fakes for our unit tests. You may need to regenerate fakes if you add or modify an
|
||||
interface. To do so, you'll need to install `counterfeiter` as follows:
|
||||
|
||||
```sh
|
||||
$ go get -u https://github.com/maxbrunsfeld/counterfeiter/v6
|
||||
```
|
||||
|
||||
You can then generate the fakes by running
|
||||
|
||||
```sh
|
||||
$ go generate ./...
|
||||
```
|
||||
|
||||
in the directory where the interface is located.
|
||||
|
||||
### Running unit tests
|
||||
|
||||
Concourse is a ton of code, so it's faster to just run the tests for the
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package accessorfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
accessor "github.com/concourse/concourse/atc/api/accessor"
|
||||
"github.com/concourse/concourse/atc/api/accessor"
|
||||
)
|
||||
|
||||
type FakeAccess struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package accessorfakes
|
||||
|
||||
import (
|
||||
http "net/http"
|
||||
sync "sync"
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
accessor "github.com/concourse/concourse/atc/api/accessor"
|
||||
"github.com/concourse/concourse/atc/api/accessor"
|
||||
)
|
||||
|
||||
type FakeAccessFactory struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package authfakes
|
||||
|
||||
import (
|
||||
http "net/http"
|
||||
sync "sync"
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
auth "github.com/concourse/concourse/atc/api/auth"
|
||||
"github.com/concourse/concourse/atc/api/auth"
|
||||
)
|
||||
|
||||
type FakeRejector struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package containerserverfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
containerserver "github.com/concourse/concourse/atc/api/containerserver"
|
||||
"github.com/concourse/concourse/atc/api/containerserver"
|
||||
)
|
||||
|
||||
type FakeInterceptTimeout struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package containerserverfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
containerserver "github.com/concourse/concourse/atc/api/containerserver"
|
||||
"github.com/concourse/concourse/atc/api/containerserver"
|
||||
)
|
||||
|
||||
type FakeInterceptTimeoutFactory struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package resourceserverfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
resourceserver "github.com/concourse/concourse/atc/api/resourceserver"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
radar "github.com/concourse/concourse/atc/radar"
|
||||
"github.com/concourse/concourse/atc/api/resourceserver"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/radar"
|
||||
)
|
||||
|
||||
type FakeScannerFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package buildsfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
builds "github.com/concourse/concourse/atc/builds"
|
||||
"github.com/concourse/concourse/atc/builds"
|
||||
)
|
||||
|
||||
type FakeBuildTracker struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package credsfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
template "github.com/cloudfoundry/bosh-cli/director/template"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
"github.com/cloudfoundry/bosh-cli/director/template"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
)
|
||||
|
||||
type FakeVariables struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package credsfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
)
|
||||
|
||||
type FakeVariablesFactory struct {
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
json "encoding/json"
|
||||
sync "sync"
|
||||
time "time"
|
||||
"encoding/json"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
lock "github.com/concourse/concourse/atc/db/lock"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db/lock"
|
||||
)
|
||||
|
||||
type FakeBuild struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeBuildFactory struct {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sql "database/sql"
|
||||
driver "database/sql/driver"
|
||||
sync "sync"
|
||||
"database/sql"
|
||||
"database/sql/driver"
|
||||
"sync"
|
||||
|
||||
squirrel "github.com/Masterminds/squirrel"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
encryption "github.com/concourse/concourse/atc/db/encryption"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db/encryption"
|
||||
)
|
||||
|
||||
type FakeConn struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeContainer struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
squirrel "github.com/Masterminds/squirrel"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeContainerOwner struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeContainerRepository struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeCreatedContainer struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeCreatedVolume struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeCreatingContainer struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeCreatingVolume struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeDestroyingContainer struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeDestroyingVolume struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
event "github.com/concourse/concourse/atc/event"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/event"
|
||||
)
|
||||
|
||||
type FakeEventSource struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeFailedContainer struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
algorithm "github.com/concourse/concourse/atc/db/algorithm"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db/algorithm"
|
||||
)
|
||||
|
||||
type FakeJob struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeJobFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeNotifier struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakePipelineFactory struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceCacheFactory struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceCacheLifecycle struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceConfig struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceConfigCheckSessionLifecycle struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceConfigFactory struct {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
lock "github.com/concourse/concourse/atc/db/lock"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db/lock"
|
||||
)
|
||||
|
||||
type FakeResourceConfigScope struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceConfigVersion struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceFactory struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeResourceType struct {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeTeam struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeTeamFactory struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sql "database/sql"
|
||||
sync "sync"
|
||||
"database/sql"
|
||||
"sync"
|
||||
|
||||
squirrel "github.com/Masterminds/squirrel"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeTx struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeUsedResourceCache struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeVolumeRepository struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorker struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorkerArtifact struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorkerArtifactLifecycle struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorkerBaseResourceTypeFactory struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorkerFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorkerLifecycle struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package dbfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
)
|
||||
|
||||
type FakeWorkerTaskCacheFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package encryptionfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
encryption "github.com/concourse/concourse/atc/db/encryption"
|
||||
"github.com/concourse/concourse/atc/db/encryption"
|
||||
)
|
||||
|
||||
type FakeStrategy struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package lockfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lock "github.com/concourse/concourse/atc/db/lock"
|
||||
"github.com/concourse/concourse/atc/db/lock"
|
||||
)
|
||||
|
||||
type FakeLock struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package lockfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lock "github.com/concourse/concourse/atc/db/lock"
|
||||
"github.com/concourse/concourse/atc/db/lock"
|
||||
)
|
||||
|
||||
type FakeLockDB struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package lockfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
lock "github.com/concourse/concourse/atc/db/lock"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db/lock"
|
||||
)
|
||||
|
||||
type FakeLockFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package migrationfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
migration "github.com/concourse/concourse/atc/db/migration"
|
||||
"github.com/concourse/concourse/atc/db/migration"
|
||||
)
|
||||
|
||||
type FakeBindata struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package enginefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
engine "github.com/concourse/concourse/atc/engine"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/engine"
|
||||
)
|
||||
|
||||
type FakeBuild struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package enginefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
engine "github.com/concourse/concourse/atc/engine"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/engine"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakeBuildDelegate struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package enginefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
engine "github.com/concourse/concourse/atc/engine"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/engine"
|
||||
)
|
||||
|
||||
type FakeBuildDelegateFactory struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package enginefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
engine "github.com/concourse/concourse/atc/engine"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/engine"
|
||||
)
|
||||
|
||||
type FakeEngine struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package artifactfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
artifact "github.com/concourse/concourse/atc/exec/artifact"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/exec/artifact"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeRegisterableSource struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakeBuildStepDelegate struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakeFactory struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakeGetDelegate struct {
|
||||
|
@ -17,16 +17,6 @@ type FakeGetDelegate struct {
|
|||
arg1 lager.Logger
|
||||
arg2 string
|
||||
}
|
||||
InitializingStub func(lager.Logger)
|
||||
initializingMutex sync.RWMutex
|
||||
initializingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
StartingStub func(lager.Logger)
|
||||
startingMutex sync.RWMutex
|
||||
startingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
FinishedStub func(lager.Logger, exec.ExitStatus, exec.VersionInfo)
|
||||
finishedMutex sync.RWMutex
|
||||
finishedArgsForCall []struct {
|
||||
|
@ -45,6 +35,16 @@ type FakeGetDelegate struct {
|
|||
imageVersionDeterminedReturnsOnCall map[int]struct {
|
||||
result1 error
|
||||
}
|
||||
InitializingStub func(lager.Logger)
|
||||
initializingMutex sync.RWMutex
|
||||
initializingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
StartingStub func(lager.Logger)
|
||||
startingMutex sync.RWMutex
|
||||
startingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
StderrStub func() io.Writer
|
||||
stderrMutex sync.RWMutex
|
||||
stderrArgsForCall []struct {
|
||||
|
@ -101,30 +101,6 @@ func (fake *FakeGetDelegate) ErroredArgsForCall(i int) (lager.Logger, string) {
|
|||
return argsForCall.arg1, argsForCall.arg2
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) Initializing(arg1 lager.Logger) {
|
||||
fake.initializingMutex.Lock()
|
||||
fake.initializingArgsForCall = append(fake.initializingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Initializing", []interface{}{arg1})
|
||||
fake.initializingMutex.Unlock()
|
||||
if fake.InitializingStub != nil {
|
||||
fake.InitializingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) Starting(arg1 lager.Logger) {
|
||||
fake.startingMutex.Lock()
|
||||
fake.startingArgsForCall = append(fake.startingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Starting", []interface{}{arg1})
|
||||
fake.startingMutex.Unlock()
|
||||
if fake.StartingStub != nil {
|
||||
fake.StartingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) Finished(arg1 lager.Logger, arg2 exec.ExitStatus, arg3 exec.VersionInfo) {
|
||||
fake.finishedMutex.Lock()
|
||||
fake.finishedArgsForCall = append(fake.finishedArgsForCall, struct {
|
||||
|
@ -218,6 +194,68 @@ func (fake *FakeGetDelegate) ImageVersionDeterminedReturnsOnCall(i int, result1
|
|||
}{result1}
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) Initializing(arg1 lager.Logger) {
|
||||
fake.initializingMutex.Lock()
|
||||
fake.initializingArgsForCall = append(fake.initializingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Initializing", []interface{}{arg1})
|
||||
fake.initializingMutex.Unlock()
|
||||
if fake.InitializingStub != nil {
|
||||
fake.InitializingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) InitializingCallCount() int {
|
||||
fake.initializingMutex.RLock()
|
||||
defer fake.initializingMutex.RUnlock()
|
||||
return len(fake.initializingArgsForCall)
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) InitializingCalls(stub func(lager.Logger)) {
|
||||
fake.initializingMutex.Lock()
|
||||
defer fake.initializingMutex.Unlock()
|
||||
fake.InitializingStub = stub
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) InitializingArgsForCall(i int) lager.Logger {
|
||||
fake.initializingMutex.RLock()
|
||||
defer fake.initializingMutex.RUnlock()
|
||||
argsForCall := fake.initializingArgsForCall[i]
|
||||
return argsForCall.arg1
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) Starting(arg1 lager.Logger) {
|
||||
fake.startingMutex.Lock()
|
||||
fake.startingArgsForCall = append(fake.startingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Starting", []interface{}{arg1})
|
||||
fake.startingMutex.Unlock()
|
||||
if fake.StartingStub != nil {
|
||||
fake.StartingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) StartingCallCount() int {
|
||||
fake.startingMutex.RLock()
|
||||
defer fake.startingMutex.RUnlock()
|
||||
return len(fake.startingArgsForCall)
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) StartingCalls(stub func(lager.Logger)) {
|
||||
fake.startingMutex.Lock()
|
||||
defer fake.startingMutex.Unlock()
|
||||
fake.StartingStub = stub
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) StartingArgsForCall(i int) lager.Logger {
|
||||
fake.startingMutex.RLock()
|
||||
defer fake.startingMutex.RUnlock()
|
||||
argsForCall := fake.startingArgsForCall[i]
|
||||
return argsForCall.arg1
|
||||
}
|
||||
|
||||
func (fake *FakeGetDelegate) Stderr() io.Writer {
|
||||
fake.stderrMutex.Lock()
|
||||
ret, specificReturn := fake.stderrReturnsOnCall[len(fake.stderrArgsForCall)]
|
||||
|
@ -331,6 +369,10 @@ func (fake *FakeGetDelegate) Invocations() map[string][][]interface{} {
|
|||
defer fake.finishedMutex.RUnlock()
|
||||
fake.imageVersionDeterminedMutex.RLock()
|
||||
defer fake.imageVersionDeterminedMutex.RUnlock()
|
||||
fake.initializingMutex.RLock()
|
||||
defer fake.initializingMutex.RUnlock()
|
||||
fake.startingMutex.RLock()
|
||||
defer fake.startingMutex.RUnlock()
|
||||
fake.stderrMutex.RLock()
|
||||
defer fake.stderrMutex.RUnlock()
|
||||
fake.stdoutMutex.RLock()
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakePutDelegate struct {
|
||||
|
@ -17,16 +17,6 @@ type FakePutDelegate struct {
|
|||
arg1 lager.Logger
|
||||
arg2 string
|
||||
}
|
||||
InitializingStub func(lager.Logger)
|
||||
initializingMutex sync.RWMutex
|
||||
initializingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
StartingStub func(lager.Logger)
|
||||
startingMutex sync.RWMutex
|
||||
startingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
FinishedStub func(lager.Logger, exec.ExitStatus, exec.VersionInfo)
|
||||
finishedMutex sync.RWMutex
|
||||
finishedArgsForCall []struct {
|
||||
|
@ -45,6 +35,16 @@ type FakePutDelegate struct {
|
|||
imageVersionDeterminedReturnsOnCall map[int]struct {
|
||||
result1 error
|
||||
}
|
||||
InitializingStub func(lager.Logger)
|
||||
initializingMutex sync.RWMutex
|
||||
initializingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
StartingStub func(lager.Logger)
|
||||
startingMutex sync.RWMutex
|
||||
startingArgsForCall []struct {
|
||||
arg1 lager.Logger
|
||||
}
|
||||
StderrStub func() io.Writer
|
||||
stderrMutex sync.RWMutex
|
||||
stderrArgsForCall []struct {
|
||||
|
@ -101,30 +101,6 @@ func (fake *FakePutDelegate) ErroredArgsForCall(i int) (lager.Logger, string) {
|
|||
return argsForCall.arg1, argsForCall.arg2
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) Initializing(arg1 lager.Logger) {
|
||||
fake.initializingMutex.Lock()
|
||||
fake.initializingArgsForCall = append(fake.initializingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Initializing", []interface{}{arg1})
|
||||
fake.initializingMutex.Unlock()
|
||||
if fake.InitializingStub != nil {
|
||||
fake.InitializingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) Starting(arg1 lager.Logger) {
|
||||
fake.startingMutex.Lock()
|
||||
fake.startingArgsForCall = append(fake.startingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Starting", []interface{}{arg1})
|
||||
fake.startingMutex.Unlock()
|
||||
if fake.StartingStub != nil {
|
||||
fake.StartingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) Finished(arg1 lager.Logger, arg2 exec.ExitStatus, arg3 exec.VersionInfo) {
|
||||
fake.finishedMutex.Lock()
|
||||
fake.finishedArgsForCall = append(fake.finishedArgsForCall, struct {
|
||||
|
@ -218,6 +194,68 @@ func (fake *FakePutDelegate) ImageVersionDeterminedReturnsOnCall(i int, result1
|
|||
}{result1}
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) Initializing(arg1 lager.Logger) {
|
||||
fake.initializingMutex.Lock()
|
||||
fake.initializingArgsForCall = append(fake.initializingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Initializing", []interface{}{arg1})
|
||||
fake.initializingMutex.Unlock()
|
||||
if fake.InitializingStub != nil {
|
||||
fake.InitializingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) InitializingCallCount() int {
|
||||
fake.initializingMutex.RLock()
|
||||
defer fake.initializingMutex.RUnlock()
|
||||
return len(fake.initializingArgsForCall)
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) InitializingCalls(stub func(lager.Logger)) {
|
||||
fake.initializingMutex.Lock()
|
||||
defer fake.initializingMutex.Unlock()
|
||||
fake.InitializingStub = stub
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) InitializingArgsForCall(i int) lager.Logger {
|
||||
fake.initializingMutex.RLock()
|
||||
defer fake.initializingMutex.RUnlock()
|
||||
argsForCall := fake.initializingArgsForCall[i]
|
||||
return argsForCall.arg1
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) Starting(arg1 lager.Logger) {
|
||||
fake.startingMutex.Lock()
|
||||
fake.startingArgsForCall = append(fake.startingArgsForCall, struct {
|
||||
arg1 lager.Logger
|
||||
}{arg1})
|
||||
fake.recordInvocation("Starting", []interface{}{arg1})
|
||||
fake.startingMutex.Unlock()
|
||||
if fake.StartingStub != nil {
|
||||
fake.StartingStub(arg1)
|
||||
}
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) StartingCallCount() int {
|
||||
fake.startingMutex.RLock()
|
||||
defer fake.startingMutex.RUnlock()
|
||||
return len(fake.startingArgsForCall)
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) StartingCalls(stub func(lager.Logger)) {
|
||||
fake.startingMutex.Lock()
|
||||
defer fake.startingMutex.Unlock()
|
||||
fake.StartingStub = stub
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) StartingArgsForCall(i int) lager.Logger {
|
||||
fake.startingMutex.RLock()
|
||||
defer fake.startingMutex.RUnlock()
|
||||
argsForCall := fake.startingArgsForCall[i]
|
||||
return argsForCall.arg1
|
||||
}
|
||||
|
||||
func (fake *FakePutDelegate) Stderr() io.Writer {
|
||||
fake.stderrMutex.Lock()
|
||||
ret, specificReturn := fake.stderrReturnsOnCall[len(fake.stderrArgsForCall)]
|
||||
|
@ -331,6 +369,10 @@ func (fake *FakePutDelegate) Invocations() map[string][][]interface{} {
|
|||
defer fake.finishedMutex.RUnlock()
|
||||
fake.imageVersionDeterminedMutex.RLock()
|
||||
defer fake.imageVersionDeterminedMutex.RUnlock()
|
||||
fake.initializingMutex.RLock()
|
||||
defer fake.initializingMutex.RUnlock()
|
||||
fake.startingMutex.RLock()
|
||||
defer fake.startingMutex.RUnlock()
|
||||
fake.stderrMutex.RLock()
|
||||
defer fake.stderrMutex.RUnlock()
|
||||
fake.stdoutMutex.RLock()
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
artifact "github.com/concourse/concourse/atc/exec/artifact"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
"github.com/concourse/concourse/atc/exec/artifact"
|
||||
)
|
||||
|
||||
type FakeRunState struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakeStep struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
artifact "github.com/concourse/concourse/atc/exec/artifact"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
"github.com/concourse/concourse/atc/exec/artifact"
|
||||
)
|
||||
|
||||
type FakeTaskConfigSource struct {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
package execfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
exec "github.com/concourse/concourse/atc/exec"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/exec"
|
||||
)
|
||||
|
||||
type FakeTaskDelegate struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package gcfakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
gc "github.com/concourse/concourse/atc/gc"
|
||||
"github.com/concourse/concourse/atc/gc"
|
||||
)
|
||||
|
||||
type FakeCollector struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package gcfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
gc "github.com/concourse/concourse/atc/gc"
|
||||
"github.com/concourse/concourse/atc/gc"
|
||||
)
|
||||
|
||||
type FakeDestroyer struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package gcfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
gc "github.com/concourse/concourse/atc/gc"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/gc"
|
||||
)
|
||||
|
||||
type FakeWorkerJobRunner struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package lockrunnerfakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
lockrunner "github.com/concourse/concourse/atc/lockrunner"
|
||||
"github.com/concourse/concourse/atc/lockrunner"
|
||||
)
|
||||
|
||||
type FakeTask struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package metricfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
metric "github.com/concourse/concourse/atc/metric"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/metric"
|
||||
)
|
||||
|
||||
type FakeEmitter struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package metricfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
metric "github.com/concourse/concourse/atc/metric"
|
||||
"github.com/concourse/concourse/atc/metric"
|
||||
)
|
||||
|
||||
type FakeEmitterFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package pipelinesfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
pipelines "github.com/concourse/concourse/atc/pipelines"
|
||||
"github.com/concourse/concourse/atc/pipelines"
|
||||
)
|
||||
|
||||
type FakePipelineSyncer struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package radarfakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
radar "github.com/concourse/concourse/atc/radar"
|
||||
"github.com/concourse/concourse/atc/radar"
|
||||
)
|
||||
|
||||
type FakeIntervalRunner struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
)
|
||||
|
||||
type FakeFetchSource struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeFetchSourceFactory struct {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeFetcher struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
sync "sync"
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeResource struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeResourceFactory struct {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeResourceInstance struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package resourcefakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
resource "github.com/concourse/concourse/atc/resource"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/resource"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeVersionedSource struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package factoryfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
factory "github.com/concourse/concourse/atc/scheduler/factory"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/scheduler/factory"
|
||||
)
|
||||
|
||||
type FakeBuildFactory struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package inputconfigfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
algorithm "github.com/concourse/concourse/atc/db/algorithm"
|
||||
inputconfig "github.com/concourse/concourse/atc/scheduler/inputmapper/inputconfig"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db/algorithm"
|
||||
"github.com/concourse/concourse/atc/scheduler/inputmapper/inputconfig"
|
||||
)
|
||||
|
||||
type FakeTransformer struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package inputmapperfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
algorithm "github.com/concourse/concourse/atc/db/algorithm"
|
||||
inputmapper "github.com/concourse/concourse/atc/scheduler/inputmapper"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db/algorithm"
|
||||
"github.com/concourse/concourse/atc/scheduler/inputmapper"
|
||||
)
|
||||
|
||||
type FakeInputMapper struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package maxinflightfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
maxinflight "github.com/concourse/concourse/atc/scheduler/maxinflight"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/scheduler/maxinflight"
|
||||
)
|
||||
|
||||
type FakeUpdater struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package schedulerfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
scheduler "github.com/concourse/concourse/atc/scheduler"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/scheduler"
|
||||
)
|
||||
|
||||
type FakeBuildFactory struct {
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
package schedulerfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
time "time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
algorithm "github.com/concourse/concourse/atc/db/algorithm"
|
||||
scheduler "github.com/concourse/concourse/atc/scheduler"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/db/algorithm"
|
||||
"github.com/concourse/concourse/atc/scheduler"
|
||||
)
|
||||
|
||||
type FakeBuildScheduler struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package schedulerfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
scheduler "github.com/concourse/concourse/atc/scheduler"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/scheduler"
|
||||
)
|
||||
|
||||
type FakeBuildStarter struct {
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
package imagefakes
|
||||
|
||||
import (
|
||||
context "context"
|
||||
io "io"
|
||||
sync "sync"
|
||||
"context"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
image "github.com/concourse/concourse/atc/worker/image"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
"github.com/concourse/concourse/atc/worker/image"
|
||||
)
|
||||
|
||||
type FakeImageResourceFetcher struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package imagefakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
atc "github.com/concourse/concourse/atc"
|
||||
creds "github.com/concourse/concourse/atc/creds"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
image "github.com/concourse/concourse/atc/worker/image"
|
||||
"github.com/concourse/concourse/atc"
|
||||
"github.com/concourse/concourse/atc/creds"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
"github.com/concourse/concourse/atc/worker/image"
|
||||
)
|
||||
|
||||
type FakeImageResourceFetcherFactory struct {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package transportfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
transport "github.com/concourse/concourse/atc/worker/transport"
|
||||
"github.com/concourse/concourse/atc/worker/transport"
|
||||
)
|
||||
|
||||
type FakeReadCloser struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package transportfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
http "net/http"
|
||||
sync "sync"
|
||||
"io"
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
transport "github.com/concourse/concourse/atc/worker/transport"
|
||||
rata "github.com/tedsuo/rata"
|
||||
"github.com/concourse/concourse/atc/worker/transport"
|
||||
"github.com/tedsuo/rata"
|
||||
)
|
||||
|
||||
type FakeRequestGenerator struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package transportfakes
|
||||
|
||||
import (
|
||||
http "net/http"
|
||||
sync "sync"
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
transport "github.com/concourse/concourse/atc/worker/transport"
|
||||
"github.com/concourse/concourse/atc/worker/transport"
|
||||
)
|
||||
|
||||
type FakeRoundTripper struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package transportfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
transport "github.com/concourse/concourse/atc/worker/transport"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/worker/transport"
|
||||
)
|
||||
|
||||
type FakeTransportDB struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package workerfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeArtifactDestination struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package workerfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeArtifactSource struct {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
package workerfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
garden "code.cloudfoundry.org/garden"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/garden"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeBindMountSource struct {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
package workerfakes
|
||||
|
||||
import (
|
||||
sync "sync"
|
||||
"sync"
|
||||
|
||||
lager "code.cloudfoundry.org/lager"
|
||||
db "github.com/concourse/concourse/atc/db"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/lager"
|
||||
"github.com/concourse/concourse/atc/db"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeClient struct {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
package workerfakes
|
||||
|
||||
import (
|
||||
io "io"
|
||||
sync "sync"
|
||||
time "time"
|
||||
"io"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
garden "code.cloudfoundry.org/garden"
|
||||
worker "github.com/concourse/concourse/atc/worker"
|
||||
"code.cloudfoundry.org/garden"
|
||||
"github.com/concourse/concourse/atc/worker"
|
||||
)
|
||||
|
||||
type FakeContainer struct {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue