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: 4 Imported by: 0

Documentation

Overview

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 AppEnabledChecker

type AppEnabledChecker struct {
	mock.Mock
}

AppEnabledChecker is an autogenerated mock type for the AppEnabledChecker type

func (*AppEnabledChecker) IsApplicationEnabled

func (_m *AppEnabledChecker) IsApplicationEnabled(namespace string, name string) (bool, error)

IsApplicationEnabled provides a mock function with given fields: namespace, name

type AppFinder

type AppFinder struct {
	mock.Mock
}

AppFinder is an autogenerated mock type for the AppFinder type

func (*AppFinder) FindAll

func (_m *AppFinder) FindAll() ([]*internal.Application, error)

FindAll provides a mock function with given fields:

func (*AppFinder) FindOneByServiceID

func (_m *AppFinder) FindOneByServiceID(id internal.ApplicationServiceID) (*internal.Application, error)

FindOneByServiceID provides a mock function with given fields: id

func (*AppFinder) Get

Get provides a mock function with given fields: name

type BrokerService

type BrokerService struct {
	mock.Mock
}

BrokerService is an autogenerated mock type for the BrokerService type

func (*BrokerService) GetNsFromBrokerURL

func (_m *BrokerService) GetNsFromBrokerURL(url string) (string, error)

GetNsFromBrokerURL provides a mock function with given fields: url

type Converter

type Converter struct {
	mock.Mock
}

Converter is an autogenerated mock type for the Converter type

func (*Converter) Convert

func (_m *Converter) Convert(name internal.ApplicationName, svc internal.Service) (v2.Service, error)

Convert provides a mock function with given fields: name, svc

type InstanceGetter

type InstanceGetter struct {
	mock.Mock
}

InstanceGetter is an autogenerated mock type for the InstanceGetter type

func (*InstanceGetter) Get

Get provides a mock function with given fields: id

type InstanceStateGetter

type InstanceStateGetter struct {
	mock.Mock
}

InstanceStateGetter is an autogenerated mock type for the InstanceStateGetter type

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) FindOne

func (_m *InstanceStorage) FindOne(m func(*internal.Instance) bool) (*internal.Instance, error)

FindOne provides a mock function with given fields: m

func (*InstanceStorage) Get

Get provides a mock function with given fields: id

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

func (*InstanceStorage) UpdateState

func (_m *InstanceStorage) UpdateState(iID internal.InstanceID, state internal.InstanceState) error

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

type OperationStorage

type OperationStorage struct {
	mock.Mock
}

OperationStorage is an autogenerated mock type for the OperationStorage type

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) GetLast

GetLast 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 ServiceInstanceGetter

type ServiceInstanceGetter struct {
	mock.Mock
}

ServiceInstanceGetter is an autogenerated mock type for the ServiceInstanceGetter type

func (*ServiceInstanceGetter) GetByNamespaceAndExternalID

func (_m *ServiceInstanceGetter) GetByNamespaceAndExternalID(namespace string, extID string) (*v1beta1.ServiceInstance, error)

GetByNamespaceAndExternalID provides a mock function with given fields: namespace, extID

Jump to

Keyboard shortcuts

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