Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 ¶
Code generated by mockery v1.0.0 ¶
Code generated by mockery v1.0.0
Index ¶
- type BrokerSyncer
- type BundleLoader
- type BundleSyncer
- type BundleUpserter
- type ChartUpserter
- type Provider
- type ReposWatcher
- type Repository
- func (_m *Repository) BundleReader(name bundle.Name, version bundle.Version) (io.Reader, func(), error)
- func (m *Repository) ExpectErrorOnBundleReader(givenName bundle.Name, givenVersion bundle.Version, outErr error)
- func (m *Repository) ExpectErrorOnIndexReader(outErr error)
- func (m *Repository) ExpectOnBundleReader(givenName bundle.Name, givenVersion bundle.Version, bundleReader io.Reader)
- func (m *Repository) ExpectOnIndexReader(idxContent string)
- func (_m *Repository) IndexReader() (io.Reader, func(), error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerSyncer ¶
BrokerSyncer is an autogenerated mock type for the BrokerSyncer type
type BundleLoader ¶
BundleLoader is an autogenerated mock type for the BundleLoader type
func (*BundleLoader) ExpectErrorOnLoad ¶
func (mati *BundleLoader) ExpectErrorOnLoad(r io.Reader, outErr error)
func (*BundleLoader) ExpectOnLoad ¶
type BundleSyncer ¶
BundleSyncer is an autogenerated mock type for the BundleSyncer type
func (*BundleSyncer) AddProvider ¶
func (_m *BundleSyncer) AddProvider(url string, p bundle.Provider)
AddProvider provides a mock function with given fields: url, p
func (*BundleSyncer) CleanProviders ¶
func (_m *BundleSyncer) CleanProviders()
CleanProviders provides a mock function with given fields:
func (*BundleSyncer) Execute ¶
func (_m *BundleSyncer) Execute() error
Execute provides a mock function with given fields:
type BundleUpserter ¶
BundleUpserter is an autogenerated mock type for the BundleUpserter type
func (*BundleUpserter) ExpectErrorOnUpsert ¶
func (bi *BundleUpserter) ExpectErrorOnUpsert(inBundle *internal.Bundle, outErr error)
func (*BundleUpserter) ExpectOnUpsert ¶
func (bi *BundleUpserter) ExpectOnUpsert(inBundle *internal.Bundle)
type ChartUpserter ¶
ChartUpserter is an autogenerated mock type for the ChartUpserter type
func (*ChartUpserter) ExpectErrorOnUpsert ¶
func (ci *ChartUpserter) ExpectErrorOnUpsert(inChart *chart.Chart, outErr error)
func (*ChartUpserter) ExpectOnUpsert ¶
func (ci *ChartUpserter) ExpectOnUpsert(inChart *chart.Chart)
type Provider ¶
provider is an autogenerated mock type for the provider type
func (*Provider) ProvideBundles ¶
func (_m *Provider) ProvideBundles() ([]bundle.CompleteBundle, error)
ProvideBundles provides a mock function with given fields:
type ReposWatcher ¶
ReposWatcher is an autogenerated mock type for the ReposWatcher type
func (*ReposWatcher) Start ¶
func (_m *ReposWatcher) Start(stopCh <-chan struct{}) error
Start provides a mock function with given fields: stopCh
type Repository ¶
repository is an autogenerated mock type for the repository type
func (*Repository) BundleReader ¶
func (_m *Repository) BundleReader(name bundle.Name, version bundle.Version) (io.Reader, func(), error)
BundleReader provides a mock function with given fields: name, version
func (*Repository) ExpectErrorOnBundleReader ¶
func (*Repository) ExpectErrorOnIndexReader ¶
func (m *Repository) ExpectErrorOnIndexReader(outErr error)
func (*Repository) ExpectOnBundleReader ¶
func (*Repository) ExpectOnIndexReader ¶
func (m *Repository) ExpectOnIndexReader(idxContent string)
func (*Repository) IndexReader ¶
func (_m *Repository) IndexReader() (io.Reader, func(), error)
IndexReader provides a mock function with given fields: