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.
Index ¶
- type FakeChartLoaderFunc
- func (fake *FakeChartLoaderFunc) ArgsForCall(i int) string
- func (fake *FakeChartLoaderFunc) CallCount() int
- func (fake *FakeChartLoaderFunc) Calls(stub func(string) (*chart.Chart, error))
- func (fake *FakeChartLoaderFunc) Invocations() map[string][][]interface{}
- func (fake *FakeChartLoaderFunc) Returns(result1 *chart.Chart, result2 error)
- func (fake *FakeChartLoaderFunc) ReturnsOnCall(i int, result1 *chart.Chart, result2 error)
- func (fake *FakeChartLoaderFunc) Spy(arg1 string) (*chart.Chart, error)
- type FakeHTTPClient
- func (fake *FakeHTTPClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeHTTPClient) DoCallCount() int
- func (fake *FakeHTTPClient) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakeHTTPClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) Get(arg1 *url.URL) (*http.Response, error)
- func (fake *FakeHTTPClient) GetArgsForCall(i int) *url.URL
- func (fake *FakeHTTPClient) GetCallCount() int
- func (fake *FakeHTTPClient) GetCalls(stub func(*url.URL) (*http.Response, error))
- func (fake *FakeHTTPClient) GetReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
- func (fake *FakeHTTPClient) Post(arg1 *url.URL, arg2 io.Reader, arg3 string) (*http.Response, error)
- func (fake *FakeHTTPClient) PostArgsForCall(i int) (*url.URL, io.Reader, string)
- func (fake *FakeHTTPClient) PostCallCount() int
- func (fake *FakeHTTPClient) PostCalls(stub func(*url.URL, io.Reader, string) (*http.Response, error))
- func (fake *FakeHTTPClient) PostForm(arg1 *url.URL, arg2 url.Values) (*http.Response, error)
- func (fake *FakeHTTPClient) PostFormArgsForCall(i int) (*url.URL, url.Values)
- func (fake *FakeHTTPClient) PostFormCallCount() int
- func (fake *FakeHTTPClient) PostFormCalls(stub func(*url.URL, url.Values) (*http.Response, error))
- func (fake *FakeHTTPClient) PostFormReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) PostFormReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) PostJSON(arg1 *url.URL, arg2 interface{}) (*http.Response, error)
- func (fake *FakeHTTPClient) PostJSONArgsForCall(i int) (*url.URL, interface{})
- func (fake *FakeHTTPClient) PostJSONCallCount() int
- func (fake *FakeHTTPClient) PostJSONCalls(stub func(*url.URL, interface{}) (*http.Response, error))
- func (fake *FakeHTTPClient) PostJSONReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) PostJSONReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) PostReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) PostReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) Put(arg1 *url.URL, arg2 io.Reader, arg3 string) (*http.Response, error)
- func (fake *FakeHTTPClient) PutArgsForCall(i int) (*url.URL, io.Reader, string)
- func (fake *FakeHTTPClient) PutCallCount() int
- func (fake *FakeHTTPClient) PutCalls(stub func(*url.URL, io.Reader, string) (*http.Response, error))
- func (fake *FakeHTTPClient) PutReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) PutReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) SendRequest(arg1 string, arg2 *url.URL, arg3 map[string]string, arg4 io.Reader) (*http.Response, error)
- func (fake *FakeHTTPClient) SendRequestArgsForCall(i int) (string, *url.URL, map[string]string, io.Reader)
- func (fake *FakeHTTPClient) SendRequestCallCount() int
- func (fake *FakeHTTPClient) SendRequestCalls(...)
- func (fake *FakeHTTPClient) SendRequestReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) SendRequestReturnsOnCall(i int, result1 *http.Response, result2 error)
- type FakeMarketplaceInterface
- func (fake *FakeMarketplaceInterface) AttachLocalChart(arg1 string, arg2 string, arg3 *models.Product, arg4 *models.Version) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) AttachLocalChartArgsForCall(i int) (string, string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) AttachLocalChartCallCount() int
- func (fake *FakeMarketplaceInterface) AttachLocalChartCalls(...)
- func (fake *FakeMarketplaceInterface) AttachLocalChartReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachLocalChartReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachLocalContainerImage(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) AttachLocalContainerImageArgsForCall(i int) (string, string, string, string, string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) AttachLocalContainerImageCallCount() int
- func (fake *FakeMarketplaceInterface) AttachLocalContainerImageCalls(...)
- func (fake *FakeMarketplaceInterface) AttachLocalContainerImageReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachLocalContainerImageReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachMetaFile(arg1 string, arg2 string, arg3 string, arg4 *models.Product, ...) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) AttachMetaFileArgsForCall(i int) (string, string, string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) AttachMetaFileCallCount() int
- func (fake *FakeMarketplaceInterface) AttachMetaFileCalls(...)
- func (fake *FakeMarketplaceInterface) AttachMetaFileReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachMetaFileReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachOtherFile(arg1 string, arg2 *models.Product, arg3 *models.Version) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) AttachOtherFileArgsForCall(i int) (string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) AttachOtherFileCallCount() int
- func (fake *FakeMarketplaceInterface) AttachOtherFileCalls(stub func(string, *models.Product, *models.Version) (*models.Product, error))
- func (fake *FakeMarketplaceInterface) AttachOtherFileReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachOtherFileReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachPublicChart(arg1 *url.URL, arg2 string, arg3 *models.Product, arg4 *models.Version) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) AttachPublicChartArgsForCall(i int) (*url.URL, string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) AttachPublicChartCallCount() int
- func (fake *FakeMarketplaceInterface) AttachPublicChartCalls(...)
- func (fake *FakeMarketplaceInterface) AttachPublicChartReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachPublicChartReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachPublicContainerImage(arg1 string, arg2 string, arg3 string, arg4 string, arg5 *models.Product, ...) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) AttachPublicContainerImageArgsForCall(i int) (string, string, string, string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) AttachPublicContainerImageCallCount() int
- func (fake *FakeMarketplaceInterface) AttachPublicContainerImageCalls(...)
- func (fake *FakeMarketplaceInterface) AttachPublicContainerImageReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) AttachPublicContainerImageReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) DecodeJson(arg1 io.Reader, arg2 interface{}) error
- func (fake *FakeMarketplaceInterface) DecodeJsonArgsForCall(i int) (io.Reader, interface{})
- func (fake *FakeMarketplaceInterface) DecodeJsonCallCount() int
- func (fake *FakeMarketplaceInterface) DecodeJsonCalls(stub func(io.Reader, interface{}) error)
- func (fake *FakeMarketplaceInterface) DecodeJsonReturns(result1 error)
- func (fake *FakeMarketplaceInterface) DecodeJsonReturnsOnCall(i int, result1 error)
- func (fake *FakeMarketplaceInterface) Download(arg1 string, arg2 *pkg.DownloadRequestPayload) error
- func (fake *FakeMarketplaceInterface) DownloadArgsForCall(i int) (string, *pkg.DownloadRequestPayload)
- func (fake *FakeMarketplaceInterface) DownloadCallCount() int
- func (fake *FakeMarketplaceInterface) DownloadCalls(stub func(string, *pkg.DownloadRequestPayload) error)
- func (fake *FakeMarketplaceInterface) DownloadChart(arg1 *url.URL) (*models.ChartVersion, error)
- func (fake *FakeMarketplaceInterface) DownloadChartArgsForCall(i int) *url.URL
- func (fake *FakeMarketplaceInterface) DownloadChartCallCount() int
- func (fake *FakeMarketplaceInterface) DownloadChartCalls(stub func(*url.URL) (*models.ChartVersion, error))
- func (fake *FakeMarketplaceInterface) DownloadChartReturns(result1 *models.ChartVersion, result2 error)
- func (fake *FakeMarketplaceInterface) DownloadChartReturnsOnCall(i int, result1 *models.ChartVersion, result2 error)
- func (fake *FakeMarketplaceInterface) DownloadReturns(result1 error)
- func (fake *FakeMarketplaceInterface) DownloadReturnsOnCall(i int, result1 error)
- func (fake *FakeMarketplaceInterface) EnableStrictDecoding()
- func (fake *FakeMarketplaceInterface) EnableStrictDecodingCallCount() int
- func (fake *FakeMarketplaceInterface) EnableStrictDecodingCalls(stub func())
- func (fake *FakeMarketplaceInterface) GetAPIHost() string
- func (fake *FakeMarketplaceInterface) GetAPIHostCallCount() int
- func (fake *FakeMarketplaceInterface) GetAPIHostCalls(stub func() string)
- func (fake *FakeMarketplaceInterface) GetAPIHostReturns(result1 string)
- func (fake *FakeMarketplaceInterface) GetAPIHostReturnsOnCall(i int, result1 string)
- func (fake *FakeMarketplaceInterface) GetHost() string
- func (fake *FakeMarketplaceInterface) GetHostCallCount() int
- func (fake *FakeMarketplaceInterface) GetHostCalls(stub func() string)
- func (fake *FakeMarketplaceInterface) GetHostReturns(result1 string)
- func (fake *FakeMarketplaceInterface) GetHostReturnsOnCall(i int, result1 string)
- func (fake *FakeMarketplaceInterface) GetProduct(arg1 string) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) GetProductArgsForCall(i int) string
- func (fake *FakeMarketplaceInterface) GetProductCallCount() int
- func (fake *FakeMarketplaceInterface) GetProductCalls(stub func(string) (*models.Product, error))
- func (fake *FakeMarketplaceInterface) GetProductReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) GetProductReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) GetProductWithVersion(arg1 string, arg2 string) (*models.Product, *models.Version, error)
- func (fake *FakeMarketplaceInterface) GetProductWithVersionArgsForCall(i int) (string, string)
- func (fake *FakeMarketplaceInterface) GetProductWithVersionCallCount() int
- func (fake *FakeMarketplaceInterface) GetProductWithVersionCalls(stub func(string, string) (*models.Product, *models.Version, error))
- func (fake *FakeMarketplaceInterface) GetProductWithVersionReturns(result1 *models.Product, result2 *models.Version, result3 error)
- func (fake *FakeMarketplaceInterface) GetProductWithVersionReturnsOnCall(i int, result1 *models.Product, result2 *models.Version, result3 error)
- func (fake *FakeMarketplaceInterface) GetUIHost() string
- func (fake *FakeMarketplaceInterface) GetUIHostCallCount() int
- func (fake *FakeMarketplaceInterface) GetUIHostCalls(stub func() string)
- func (fake *FakeMarketplaceInterface) GetUIHostReturns(result1 string)
- func (fake *FakeMarketplaceInterface) GetUIHostReturnsOnCall(i int, result1 string)
- func (fake *FakeMarketplaceInterface) GetUploader(arg1 string) (internal.Uploader, error)
- func (fake *FakeMarketplaceInterface) GetUploaderArgsForCall(i int) string
- func (fake *FakeMarketplaceInterface) GetUploaderCallCount() int
- func (fake *FakeMarketplaceInterface) GetUploaderCalls(stub func(string) (internal.Uploader, error))
- func (fake *FakeMarketplaceInterface) GetUploaderReturns(result1 internal.Uploader, result2 error)
- func (fake *FakeMarketplaceInterface) GetUploaderReturnsOnCall(i int, result1 internal.Uploader, result2 error)
- func (fake *FakeMarketplaceInterface) Invocations() map[string][][]interface{}
- func (fake *FakeMarketplaceInterface) ListProducts(arg1 *pkg.ListProductFilter) ([]*models.Product, error)
- func (fake *FakeMarketplaceInterface) ListProductsArgsForCall(i int) *pkg.ListProductFilter
- func (fake *FakeMarketplaceInterface) ListProductsCallCount() int
- func (fake *FakeMarketplaceInterface) ListProductsCalls(stub func(*pkg.ListProductFilter) ([]*models.Product, error))
- func (fake *FakeMarketplaceInterface) ListProductsReturns(result1 []*models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) ListProductsReturnsOnCall(i int, result1 []*models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) PutProduct(arg1 *models.Product, arg2 bool) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) PutProductArgsForCall(i int) (*models.Product, bool)
- func (fake *FakeMarketplaceInterface) PutProductCallCount() int
- func (fake *FakeMarketplaceInterface) PutProductCalls(stub func(*models.Product, bool) (*models.Product, error))
- func (fake *FakeMarketplaceInterface) PutProductReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) PutProductReturnsOnCall(i int, result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) SetUploader(arg1 internal.Uploader)
- func (fake *FakeMarketplaceInterface) SetUploaderArgsForCall(i int) internal.Uploader
- func (fake *FakeMarketplaceInterface) SetUploaderCallCount() int
- func (fake *FakeMarketplaceInterface) SetUploaderCalls(stub func(internal.Uploader))
- func (fake *FakeMarketplaceInterface) UploadVM(arg1 string, arg2 *models.Product, arg3 *models.Version) (*models.Product, error)
- func (fake *FakeMarketplaceInterface) UploadVMArgsForCall(i int) (string, *models.Product, *models.Version)
- func (fake *FakeMarketplaceInterface) UploadVMCallCount() int
- func (fake *FakeMarketplaceInterface) UploadVMCalls(stub func(string, *models.Product, *models.Version) (*models.Product, error))
- func (fake *FakeMarketplaceInterface) UploadVMReturns(result1 *models.Product, result2 error)
- func (fake *FakeMarketplaceInterface) UploadVMReturnsOnCall(i int, result1 *models.Product, result2 error)
- type FakePerformRequestFunc
- func (fake *FakePerformRequestFunc) ArgsForCall(i int) *http.Request
- func (fake *FakePerformRequestFunc) CallCount() int
- func (fake *FakePerformRequestFunc) Calls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakePerformRequestFunc) Invocations() map[string][][]interface{}
- func (fake *FakePerformRequestFunc) Returns(result1 *http.Response, result2 error)
- func (fake *FakePerformRequestFunc) ReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakePerformRequestFunc) Spy(arg1 *http.Request) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChartLoaderFunc ¶
type FakeChartLoaderFunc struct { Stub func(string) (*chart.Chart, error) // contains filtered or unexported fields }
func (*FakeChartLoaderFunc) ArgsForCall ¶
func (fake *FakeChartLoaderFunc) ArgsForCall(i int) string
func (*FakeChartLoaderFunc) CallCount ¶
func (fake *FakeChartLoaderFunc) CallCount() int
func (*FakeChartLoaderFunc) Calls ¶
func (fake *FakeChartLoaderFunc) Calls(stub func(string) (*chart.Chart, error))
func (*FakeChartLoaderFunc) Invocations ¶
func (fake *FakeChartLoaderFunc) Invocations() map[string][][]interface{}
func (*FakeChartLoaderFunc) Returns ¶
func (fake *FakeChartLoaderFunc) Returns(result1 *chart.Chart, result2 error)
func (*FakeChartLoaderFunc) ReturnsOnCall ¶
func (fake *FakeChartLoaderFunc) ReturnsOnCall(i int, result1 *chart.Chart, result2 error)
type FakeHTTPClient ¶
type FakeHTTPClient struct { DoStub func(*http.Request) (*http.Response, error) GetStub func(*url.URL) (*http.Response, error) PostStub func(*url.URL, io.Reader, string) (*http.Response, error) PostFormStub func(*url.URL, url.Values) (*http.Response, error) PostJSONStub func(*url.URL, interface{}) (*http.Response, error) PutStub func(*url.URL, io.Reader, string) (*http.Response, error) SendRequestStub func(string, *url.URL, map[string]string, io.Reader) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeHTTPClient) DoArgsForCall ¶
func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request
func (*FakeHTTPClient) DoCallCount ¶
func (fake *FakeHTTPClient) DoCallCount() int
func (*FakeHTTPClient) DoReturns ¶
func (fake *FakeHTTPClient) DoReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) DoReturnsOnCall ¶
func (fake *FakeHTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) GetArgsForCall ¶
func (fake *FakeHTTPClient) GetArgsForCall(i int) *url.URL
func (*FakeHTTPClient) GetCallCount ¶
func (fake *FakeHTTPClient) GetCallCount() int
func (*FakeHTTPClient) GetReturns ¶
func (fake *FakeHTTPClient) GetReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) GetReturnsOnCall ¶
func (fake *FakeHTTPClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) Invocations ¶
func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
func (*FakeHTTPClient) PostArgsForCall ¶
func (*FakeHTTPClient) PostCallCount ¶
func (fake *FakeHTTPClient) PostCallCount() int
func (*FakeHTTPClient) PostFormArgsForCall ¶
func (*FakeHTTPClient) PostFormCallCount ¶
func (fake *FakeHTTPClient) PostFormCallCount() int
func (*FakeHTTPClient) PostFormCalls ¶
func (*FakeHTTPClient) PostFormReturns ¶
func (fake *FakeHTTPClient) PostFormReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) PostFormReturnsOnCall ¶
func (fake *FakeHTTPClient) PostFormReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) PostJSONArgsForCall ¶
func (fake *FakeHTTPClient) PostJSONArgsForCall(i int) (*url.URL, interface{})
func (*FakeHTTPClient) PostJSONCallCount ¶
func (fake *FakeHTTPClient) PostJSONCallCount() int
func (*FakeHTTPClient) PostJSONCalls ¶
func (*FakeHTTPClient) PostJSONReturns ¶
func (fake *FakeHTTPClient) PostJSONReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) PostJSONReturnsOnCall ¶
func (fake *FakeHTTPClient) PostJSONReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) PostReturns ¶
func (fake *FakeHTTPClient) PostReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) PostReturnsOnCall ¶
func (fake *FakeHTTPClient) PostReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) PutArgsForCall ¶
func (*FakeHTTPClient) PutCallCount ¶
func (fake *FakeHTTPClient) PutCallCount() int
func (*FakeHTTPClient) PutReturns ¶
func (fake *FakeHTTPClient) PutReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) PutReturnsOnCall ¶
func (fake *FakeHTTPClient) PutReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) SendRequest ¶
func (*FakeHTTPClient) SendRequestArgsForCall ¶
func (*FakeHTTPClient) SendRequestCallCount ¶
func (fake *FakeHTTPClient) SendRequestCallCount() int
func (*FakeHTTPClient) SendRequestCalls ¶
func (*FakeHTTPClient) SendRequestReturns ¶
func (fake *FakeHTTPClient) SendRequestReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) SendRequestReturnsOnCall ¶
func (fake *FakeHTTPClient) SendRequestReturnsOnCall(i int, result1 *http.Response, result2 error)
type FakeMarketplaceInterface ¶
type FakeMarketplaceInterface struct { AttachLocalChartStub func(string, string, *models.Product, *models.Version) (*models.Product, error) AttachLocalContainerImageStub func(string, string, string, string, string, *models.Product, *models.Version) (*models.Product, error) AttachMetaFileStub func(string, string, string, *models.Product, *models.Version) (*models.Product, error) AttachOtherFileStub func(string, *models.Product, *models.Version) (*models.Product, error) AttachPublicChartStub func(*url.URL, string, *models.Product, *models.Version) (*models.Product, error) AttachPublicContainerImageStub func(string, string, string, string, *models.Product, *models.Version) (*models.Product, error) DecodeJsonStub func(io.Reader, interface{}) error DownloadStub func(string, *pkg.DownloadRequestPayload) error DownloadChartStub func(*url.URL) (*models.ChartVersion, error) EnableStrictDecodingStub func() GetAPIHostStub func() string GetHostStub func() string GetProductStub func(string) (*models.Product, error) GetProductWithVersionStub func(string, string) (*models.Product, *models.Version, error) GetUIHostStub func() string GetUploaderStub func(string) (internal.Uploader, error) ListProductsStub func(*pkg.ListProductFilter) ([]*models.Product, error) PutProductStub func(*models.Product, bool) (*models.Product, error) SetUploaderStub func(internal.Uploader) UploadVMStub func(string, *models.Product, *models.Version) (*models.Product, error) // contains filtered or unexported fields }
func (*FakeMarketplaceInterface) AttachLocalChart ¶
func (*FakeMarketplaceInterface) AttachLocalChartArgsForCall ¶
func (*FakeMarketplaceInterface) AttachLocalChartCallCount ¶
func (fake *FakeMarketplaceInterface) AttachLocalChartCallCount() int
func (*FakeMarketplaceInterface) AttachLocalChartCalls ¶
func (*FakeMarketplaceInterface) AttachLocalChartReturns ¶
func (fake *FakeMarketplaceInterface) AttachLocalChartReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachLocalChartReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) AttachLocalChartReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachLocalContainerImage ¶
func (*FakeMarketplaceInterface) AttachLocalContainerImageArgsForCall ¶
func (*FakeMarketplaceInterface) AttachLocalContainerImageCallCount ¶
func (fake *FakeMarketplaceInterface) AttachLocalContainerImageCallCount() int
func (*FakeMarketplaceInterface) AttachLocalContainerImageCalls ¶
func (*FakeMarketplaceInterface) AttachLocalContainerImageReturns ¶
func (fake *FakeMarketplaceInterface) AttachLocalContainerImageReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachLocalContainerImageReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) AttachLocalContainerImageReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachMetaFile ¶
func (*FakeMarketplaceInterface) AttachMetaFileArgsForCall ¶
func (*FakeMarketplaceInterface) AttachMetaFileCallCount ¶
func (fake *FakeMarketplaceInterface) AttachMetaFileCallCount() int
func (*FakeMarketplaceInterface) AttachMetaFileCalls ¶
func (*FakeMarketplaceInterface) AttachMetaFileReturns ¶
func (fake *FakeMarketplaceInterface) AttachMetaFileReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachMetaFileReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) AttachMetaFileReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachOtherFile ¶
func (*FakeMarketplaceInterface) AttachOtherFileArgsForCall ¶
func (*FakeMarketplaceInterface) AttachOtherFileCallCount ¶
func (fake *FakeMarketplaceInterface) AttachOtherFileCallCount() int
func (*FakeMarketplaceInterface) AttachOtherFileCalls ¶
func (*FakeMarketplaceInterface) AttachOtherFileReturns ¶
func (fake *FakeMarketplaceInterface) AttachOtherFileReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachOtherFileReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) AttachOtherFileReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachPublicChart ¶
func (*FakeMarketplaceInterface) AttachPublicChartArgsForCall ¶
func (*FakeMarketplaceInterface) AttachPublicChartCallCount ¶
func (fake *FakeMarketplaceInterface) AttachPublicChartCallCount() int
func (*FakeMarketplaceInterface) AttachPublicChartCalls ¶
func (*FakeMarketplaceInterface) AttachPublicChartReturns ¶
func (fake *FakeMarketplaceInterface) AttachPublicChartReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachPublicChartReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) AttachPublicChartReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachPublicContainerImage ¶
func (*FakeMarketplaceInterface) AttachPublicContainerImageArgsForCall ¶
func (*FakeMarketplaceInterface) AttachPublicContainerImageCallCount ¶
func (fake *FakeMarketplaceInterface) AttachPublicContainerImageCallCount() int
func (*FakeMarketplaceInterface) AttachPublicContainerImageCalls ¶
func (*FakeMarketplaceInterface) AttachPublicContainerImageReturns ¶
func (fake *FakeMarketplaceInterface) AttachPublicContainerImageReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) AttachPublicContainerImageReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) AttachPublicContainerImageReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) DecodeJson ¶
func (fake *FakeMarketplaceInterface) DecodeJson(arg1 io.Reader, arg2 interface{}) error
func (*FakeMarketplaceInterface) DecodeJsonArgsForCall ¶
func (fake *FakeMarketplaceInterface) DecodeJsonArgsForCall(i int) (io.Reader, interface{})
func (*FakeMarketplaceInterface) DecodeJsonCallCount ¶
func (fake *FakeMarketplaceInterface) DecodeJsonCallCount() int
func (*FakeMarketplaceInterface) DecodeJsonCalls ¶
func (fake *FakeMarketplaceInterface) DecodeJsonCalls(stub func(io.Reader, interface{}) error)
func (*FakeMarketplaceInterface) DecodeJsonReturns ¶
func (fake *FakeMarketplaceInterface) DecodeJsonReturns(result1 error)
func (*FakeMarketplaceInterface) DecodeJsonReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) DecodeJsonReturnsOnCall(i int, result1 error)
func (*FakeMarketplaceInterface) Download ¶
func (fake *FakeMarketplaceInterface) Download(arg1 string, arg2 *pkg.DownloadRequestPayload) error
func (*FakeMarketplaceInterface) DownloadArgsForCall ¶
func (fake *FakeMarketplaceInterface) DownloadArgsForCall(i int) (string, *pkg.DownloadRequestPayload)
func (*FakeMarketplaceInterface) DownloadCallCount ¶
func (fake *FakeMarketplaceInterface) DownloadCallCount() int
func (*FakeMarketplaceInterface) DownloadCalls ¶
func (fake *FakeMarketplaceInterface) DownloadCalls(stub func(string, *pkg.DownloadRequestPayload) error)
func (*FakeMarketplaceInterface) DownloadChart ¶
func (fake *FakeMarketplaceInterface) DownloadChart(arg1 *url.URL) (*models.ChartVersion, error)
func (*FakeMarketplaceInterface) DownloadChartArgsForCall ¶
func (fake *FakeMarketplaceInterface) DownloadChartArgsForCall(i int) *url.URL
func (*FakeMarketplaceInterface) DownloadChartCallCount ¶
func (fake *FakeMarketplaceInterface) DownloadChartCallCount() int
func (*FakeMarketplaceInterface) DownloadChartCalls ¶
func (fake *FakeMarketplaceInterface) DownloadChartCalls(stub func(*url.URL) (*models.ChartVersion, error))
func (*FakeMarketplaceInterface) DownloadChartReturns ¶
func (fake *FakeMarketplaceInterface) DownloadChartReturns(result1 *models.ChartVersion, result2 error)
func (*FakeMarketplaceInterface) DownloadChartReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) DownloadChartReturnsOnCall(i int, result1 *models.ChartVersion, result2 error)
func (*FakeMarketplaceInterface) DownloadReturns ¶
func (fake *FakeMarketplaceInterface) DownloadReturns(result1 error)
func (*FakeMarketplaceInterface) DownloadReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) DownloadReturnsOnCall(i int, result1 error)
func (*FakeMarketplaceInterface) EnableStrictDecoding ¶
func (fake *FakeMarketplaceInterface) EnableStrictDecoding()
func (*FakeMarketplaceInterface) EnableStrictDecodingCallCount ¶
func (fake *FakeMarketplaceInterface) EnableStrictDecodingCallCount() int
func (*FakeMarketplaceInterface) EnableStrictDecodingCalls ¶
func (fake *FakeMarketplaceInterface) EnableStrictDecodingCalls(stub func())
func (*FakeMarketplaceInterface) GetAPIHost ¶
func (fake *FakeMarketplaceInterface) GetAPIHost() string
func (*FakeMarketplaceInterface) GetAPIHostCallCount ¶
func (fake *FakeMarketplaceInterface) GetAPIHostCallCount() int
func (*FakeMarketplaceInterface) GetAPIHostCalls ¶
func (fake *FakeMarketplaceInterface) GetAPIHostCalls(stub func() string)
func (*FakeMarketplaceInterface) GetAPIHostReturns ¶
func (fake *FakeMarketplaceInterface) GetAPIHostReturns(result1 string)
func (*FakeMarketplaceInterface) GetAPIHostReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) GetAPIHostReturnsOnCall(i int, result1 string)
func (*FakeMarketplaceInterface) GetHost ¶
func (fake *FakeMarketplaceInterface) GetHost() string
func (*FakeMarketplaceInterface) GetHostCallCount ¶
func (fake *FakeMarketplaceInterface) GetHostCallCount() int
func (*FakeMarketplaceInterface) GetHostCalls ¶
func (fake *FakeMarketplaceInterface) GetHostCalls(stub func() string)
func (*FakeMarketplaceInterface) GetHostReturns ¶
func (fake *FakeMarketplaceInterface) GetHostReturns(result1 string)
func (*FakeMarketplaceInterface) GetHostReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) GetHostReturnsOnCall(i int, result1 string)
func (*FakeMarketplaceInterface) GetProduct ¶
func (fake *FakeMarketplaceInterface) GetProduct(arg1 string) (*models.Product, error)
func (*FakeMarketplaceInterface) GetProductArgsForCall ¶
func (fake *FakeMarketplaceInterface) GetProductArgsForCall(i int) string
func (*FakeMarketplaceInterface) GetProductCallCount ¶
func (fake *FakeMarketplaceInterface) GetProductCallCount() int
func (*FakeMarketplaceInterface) GetProductCalls ¶
func (fake *FakeMarketplaceInterface) GetProductCalls(stub func(string) (*models.Product, error))
func (*FakeMarketplaceInterface) GetProductReturns ¶
func (fake *FakeMarketplaceInterface) GetProductReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) GetProductReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) GetProductReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) GetProductWithVersion ¶
func (*FakeMarketplaceInterface) GetProductWithVersionArgsForCall ¶
func (fake *FakeMarketplaceInterface) GetProductWithVersionArgsForCall(i int) (string, string)
func (*FakeMarketplaceInterface) GetProductWithVersionCallCount ¶
func (fake *FakeMarketplaceInterface) GetProductWithVersionCallCount() int
func (*FakeMarketplaceInterface) GetProductWithVersionCalls ¶
func (*FakeMarketplaceInterface) GetProductWithVersionReturns ¶
func (*FakeMarketplaceInterface) GetProductWithVersionReturnsOnCall ¶
func (*FakeMarketplaceInterface) GetUIHost ¶
func (fake *FakeMarketplaceInterface) GetUIHost() string
func (*FakeMarketplaceInterface) GetUIHostCallCount ¶
func (fake *FakeMarketplaceInterface) GetUIHostCallCount() int
func (*FakeMarketplaceInterface) GetUIHostCalls ¶
func (fake *FakeMarketplaceInterface) GetUIHostCalls(stub func() string)
func (*FakeMarketplaceInterface) GetUIHostReturns ¶
func (fake *FakeMarketplaceInterface) GetUIHostReturns(result1 string)
func (*FakeMarketplaceInterface) GetUIHostReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) GetUIHostReturnsOnCall(i int, result1 string)
func (*FakeMarketplaceInterface) GetUploader ¶
func (fake *FakeMarketplaceInterface) GetUploader(arg1 string) (internal.Uploader, error)
func (*FakeMarketplaceInterface) GetUploaderArgsForCall ¶
func (fake *FakeMarketplaceInterface) GetUploaderArgsForCall(i int) string
func (*FakeMarketplaceInterface) GetUploaderCallCount ¶
func (fake *FakeMarketplaceInterface) GetUploaderCallCount() int
func (*FakeMarketplaceInterface) GetUploaderCalls ¶
func (fake *FakeMarketplaceInterface) GetUploaderCalls(stub func(string) (internal.Uploader, error))
func (*FakeMarketplaceInterface) GetUploaderReturns ¶
func (fake *FakeMarketplaceInterface) GetUploaderReturns(result1 internal.Uploader, result2 error)
func (*FakeMarketplaceInterface) GetUploaderReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) GetUploaderReturnsOnCall(i int, result1 internal.Uploader, result2 error)
func (*FakeMarketplaceInterface) Invocations ¶
func (fake *FakeMarketplaceInterface) Invocations() map[string][][]interface{}
func (*FakeMarketplaceInterface) ListProducts ¶
func (fake *FakeMarketplaceInterface) ListProducts(arg1 *pkg.ListProductFilter) ([]*models.Product, error)
func (*FakeMarketplaceInterface) ListProductsArgsForCall ¶
func (fake *FakeMarketplaceInterface) ListProductsArgsForCall(i int) *pkg.ListProductFilter
func (*FakeMarketplaceInterface) ListProductsCallCount ¶
func (fake *FakeMarketplaceInterface) ListProductsCallCount() int
func (*FakeMarketplaceInterface) ListProductsCalls ¶
func (fake *FakeMarketplaceInterface) ListProductsCalls(stub func(*pkg.ListProductFilter) ([]*models.Product, error))
func (*FakeMarketplaceInterface) ListProductsReturns ¶
func (fake *FakeMarketplaceInterface) ListProductsReturns(result1 []*models.Product, result2 error)
func (*FakeMarketplaceInterface) ListProductsReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) ListProductsReturnsOnCall(i int, result1 []*models.Product, result2 error)
func (*FakeMarketplaceInterface) PutProduct ¶
func (*FakeMarketplaceInterface) PutProductArgsForCall ¶
func (fake *FakeMarketplaceInterface) PutProductArgsForCall(i int) (*models.Product, bool)
func (*FakeMarketplaceInterface) PutProductCallCount ¶
func (fake *FakeMarketplaceInterface) PutProductCallCount() int
func (*FakeMarketplaceInterface) PutProductCalls ¶
func (*FakeMarketplaceInterface) PutProductReturns ¶
func (fake *FakeMarketplaceInterface) PutProductReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) PutProductReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) PutProductReturnsOnCall(i int, result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) SetUploader ¶
func (fake *FakeMarketplaceInterface) SetUploader(arg1 internal.Uploader)
func (*FakeMarketplaceInterface) SetUploaderArgsForCall ¶
func (fake *FakeMarketplaceInterface) SetUploaderArgsForCall(i int) internal.Uploader
func (*FakeMarketplaceInterface) SetUploaderCallCount ¶
func (fake *FakeMarketplaceInterface) SetUploaderCallCount() int
func (*FakeMarketplaceInterface) SetUploaderCalls ¶
func (fake *FakeMarketplaceInterface) SetUploaderCalls(stub func(internal.Uploader))
func (*FakeMarketplaceInterface) UploadVMArgsForCall ¶
func (*FakeMarketplaceInterface) UploadVMCallCount ¶
func (fake *FakeMarketplaceInterface) UploadVMCallCount() int
func (*FakeMarketplaceInterface) UploadVMCalls ¶
func (*FakeMarketplaceInterface) UploadVMReturns ¶
func (fake *FakeMarketplaceInterface) UploadVMReturns(result1 *models.Product, result2 error)
func (*FakeMarketplaceInterface) UploadVMReturnsOnCall ¶
func (fake *FakeMarketplaceInterface) UploadVMReturnsOnCall(i int, result1 *models.Product, result2 error)
type FakePerformRequestFunc ¶
type FakePerformRequestFunc struct { Stub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakePerformRequestFunc) ArgsForCall ¶
func (fake *FakePerformRequestFunc) ArgsForCall(i int) *http.Request
func (*FakePerformRequestFunc) CallCount ¶
func (fake *FakePerformRequestFunc) CallCount() int
func (*FakePerformRequestFunc) Invocations ¶
func (fake *FakePerformRequestFunc) Invocations() map[string][][]interface{}
func (*FakePerformRequestFunc) Returns ¶
func (fake *FakePerformRequestFunc) Returns(result1 *http.Response, result2 error)
func (*FakePerformRequestFunc) ReturnsOnCall ¶
func (fake *FakePerformRequestFunc) ReturnsOnCall(i int, result1 *http.Response, result2 error)
Click to show internal directories.
Click to hide internal directories.