automock

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 9 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 BindTemplateRenderer

type BindTemplateRenderer struct {
	mock.Mock
}

BindTemplateRenderer is an autogenerated mock type for the BindTemplateRenderer type

func (*BindTemplateRenderer) Render

Render provides a mock function with given fields: bindTemplate, resp

type BindTemplateResolver

type BindTemplateResolver struct {
	mock.Mock
}

BindTemplateResolver is an autogenerated mock type for the BindTemplateResolver type

func (*BindTemplateResolver) Resolve

Resolve provides a mock function with given fields: bindYAML, ns

type BundleStorage

type BundleStorage struct {
	mock.Mock
}

BundleStorage is an autogenerated mock type for the BundleStorage type

func (*BundleStorage) FindAll

func (_m *BundleStorage) FindAll() ([]*internal.Bundle, error)

FindAll provides a mock function with given fields:

func (*BundleStorage) GetByID

func (_m *BundleStorage) GetByID(id internal.BundleID) (*internal.Bundle, error)

GetByID provides a mock function with given fields: id

type CatalogGetter

type CatalogGetter struct {
	mock.Mock
}

CatalogGetter is an autogenerated mock type for the catalogGetter type

func (*CatalogGetter) GetCatalog

func (_m *CatalogGetter) GetCatalog(ctx context.Context, osbCtx broker.OsbContext) (*v2.CatalogResponse, error)

GetCatalog provides a mock function with given fields: ctx, osbCtx

type ChartGetter

type ChartGetter struct {
	mock.Mock
}

ChartGetter is an autogenerated mock type for the ChartGetter type

func (*ChartGetter) Get

func (_m *ChartGetter) Get(name internal.ChartName, ver semver.Version) (*chart.Chart, error)

Get provides a mock function with given fields: name, ver

type ChartStorage

type ChartStorage struct {
	mock.Mock
}

ChartStorage is an autogenerated mock type for the ChartStorage type

func (*ChartStorage) Get

func (_m *ChartStorage) Get(name internal.ChartName, ver semver.Version) (*chart.Chart, error)

Get provides a mock function with given fields: name, ver

type Converter

type Converter struct {
	mock.Mock
}

Converter is an autogenerated mock type for the Converter type

func (*Converter) Convert

func (_m *Converter) Convert(b *internal.Bundle) (v2.Service, error)

Convert provides a mock function with given fields: b

type HelmClient

type HelmClient struct {
	mock.Mock
}

HelmClient is an autogenerated mock type for the HelmClient type

func (*HelmClient) Delete

func (_m *HelmClient) Delete(_a0 internal.ReleaseName) error

Delete provides a mock function with given fields: _a0

func (*HelmClient) ExpectErrorOnDelete

func (_m *HelmClient) ExpectErrorOnDelete(rName internal.ReleaseName, err error) *mock.Call

func (*HelmClient) ExpectOnDelete

func (_m *HelmClient) ExpectOnDelete(rName internal.ReleaseName) *mock.Call

HelmClient extensions

func (*HelmClient) Install

Install provides a mock function with given fields: c, cv, releaseName, namespace

type InstanceBindDataGetter

type InstanceBindDataGetter struct {
	mock.Mock
}

InstanceBindDataGetter is an autogenerated mock type for the InstanceBindDataGetter type

func (*InstanceBindDataGetter) Get

Get provides a mock function with given fields: iID

type InstanceBindDataInserter

type InstanceBindDataInserter struct {
	mock.Mock
}

InstanceBindDataInserter is an autogenerated mock type for the InstanceBindDataInserter type

func (*InstanceBindDataInserter) Insert

Insert provides a mock function with given fields: _a0

type InstanceBindDataRemover

type InstanceBindDataRemover struct {
	mock.Mock
}

InstanceBindDataRemover is an autogenerated mock type for the InstanceBindDataRemover type

func (*InstanceBindDataRemover) ExpectErrorRemove

func (_m *InstanceBindDataRemover) ExpectErrorRemove(iID internal.InstanceID, err error) *mock.Call

func (*InstanceBindDataRemover) ExpectOnRemove

func (_m *InstanceBindDataRemover) ExpectOnRemove(iID internal.InstanceID) *mock.Call

InstanceBindDataRemover extensions

func (*InstanceBindDataRemover) Remove

Remove provides a mock function with given fields: _a0

type InstanceStateGetter

type InstanceStateGetter struct {
	mock.Mock
}

InstanceStateGetter is an autogenerated mock type for the InstanceStateGetter type

func (*InstanceStateGetter) ExpectErrorIsDeprovisioned

func (_m *InstanceStateGetter) ExpectErrorIsDeprovisioned(iID internal.InstanceID, err error) *mock.Call

