Documentation ¶
Index ¶
- type DeploymentSvcClient
- func (_m *DeploymentSvcClient) Create(ctx context.Context, actor service.Actor, tid common.TransactionID, ...) (common.ID, error)
- func (_m *DeploymentSvcClient) CreateAsync(actor service.Actor, tid common.TransactionID, ...) error
- func (_m *DeploymentSvcClient) CreateRun(ctx context.Context, actor service.Actor, tid common.TransactionID, ...) (*service.DeploymentRun, error)
- func (_m *DeploymentSvcClient) CreateRunAsync(actor service.Actor, tid common.TransactionID, ...) error
- func (_m *DeploymentSvcClient) Delete(ctx context.Context, actor service.Actor, tid common.TransactionID, ...) (bool, error)
- func (_m *DeploymentSvcClient) DeleteAsync(actor service.Actor, tid common.TransactionID, deployment common.ID) error
- func (_m *DeploymentSvcClient) Get(ctx context.Context, actor service.Actor, deploymentID common.ID) (*service.Deployment, error)
- func (_m *DeploymentSvcClient) GetRawState(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) ([]byte, error)
- func (_m *DeploymentSvcClient) GetRun(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) (*service.DeploymentRun, error)
- func (_m *DeploymentSvcClient) ListDeploymentLogsLocations(ctx context.Context, actor service.Actor, deployment common.ID) ([]service.LogsLocation, error)
- func (_m *DeploymentSvcClient) ListRunLogsLocations(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) ([]service.LogsLocation, error)
- func (_m *DeploymentSvcClient) RefreshState(ctx context.Context, actor service.Actor, tid common.TransactionID, ...) (service.DeploymentStateView, error)
- func (_m *DeploymentSvcClient) RefreshStateAsync(actor service.Actor, tid common.TransactionID, deployment common.ID) error
- func (_m *DeploymentSvcClient) Search(ctx context.Context, actor service.Actor, option service.DeploymentListOption) (service.DeploymentList, error)
- func (_m *DeploymentSvcClient) SearchNext(ctx context.Context, actor service.Actor, list service.DeploymentList) (service.DeploymentList, error)
- func (_m *DeploymentSvcClient) SearchRun(ctx context.Context, actor service.Actor, ...) (service.DeploymentRunList, error)
- func (_m *DeploymentSvcClient) SearchRunNext(ctx context.Context, actor service.Actor, list service.DeploymentRunList) (service.DeploymentRunList, error)
- func (_m *DeploymentSvcClient) Update(ctx context.Context, actor service.Actor, tid common.TransactionID, ...) (common.ID, error)
- func (_m *DeploymentSvcClient) UpdateAsync(actor service.Actor, tid common.TransactionID, deployment service.Deployment, ...) error
- func (_m *DeploymentSvcClient) UpdateParameters(ctx context.Context, actor service.Actor, tid common.TransactionID, ...) (common.ID, error)
- func (_m *DeploymentSvcClient) UpdateParametersAsync(actor service.Actor, tid common.TransactionID, deployment common.ID, ...) error
- type ProviderSvcClient
- func (_m *ProviderSvcClient) Create(ctx context.Context, actor service.Actor, provider service.ProviderModel) (common.ID, common.TransactionID, error)
- func (_m *ProviderSvcClient) Delete(ctx context.Context, actor service.Actor, id common.ID) (common.TransactionID, error)
- func (_m *ProviderSvcClient) Get(ctx context.Context, actor service.Actor, id common.ID) (*service.ProviderModel, error)
- func (_m *ProviderSvcClient) List(ctx context.Context, actor service.Actor) ([]service.ProviderModel, error)
- func (_m *ProviderSvcClient) Update(ctx context.Context, actor service.Actor, provider service.ProviderModel) (common.TransactionID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentSvcClient ¶
DeploymentSvcClient is an autogenerated mock type for the DeploymentSvcClient type
func NewDeploymentSvcClient ¶
func NewDeploymentSvcClient(t interface { mock.TestingT Cleanup(func()) }) *DeploymentSvcClient
NewDeploymentSvcClient creates a new instance of DeploymentSvcClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeploymentSvcClient) Create ¶
func (_m *DeploymentSvcClient) Create(ctx context.Context, actor service.Actor, tid common.TransactionID, option service.DeploymentCreateParam) (common.ID, error)
Create provides a mock function with given fields: ctx, actor, tid, option
func (*DeploymentSvcClient) CreateAsync ¶
func (_m *DeploymentSvcClient) CreateAsync(actor service.Actor, tid common.TransactionID, option service.DeploymentCreateParam) error
CreateAsync provides a mock function with given fields: actor, tid, option
func (*DeploymentSvcClient) CreateRun ¶
func (_m *DeploymentSvcClient) CreateRun(ctx context.Context, actor service.Actor, tid common.TransactionID, param service.DeploymentRunCreateParam) (*service.DeploymentRun, error)
CreateRun provides a mock function with given fields: ctx, actor, tid, param
func (*DeploymentSvcClient) CreateRunAsync ¶
func (_m *DeploymentSvcClient) CreateRunAsync(actor service.Actor, tid common.TransactionID, param service.DeploymentRunCreateParam) error
CreateRunAsync provides a mock function with given fields: actor, tid, param
func (*DeploymentSvcClient) Delete ¶
func (_m *DeploymentSvcClient) Delete(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment common.ID) (bool, error)
Delete provides a mock function with given fields: ctx, actor, tid, deployment
func (*DeploymentSvcClient) DeleteAsync ¶
func (_m *DeploymentSvcClient) DeleteAsync(actor service.Actor, tid common.TransactionID, deployment common.ID) error
DeleteAsync provides a mock function with given fields: actor, tid, deployment
func (*DeploymentSvcClient) Get ¶
func (_m *DeploymentSvcClient) Get(ctx context.Context, actor service.Actor, deploymentID common.ID) (*service.Deployment, error)
Get provides a mock function with given fields: ctx, actor, deploymentID
func (*DeploymentSvcClient) GetRawState ¶
func (_m *DeploymentSvcClient) GetRawState(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) ([]byte, error)
GetRawState provides a mock function with given fields: ctx, actor, deployment, run
func (*DeploymentSvcClient) GetRun ¶
func (_m *DeploymentSvcClient) GetRun(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) (*service.DeploymentRun, error)
GetRun provides a mock function with given fields: ctx, actor, deployment, run
func (*DeploymentSvcClient) ListDeploymentLogsLocations ¶
func (_m *DeploymentSvcClient) ListDeploymentLogsLocations(ctx context.Context, actor service.Actor, deployment common.ID) ([]service.LogsLocation, error)
ListDeploymentLogsLocations provides a mock function with given fields: ctx, actor, deployment
func (*DeploymentSvcClient) ListRunLogsLocations ¶
func (_m *DeploymentSvcClient) ListRunLogsLocations(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) ([]service.LogsLocation, error)
ListRunLogsLocations provides a mock function with given fields: ctx, actor, deployment, run
func (*DeploymentSvcClient) RefreshState ¶
func (_m *DeploymentSvcClient) RefreshState(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment common.ID) (service.DeploymentStateView, error)
RefreshState provides a mock function with given fields: ctx, actor, tid, deployment
func (*DeploymentSvcClient) RefreshStateAsync ¶
func (_m *DeploymentSvcClient) RefreshStateAsync(actor service.Actor, tid common.TransactionID, deployment common.ID) error
RefreshStateAsync provides a mock function with given fields: actor, tid, deployment
func (*DeploymentSvcClient) Search ¶
func (_m *DeploymentSvcClient) Search(ctx context.Context, actor service.Actor, option service.DeploymentListOption) (service.DeploymentList, error)
Search provides a mock function with given fields: ctx, actor, option
func (*DeploymentSvcClient) SearchNext ¶
func (_m *DeploymentSvcClient) SearchNext(ctx context.Context, actor service.Actor, list service.DeploymentList) (service.DeploymentList, error)
SearchNext provides a mock function with given fields: ctx, actor, list
func (*DeploymentSvcClient) SearchRun ¶
func (_m *DeploymentSvcClient) SearchRun(ctx context.Context, actor service.Actor, option service.DeploymentRunListOption) (service.DeploymentRunList, error)
SearchRun provides a mock function with given fields: ctx, actor, option
func (*DeploymentSvcClient) SearchRunNext ¶
func (_m *DeploymentSvcClient) SearchRunNext(ctx context.Context, actor service.Actor, list service.DeploymentRunList) (service.DeploymentRunList, error)
SearchRunNext provides a mock function with given fields: ctx, actor, list
func (*DeploymentSvcClient) Update ¶
func (_m *DeploymentSvcClient) Update(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment service.Deployment, updateFields []string) (common.ID, error)
Update provides a mock function with given fields: ctx, actor, tid, deployment, updateFields
func (*DeploymentSvcClient) UpdateAsync ¶
func (_m *DeploymentSvcClient) UpdateAsync(actor service.Actor, tid common.TransactionID, deployment service.Deployment, updateFields []string) error
UpdateAsync provides a mock function with given fields: actor, tid, deployment, updateFields
func (*DeploymentSvcClient) UpdateParameters ¶
func (_m *DeploymentSvcClient) UpdateParameters(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment common.ID, param service.DeploymentParameterValues) (common.ID, error)
UpdateParameters provides a mock function with given fields: ctx, actor, tid, deployment, param
func (*DeploymentSvcClient) UpdateParametersAsync ¶
func (_m *DeploymentSvcClient) UpdateParametersAsync(actor service.Actor, tid common.TransactionID, deployment common.ID, param service.DeploymentParameterValues) error
UpdateParametersAsync provides a mock function with given fields: actor, tid, deployment, param
type ProviderSvcClient ¶
ProviderSvcClient is an autogenerated mock type for the ProviderSvcClient type
func NewProviderSvcClient ¶
func NewProviderSvcClient(t mockConstructorTestingTNewProviderSvcClient) *ProviderSvcClient
NewProviderSvcClient creates a new instance of ProviderSvcClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProviderSvcClient) Create ¶
func (_m *ProviderSvcClient) Create(ctx context.Context, actor service.Actor, provider service.ProviderModel) (common.ID, common.TransactionID, error)
Create provides a mock function with given fields: ctx, actor, provider
func (*ProviderSvcClient) Delete ¶
func (_m *ProviderSvcClient) Delete(ctx context.Context, actor service.Actor, id common.ID) (common.TransactionID, error)
Delete provides a mock function with given fields: ctx, actor, id
func (*ProviderSvcClient) Get ¶
func (_m *ProviderSvcClient) Get(ctx context.Context, actor service.Actor, id common.ID) (*service.ProviderModel, error)
Get provides a mock function with given fields: ctx, actor, id
func (*ProviderSvcClient) List ¶
func (_m *ProviderSvcClient) List(ctx context.Context, actor service.Actor) ([]service.ProviderModel, error)
List provides a mock function with given fields: ctx, actor
func (*ProviderSvcClient) Update ¶
func (_m *ProviderSvcClient) Update(ctx context.Context, actor service.Actor, provider service.ProviderModel) (common.TransactionID, error)
Update provides a mock function with given fields: ctx, actor, provider