automock

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerSyncer

type BrokerSyncer struct {
	mock.Mock
}

BrokerSyncer is an autogenerated mock type for the BrokerSyncer type

func (*BrokerSyncer) Sync

func (_m *BrokerSyncer) Sync(name string, maxSyncRetries int) error

Sync provides a mock function with given fields: name, maxSyncRetries

type BundleLoader

type BundleLoader struct {
	mock.Mock
}

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

func (mati *BundleLoader) ExpectOnLoad(r io.Reader, outBundle *internal.Bundle, outCharts []*chart.Chart)

func (*BundleLoader) Load

func (_m *BundleLoader) Load(_a0 io.Reader) (*internal.Bundle, []*chart.Chart, error)

Load provides a mock function with given fields: _a0

type BundleSyncer

type BundleSyncer struct {
	mock.Mock
}

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

type BundleUpserter struct {
	mock.Mock
}

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)

func (*BundleUpserter) Upsert

func (_m *BundleUpserter) Upsert(_a0 *internal.Bundle) (bool, error)

Upsert provides a mock function with given fields: _a0

type ChartUpserter

type ChartUpserter struct {
	mock.Mock
}

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)

func (*ChartUpserter) Upsert

func (_m *ChartUpserter) Upsert(c *chart.Chart) (bool, error)

Upsert provides a mock function with given fields: c

type Provider

type Provider struct {
	mock.Mock
}

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

type ReposWatcher struct {
	mock.Mock
}

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

func (*ReposWatcher) Watch

func (_m *ReposWatcher) Watch(name string, o configmap.Observer)

Watch provides a mock function with given fields: name, o

type Repository

type Repository struct {
	mock.Mock
}

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 (m *Repository) ExpectErrorOnBundleReader(givenName bundle.Name, givenVersion bundle.Version, outErr error)

func (*Repository) ExpectErrorOnIndexReader

func (m *Repository) ExpectErrorOnIndexReader(outErr error)

func (*Repository) ExpectOnBundleReader

func (m *Repository) ExpectOnBundleReader(givenName bundle.Name, givenVersion bundle.Version, 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:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL