mocks

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdminUser added in v0.1.5

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

MockAdminUser is a mock of AdminUser interface.

func NewMockAdminUser added in v0.1.5

func NewMockAdminUser(ctrl *gomock.Controller) *MockAdminUser

NewMockAdminUser creates a new mock instance.

func (*MockAdminUser) Connection added in v0.1.5

func (m *MockAdminUser) Connection(ctx context.Context, where *ent.AdminUserWhereInput, orderBy *ent.AdminUserOrder, skip, first, last *int) (*ent.AdminUserConnection, error)

Connection mocks base method.

func (*MockAdminUser) Create added in v0.1.5

Create mocks base method.

func (*MockAdminUser) CreateMany added in v0.1.5

func (m *MockAdminUser) CreateMany(ctx context.Context, data []ent.CreateAdminUserInput) ([]*ent.AdminUser, error)

CreateMany mocks base method.

func (*MockAdminUser) CreateManyTx added in v0.1.5

func (m *MockAdminUser) CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateAdminUserInput) ([]*ent.AdminUser, error)

CreateManyTx mocks base method.

func (*MockAdminUser) CreateTx added in v0.1.5

CreateTx mocks base method.

func (*MockAdminUser) Delete added in v0.1.5

Delete mocks base method.

func (*MockAdminUser) DeleteMany added in v0.1.5

func (m *MockAdminUser) DeleteMany(ctx context.Context, where ent.AdminUserWhereInput) (int, error)

DeleteMany mocks base method.

func (*MockAdminUser) DeleteManyTx added in v0.1.5

func (m *MockAdminUser) DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereInput) (int, error)

DeleteManyTx mocks base method.

func (*MockAdminUser) DeleteTx added in v0.1.5

DeleteTx mocks base method.

func (*MockAdminUser) EXPECT added in v0.1.5

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

func (*MockAdminUser) Get added in v0.1.5

func (m *MockAdminUser) Get(ctx context.Context, where *ent.AdminUserWhereInput, orderBy *ent.AdminUserOrder, skip, first, last *int) ([]*ent.AdminUser, error)

Get mocks base method.

func (*MockAdminUser) GetOne added in v0.1.5

GetOne mocks base method.

func (*MockAdminUser) GetOneTx added in v0.1.5

GetOneTx mocks base method.

func (*MockAdminUser) GetTx added in v0.1.5

func (m *MockAdminUser) GetTx(ctx context.Context, tx *ent.Tx, where *ent.AdminUserWhereInput, orderBy *ent.AdminUserOrder, skip, first, last *int) ([]*ent.AdminUser, error)

GetTx mocks base method.

func (*MockAdminUser) Update added in v0.1.5

Update mocks base method.

func (*MockAdminUser) UpdateMany added in v0.1.5

UpdateMany mocks base method.

func (*MockAdminUser) UpdateManyTx added in v0.1.5

func (m *MockAdminUser) UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereInput, data ent.UpdateAdminUserInput) (int, error)

UpdateManyTx mocks base method.

func (*MockAdminUser) UpdateTx added in v0.1.5

UpdateTx mocks base method.

func (*MockAdminUser) Upsert added in v0.1.5

Upsert mocks base method.

func (*MockAdminUser) UpsertMany added in v0.1.5

func (m *MockAdminUser) UpsertMany(ctx context.Context, data []ent.CreateAdminUserInput) (int, error)

UpsertMany mocks base method.

func (*MockAdminUser) UpsertManyTx added in v0.1.5

func (m *MockAdminUser) UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateAdminUserInput) (int, error)

UpsertManyTx mocks base method.

func (*MockAdminUser) UpsertTx added in v0.1.5

func (m *MockAdminUser) UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreateAdminUserInput) (*ent.AdminUser, error)

UpsertTx mocks base method.

type MockAdminUserMockRecorder added in v0.1.5

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

MockAdminUserMockRecorder is the mock recorder for MockAdminUser.

func (*MockAdminUserMockRecorder) Connection added in v0.1.5

func (mr *MockAdminUserMockRecorder) Connection(ctx, where, orderBy, skip, first, last interface{}) *gomock.Call

Connection indicates an expected call of Connection.

func (*MockAdminUserMockRecorder) Create added in v0.1.5

func (mr *MockAdminUserMockRecorder) Create(ctx, u interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockAdminUserMockRecorder) CreateMany added in v0.1.5

func (mr *MockAdminUserMockRecorder) CreateMany(ctx, data interface{}) *gomock.Call

CreateMany indicates an expected call of CreateMany.

func (*MockAdminUserMockRecorder) CreateManyTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) CreateManyTx(ctx, tx, data interface{}) *gomock.Call

CreateManyTx indicates an expected call of CreateManyTx.

func (*MockAdminUserMockRecorder) CreateTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) CreateTx(ctx, tx, u interface{}) *gomock.Call

CreateTx indicates an expected call of CreateTx.

func (*MockAdminUserMockRecorder) Delete added in v0.1.5

func (mr *MockAdminUserMockRecorder) Delete(ctx, where interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockAdminUserMockRecorder) DeleteMany added in v0.1.5

func (mr *MockAdminUserMockRecorder) DeleteMany(ctx, where interface{}) *gomock.Call

DeleteMany indicates an expected call of DeleteMany.

func (*MockAdminUserMockRecorder) DeleteManyTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) DeleteManyTx(ctx, tx, where interface{}) *gomock.Call

DeleteManyTx indicates an expected call of DeleteManyTx.

func (*MockAdminUserMockRecorder) DeleteTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) DeleteTx(ctx, tx, where interface{}) *gomock.Call

DeleteTx indicates an expected call of DeleteTx.

func (*MockAdminUserMockRecorder) Get added in v0.1.5

func (mr *MockAdminUserMockRecorder) Get(ctx, where, orderBy, skip, first, last interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockAdminUserMockRecorder) GetOne added in v0.1.5

func (mr *MockAdminUserMockRecorder) GetOne(ctx, where interface{}) *gomock.Call

GetOne indicates an expected call of GetOne.

func (*MockAdminUserMockRecorder) GetOneTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) GetOneTx(ctx, tx, where interface{}) *gomock.Call

GetOneTx indicates an expected call of GetOneTx.

func (*MockAdminUserMockRecorder) GetTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) GetTx(ctx, tx, where, orderBy, skip, first, last interface{}) *gomock.Call

GetTx indicates an expected call of GetTx.

func (*MockAdminUserMockRecorder) Update added in v0.1.5

func (mr *MockAdminUserMockRecorder) Update(ctx, where, data interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockAdminUserMockRecorder) UpdateMany added in v0.1.5

func (mr *MockAdminUserMockRecorder) UpdateMany(ctx, where, data interface{}) *gomock.Call

UpdateMany indicates an expected call of UpdateMany.

func (*MockAdminUserMockRecorder) UpdateManyTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) UpdateManyTx(ctx, tx, where, data interface{}) *gomock.Call

UpdateManyTx indicates an expected call of UpdateManyTx.

func (*MockAdminUserMockRecorder) UpdateTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) UpdateTx(ctx, tx, where, data interface{}) *gomock.Call

UpdateTx indicates an expected call of UpdateTx.

func (*MockAdminUserMockRecorder) Upsert added in v0.1.5

func (mr *MockAdminUserMockRecorder) Upsert(ctx, data interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

func (*MockAdminUserMockRecorder) UpsertMany added in v0.1.5

func (mr *MockAdminUserMockRecorder) UpsertMany(ctx, data interface{}) *gomock.Call

UpsertMany indicates an expected call of UpsertMany.

func (*MockAdminUserMockRecorder) UpsertManyTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) UpsertManyTx(ctx, tx, data interface{}) *gomock.Call

UpsertManyTx indicates an expected call of UpsertManyTx.

func (*MockAdminUserMockRecorder) UpsertTx added in v0.1.5

