Documentation ¶
Overview ¶
Package masterActionTrigger アクショントリガーEnum
Package masterActionTrigger アクショントリガー ¶
Package masterActionTrigger アクショントリガー ¶
Package masterActionTrigger is a generated GoMock package.
Index ¶
- type MasterActionTrigger
- type MasterActionTriggerEnum
- type MasterActionTriggerMysqlRepository
- type MasterActionTriggers
- type MockMasterActionTriggerMysqlRepository
- func (m_2 *MockMasterActionTriggerMysqlRepository) Create(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) (*MasterActionTrigger, error)
- func (m *MockMasterActionTriggerMysqlRepository) CreateList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) (MasterActionTriggers, error)
- func (m_2 *MockMasterActionTriggerMysqlRepository) Delete(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) error
- func (m *MockMasterActionTriggerMysqlRepository) DeleteList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) error
- func (m *MockMasterActionTriggerMysqlRepository) EXPECT() *MockMasterActionTriggerMysqlRepositoryMockRecorder
- func (m *MockMasterActionTriggerMysqlRepository) Find(ctx context.Context, masterActionTriggerId int64) (*MasterActionTrigger, error)
- func (m *MockMasterActionTriggerMysqlRepository) FindByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (*MasterActionTrigger, error)
- func (m *MockMasterActionTriggerMysqlRepository) FindList(ctx context.Context) (MasterActionTriggers, error)
- func (m *MockMasterActionTriggerMysqlRepository) FindListByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (MasterActionTriggers, error)
- func (m *MockMasterActionTriggerMysqlRepository) FindOrNil(ctx context.Context, masterActionTriggerId int64) (*MasterActionTrigger, error)
- func (m *MockMasterActionTriggerMysqlRepository) FindOrNilByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (*MasterActionTrigger, error)
- func (m_2 *MockMasterActionTriggerMysqlRepository) Update(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) (*MasterActionTrigger, error)
- func (m *MockMasterActionTriggerMysqlRepository) UpdateList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) (MasterActionTriggers, error)
- type MockMasterActionTriggerMysqlRepositoryMockRecorder
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Find(ctx, masterActionTriggerId interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindByMasterActionTriggerEnum(ctx, masterActionTriggerEnum interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindList(ctx interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindListByMasterActionTriggerEnum(ctx, masterActionTriggerEnum interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindOrNil(ctx, masterActionTriggerId interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindOrNilByMasterActionTriggerEnum(ctx, masterActionTriggerEnum interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) UpdateList(ctx, tx, ms interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterActionTrigger ¶
type MasterActionTrigger struct { MasterActionTriggerId int64 Name string MasterActionTriggerEnum MasterActionTriggerEnum }
func NewMasterActionTrigger ¶
func NewMasterActionTrigger() *MasterActionTrigger
func SetMasterActionTrigger ¶
func SetMasterActionTrigger(masterActionTriggerId int64, name string, masterActionTriggerEnum MasterActionTriggerEnum) *MasterActionTrigger
type MasterActionTriggerEnum ¶
type MasterActionTriggerEnum int32
const ( MasterActionTriggerEnum_None MasterActionTriggerEnum = 0 MasterActionTriggerEnum_Continuation MasterActionTriggerEnum = 1 MasterActionTriggerEnum_Discontinuation MasterActionTriggerEnum = 2 )
type MasterActionTriggerMysqlRepository ¶
type MasterActionTriggerMysqlRepository interface { Find(ctx context.Context, masterActionTriggerId int64) (*MasterActionTrigger, error) FindOrNil(ctx context.Context, masterActionTriggerId int64) (*MasterActionTrigger, error) FindByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (*MasterActionTrigger, error) FindOrNilByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (*MasterActionTrigger, error) FindList(ctx context.Context) (MasterActionTriggers, error) FindListByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (MasterActionTriggers, error) Create(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) (*MasterActionTrigger, error) CreateList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) (MasterActionTriggers, error) Update(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) (*MasterActionTrigger, error) UpdateList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) (MasterActionTriggers, error) Delete(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) error DeleteList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) error }
type MasterActionTriggers ¶
type MasterActionTriggers []*MasterActionTrigger
func NewMasterActionTriggers ¶
func NewMasterActionTriggers() MasterActionTriggers
type MockMasterActionTriggerMysqlRepository ¶
type MockMasterActionTriggerMysqlRepository struct {
// contains filtered or unexported fields
}
MockMasterActionTriggerMysqlRepository is a mock of MasterActionTriggerMysqlRepository interface.
func NewMockMasterActionTriggerMysqlRepository ¶
func NewMockMasterActionTriggerMysqlRepository(ctrl *gomock.Controller) *MockMasterActionTriggerMysqlRepository
NewMockMasterActionTriggerMysqlRepository creates a new mock instance.
func (*MockMasterActionTriggerMysqlRepository) Create ¶
func (m_2 *MockMasterActionTriggerMysqlRepository) Create(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) (*MasterActionTrigger, error)
Create mocks base method.
func (*MockMasterActionTriggerMysqlRepository) CreateList ¶
func (m *MockMasterActionTriggerMysqlRepository) CreateList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) (MasterActionTriggers, error)
CreateList mocks base method.
func (*MockMasterActionTriggerMysqlRepository) Delete ¶
func (m_2 *MockMasterActionTriggerMysqlRepository) Delete(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) error
Delete mocks base method.
func (*MockMasterActionTriggerMysqlRepository) DeleteList ¶
func (m *MockMasterActionTriggerMysqlRepository) DeleteList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) error
DeleteList mocks base method.
func (*MockMasterActionTriggerMysqlRepository) EXPECT ¶
func (m *MockMasterActionTriggerMysqlRepository) EXPECT() *MockMasterActionTriggerMysqlRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMasterActionTriggerMysqlRepository) Find ¶
func (m *MockMasterActionTriggerMysqlRepository) Find(ctx context.Context, masterActionTriggerId int64) (*MasterActionTrigger, error)
Find mocks base method.
func (*MockMasterActionTriggerMysqlRepository) FindByMasterActionTriggerEnum ¶
func (m *MockMasterActionTriggerMysqlRepository) FindByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (*MasterActionTrigger, error)
FindByMasterActionTriggerEnum mocks base method.
func (*MockMasterActionTriggerMysqlRepository) FindList ¶
func (m *MockMasterActionTriggerMysqlRepository) FindList(ctx context.Context) (MasterActionTriggers, error)
FindList mocks base method.
func (*MockMasterActionTriggerMysqlRepository) FindListByMasterActionTriggerEnum ¶
func (m *MockMasterActionTriggerMysqlRepository) FindListByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (MasterActionTriggers, error)
FindListByMasterActionTriggerEnum mocks base method.
func (*MockMasterActionTriggerMysqlRepository) FindOrNil ¶
func (m *MockMasterActionTriggerMysqlRepository) FindOrNil(ctx context.Context, masterActionTriggerId int64) (*MasterActionTrigger, error)
FindOrNil mocks base method.
func (*MockMasterActionTriggerMysqlRepository) FindOrNilByMasterActionTriggerEnum ¶
func (m *MockMasterActionTriggerMysqlRepository) FindOrNilByMasterActionTriggerEnum(ctx context.Context, masterActionTriggerEnum MasterActionTriggerEnum) (*MasterActionTrigger, error)
FindOrNilByMasterActionTriggerEnum mocks base method.
func (*MockMasterActionTriggerMysqlRepository) Update ¶
func (m_2 *MockMasterActionTriggerMysqlRepository) Update(ctx context.Context, tx *gorm.DB, m *MasterActionTrigger) (*MasterActionTrigger, error)
Update mocks base method.
func (*MockMasterActionTriggerMysqlRepository) UpdateList ¶
func (m *MockMasterActionTriggerMysqlRepository) UpdateList(ctx context.Context, tx *gorm.DB, ms MasterActionTriggers) (MasterActionTriggers, error)
UpdateList mocks base method.
type MockMasterActionTriggerMysqlRepositoryMockRecorder ¶
type MockMasterActionTriggerMysqlRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMasterActionTriggerMysqlRepositoryMockRecorder is the mock recorder for MockMasterActionTriggerMysqlRepository.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) Create ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) CreateList ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call
CreateList indicates an expected call of CreateList.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) Delete ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) DeleteList ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call
DeleteList indicates an expected call of DeleteList.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) Find ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Find(ctx, masterActionTriggerId interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) FindByMasterActionTriggerEnum ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindByMasterActionTriggerEnum(ctx, masterActionTriggerEnum interface{}) *gomock.Call
FindByMasterActionTriggerEnum indicates an expected call of FindByMasterActionTriggerEnum.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) FindList ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindList(ctx interface{}) *gomock.Call
FindList indicates an expected call of FindList.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) FindListByMasterActionTriggerEnum ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindListByMasterActionTriggerEnum(ctx, masterActionTriggerEnum interface{}) *gomock.Call
FindListByMasterActionTriggerEnum indicates an expected call of FindListByMasterActionTriggerEnum.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) FindOrNil ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindOrNil(ctx, masterActionTriggerId interface{}) *gomock.Call
FindOrNil indicates an expected call of FindOrNil.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) FindOrNilByMasterActionTriggerEnum ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) FindOrNilByMasterActionTriggerEnum(ctx, masterActionTriggerEnum interface{}) *gomock.Call
FindOrNilByMasterActionTriggerEnum indicates an expected call of FindOrNilByMasterActionTriggerEnum.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) Update ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockMasterActionTriggerMysqlRepositoryMockRecorder) UpdateList ¶
func (mr *MockMasterActionTriggerMysqlRepositoryMockRecorder) UpdateList(ctx, tx, ms interface{}) *gomock.Call
UpdateList indicates an expected call of UpdateList.