Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type AppFinder
- type Converter
- type InstanceGetter
- type InstanceStateGetter
- func (_m *InstanceStateGetter) IsDeprovisioned(_a0 internal.InstanceID) (bool, error)
- func (_m *InstanceStateGetter) IsDeprovisioningInProgress(_a0 internal.InstanceID) (internal.OperationID, bool, error)
- func (_m *InstanceStateGetter) IsProvisioned(_a0 internal.InstanceID) (bool, error)
- func (_m *InstanceStateGetter) IsProvisioningInProgress(_a0 internal.InstanceID) (internal.OperationID, bool, error)
- type InstanceStorage
- func (_m *InstanceStorage) FindOne(m func(*internal.Instance) bool) (*internal.Instance, error)
- func (_m *InstanceStorage) Get(id internal.InstanceID) (*internal.Instance, error)
- func (_m *InstanceStorage) Insert(i *internal.Instance) error
- func (_m *InstanceStorage) Remove(id internal.InstanceID) error
- func (_m *InstanceStorage) UpdateState(iID internal.InstanceID, state internal.InstanceState) error
- type OperationStorage
- func (_m *OperationStorage) Get(iID internal.InstanceID, opID internal.OperationID) (*internal.InstanceOperation, error)
- func (_m *OperationStorage) GetAll(iID internal.InstanceID) ([]*internal.InstanceOperation, error)
- func (_m *OperationStorage) GetLast(iID internal.InstanceID) (*internal.InstanceOperation, error)
- func (_m *OperationStorage) Insert(io *internal.InstanceOperation) error
- func (_m *OperationStorage) Remove(iID internal.InstanceID, opID internal.OperationID) error
- func (_m *OperationStorage) UpdateState(iID internal.InstanceID, opID internal.OperationID, ...) error
- func (_m *OperationStorage) UpdateStateDesc(iID internal.InstanceID, opID internal.OperationID, ...) error
- type ServiceCheckerFactory
- type ServiceInstanceGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppFinder ¶
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 ¶
func (_m *AppFinder) Get(name internal.ApplicationName) (*internal.Application, error)
Get provides a mock function with given fields: name
type InstanceGetter ¶
InstanceGetter is an autogenerated mock type for the InstanceGetter type
func (*InstanceGetter) Get ¶
func (_m *InstanceGetter) Get(id internal.InstanceID) (*internal.Instance, error)
Get provides a mock function with given fields: id
type InstanceStateGetter ¶
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 ¶
InstanceStorage is an autogenerated mock type for the InstanceStorage type
func (*InstanceStorage) Get ¶
func (_m *InstanceStorage) Get(id internal.InstanceID) (*internal.Instance, error)
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 ¶
OperationStorage is an autogenerated mock type for the OperationStorage type
func (*OperationStorage) Get ¶
func (_m *OperationStorage) Get(iID internal.InstanceID, opID internal.OperationID) (*internal.InstanceOperation, error)
Get provides a mock function with given fields: iID, opID
func (*OperationStorage) GetAll ¶
func (_m *OperationStorage) GetAll(iID internal.InstanceID) ([]*internal.InstanceOperation, error)
GetAll provides a mock function with given fields: iID
func (*OperationStorage) GetLast ¶
func (_m *OperationStorage) GetLast(iID internal.InstanceID) (*internal.InstanceOperation, error)
GetLast provides a mock function with given fields: iID
func (*OperationStorage) Insert ¶
func (_m *OperationStorage) Insert(io *internal.InstanceOperation) error
Insert provides a mock function with given fields: io
func (*OperationStorage) Remove ¶
func (_m *OperationStorage) Remove(iID internal.InstanceID, opID internal.OperationID) error
Remove provides a mock function with given fields: iID, opID
func (*OperationStorage) UpdateState ¶
func (_m *OperationStorage) UpdateState(iID internal.InstanceID, opID internal.OperationID, state internal.OperationState) error
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 ServiceCheckerFactory ¶
ServiceCheckerFactory is an autogenerated mock type for the serviceCheckerFactory type
func (*ServiceCheckerFactory) NewServiceChecker ¶
func (_m *ServiceCheckerFactory) NewServiceChecker(namespace string, name string) (access.ServiceEnabledChecker, error)
NewServiceChecker provides a mock function with given fields: namespace, name
type ServiceInstanceGetter ¶
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