func (mr *MockAdminUserMockRecorder) UpsertTx(ctx, tx, data interface{}) *gomock.Call

UpsertTx indicates an expected call of UpsertTx.

type MockRole added in v0.1.5

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

MockRole is a mock of Role interface.

func NewMockRole added in v0.1.5

func NewMockRole(ctrl *gomock.Controller) *MockRole

NewMockRole creates a new mock instance.

func (*MockRole) Connection added in v0.1.5

func (m *MockRole) Connection(ctx context.Context, where *ent.RoleWhereInput, orderBy *ent.RoleOrder, skip, first, last *int) (*ent.RoleConnection, error)

Connection mocks base method.

func (*MockRole) Create added in v0.1.5

func (m *MockRole) Create(ctx context.Context, u ent.CreateRoleInput) (*ent.Role, error)

Create mocks base method.

func (*MockRole) CreateMany added in v0.1.5

func (m *MockRole) CreateMany(ctx context.Context, data []ent.CreateRoleInput) ([]*ent.Role, error)

CreateMany mocks base method.

func (*MockRole) CreateManyTx added in v0.1.5

func (m *MockRole) CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateRoleInput) ([]*ent.Role, error)

CreateManyTx mocks base method.

func (*MockRole) CreateTx added in v0.1.5

func (m *MockRole) CreateTx(ctx context.Context, tx *ent.Tx, u ent.CreateRoleInput) (*ent.Role, error)

CreateTx mocks base method.

func (*MockRole) Delete added in v0.1.5

func (m *MockRole) Delete(ctx context.Context, where ent.RoleWhereUniqueInput) (*ent.Role, error)

Delete mocks base method.

func (*MockRole) DeleteMany added in v0.1.5

func (m *MockRole) DeleteMany(ctx context.Context, where ent.RoleWhereInput) (int, error)

DeleteMany mocks base method.

func (*MockRole) DeleteManyTx added in v0.1.5

func (m *MockRole) DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereInput) (int, error)

DeleteManyTx mocks base method.

func (*MockRole) DeleteTx added in v0.1.5

func (m *MockRole) DeleteTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereUniqueInput) (*ent.Role, error)

DeleteTx mocks base method.

func (*MockRole) EXPECT added in v0.1.5

func (m *MockRole) EXPECT() *MockRoleMockRecorder

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

func (*MockRole) Get added in v0.1.5

func (m *MockRole) Get(ctx context.Context, where *ent.RoleWhereInput, orderBy *ent.RoleOrder, skip, first, last *int) ([]*ent.Role, error)

Get mocks base method.

func (*MockRole) GetOne added in v0.1.5

func (m *MockRole) GetOne(ctx context.Context, where ent.RoleWhereUniqueInput) (*ent.Role, error)

GetOne mocks base method.

func (*MockRole) GetOneTx added in v0.1.5

func (m *MockRole) GetOneTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereUniqueInput) (*ent.Role, error)

GetOneTx mocks base method.

func (*MockRole) GetTx added in v0.1.5

func (m *MockRole) GetTx(ctx context.Context, tx *ent.Tx, where *ent.RoleWhereInput, orderBy *ent.RoleOrder, skip, first, last *int) ([]*ent.Role, error)

GetTx mocks base method.

func (*MockRole) Update added in v0.1.5

func (m *MockRole) Update(ctx context.Context, where ent.RoleWhereUniqueInput, data ent.UpdateRoleInput) (*ent.Role, error)

Update mocks base method.

func (*MockRole) UpdateMany added in v0.1.5

func (m *MockRole) UpdateMany(ctx context.Context, where ent.RoleWhereInput, data ent.UpdateRoleInput) (int, error)

UpdateMany mocks base method.

func (*MockRole) UpdateManyTx added in v0.1.5

func (m *MockRole) UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereInput, data ent.UpdateRoleInput) (int, error)

UpdateManyTx mocks base method.

func (*MockRole) UpdateTx added in v0.1.5

func (m *MockRole) UpdateTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereUniqueInput, data ent.UpdateRoleInput) (*ent.Role, error)