func (*InstanceStateGetter) ExpectErrorOnIsDeprovisioningInProgress

func (_m *InstanceStateGetter) ExpectErrorOnIsDeprovisioningInProgress(iID internal.InstanceID, err error) *mock.Call

func (*InstanceStateGetter) ExpectOnIsDeprovisioned

func (_m *InstanceStateGetter) ExpectOnIsDeprovisioned(iID internal.InstanceID, deprovisioned bool) *mock.Call

InstanceStateGetter extensions

func (*InstanceStateGetter) ExpectOnIsDeprovisioningInProgress

func (_m *InstanceStateGetter) ExpectOnIsDeprovisioningInProgress(iID internal.InstanceID, optID internal.OperationID, inProgress bool) *mock.Call

func (*InstanceStateGetter) IsDeprovisioned

func (_m *InstanceStateGetter) IsDeprovisioned(_a0 internal.InstanceID) (bool, error)

IsDeprovisioned provides a mock function with given fields: _a0

func (*InstanceStateGetter) IsDeprovisioningInProgress

func (_m *InstanceStateGetter) IsDeprovisioningInProgress(_a0 internal.InstanceID) (internal.OperationID, bool, error)

IsDeprovisioningInProgress provides a mock function with given fields: _a0

func (*InstanceStateGetter) IsProvisioned

func (_m *InstanceStateGetter) IsProvisioned(_a0 internal.InstanceID) (bool, error)

IsProvisioned provides a mock function with given fields: _a0

func (*InstanceStateGetter) IsProvisioningInProgress

func (_m *InstanceStateGetter) IsProvisioningInProgress(_a0 internal.InstanceID) (internal.OperationID, bool, error)

IsProvisioningInProgress provides a mock function with given fields: _a0

type InstanceStorage

type InstanceStorage struct {
	mock.Mock
}

InstanceStorage is an autogenerated mock type for the InstanceStorage type

func (*InstanceStorage) ExpectErrorOnGet

func (_m *InstanceStorage) ExpectErrorOnGet(iID internal.InstanceID, err error) *mock.Call

func (*InstanceStorage) ExpectErrorRemove

func (_m *InstanceStorage) ExpectErrorRemove(iID internal.InstanceID, err error) *mock.Call

func (*InstanceStorage) ExpectOnGet

func (_m *InstanceStorage) ExpectOnGet(iID internal.InstanceID, expInstance internal.Instance) *mock.Call

InstanceStorage extensions

func (*InstanceStorage) ExpectOnRemove

func (_m *InstanceStorage) ExpectOnRemove(iID internal.InstanceID) *mock.Call

func (*InstanceStorage) Get

Get provides a mock function with given fields: id

func (*InstanceStorage) GetAll

func (_m *InstanceStorage) GetAll() ([]*internal.Instance, error)

GetAll provides a mock function with given fields:

func (*InstanceStorage) Insert

func (_m *InstanceStorage) Insert(i *internal.Instance) error

Insert provides a mock function with given fields: i

func (*InstanceStorage) Remove

func (_m *InstanceStorage) Remove(id internal.InstanceID) error

Remove provides a mock function with given fields: id

type OperationStorage

type OperationStorage struct {
	mock.Mock
}

OperationStorage is an autogenerated mock type for the OperationStorage type

func (*OperationStorage) ExpectOnInsert

func (_m *OperationStorage) ExpectOnInsert(op internal.InstanceOperation) *mock.Call

OperationStorage extensions

func (*OperationStorage) ExpectOnUpdateStateDesc

func (_m *OperationStorage) ExpectOnUpdateStateDesc(iID internal.InstanceID, opID internal.OperationID, state internal.OperationState, desc string) *mock.Call

func (*OperationStorage) Get

Get provides a mock function with given fields: iID, opID

func (*OperationStorage) GetAll

GetAll provides a mock function with given fields: iID

func (*OperationStorage) Insert

Insert provides a mock function with given fields: io

func (*OperationStorage) Remove

Remove provides a mock function with given fields: iID, opID

func (*OperationStorage) UpdateState

UpdateState provides a mock function with given fields: iID, opID, state

func (*OperationStorage) UpdateStateDesc

func (_m *OperationStorage) UpdateStateDesc(iID internal.InstanceID, opID internal.OperationID, state internal.OperationState, desc *string) error

UpdateStateDesc provides a mock function with given fields: iID, opID, state, desc

type Syncer

type Syncer struct {
	mock.Mock
}

Syncer is an autogenerated mock type for the Syncer type

func (*Syncer) Execute

func (_m *Syncer) Execute() error

Execute 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