automock

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 6 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

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 AddonGetter

type AddonGetter struct {
	mock.Mock
}

AddonGetter is an autogenerated mock type for the AddonGetter type

func (*AddonGetter) Cleanup

func (_m *AddonGetter) Cleanup() error

Cleanup provides a mock function with given fields:

func (*AddonGetter) GetCompleteAddon

func (_m *AddonGetter) GetCompleteAddon(entry internal.IndexEntry) (internal.AddonWithCharts, error)

GetCompleteAddon provides a mock function with given fields: entry

func (*AddonGetter) GetIndex

func (_m *AddonGetter) GetIndex() (*internal.Index, error)

GetIndex provides a mock function with given fields:

type AddonGetterFactory

type AddonGetterFactory struct {
	mock.Mock
}

AddonGetterFactory is an autogenerated mock type for the AddonGetterFactory type

func (*AddonGetterFactory) NewGetter

func (_m *AddonGetterFactory) NewGetter(rawURL string, instPath string) (getter.AddonClient, error)

NewGetter provides a mock function with given fields: rawURL, instPath

type AddonStorage

type AddonStorage struct {
	mock.Mock
}

AddonStorage is an autogenerated mock type for the AddonStorage type

func (*AddonStorage) FindAll

func (_m *AddonStorage) FindAll(_a0 internal.Namespace) ([]*internal.Addon, error)

FindAll provides a mock function with given fields: _a0

func (*AddonStorage) Get

Get provides a mock function with given fields: _a0, _a1, _a2

func (*AddonStorage) Remove

Remove provides a mock function with given fields: _a0, _a1, _a2

func (*AddonStorage) Upsert

func (_m *AddonStorage) Upsert(_a0 internal.Namespace, _a1 *internal.Addon) (bool, error)

Upsert provides a mock function with given fields: _a0, _a1

type BrokerFacade

type BrokerFacade struct {
	mock.Mock
}

BrokerFacade is an autogenerated mock type for the BrokerFacade type

func (*BrokerFacade) Create

func (_m *BrokerFacade) Create() error

Create provides a mock function with given fields:

func (*BrokerFacade) Delete

func (_m *BrokerFacade) Delete() error

Delete provides a mock function with given fields:

func (*BrokerFacade) Exist

func (_m *BrokerFacade) Exist() (bool, error)

Exist provides a mock function with given fields:

func (*BrokerFacade) SetNamespace

func (_m *BrokerFacade) SetNamespace(namespace string)

SetNamespace provides a mock function with given fields: namespace

type BrokerSyncer

type BrokerSyncer struct {
	mock.Mock
}

BrokerSyncer is an autogenerated mock type for the BrokerSyncer type

func (*BrokerSyncer) SetNamespace

func (_m *BrokerSyncer) SetNamespace(namespace string)

SetNamespace provides a mock function with given fields: namespace

func (*BrokerSyncer) Sync

func (_m *BrokerSyncer) Sync() error

Sync provides a mock function with given fields:

type ChartStorage

type ChartStorage struct {
	mock.Mock
}

ChartStorage is an autogenerated mock type for the ChartStorage type

func (*ChartStorage) Remove

Remove provides a mock function with given fields: _a0, _a1, _a2

func (*ChartStorage) Upsert

func (_m *ChartStorage) Upsert(_a0 internal.Namespace, _a1 *chart.Chart) (bool, error)

Upsert provides a mock function with given fields: _a0, _a1

type CommonClient

type CommonClient struct {
	mock.Mock
}

CommonClient is an autogenerated mock type for the CommonClient type

func (*CommonClient) IsNamespaceScoped

func (_m *CommonClient) IsNamespaceScoped() bool

IsNamespaceScoped provides a mock function with given fields:

func (*CommonClient) ListConfigurations

func (_m *CommonClient) ListConfigurations() ([]internal.CommonAddon, error)

ListConfigurations provides a mock function with given fields:

func (*CommonClient) ReprocessRequest

func (_m *CommonClient) ReprocessRequest(addonName string) error

ReprocessRequest provides a mock function with given fields: addonName

func (*CommonClient) SetNamespace

func (_m *CommonClient) SetNamespace(namespace string)

SetNamespace provides a mock function with given fields: namespace

func (*CommonClient) UpdateConfiguration

func (_m *CommonClient) UpdateConfiguration(_a0 *internal.CommonAddon) error

UpdateConfiguration provides a mock function with given fields: _a0

func (*CommonClient) UpdateConfigurationStatus

func (_m *CommonClient) UpdateConfigurationStatus(_a0 *internal.CommonAddon) error

UpdateConfigurationStatus provides a mock function with given fields: _a0

type DocsProvider

type DocsProvider struct {
	mock.Mock
}

DocsProvider is an autogenerated mock type for the DocsProvider type

func (*DocsProvider) EnsureAssetGroup added in v1.1.0

func (_m *DocsProvider) EnsureAssetGroup(addon *internal.Addon) error

EnsureAssetGroup provides a mock function with given fields: addon

func (*DocsProvider) EnsureAssetGroupRemoved added in v1.1.0

func (_m *DocsProvider) EnsureAssetGroupRemoved(id string) error

EnsureAssetGroupRemoved provides a mock function with given fields: id

func (*DocsProvider) SetNamespace

func (_m *DocsProvider) SetNamespace(namespace string)

SetNamespace provides a mock function with given fields: namespace

type TemplateService

type TemplateService struct {
	mock.Mock
}

TemplateService is an autogenerated mock type for the TemplateService type

func (*TemplateService) SetNamespace

func (_m *TemplateService) SetNamespace(namespace string)

SetNamespace provides a mock function with given fields: namespace

func (*TemplateService) TemplateURL

func (_m *TemplateService) TemplateURL(repository v1alpha1.SpecRepository) (string, error)

TemplateURL provides a mock function with given fields: repository

Jump to

Keyboard shortcuts

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