UpdateTx mocks base method.

func (*MockRole) Upsert added in v0.1.5

func (m *MockRole) Upsert(ctx context.Context, data ent.CreateRoleInput) (*ent.Role, error)

Upsert mocks base method.

func (*MockRole) UpsertMany added in v0.1.5

func (m *MockRole) UpsertMany(ctx context.Context, data []ent.CreateRoleInput) (int, error)

UpsertMany mocks base method.

func (*MockRole) UpsertManyTx added in v0.1.5

func (m *MockRole) UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateRoleInput) (int, error)

UpsertManyTx mocks base method.

func (*MockRole) UpsertTx added in v0.1.5

func (m *MockRole) UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreateRoleInput) (*ent.Role, error)

UpsertTx mocks base method.

type MockRoleMockRecorder added in v0.1.5

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

MockRoleMockRecorder is the mock recorder for MockRole.

func (*MockRoleMockRecorder) Connection added in v0.1.5

func (mr *MockRoleMockRecorder) Connection(ctx, where, orderBy, skip, first, last interface{}) *gomock.Call

Connection indicates an expected call of Connection.

func (*MockRoleMockRecorder) Create added in v0.1.5

func (mr *MockRoleMockRecorder) Create(ctx, u interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRoleMockRecorder) CreateMany added in v0.1.5

func (mr *MockRoleMockRecorder) CreateMany(ctx, data interface{}) *gomock.Call

CreateMany indicates an expected call of CreateMany.

func (*MockRoleMockRecorder) CreateManyTx added in v0.1.5

func (mr *MockRoleMockRecorder) CreateManyTx(ctx, tx, data interface{}) *gomock.Call

CreateManyTx indicates an expected call of CreateManyTx.

func (*MockRoleMockRecorder) CreateTx added in v0.1.5

func (mr *MockRoleMockRecorder) CreateTx(ctx, tx, u interface{}) *gomock.Call

CreateTx indicates an expected call of CreateTx.

func (*MockRoleMockRecorder) Delete added in v0.1.5

func (mr *MockRoleMockRecorder) Delete(ctx, where interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRoleMockRecorder) DeleteMany added in v0.1.5

func (mr *MockRoleMockRecorder) DeleteMany(ctx, where interface{}) *gomock.Call

DeleteMany indicates an expected call of DeleteMany.

func (*MockRoleMockRecorder) DeleteManyTx added in v0.1.5

func (mr *MockRoleMockRecorder) DeleteManyTx(ctx, tx, where interface{}) *gomock.Call

DeleteManyTx indicates an expected call of DeleteManyTx.

func (*MockRoleMockRecorder) DeleteTx added in v0.1.5

func (mr *MockRoleMockRecorder) DeleteTx(ctx, tx, where interface{}) *gomock.Call

DeleteTx indicates an expected call of DeleteTx.

func (*MockRoleMockRecorder) Get added in v0.1.5

func (mr *MockRoleMockRecorder) Get(ctx, where, orderBy, skip, first, last interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRoleMockRecorder) GetOne added in v0.1.5

func (mr *MockRoleMockRecorder) GetOne(ctx, where interface{}) *gomock.Call

GetOne indicates an expected call of GetOne.

func (*MockRoleMockRecorder) GetOneTx added in v0.1.5

func (mr *MockRoleMockRecorder) GetOneTx(ctx, tx, where interface{}) *gomock.Call

GetOneTx indicates an expected call of GetOneTx.

func (*MockRoleMockRecorder) GetTx added in v0.1.5

func (mr *MockRoleMockRecorder) GetTx(ctx, tx, where, orderBy, skip, first, last interface{}) *gomock.Call

GetTx indicates an expected call of GetTx.

func (*MockRoleMockRecorder) Update added in v0.1.5

func (mr *MockRoleMockRecorder) Update(ctx, where, data interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockRoleMockRecorder) UpdateMany added in v0.1.5

