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 ¶
- 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) 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 ReFinder
- type ServiceInstanceGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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 ReFinder ¶
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 ¶
func (_m *ReFinder) Get(name internal.RemoteEnvironmentName) (*internal.RemoteEnvironment, error)
Get provides a mock function with given fields: 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