automock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 3 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 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) 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 ReFinder

type ReFinder struct {
	mock.Mock
}

ReFinder is an autogenerated mock type for the ReFinder type

func (*ReFinder) FindAll

func (_m *ReFinder) FindAll() ([]*internal.RemoteEnvironment, error)

FindAll provides a mock function with given fields:

func (*ReFinder) FindOneByServiceID

func (_m *ReFinder) FindOneByServiceID(id internal.RemoteServiceID) (*internal.RemoteEnvironment, error)

FindOneByServiceID provides a mock function with given fields: id

func (*ReFinder) Get

Get provides a mock function with given fields: name

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