func (mr *MockRoleMockRecorder) UpdateMany(ctx, where, data interface{}) *gomock.Call

UpdateMany indicates an expected call of UpdateMany.

func (*MockRoleMockRecorder) UpdateManyTx added in v0.1.5

func (mr *MockRoleMockRecorder) UpdateManyTx(ctx, tx, where, data interface{}) *gomock.Call

UpdateManyTx indicates an expected call of UpdateManyTx.

func (*MockRoleMockRecorder) UpdateTx added in v0.1.5

func (mr *MockRoleMockRecorder) UpdateTx(ctx, tx, where, data interface{}) *gomock.Call

UpdateTx indicates an expected call of UpdateTx.

func (*MockRoleMockRecorder) Upsert added in v0.1.5

func (mr *MockRoleMockRecorder) Upsert(ctx, data interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

func (*MockRoleMockRecorder) UpsertMany added in v0.1.5

func (mr *MockRoleMockRecorder) UpsertMany(ctx, data interface{}) *gomock.Call

UpsertMany indicates an expected call of UpsertMany.

func (*MockRoleMockRecorder) UpsertManyTx added in v0.1.5

func (mr *MockRoleMockRecorder) UpsertManyTx(ctx, tx, data interface{}) *gomock.Call

UpsertManyTx indicates an expected call of UpsertManyTx.

func (*MockRoleMockRecorder) UpsertTx added in v0.1.5

func (mr *MockRoleMockRecorder) UpsertTx(ctx, tx, data interface{}) *gomock.Call

UpsertTx indicates an expected call of UpsertTx.

type MockSchemaManager

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

MockSchemaManager is a mock of SchemaManager interface.

func NewMockSchemaManager

func NewMockSchemaManager(ctrl *gomock.Controller) *MockSchemaManager

NewMockSchemaManager creates a new mock instance.

func (*MockSchemaManager) BackupSchema

func (m *MockSchemaManager) BackupSchema() error

BackupSchema mocks base method.

func (*MockSchemaManager) EXPECT

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

func (*MockSchemaManager) Generate

func (m *MockSchemaManager) Generate(ctx context.Context, entities []entity.Entity) error

Generate mocks base method.

func (*MockSchemaManager) RemoveEntityFromSchema

func (m *MockSchemaManager) RemoveEntityFromSchema(fileName string) error

RemoveEntityFromSchema mocks base method.

func (*MockSchemaManager) RevertSchema

func (m *MockSchemaManager) RevertSchema() error

RevertSchema mocks base method.

func (*MockSchemaManager) WriteEntityToSchema

func (m *MockSchemaManager) WriteEntityToSchema(entityTemplateData generator.EntityTemplateData) error

WriteEntityToSchema mocks base method.

type MockSchemaManagerMockRecorder

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

MockSchemaManagerMockRecorder is the mock recorder for MockSchemaManager.

func (*MockSchemaManagerMockRecorder) BackupSchema

func (mr *MockSchemaManagerMockRecorder) BackupSchema() *gomock.Call

BackupSchema indicates an expected call of BackupSchema.

func (*MockSchemaManagerMockRecorder) Generate

func (mr *MockSchemaManagerMockRecorder) Generate(ctx, entities interface{}) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockSchemaManagerMockRecorder) RemoveEntityFromSchema

func (mr *MockSchemaManagerMockRecorder) RemoveEntityFromSchema(fileName interface{}) *gomock.Call

RemoveEntityFromSchema indicates an expected call of RemoveEntityFromSchema.

func (*MockSchemaManagerMockRecorder) RevertSchema

func (mr *MockSchemaManagerMockRecorder) RevertSchema() *gomock.Call

RevertSchema indicates an expected call of RevertSchema.

func (*MockSchemaManagerMockRecorder) WriteEntityToSchema

func (mr *MockSchemaManagerMockRecorder) WriteEntityToSchema(entityTemplateData interface{}) *gomock.Call

WriteEntityToSchema indicates an expected call of WriteEntityToSchema.

Jump to

Keyboard shortcuts

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