masterActionTrigger

package
v0.0.0-...-4834045 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package masterActionTrigger アクショントリガーEnum

Package masterActionTrigger アクショントリガー

Package masterActionTrigger アクショントリガー

Package masterActionTrigger is a generated GoMock package.

Index

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

Create mocks base method.

func (*MockMasterActionTriggerMysqlRepository) CreateList

CreateList mocks base method.

func (*MockMasterActionTriggerMysqlRepository) Delete

Delete mocks base method.

func (*MockMasterActionTriggerMysqlRepository) DeleteList

DeleteList mocks base method.

func (*MockMasterActionTriggerMysqlRepository) EXPECT

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

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

Update mocks base method.

func (*MockMasterActionTriggerMysqlRepository) UpdateList

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL