Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeRegistry
- func (fake *FakeRegistry) GetRemoteHistory(imageID string, registry string, token []string) ([]string, error)
- func (fake *FakeRegistry) GetRemoteHistoryArgsForCall(i int) (string, string, []string)
- func (fake *FakeRegistry) GetRemoteHistoryCallCount() int
- func (fake *FakeRegistry) GetRemoteHistoryReturns(result1 []string, result2 error)
- func (fake *FakeRegistry) GetRemoteImageJSON(imageID string, registry string, token []string) ([]byte, int, error)
- func (fake *FakeRegistry) GetRemoteImageJSONArgsForCall(i int) (string, string, []string)
- func (fake *FakeRegistry) GetRemoteImageJSONCallCount() int
- func (fake *FakeRegistry) GetRemoteImageJSONReturns(result1 []byte, result2 int, result3 error)
- func (fake *FakeRegistry) GetRemoteImageLayer(imageID string, registry string, token []string, size int64) (io.ReadCloser, error)
- func (fake *FakeRegistry) GetRemoteImageLayerArgsForCall(i int) (string, string, []string, int64)
- func (fake *FakeRegistry) GetRemoteImageLayerCallCount() int
- func (fake *FakeRegistry) GetRemoteImageLayerReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeRegistry) GetRemoteTags(registries []string, repository string, token []string) (map[string]string, error)
- func (fake *FakeRegistry) GetRemoteTagsArgsForCall(i int) ([]string, string, []string)
- func (fake *FakeRegistry) GetRemoteTagsCallCount() int
- func (fake *FakeRegistry) GetRemoteTagsReturns(result1 map[string]string, result2 error)
- func (fake *FakeRegistry) GetRepositoryData(repoName string) (*registry.RepositoryData, error)
- func (fake *FakeRegistry) GetRepositoryDataArgsForCall(i int) string
- func (fake *FakeRegistry) GetRepositoryDataCallCount() int
- func (fake *FakeRegistry) GetRepositoryDataReturns(result1 *registry.RepositoryData, result2 error)
- type FakeRegistryProvider
- func (fake *FakeRegistryProvider) ApplyDefaultHostname(hostname string) string
- func (fake *FakeRegistryProvider) ApplyDefaultHostnameArgsForCall(i int) string
- func (fake *FakeRegistryProvider) ApplyDefaultHostnameCallCount() int
- func (fake *FakeRegistryProvider) ApplyDefaultHostnameReturns(result1 string)
- func (fake *FakeRegistryProvider) ProvideRegistry(hostname string) (repository_fetcher.Registry, error)
- func (fake *FakeRegistryProvider) ProvideRegistryArgsForCall(i int) string
- func (fake *FakeRegistryProvider) ProvideRegistryCallCount() int
- func (fake *FakeRegistryProvider) ProvideRegistryReturns(result1 repository_fetcher.Registry, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRegistry ¶
type FakeRegistry struct { GetRepositoryDataStub func(repoName string) (*registry.RepositoryData, error) GetRemoteTagsStub func(registries []string, repository string, token []string) (map[string]string, error) GetRemoteHistoryStub func(imageID string, registry string, token []string) ([]string, error) GetRemoteImageJSONStub func(imageID string, registry string, token []string) ([]byte, int, error) GetRemoteImageLayerStub func(imageID string, registry string, token []string, size int64) (io.ReadCloser, error) // contains filtered or unexported fields }
func (*FakeRegistry) GetRemoteHistory ¶
func (*FakeRegistry) GetRemoteHistoryArgsForCall ¶
func (fake *FakeRegistry) GetRemoteHistoryArgsForCall(i int) (string, string, []string)
func (*FakeRegistry) GetRemoteHistoryCallCount ¶
func (fake *FakeRegistry) GetRemoteHistoryCallCount() int
func (*FakeRegistry) GetRemoteHistoryReturns ¶
func (fake *FakeRegistry) GetRemoteHistoryReturns(result1 []string, result2 error)
func (*FakeRegistry) GetRemoteImageJSON ¶
func (*FakeRegistry) GetRemoteImageJSONArgsForCall ¶
func (fake *FakeRegistry) GetRemoteImageJSONArgsForCall(i int) (string, string, []string)
func (*FakeRegistry) GetRemoteImageJSONCallCount ¶
func (fake *FakeRegistry) GetRemoteImageJSONCallCount() int
func (*FakeRegistry) GetRemoteImageJSONReturns ¶
func (fake *FakeRegistry) GetRemoteImageJSONReturns(result1 []byte, result2 int, result3 error)
func (*FakeRegistry) GetRemoteImageLayer ¶
func (fake *FakeRegistry) GetRemoteImageLayer(imageID string, registry string, token []string, size int64) (io.ReadCloser, error)
func (*FakeRegistry) GetRemoteImageLayerArgsForCall ¶
func (*FakeRegistry) GetRemoteImageLayerCallCount ¶
func (fake *FakeRegistry) GetRemoteImageLayerCallCount() int
func (*FakeRegistry) GetRemoteImageLayerReturns ¶
func (fake *FakeRegistry) GetRemoteImageLayerReturns(result1 io.ReadCloser, result2 error)
func (*FakeRegistry) GetRemoteTags ¶
func (*FakeRegistry) GetRemoteTagsArgsForCall ¶
func (fake *FakeRegistry) GetRemoteTagsArgsForCall(i int) ([]string, string, []string)
func (*FakeRegistry) GetRemoteTagsCallCount ¶
func (fake *FakeRegistry) GetRemoteTagsCallCount() int
func (*FakeRegistry) GetRemoteTagsReturns ¶
func (fake *FakeRegistry) GetRemoteTagsReturns(result1 map[string]string, result2 error)
func (*FakeRegistry) GetRepositoryData ¶
func (fake *FakeRegistry) GetRepositoryData(repoName string) (*registry.RepositoryData, error)
func (*FakeRegistry) GetRepositoryDataArgsForCall ¶
func (fake *FakeRegistry) GetRepositoryDataArgsForCall(i int) string
func (*FakeRegistry) GetRepositoryDataCallCount ¶
func (fake *FakeRegistry) GetRepositoryDataCallCount() int
func (*FakeRegistry) GetRepositoryDataReturns ¶
func (fake *FakeRegistry) GetRepositoryDataReturns(result1 *registry.RepositoryData, result2 error)
type FakeRegistryProvider ¶
type FakeRegistryProvider struct { ProvideRegistryStub func(hostname string) (repository_fetcher.Registry, error) ApplyDefaultHostnameStub func(hostname string) string // contains filtered or unexported fields }
func (*FakeRegistryProvider) ApplyDefaultHostname ¶
func (fake *FakeRegistryProvider) ApplyDefaultHostname(hostname string) string
func (*FakeRegistryProvider) ApplyDefaultHostnameArgsForCall ¶
func (fake *FakeRegistryProvider) ApplyDefaultHostnameArgsForCall(i int) string
func (*FakeRegistryProvider) ApplyDefaultHostnameCallCount ¶
func (fake *FakeRegistryProvider) ApplyDefaultHostnameCallCount() int
func (*FakeRegistryProvider) ApplyDefaultHostnameReturns ¶
func (fake *FakeRegistryProvider) ApplyDefaultHostnameReturns(result1 string)
func (*FakeRegistryProvider) ProvideRegistry ¶
func (fake *FakeRegistryProvider) ProvideRegistry(hostname string) (repository_fetcher.Registry, error)
func (*FakeRegistryProvider) ProvideRegistryArgsForCall ¶
func (fake *FakeRegistryProvider) ProvideRegistryArgsForCall(i int) string
func (*FakeRegistryProvider) ProvideRegistryCallCount ¶
func (fake *FakeRegistryProvider) ProvideRegistryCallCount() int
func (*FakeRegistryProvider) ProvideRegistryReturns ¶
func (fake *FakeRegistryProvider) ProvideRegistryReturns(result1 repository_fetcher.Registry, result2 error)
Click to show internal directories.
Click to hide internal directories.