Documentation ¶
Overview ¶
Package action アクション確認リクエスト
Package action アクションマスター取得レスポンス ¶
Package action アクション実行リクエスト ¶
Package action is a generated GoMock package.
Index ¶
- type ActionCheckRequest
- type ActionCheckRequests
- type ActionGetListMasterResponse
- type ActionGetListMasterResponses
- type ActionRunRequest
- type ActionRunRequests
- type ActionService
- type MockActionService
- func (m *MockActionService) Check(ctx context.Context, now time.Time, req *ActionCheckRequest) error
- func (m *MockActionService) EXPECT() *MockActionServiceMockRecorder
- func (m *MockActionService) GetListMaster(ctx context.Context) (*ActionGetListMasterResponse, error)
- func (m *MockActionService) Run(ctx context.Context, tx *gorm.DB, now time.Time, req *ActionRunRequest) error
- type MockActionServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCheckRequest ¶
type ActionCheckRequest struct { UserId string MasterActionStepEnum masterActionStep.MasterActionStepEnum TargetId *int64 }
func NewActionCheckRequest ¶
func NewActionCheckRequest() *ActionCheckRequest
func SetActionCheckRequest ¶
func SetActionCheckRequest(userId string, masterActionStepEnum masterActionStep.MasterActionStepEnum, targetId *int64) *ActionCheckRequest
type ActionCheckRequests ¶
type ActionCheckRequests []*ActionCheckRequest
func NewActionCheckRequests ¶
func NewActionCheckRequests() ActionCheckRequests
type ActionGetListMasterResponse ¶
type ActionGetListMasterResponse struct { MasterActions masterAction.MasterActions MasterActionRuns masterActionRun.MasterActionRuns MasterActionSteps masterActionStep.MasterActionSteps MasterActionTriggers masterActionTrigger.MasterActionTriggers }
func NewActionGetListMasterResponse ¶
func NewActionGetListMasterResponse() *ActionGetListMasterResponse
func SetActionGetListMasterResponse ¶
func SetActionGetListMasterResponse(masterActions masterAction.MasterActions, masterActionRuns masterActionRun.MasterActionRuns, masterActionSteps masterActionStep.MasterActionSteps, masterActionTriggers masterActionTrigger.MasterActionTriggers) *ActionGetListMasterResponse
type ActionGetListMasterResponses ¶
type ActionGetListMasterResponses []*ActionGetListMasterResponse
func NewActionGetListMasterResponses ¶
func NewActionGetListMasterResponses() ActionGetListMasterResponses
type ActionRunRequest ¶
type ActionRunRequest struct { UserId string MasterActionStepEnum masterActionStep.MasterActionStepEnum TargetId *int64 }
func NewActionRunRequest ¶
func NewActionRunRequest() *ActionRunRequest
func SetActionRunRequest ¶
func SetActionRunRequest(userId string, masterActionStepEnum masterActionStep.MasterActionStepEnum, targetId *int64) *ActionRunRequest
type ActionRunRequests ¶
type ActionRunRequests []*ActionRunRequest
func NewActionRunRequests ¶
func NewActionRunRequests() ActionRunRequests
type ActionService ¶
type ActionService interface { GetListMaster(ctx context.Context) (*ActionGetListMasterResponse, error) Check(ctx context.Context, now time.Time, req *ActionCheckRequest) error Run(ctx context.Context, tx *gorm.DB, now time.Time, req *ActionRunRequest) error }
func NewActionService ¶
func NewActionService( masterActionMysqlRepository masterAction.MasterActionMysqlRepository, masterActionRunMysqlRepository masterActionRun.MasterActionRunMysqlRepository, masterActionStepMysqlRepository masterActionStep.MasterActionStepMysqlRepository, masterActionTriggerMysqlRepository masterActionTrigger.MasterActionTriggerMysqlRepository, userActionMysqlRepository userAction.UserActionMysqlRepository, ) ActionService
type MockActionService ¶
type MockActionService struct {
// contains filtered or unexported fields
}
MockActionService is a mock of ActionService interface.
func NewMockActionService ¶
func NewMockActionService(ctrl *gomock.Controller) *MockActionService
NewMockActionService creates a new mock instance.
func (*MockActionService) Check ¶
func (m *MockActionService) Check(ctx context.Context, now time.Time, req *ActionCheckRequest) error
Check mocks base method.
func (*MockActionService) EXPECT ¶
func (m *MockActionService) EXPECT() *MockActionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActionService) GetListMaster ¶
func (m *MockActionService) GetListMaster(ctx context.Context) (*ActionGetListMasterResponse, error)
GetListMaster mocks base method.
type MockActionServiceMockRecorder ¶
type MockActionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockActionServiceMockRecorder is the mock recorder for MockActionService.
func (*MockActionServiceMockRecorder) Check ¶
func (mr *MockActionServiceMockRecorder) Check(ctx, now, req interface{}) *gomock.Call
Check indicates an expected call of Check.
func (*MockActionServiceMockRecorder) GetListMaster ¶
func (mr *MockActionServiceMockRecorder) GetListMaster(ctx interface{}) *gomock.Call
GetListMaster indicates an expected call of GetListMaster.
func (*MockActionServiceMockRecorder) Run ¶
func (mr *MockActionServiceMockRecorder) Run(ctx, tx, now, req interface{}) *gomock.Call
Run indicates an expected call of Run.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package masterAction アクション
|
Package masterAction アクション |
Package masterActionRun 実行されるアクション
|
Package masterActionRun 実行されるアクション |
Package masterActionStep アクションステップEnum
|
Package masterActionStep アクションステップEnum |
Package masterActionTrigger アクショントリガーEnum
|
Package masterActionTrigger アクショントリガーEnum |
Package userAction ユーザーアクション
|
Package userAction ユーザーアクション |
Click to show internal directories.
Click to hide internal directories.