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
Index ¶
- type BindTemplateRenderer
- type BindTemplateResolver
- type BundleStorage
- type ChartGetter
- type ChartStorage
- type Converter
- type HelmClient
- func (_m *HelmClient) Delete(_a0 internal.ReleaseName) error
- func (_m *HelmClient) ExpectErrorOnDelete(rName internal.ReleaseName, err error) *mock.Call
- func (_m *HelmClient) ExpectOnDelete(rName internal.ReleaseName) *mock.Call
- func (_m *HelmClient) Install(c *chart.Chart, cv internal.ChartValues, releaseName internal.ReleaseName, ...) (*services.InstallReleaseResponse, error)
- type InstanceBindDataGetter
- type InstanceBindDataInserter
- type InstanceBindDataRemover
- type InstanceStateGetter
- func (_m *InstanceStateGetter) ExpectErrorIsDeprovisioned(iID internal.InstanceID, err error) *mock.Call
- func (_m *InstanceStateGetter) ExpectErrorOnIsDeprovisioningInProgress(iID internal.InstanceID, err error) *mock.Call
- func (_m *InstanceStateGetter) ExpectOnIsDeprovisioned(iID internal.InstanceID, deprovisioned bool) *mock.Call
- func (_m *InstanceStateGetter) ExpectOnIsDeprovisioningInProgress(iID internal.InstanceID, optID internal.OperationID, inProgress bool) *mock.Call
- 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) ExpectErrorOnGet(iID internal.InstanceID, err error) *mock.Call
- func (_m *InstanceStorage) ExpectOnGet(iID internal.InstanceID, expInstance internal.Instance) *mock.Call
- 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
- type OperationStorage
- func (_m *OperationStorage) ExpectOnInsert(op internal.InstanceOperation) *mock.Call
- func (_m *OperationStorage) ExpectOnUpdateStateDesc(iID internal.InstanceID, opID internal.OperationID, ...) *mock.Call
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindTemplateRenderer ¶
BindTemplateRenderer is an autogenerated mock type for the BindTemplateRenderer type
func (*BindTemplateRenderer) Render ¶
func (_m *BindTemplateRenderer) Render(bindTemplate internal.BundlePlanBindTemplate, resp *services.InstallReleaseResponse) (ybind.RenderedBindYAML, error)
Render provides a mock function with given fields: bindTemplate, resp
type BindTemplateResolver ¶
BindTemplateResolver is an autogenerated mock type for the BindTemplateResolver type
func (*BindTemplateResolver) Resolve ¶
func (_m *BindTemplateResolver) Resolve(bindYAML ybind.RenderedBindYAML, ns internal.Namespace) (*ybind.ResolveOutput, error)
Resolve provides a mock function with given fields: bindYAML, ns
type BundleStorage ¶
BundleStorage is an autogenerated mock type for the BundleStorage type
type ChartGetter ¶
ChartGetter is an autogenerated mock type for the ChartGetter type
type ChartStorage ¶
ChartStorage is an autogenerated mock type for the ChartStorage type
type HelmClient ¶
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 ¶
func (_m *HelmClient) Install(c *chart.Chart, cv internal.ChartValues, releaseName internal.ReleaseName, namespace internal.Namespace) (*services.InstallReleaseResponse, error)
Install provides a mock function with given fields: c, cv, releaseName, namespace
type InstanceBindDataGetter ¶
InstanceBindDataGetter is an autogenerated mock type for the InstanceBindDataGetter type
func (*InstanceBindDataGetter) Get ¶
func (_m *InstanceBindDataGetter) Get(iID internal.InstanceID) (*internal.InstanceBindData, error)
Get provides a mock function with given fields: iID
type InstanceBindDataInserter ¶
InstanceBindDataInserter is an autogenerated mock type for the InstanceBindDataInserter type
func (*InstanceBindDataInserter) Insert ¶
func (_m *InstanceBindDataInserter) Insert(_a0 *internal.InstanceBindData) error
Insert provides a mock function with given fields: _a0
type InstanceBindDataRemover ¶
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 ¶
func (_m *InstanceBindDataRemover) Remove(_a0 internal.InstanceID) error
Remove provides a mock function with given fields: _a0
type InstanceStateGetter ¶
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 ¶
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) ExpectOnGet ¶
func (_m *InstanceStorage) ExpectOnGet(iID internal.InstanceID, expInstance internal.Instance) *mock.Call
InstanceStorage extensions
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
type OperationStorage ¶
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 ¶
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