Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeFetchSource
- func (fake *FakeFetchSource) Create(arg1 context.Context) (resource.VersionedSource, error)
- func (fake *FakeFetchSource) CreateArgsForCall(i int) context.Context
- func (fake *FakeFetchSource) CreateCallCount() int
- func (fake *FakeFetchSource) CreateReturns(result1 resource.VersionedSource, result2 error)
- func (fake *FakeFetchSource) CreateReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
- func (fake *FakeFetchSource) Find() (resource.VersionedSource, bool, error)
- func (fake *FakeFetchSource) FindCallCount() int
- func (fake *FakeFetchSource) FindReturns(result1 resource.VersionedSource, result2 bool, result3 error)
- func (fake *FakeFetchSource) FindReturnsOnCall(i int, result1 resource.VersionedSource, result2 bool, result3 error)
- func (fake *FakeFetchSource) Invocations() map[string][][]interface{}
- func (fake *FakeFetchSource) LockName() (string, error)
- func (fake *FakeFetchSource) LockNameCallCount() int
- func (fake *FakeFetchSource) LockNameReturns(result1 string, result2 error)
- func (fake *FakeFetchSource) LockNameReturnsOnCall(i int, result1 string, result2 error)
- type FakeFetchSourceProvider
- func (fake *FakeFetchSourceProvider) Get() (resource.FetchSource, error)
- func (fake *FakeFetchSourceProvider) GetCallCount() int
- func (fake *FakeFetchSourceProvider) GetReturns(result1 resource.FetchSource, result2 error)
- func (fake *FakeFetchSourceProvider) GetReturnsOnCall(i int, result1 resource.FetchSource, result2 error)
- func (fake *FakeFetchSourceProvider) Invocations() map[string][][]interface{}
- type FakeFetchSourceProviderFactory
- func (fake *FakeFetchSourceProviderFactory) Invocations() map[string][][]interface{}
- func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProvider(logger lager.Logger, session resource.Session, metadata resource.Metadata, ...) resource.FetchSourceProvider
- func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderArgsForCall(i int) (lager.Logger, resource.Session, resource.Metadata, atc.Tags, int, ...)
- func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderCallCount() int
- func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderReturns(result1 resource.FetchSourceProvider)
- func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderReturnsOnCall(i int, result1 resource.FetchSourceProvider)
- type FakeFetcher
- func (fake *FakeFetcher) Fetch(ctx context.Context, logger lager.Logger, session resource.Session, ...) (resource.VersionedSource, error)
- func (fake *FakeFetcher) FetchArgsForCall(i int) (context.Context, lager.Logger, resource.Session, atc.Tags, int, ...)
- func (fake *FakeFetcher) FetchCallCount() int
- func (fake *FakeFetcher) FetchReturns(result1 resource.VersionedSource, result2 error)
- func (fake *FakeFetcher) FetchReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
- func (fake *FakeFetcher) Invocations() map[string][][]interface{}
- type FakeFetcherFactory
- func (fake *FakeFetcherFactory) FetcherFor(workerClient worker.Client) resource.Fetcher
- func (fake *FakeFetcherFactory) FetcherForArgsForCall(i int) worker.Client
- func (fake *FakeFetcherFactory) FetcherForCallCount() int
- func (fake *FakeFetcherFactory) FetcherForReturns(result1 resource.Fetcher)
- func (fake *FakeFetcherFactory) FetcherForReturnsOnCall(i int, result1 resource.Fetcher)
- func (fake *FakeFetcherFactory) Invocations() map[string][][]interface{}
- type FakeResource
- func (fake *FakeResource) Check(arg1 context.Context, arg2 atc.Source, arg3 atc.Version) ([]atc.Version, error)
- func (fake *FakeResource) CheckArgsForCall(i int) (context.Context, atc.Source, atc.Version)
- func (fake *FakeResource) CheckCallCount() int
- func (fake *FakeResource) CheckReturns(result1 []atc.Version, result2 error)
- func (fake *FakeResource) CheckReturnsOnCall(i int, result1 []atc.Version, result2 error)
- func (fake *FakeResource) Container() worker.Container
- func (fake *FakeResource) ContainerCallCount() int
- func (fake *FakeResource) ContainerReturns(result1 worker.Container)
- func (fake *FakeResource) ContainerReturnsOnCall(i int, result1 worker.Container)
- func (fake *FakeResource) Get(arg1 context.Context, arg2 worker.Volume, arg3 resource.IOConfig, ...) (resource.VersionedSource, error)
- func (fake *FakeResource) GetArgsForCall(i int) (context.Context, worker.Volume, resource.IOConfig, atc.Source, atc.Params, ...)
- func (fake *FakeResource) GetCallCount() int
- func (fake *FakeResource) GetReturns(result1 resource.VersionedSource, result2 error)
- func (fake *FakeResource) GetReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
- func (fake *FakeResource) Invocations() map[string][][]interface{}
- func (fake *FakeResource) Put(arg1 context.Context, arg2 resource.IOConfig, arg3 atc.Source, arg4 atc.Params) (resource.VersionedSource, error)
- func (fake *FakeResource) PutArgsForCall(i int) (context.Context, resource.IOConfig, atc.Source, atc.Params)
- func (fake *FakeResource) PutCallCount() int
- func (fake *FakeResource) PutReturns(result1 resource.VersionedSource, result2 error)
- func (fake *FakeResource) PutReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
- type FakeResourceFactory
- func (fake *FakeResourceFactory) Invocations() map[string][][]interface{}
- func (fake *FakeResourceFactory) NewResource(ctx context.Context, logger lager.Logger, owner db.ContainerOwner, ...) (resource.Resource, error)
- func (fake *FakeResourceFactory) NewResourceArgsForCall(i int) (context.Context, lager.Logger, db.ContainerOwner, db.ContainerMetadata, ...)
- func (fake *FakeResourceFactory) NewResourceCallCount() int
- func (fake *FakeResourceFactory) NewResourceReturns(result1 resource.Resource, result2 error)
- func (fake *FakeResourceFactory) NewResourceReturnsOnCall(i int, result1 resource.Resource, result2 error)
- type FakeResourceInstance
- func (fake *FakeResourceInstance) ContainerOwner() db.ContainerOwner
- func (fake *FakeResourceInstance) ContainerOwnerCallCount() int
- func (fake *FakeResourceInstance) ContainerOwnerReturns(result1 db.ContainerOwner)
- func (fake *FakeResourceInstance) ContainerOwnerReturnsOnCall(i int, result1 db.ContainerOwner)
- func (fake *FakeResourceInstance) FindOn(arg1 lager.Logger, arg2 worker.Worker) (worker.Volume, bool, error)
- func (fake *FakeResourceInstance) FindOnArgsForCall(i int) (lager.Logger, worker.Worker)
- func (fake *FakeResourceInstance) FindOnCallCount() int
- func (fake *FakeResourceInstance) FindOnReturns(result1 worker.Volume, result2 bool, result3 error)
- func (fake *FakeResourceInstance) FindOnReturnsOnCall(i int, result1 worker.Volume, result2 bool, result3 error)
- func (fake *FakeResourceInstance) Invocations() map[string][][]interface{}
- func (fake *FakeResourceInstance) LockName(arg1 string) (string, error)
- func (fake *FakeResourceInstance) LockNameArgsForCall(i int) string
- func (fake *FakeResourceInstance) LockNameCallCount() int
- func (fake *FakeResourceInstance) LockNameReturns(result1 string, result2 error)
- func (fake *FakeResourceInstance) LockNameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeResourceInstance) Params() atc.Params
- func (fake *FakeResourceInstance) ParamsCallCount() int
- func (fake *FakeResourceInstance) ParamsReturns(result1 atc.Params)
- func (fake *FakeResourceInstance) ParamsReturnsOnCall(i int, result1 atc.Params)
- func (fake *FakeResourceInstance) ResourceCache() db.UsedResourceCache
- func (fake *FakeResourceInstance) ResourceCacheCallCount() int
- func (fake *FakeResourceInstance) ResourceCacheReturns(result1 db.UsedResourceCache)
- func (fake *FakeResourceInstance) ResourceCacheReturnsOnCall(i int, result1 db.UsedResourceCache)
- func (fake *FakeResourceInstance) ResourceType() resource.ResourceType
- func (fake *FakeResourceInstance) ResourceTypeCallCount() int
- func (fake *FakeResourceInstance) ResourceTypeReturns(result1 resource.ResourceType)
- func (fake *FakeResourceInstance) ResourceTypeReturnsOnCall(i int, result1 resource.ResourceType)
- func (fake *FakeResourceInstance) Source() atc.Source
- func (fake *FakeResourceInstance) SourceCallCount() int
- func (fake *FakeResourceInstance) SourceReturns(result1 atc.Source)
- func (fake *FakeResourceInstance) SourceReturnsOnCall(i int, result1 atc.Source)
- func (fake *FakeResourceInstance) Version() atc.Version
- func (fake *FakeResourceInstance) VersionCallCount() int
- func (fake *FakeResourceInstance) VersionReturns(result1 atc.Version)
- func (fake *FakeResourceInstance) VersionReturnsOnCall(i int, result1 atc.Version)
- type FakeVersionedSource
- func (fake *FakeVersionedSource) Invocations() map[string][][]interface{}
- func (fake *FakeVersionedSource) Metadata() []atc.MetadataField
- func (fake *FakeVersionedSource) MetadataCallCount() int
- func (fake *FakeVersionedSource) MetadataReturns(result1 []atc.MetadataField)
- func (fake *FakeVersionedSource) MetadataReturnsOnCall(i int, result1 []atc.MetadataField)
- func (fake *FakeVersionedSource) StreamIn(arg1 string, arg2 io.Reader) error
- func (fake *FakeVersionedSource) StreamInArgsForCall(i int) (string, io.Reader)
- func (fake *FakeVersionedSource) StreamInCallCount() int
- func (fake *FakeVersionedSource) StreamInReturns(result1 error)
- func (fake *FakeVersionedSource) StreamInReturnsOnCall(i int, result1 error)
- func (fake *FakeVersionedSource) StreamOut(arg1 string) (io.ReadCloser, error)
- func (fake *FakeVersionedSource) StreamOutArgsForCall(i int) string
- func (fake *FakeVersionedSource) StreamOutCallCount() int
- func (fake *FakeVersionedSource) StreamOutReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeVersionedSource) StreamOutReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *FakeVersionedSource) Version() atc.Version
- func (fake *FakeVersionedSource) VersionCallCount() int
- func (fake *FakeVersionedSource) VersionReturns(result1 atc.Version)
- func (fake *FakeVersionedSource) VersionReturnsOnCall(i int, result1 atc.Version)
- func (fake *FakeVersionedSource) Volume() worker.Volume
- func (fake *FakeVersionedSource) VolumeCallCount() int
- func (fake *FakeVersionedSource) VolumeReturns(result1 worker.Volume)
- func (fake *FakeVersionedSource) VolumeReturnsOnCall(i int, result1 worker.Volume)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFetchSource ¶
type FakeFetchSource struct { LockNameStub func() (string, error) FindStub func() (resource.VersionedSource, bool, error) CreateStub func(context.Context) (resource.VersionedSource, error) // contains filtered or unexported fields }
func (*FakeFetchSource) Create ¶
func (fake *FakeFetchSource) Create(arg1 context.Context) (resource.VersionedSource, error)
func (*FakeFetchSource) CreateArgsForCall ¶
func (fake *FakeFetchSource) CreateArgsForCall(i int) context.Context
func (*FakeFetchSource) CreateCallCount ¶
func (fake *FakeFetchSource) CreateCallCount() int
func (*FakeFetchSource) CreateReturns ¶
func (fake *FakeFetchSource) CreateReturns(result1 resource.VersionedSource, result2 error)
func (*FakeFetchSource) CreateReturnsOnCall ¶
func (fake *FakeFetchSource) CreateReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
func (*FakeFetchSource) Find ¶
func (fake *FakeFetchSource) Find() (resource.VersionedSource, bool, error)
func (*FakeFetchSource) FindCallCount ¶
func (fake *FakeFetchSource) FindCallCount() int
func (*FakeFetchSource) FindReturns ¶
func (fake *FakeFetchSource) FindReturns(result1 resource.VersionedSource, result2 bool, result3 error)
func (*FakeFetchSource) FindReturnsOnCall ¶
func (fake *FakeFetchSource) FindReturnsOnCall(i int, result1 resource.VersionedSource, result2 bool, result3 error)
func (*FakeFetchSource) Invocations ¶
func (fake *FakeFetchSource) Invocations() map[string][][]interface{}
func (*FakeFetchSource) LockName ¶
func (fake *FakeFetchSource) LockName() (string, error)
func (*FakeFetchSource) LockNameCallCount ¶
func (fake *FakeFetchSource) LockNameCallCount() int
func (*FakeFetchSource) LockNameReturns ¶
func (fake *FakeFetchSource) LockNameReturns(result1 string, result2 error)
func (*FakeFetchSource) LockNameReturnsOnCall ¶
func (fake *FakeFetchSource) LockNameReturnsOnCall(i int, result1 string, result2 error)
type FakeFetchSourceProvider ¶
type FakeFetchSourceProvider struct { GetStub func() (resource.FetchSource, error) // contains filtered or unexported fields }
func (*FakeFetchSourceProvider) Get ¶
func (fake *FakeFetchSourceProvider) Get() (resource.FetchSource, error)
func (*FakeFetchSourceProvider) GetCallCount ¶
func (fake *FakeFetchSourceProvider) GetCallCount() int
func (*FakeFetchSourceProvider) GetReturns ¶
func (fake *FakeFetchSourceProvider) GetReturns(result1 resource.FetchSource, result2 error)
func (*FakeFetchSourceProvider) GetReturnsOnCall ¶
func (fake *FakeFetchSourceProvider) GetReturnsOnCall(i int, result1 resource.FetchSource, result2 error)
func (*FakeFetchSourceProvider) Invocations ¶
func (fake *FakeFetchSourceProvider) Invocations() map[string][][]interface{}
type FakeFetchSourceProviderFactory ¶
type FakeFetchSourceProviderFactory struct { NewFetchSourceProviderStub func(logger lager.Logger, session resource.Session, metadata resource.Metadata, tags atc.Tags, teamID int, resourceTypes creds.VersionedResourceTypes, resourceInstance resource.ResourceInstance, imageFetchingDelegate worker.ImageFetchingDelegate) resource.FetchSourceProvider // contains filtered or unexported fields }
func (*FakeFetchSourceProviderFactory) Invocations ¶
func (fake *FakeFetchSourceProviderFactory) Invocations() map[string][][]interface{}
func (*FakeFetchSourceProviderFactory) NewFetchSourceProvider ¶
func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProvider(logger lager.Logger, session resource.Session, metadata resource.Metadata, tags atc.Tags, teamID int, resourceTypes creds.VersionedResourceTypes, resourceInstance resource.ResourceInstance, imageFetchingDelegate worker.ImageFetchingDelegate) resource.FetchSourceProvider
func (*FakeFetchSourceProviderFactory) NewFetchSourceProviderArgsForCall ¶
func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderArgsForCall(i int) (lager.Logger, resource.Session, resource.Metadata, atc.Tags, int, creds.VersionedResourceTypes, resource.ResourceInstance, worker.ImageFetchingDelegate)
func (*FakeFetchSourceProviderFactory) NewFetchSourceProviderCallCount ¶
func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderCallCount() int
func (*FakeFetchSourceProviderFactory) NewFetchSourceProviderReturns ¶
func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderReturns(result1 resource.FetchSourceProvider)
func (*FakeFetchSourceProviderFactory) NewFetchSourceProviderReturnsOnCall ¶
func (fake *FakeFetchSourceProviderFactory) NewFetchSourceProviderReturnsOnCall(i int, result1 resource.FetchSourceProvider)
type FakeFetcher ¶
type FakeFetcher struct { FetchStub func(ctx context.Context, logger lager.Logger, session resource.Session, tags atc.Tags, teamID int, resourceTypes creds.VersionedResourceTypes, resourceInstance resource.ResourceInstance, metadata resource.Metadata, imageFetchingDelegate worker.ImageFetchingDelegate) (resource.VersionedSource, error) // contains filtered or unexported fields }
func (*FakeFetcher) Fetch ¶
func (fake *FakeFetcher) Fetch(ctx context.Context, logger lager.Logger, session resource.Session, tags atc.Tags, teamID int, resourceTypes creds.VersionedResourceTypes, resourceInstance resource.ResourceInstance, metadata resource.Metadata, imageFetchingDelegate worker.ImageFetchingDelegate) (resource.VersionedSource, error)
func (*FakeFetcher) FetchArgsForCall ¶
func (fake *FakeFetcher) FetchArgsForCall(i int) (context.Context, lager.Logger, resource.Session, atc.Tags, int, creds.VersionedResourceTypes, resource.ResourceInstance, resource.Metadata, worker.ImageFetchingDelegate)
func (*FakeFetcher) FetchCallCount ¶
func (fake *FakeFetcher) FetchCallCount() int
func (*FakeFetcher) FetchReturns ¶
func (fake *FakeFetcher) FetchReturns(result1 resource.VersionedSource, result2 error)
func (*FakeFetcher) FetchReturnsOnCall ¶
func (fake *FakeFetcher) FetchReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
func (*FakeFetcher) Invocations ¶
func (fake *FakeFetcher) Invocations() map[string][][]interface{}
type FakeFetcherFactory ¶
type FakeFetcherFactory struct { FetcherForStub func(workerClient worker.Client) resource.Fetcher // contains filtered or unexported fields }
func (*FakeFetcherFactory) FetcherFor ¶
func (fake *FakeFetcherFactory) FetcherFor(workerClient worker.Client) resource.Fetcher
func (*FakeFetcherFactory) FetcherForArgsForCall ¶
func (fake *FakeFetcherFactory) FetcherForArgsForCall(i int) worker.Client
func (*FakeFetcherFactory) FetcherForCallCount ¶
func (fake *FakeFetcherFactory) FetcherForCallCount() int
func (*FakeFetcherFactory) FetcherForReturns ¶
func (fake *FakeFetcherFactory) FetcherForReturns(result1 resource.Fetcher)
func (*FakeFetcherFactory) FetcherForReturnsOnCall ¶
func (fake *FakeFetcherFactory) FetcherForReturnsOnCall(i int, result1 resource.Fetcher)
func (*FakeFetcherFactory) Invocations ¶
func (fake *FakeFetcherFactory) Invocations() map[string][][]interface{}
type FakeResource ¶
type FakeResource struct { GetStub func(context.Context, worker.Volume, resource.IOConfig, atc.Source, atc.Params, atc.Version) (resource.VersionedSource, error) PutStub func(context.Context, resource.IOConfig, atc.Source, atc.Params) (resource.VersionedSource, error) CheckStub func(context.Context, atc.Source, atc.Version) ([]atc.Version, error) ContainerStub func() worker.Container // contains filtered or unexported fields }
func (*FakeResource) CheckArgsForCall ¶
func (*FakeResource) CheckCallCount ¶
func (fake *FakeResource) CheckCallCount() int
func (*FakeResource) CheckReturns ¶
func (fake *FakeResource) CheckReturns(result1 []atc.Version, result2 error)
func (*FakeResource) CheckReturnsOnCall ¶
func (fake *FakeResource) CheckReturnsOnCall(i int, result1 []atc.Version, result2 error)
func (*FakeResource) Container ¶
func (fake *FakeResource) Container() worker.Container
func (*FakeResource) ContainerCallCount ¶
func (fake *FakeResource) ContainerCallCount() int
func (*FakeResource) ContainerReturns ¶
func (fake *FakeResource) ContainerReturns(result1 worker.Container)
func (*FakeResource) ContainerReturnsOnCall ¶
func (fake *FakeResource) ContainerReturnsOnCall(i int, result1 worker.Container)
func (*FakeResource) GetArgsForCall ¶
func (*FakeResource) GetCallCount ¶
func (fake *FakeResource) GetCallCount() int
func (*FakeResource) GetReturns ¶
func (fake *FakeResource) GetReturns(result1 resource.VersionedSource, result2 error)
func (*FakeResource) GetReturnsOnCall ¶
func (fake *FakeResource) GetReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
func (*FakeResource) Invocations ¶
func (fake *FakeResource) Invocations() map[string][][]interface{}
func (*FakeResource) PutArgsForCall ¶
func (*FakeResource) PutCallCount ¶
func (fake *FakeResource) PutCallCount() int
func (*FakeResource) PutReturns ¶
func (fake *FakeResource) PutReturns(result1 resource.VersionedSource, result2 error)
func (*FakeResource) PutReturnsOnCall ¶
func (fake *FakeResource) PutReturnsOnCall(i int, result1 resource.VersionedSource, result2 error)
type FakeResourceFactory ¶
type FakeResourceFactory struct { NewResourceStub func(ctx context.Context, logger lager.Logger, owner db.ContainerOwner, metadata db.ContainerMetadata, containerSpec worker.ContainerSpec, resourceTypes creds.VersionedResourceTypes, imageFetchingDelegate worker.ImageFetchingDelegate) (resource.Resource, error) // contains filtered or unexported fields }
func (*FakeResourceFactory) Invocations ¶
func (fake *FakeResourceFactory) Invocations() map[string][][]interface{}
func (*FakeResourceFactory) NewResource ¶
func (fake *FakeResourceFactory) NewResource(ctx context.Context, logger lager.Logger, owner db.ContainerOwner, metadata db.ContainerMetadata, containerSpec worker.ContainerSpec, resourceTypes creds.VersionedResourceTypes, imageFetchingDelegate worker.ImageFetchingDelegate) (resource.Resource, error)
func (*FakeResourceFactory) NewResourceArgsForCall ¶
func (fake *FakeResourceFactory) NewResourceArgsForCall(i int) (context.Context, lager.Logger, db.ContainerOwner, db.ContainerMetadata, worker.ContainerSpec, creds.VersionedResourceTypes, worker.ImageFetchingDelegate)
func (*FakeResourceFactory) NewResourceCallCount ¶
func (fake *FakeResourceFactory) NewResourceCallCount() int
func (*FakeResourceFactory) NewResourceReturns ¶
func (fake *FakeResourceFactory) NewResourceReturns(result1 resource.Resource, result2 error)
func (*FakeResourceFactory) NewResourceReturnsOnCall ¶
func (fake *FakeResourceFactory) NewResourceReturnsOnCall(i int, result1 resource.Resource, result2 error)
type FakeResourceInstance ¶
type FakeResourceInstance struct { SourceStub func() atc.Source ParamsStub func() atc.Params VersionStub func() atc.Version ResourceTypeStub func() resource.ResourceType ResourceCacheStub func() db.UsedResourceCache ContainerOwnerStub func() db.ContainerOwner LockNameStub func(string) (string, error) FindOnStub func(lager.Logger, worker.Worker) (worker.Volume, bool, error) // contains filtered or unexported fields }
func (*FakeResourceInstance) ContainerOwner ¶
func (fake *FakeResourceInstance) ContainerOwner() db.ContainerOwner
func (*FakeResourceInstance) ContainerOwnerCallCount ¶
func (fake *FakeResourceInstance) ContainerOwnerCallCount() int
func (*FakeResourceInstance) ContainerOwnerReturns ¶
func (fake *FakeResourceInstance) ContainerOwnerReturns(result1 db.ContainerOwner)
func (*FakeResourceInstance) ContainerOwnerReturnsOnCall ¶
func (fake *FakeResourceInstance) ContainerOwnerReturnsOnCall(i int, result1 db.ContainerOwner)
func (*FakeResourceInstance) FindOnArgsForCall ¶
func (*FakeResourceInstance) FindOnCallCount ¶
func (fake *FakeResourceInstance) FindOnCallCount() int
func (*FakeResourceInstance) FindOnReturns ¶
func (fake *FakeResourceInstance) FindOnReturns(result1 worker.Volume, result2 bool, result3 error)
func (*FakeResourceInstance) FindOnReturnsOnCall ¶
func (*FakeResourceInstance) Invocations ¶
func (fake *FakeResourceInstance) Invocations() map[string][][]interface{}
func (*FakeResourceInstance) LockName ¶
func (fake *FakeResourceInstance) LockName(arg1 string) (string, error)
func (*FakeResourceInstance) LockNameArgsForCall ¶
func (fake *FakeResourceInstance) LockNameArgsForCall(i int) string
func (*FakeResourceInstance) LockNameCallCount ¶
func (fake *FakeResourceInstance) LockNameCallCount() int
func (*FakeResourceInstance) LockNameReturns ¶
func (fake *FakeResourceInstance) LockNameReturns(result1 string, result2 error)
func (*FakeResourceInstance) LockNameReturnsOnCall ¶
func (fake *FakeResourceInstance) LockNameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeResourceInstance) Params ¶
func (fake *FakeResourceInstance) Params() atc.Params
func (*FakeResourceInstance) ParamsCallCount ¶
func (fake *FakeResourceInstance) ParamsCallCount() int
func (*FakeResourceInstance) ParamsReturns ¶
func (fake *FakeResourceInstance) ParamsReturns(result1 atc.Params)
func (*FakeResourceInstance) ParamsReturnsOnCall ¶
func (fake *FakeResourceInstance) ParamsReturnsOnCall(i int, result1 atc.Params)
func (*FakeResourceInstance) ResourceCache ¶
func (fake *FakeResourceInstance) ResourceCache() db.UsedResourceCache
func (*FakeResourceInstance) ResourceCacheCallCount ¶
func (fake *FakeResourceInstance) ResourceCacheCallCount() int
func (*FakeResourceInstance) ResourceCacheReturns ¶
func (fake *FakeResourceInstance) ResourceCacheReturns(result1 db.UsedResourceCache)
func (*FakeResourceInstance) ResourceCacheReturnsOnCall ¶
func (fake *FakeResourceInstance) ResourceCacheReturnsOnCall(i int, result1 db.UsedResourceCache)
func (*FakeResourceInstance) ResourceType ¶
func (fake *FakeResourceInstance) ResourceType() resource.ResourceType
func (*FakeResourceInstance) ResourceTypeCallCount ¶
func (fake *FakeResourceInstance) ResourceTypeCallCount() int
func (*FakeResourceInstance) ResourceTypeReturns ¶
func (fake *FakeResourceInstance) ResourceTypeReturns(result1 resource.ResourceType)
func (*FakeResourceInstance) ResourceTypeReturnsOnCall ¶
func (fake *FakeResourceInstance) ResourceTypeReturnsOnCall(i int, result1 resource.ResourceType)
func (*FakeResourceInstance) Source ¶
func (fake *FakeResourceInstance) Source() atc.Source
func (*FakeResourceInstance) SourceCallCount ¶
func (fake *FakeResourceInstance) SourceCallCount() int
func (*FakeResourceInstance) SourceReturns ¶
func (fake *FakeResourceInstance) SourceReturns(result1 atc.Source)
func (*FakeResourceInstance) SourceReturnsOnCall ¶
func (fake *FakeResourceInstance) SourceReturnsOnCall(i int, result1 atc.Source)
func (*FakeResourceInstance) Version ¶
func (fake *FakeResourceInstance) Version() atc.Version
func (*FakeResourceInstance) VersionCallCount ¶
func (fake *FakeResourceInstance) VersionCallCount() int
func (*FakeResourceInstance) VersionReturns ¶
func (fake *FakeResourceInstance) VersionReturns(result1 atc.Version)
func (*FakeResourceInstance) VersionReturnsOnCall ¶
func (fake *FakeResourceInstance) VersionReturnsOnCall(i int, result1 atc.Version)
type FakeVersionedSource ¶
type FakeVersionedSource struct { VersionStub func() atc.Version MetadataStub func() []atc.MetadataField StreamOutStub func(string) (io.ReadCloser, error) StreamInStub func(string, io.Reader) error VolumeStub func() worker.Volume // contains filtered or unexported fields }
func (*FakeVersionedSource) Invocations ¶
func (fake *FakeVersionedSource) Invocations() map[string][][]interface{}
func (*FakeVersionedSource) Metadata ¶
func (fake *FakeVersionedSource) Metadata() []atc.MetadataField
func (*FakeVersionedSource) MetadataCallCount ¶
func (fake *FakeVersionedSource) MetadataCallCount() int
func (*FakeVersionedSource) MetadataReturns ¶
func (fake *FakeVersionedSource) MetadataReturns(result1 []atc.MetadataField)
func (*FakeVersionedSource) MetadataReturnsOnCall ¶
func (fake *FakeVersionedSource) MetadataReturnsOnCall(i int, result1 []atc.MetadataField)
func (*FakeVersionedSource) StreamIn ¶
func (fake *FakeVersionedSource) StreamIn(arg1 string, arg2 io.Reader) error
func (*FakeVersionedSource) StreamInArgsForCall ¶
func (fake *FakeVersionedSource) StreamInArgsForCall(i int) (string, io.Reader)
func (*FakeVersionedSource) StreamInCallCount ¶
func (fake *FakeVersionedSource) StreamInCallCount() int
func (*FakeVersionedSource) StreamInReturns ¶
func (fake *FakeVersionedSource) StreamInReturns(result1 error)
func (*FakeVersionedSource) StreamInReturnsOnCall ¶
func (fake *FakeVersionedSource) StreamInReturnsOnCall(i int, result1 error)
func (*FakeVersionedSource) StreamOut ¶
func (fake *FakeVersionedSource) StreamOut(arg1 string) (io.ReadCloser, error)
func (*FakeVersionedSource) StreamOutArgsForCall ¶
func (fake *FakeVersionedSource) StreamOutArgsForCall(i int) string
func (*FakeVersionedSource) StreamOutCallCount ¶
func (fake *FakeVersionedSource) StreamOutCallCount() int
func (*FakeVersionedSource) StreamOutReturns ¶
func (fake *FakeVersionedSource) StreamOutReturns(result1 io.ReadCloser, result2 error)
func (*FakeVersionedSource) StreamOutReturnsOnCall ¶
func (fake *FakeVersionedSource) StreamOutReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeVersionedSource) Version ¶
func (fake *FakeVersionedSource) Version() atc.Version
func (*FakeVersionedSource) VersionCallCount ¶
func (fake *FakeVersionedSource) VersionCallCount() int
func (*FakeVersionedSource) VersionReturns ¶
func (fake *FakeVersionedSource) VersionReturns(result1 atc.Version)
func (*FakeVersionedSource) VersionReturnsOnCall ¶
func (fake *FakeVersionedSource) VersionReturnsOnCall(i int, result1 atc.Version)
func (*FakeVersionedSource) Volume ¶
func (fake *FakeVersionedSource) Volume() worker.Volume
func (*FakeVersionedSource) VolumeCallCount ¶
func (fake *FakeVersionedSource) VolumeCallCount() int
func (*FakeVersionedSource) VolumeReturns ¶
func (fake *FakeVersionedSource) VolumeReturns(result1 worker.Volume)
func (*FakeVersionedSource) VolumeReturnsOnCall ¶
func (fake *FakeVersionedSource) VolumeReturnsOnCall(i int, result1 worker.Volume)
Click to show internal directories.
Click to hide internal directories.