commonHealth

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 commonHealth ヘルスチェックタイプ

Package commonHealth ヘルスチェック

Package commonHealth ヘルスチェック

Package commonHealth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonHealth

type CommonHealth struct {
	HealthId         int64
	Name             string
	CommonHealthEnum CommonHealthEnum
}

func NewCommonHealth

func NewCommonHealth() *CommonHealth

func SetCommonHealth

func SetCommonHealth(healthId int64, name string, commonHealthEnum CommonHealthEnum) *CommonHealth

type CommonHealthEnum

type CommonHealthEnum int32
const (
	CommonHealthEnum_CommonNone    CommonHealthEnum = 0
	CommonHealthEnum_CommonSuccess CommonHealthEnum = 1
)

type CommonHealthMysqlRepository

type CommonHealthMysqlRepository interface {
	Find(ctx context.Context, healthId int64) (*CommonHealth, error)
	FindOrNil(ctx context.Context, healthId int64) (*CommonHealth, error)
	FindList(ctx context.Context) (CommonHealths, error)
	Create(ctx context.Context, tx *gorm.DB, m *CommonHealth) (*CommonHealth, error)
	CreateList(ctx context.Context, tx *gorm.DB, ms CommonHealths) (CommonHealths, error)
	Update(ctx context.Context, tx *gorm.DB, m *CommonHealth) (*CommonHealth, error)
	UpdateList(ctx context.Context, tx *gorm.DB, ms CommonHealths) (CommonHealths, error)
	Delete(ctx context.Context, tx *gorm.DB, m *CommonHealth) error
	DeleteList(ctx context.Context, tx *gorm.DB, ms CommonHealths) error
}

type CommonHealths

type CommonHealths []*CommonHealth

func NewCommonHealths

func NewCommonHealths() CommonHealths

type MockCommonHealthMysqlRepository

type MockCommonHealthMysqlRepository struct {
	// contains filtered or unexported fields
}

MockCommonHealthMysqlRepository is a mock of CommonHealthMysqlRepository interface.

func NewMockCommonHealthMysqlRepository

func NewMockCommonHealthMysqlRepository(ctrl *gomock.Controller) *MockCommonHealthMysqlRepository

NewMockCommonHealthMysqlRepository creates a new mock instance.

func (*MockCommonHealthMysqlRepository) Create

Create mocks base method.

func (*MockCommonHealthMysqlRepository) CreateList

CreateList mocks base method.

func (*MockCommonHealthMysqlRepository) Delete

Delete mocks base method.

func (*MockCommonHealthMysqlRepository) DeleteList

DeleteList mocks base method.

func (*MockCommonHealthMysqlRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCommonHealthMysqlRepository) Find

Find mocks base method.

func (*MockCommonHealthMysqlRepository) FindList

FindList mocks base method.

func (*MockCommonHealthMysqlRepository) FindOrNil

func (m *MockCommonHealthMysqlRepository) FindOrNil(ctx context.Context, healthId int64) (*CommonHealth, error)

FindOrNil mocks base method.

func (*MockCommonHealthMysqlRepository) Update

Update mocks base method.

func (*MockCommonHealthMysqlRepository) UpdateList

UpdateList mocks base method.

type MockCommonHealthMysqlRepositoryMockRecorder

type MockCommonHealthMysqlRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommonHealthMysqlRepositoryMockRecorder is the mock recorder for MockCommonHealthMysqlRepository.

func (*MockCommonHealthMysqlRepositoryMockRecorder) Create

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockCommonHealthMysqlRepositoryMockRecorder) CreateList

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call

CreateList indicates an expected call of CreateList.

func (*MockCommonHealthMysqlRepositoryMockRecorder) Delete

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCommonHealthMysqlRepositoryMockRecorder) DeleteList

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call

DeleteList indicates an expected call of DeleteList.

func (*MockCommonHealthMysqlRepositoryMockRecorder) Find

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) Find(ctx, healthId interface{}) *gomock.Call

Find indicates an expected call of Find.

func (*MockCommonHealthMysqlRepositoryMockRecorder) FindList

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) FindList(ctx interface{}) *gomock.Call

FindList indicates an expected call of FindList.

func (*MockCommonHealthMysqlRepositoryMockRecorder) FindOrNil

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) FindOrNil(ctx, healthId interface{}) *gomock.Call

FindOrNil indicates an expected call of FindOrNil.

func (*MockCommonHealthMysqlRepositoryMockRecorder) Update

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockCommonHealthMysqlRepositoryMockRecorder) UpdateList

func (mr *MockCommonHealthMysqlRepositoryMockRecorder) 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