Documentation ¶
Index ¶
- type BundleLoader
- type BundleUpserter
- type ChartUpserter
- type Repository
- func (_m *Repository) BundleReader(name ybundle.BundleName, version ybundle.BundleVersion) (io.Reader, func(), error)
- func (m *Repository) ExpectErrorOnBundleReader(outErr error)
- func (m *Repository) ExpectErrorOnIndexReader(outErr error)
- func (m *Repository) ExpectOnBundleReader(givenName ybundle.BundleName, givenVersion ybundle.BundleVersion, ...)
- 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 BundleLoader ¶
BundleLoader is an autogenerated mock type for the BundleLoader type
func (*BundleLoader) ExpectErrorOnLoad ¶
func (mati *BundleLoader) ExpectErrorOnLoad(outErr error)
func (*BundleLoader) ExpectOnLoad ¶
type BundleUpserter ¶
BundleUpserter is an autogenerated mock type for the BundleUpserter type
func (*BundleUpserter) ExpectErrorOnUpsert ¶
func (bi *BundleUpserter) ExpectErrorOnUpsert(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(outErr error)
func (*ChartUpserter) ExpectOnUpsert ¶
func (ci *ChartUpserter) ExpectOnUpsert(inChart *chart.Chart)
type Repository ¶
repository is an autogenerated mock type for the repository type
func (*Repository) BundleReader ¶
func (_m *Repository) BundleReader(name ybundle.BundleName, version ybundle.BundleVersion) (io.Reader, func(), error)
BundleReader provides a mock function with given fields: name, version
func (*Repository) ExpectErrorOnBundleReader ¶
func (m *Repository) ExpectErrorOnBundleReader(outErr error)
func (*Repository) ExpectErrorOnIndexReader ¶
func (m *Repository) ExpectErrorOnIndexReader(outErr error)
func (*Repository) ExpectOnBundleReader ¶
func (m *Repository) ExpectOnBundleReader(givenName ybundle.BundleName, givenVersion ybundle.BundleVersion, bundleReader io.Reader)
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:
Click to show internal directories.
Click to hide internal directories.