adminHealth

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

Package adminHealth ヘルスチェック

Package adminHealth ヘルスチェック

Package adminHealth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminHealth

type AdminHealth struct {
	HealthId        int64
	Name            string
	AdminHealthEnum AdminHealthEnum
}

func NewAdminHealth

func NewAdminHealth() *AdminHealth

func SetAdminHealth

func SetAdminHealth(healthId int64, name string, adminHealthEnum AdminHealthEnum) *AdminHealth

type AdminHealthEnum

type AdminHealthEnum int32
const (
	AdminHealthEnum_AdminNone    AdminHealthEnum = 0
	AdminHealthEnum_AdminSuccess AdminHealthEnum = 1
)

type AdminHealthMysqlRepository

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

type AdminHealths

type AdminHealths []*AdminHealth

func NewAdminHealths

func NewAdminHealths() AdminHealths

type MockAdminHealthMysqlRepository

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

MockAdminHealthMysqlRepository is a mock of AdminHealthMysqlRepository interface.

func NewMockAdminHealthMysqlRepository

func NewMockAdminHealthMysqlRepository(ctrl *gomock.Controller) *MockAdminHealthMysqlRepository

NewMockAdminHealthMysqlRepository creates a new mock instance.

func (*MockAdminHealthMysqlRepository) Create

Create mocks base method.

func (*MockAdminHealthMysqlRepository) CreateList

CreateList mocks base method.

func (*MockAdminHealthMysqlRepository) Delete

Delete mocks base method.

func (*MockAdminHealthMysqlRepository) DeleteList

DeleteList mocks base method.

func (*MockAdminHealthMysqlRepository) EXPECT

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

func (*MockAdminHealthMysqlRepository) Find

Find mocks base method.

func (*MockAdminHealthMysqlRepository) FindList

FindList mocks base method.

func (*MockAdminHealthMysqlRepository) FindOrNil

func (m *MockAdminHealthMysqlRepository) FindOrNil(ctx context.Context, healthId int64) (*AdminHealth, error)

FindOrNil mocks base method.

func (*MockAdminHealthMysqlRepository) Update

Update mocks base method.

func (*MockAdminHealthMysqlRepository) UpdateList

UpdateList mocks base method.

type MockAdminHealthMysqlRepositoryMockRecorder

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

MockAdminHealthMysqlRepositoryMockRecorder is the mock recorder for MockAdminHealthMysqlRepository.

func (*MockAdminHealthMysqlRepositoryMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockAdminHealthMysqlRepositoryMockRecorder) CreateList

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

CreateList indicates an expected call of CreateList.

func (*MockAdminHealthMysqlRepositoryMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockAdminHealthMysqlRepositoryMockRecorder) DeleteList

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

DeleteList indicates an expected call of DeleteList.

func (*MockAdminHealthMysqlRepositoryMockRecorder) Find

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

Find indicates an expected call of Find.

func (*MockAdminHealthMysqlRepositoryMockRecorder) FindList

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

FindList indicates an expected call of FindList.

func (*MockAdminHealthMysqlRepositoryMockRecorder) FindOrNil

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

FindOrNil indicates an expected call of FindOrNil.

func (*MockAdminHealthMysqlRepositoryMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockAdminHealthMysqlRepositoryMockRecorder) UpdateList

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