dao

package
v0.0.0-...-4628a2c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatcherMachineDao

type DispatcherMachineDao struct{}

func NewDispatcherMachineDao

func NewDispatcherMachineDao() *DispatcherMachineDao

func (*DispatcherMachineDao) CountByUserExample

func (i *DispatcherMachineDao) CountByUserExample(example *entity.DispatcherMachine) int

func (*DispatcherMachineDao) FirstByExample

func (*DispatcherMachineDao) Save

type DispatcherOnlineDao

type DispatcherOnlineDao struct{}

func NewDispatcherOnlineDao

func NewDispatcherOnlineDao() *DispatcherOnlineDao

func (*DispatcherOnlineDao) ClearAllOffline

func (i *DispatcherOnlineDao) ClearAllOffline()

func (*DispatcherOnlineDao) CountByUserExample

func (i *DispatcherOnlineDao) CountByUserExample(example *entity.DispatcherOnline) int

func (*DispatcherOnlineDao) Delete

func (i *DispatcherOnlineDao) Delete(example *entity.DispatcherOnline)

func (*DispatcherOnlineDao) DeleteByServerNodeMachineSign

func (i *DispatcherOnlineDao) DeleteByServerNodeMachineSign(nodeMachineSign string)

func (*DispatcherOnlineDao) FirstByExample

func (*DispatcherOnlineDao) Save

type DispatcherTagDao

type DispatcherTagDao struct {
}

func NewDispatcherTagDao

func NewDispatcherTagDao() *DispatcherTagDao

func (*DispatcherTagDao) Delete

func (i *DispatcherTagDao) Delete(query interface{}, where ...interface{})

func (*DispatcherTagDao) FindAllByExample

func (i *DispatcherTagDao) FindAllByExample(example *entity.DispatcherTag) []entity.DispatcherTag

func (*DispatcherTagDao) FirstByExample

func (i *DispatcherTagDao) FirstByExample(example *entity.DispatcherTag) entity.DispatcherTag

func (*DispatcherTagDao) Save

func (i *DispatcherTagDao) Save(entity *entity.DispatcherTag) *gorm.DB

type EnvironmentComponentDao

type EnvironmentComponentDao struct {
}

func NewEnvironmentComponentDao

func NewEnvironmentComponentDao() *EnvironmentComponentDao

func (*EnvironmentComponentDao) Create

func (*EnvironmentComponentDao) Delete

func (*EnvironmentComponentDao) QueryList

func (*EnvironmentComponentDao) QueryOne

func (i *EnvironmentComponentDao) QueryOne(environmentComponentKey string) (error, entity.EnvironmentComponent)

func (*EnvironmentComponentDao) QueryVersionCount

func (i *EnvironmentComponentDao) QueryVersionCount(environmentComponentKey string) int

func (*EnvironmentComponentDao) Update

type EnvironmentComponentVersionDao

type EnvironmentComponentVersionDao struct {
}

func NewEnvironmentComponentVersionDao

func NewEnvironmentComponentVersionDao() *EnvironmentComponentVersionDao

func (*EnvironmentComponentVersionDao) Create

func (*EnvironmentComponentVersionDao) Delete

func (*EnvironmentComponentVersionDao) QueryList

func (i *EnvironmentComponentVersionDao) QueryList(belongEnvironmentComponentKey string) (error, []entity.EnvironmentComponentVersion)

func (*EnvironmentComponentVersionDao) QueryOne

func (*EnvironmentComponentVersionDao) Updata

type FileResourceServiceDao

type FileResourceServiceDao struct {
}

func NewFileResourceServiceDao

func NewFileResourceServiceDao() *FileResourceServiceDao

func (*FileResourceServiceDao) Create

func (*FileResourceServiceDao) GetFileSource

func (i *FileResourceServiceDao) GetFileSource(fileSourceKey string) (entity.FileResource, error)

type NameSpaceDao

type NameSpaceDao struct{}

func NewNameSpaceDao

func NewNameSpaceDao() *NameSpaceDao

func (*NameSpaceDao) CountByUserExample

func (i *NameSpaceDao) CountByUserExample(example *entity.Namespace) int

func (*NameSpaceDao) FirstByExample

func (i *NameSpaceDao) FirstByExample(example *entity.Namespace) entity.Namespace

func (*NameSpaceDao) Save

func (i *NameSpaceDao) Save(entity *entity.Namespace) *gorm.DB

type OperatePlatformDao

type OperatePlatformDao struct {
}

func NewOperatePlatformDao

func NewOperatePlatformDao() *OperatePlatformDao

func (*OperatePlatformDao) GetAll

func (*OperatePlatformDao) GetOnes

type ServerNodeDao

type ServerNodeDao struct{}

func NewServerNodeDao

func NewServerNodeDao() *ServerNodeDao

func (*ServerNodeDao) CountByUserExample

func (i *ServerNodeDao) CountByUserExample(example *entity.ServerNode) int

func (*ServerNodeDao) FindAllActiveNode

func (i *ServerNodeDao) FindAllActiveNode() []entity.ServerNode

func (*ServerNodeDao) FindAllByExample

func (i *ServerNodeDao) FindAllByExample(example *entity.ServerNode) []entity.ServerNode

func (*ServerNodeDao) FirstByExample

func (i *ServerNodeDao) FirstByExample(example *entity.ServerNode) entity.ServerNode

func (*ServerNodeDao) Save

func (i *ServerNodeDao) Save(entity *entity.ServerNode) *gorm.DB

func (*ServerNodeDao) UpdateActiveTime

func (i *ServerNodeDao) UpdateActiveTime(machineSign string, activeTime time.Time)

func (*ServerNodeDao) UpdateAlias

func (i *ServerNodeDao) UpdateAlias(machineSign, newAlias string)

type UserDao

type UserDao struct{}

func NewUserDao

func NewUserDao() *UserDao

func (*UserDao) CountByUserExample

func (i *UserDao) CountByUserExample(example *entity.User) int

func (*UserDao) FirstByExample

func (i *UserDao) FirstByExample(example *entity.User) entity.User

func (*UserDao) Save

func (i *UserDao) Save(entity *entity.User) *gorm.DB

Jump to

Keyboard shortcuts

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