Documentation ¶
Index ¶
- type DispatcherMachineDao
- type DispatcherOnlineDao
- func (i *DispatcherOnlineDao) ClearAllOffline()
- func (i *DispatcherOnlineDao) CountByUserExample(example *entity.DispatcherOnline) int
- func (i *DispatcherOnlineDao) Delete(example *entity.DispatcherOnline)
- func (i *DispatcherOnlineDao) DeleteByServerNodeMachineSign(nodeMachineSign string)
- func (i *DispatcherOnlineDao) FirstByExample(example *entity.DispatcherOnline) entity.DispatcherOnline
- func (i *DispatcherOnlineDao) Save(entity *entity.DispatcherOnline) *gorm.DB
- type DispatcherTagDao
- func (i *DispatcherTagDao) Delete(query interface{}, where ...interface{})
- func (i *DispatcherTagDao) FindAllByExample(example *entity.DispatcherTag) []entity.DispatcherTag
- func (i *DispatcherTagDao) FirstByExample(example *entity.DispatcherTag) entity.DispatcherTag
- func (i *DispatcherTagDao) Save(entity *entity.DispatcherTag) *gorm.DB
- type EnvironmentComponentDao
- func (i *EnvironmentComponentDao) Create(been *entity.EnvironmentComponent) (error, entity.EnvironmentComponent)
- func (i *EnvironmentComponentDao) Delete(been *entity.EnvironmentComponent, time time.Time) error
- func (i *EnvironmentComponentDao) QueryList() (error, []entity.EnvironmentComponent)
- func (i *EnvironmentComponentDao) QueryOne(environmentComponentKey string) (error, entity.EnvironmentComponent)
- func (i *EnvironmentComponentDao) QueryVersionCount(environmentComponentKey string) int
- func (i *EnvironmentComponentDao) Update(been *entity.EnvironmentComponent) (error, entity.EnvironmentComponent)
- type EnvironmentComponentVersionDao
- func (i *EnvironmentComponentVersionDao) Create(been *entity.EnvironmentComponentVersion) (error, entity.EnvironmentComponentVersion)
- func (i *EnvironmentComponentVersionDao) Delete(been *entity.EnvironmentComponentVersion, currentTime time.Time) error
- func (i *EnvironmentComponentVersionDao) QueryList(belongEnvironmentComponentKey string) (error, []entity.EnvironmentComponentVersion)
- func (i *EnvironmentComponentVersionDao) QueryOne(ecVersionKey string) (error, entity.EnvironmentComponentVersion)
- func (i *EnvironmentComponentVersionDao) Updata(been *entity.EnvironmentComponentVersion) (error, entity.EnvironmentComponentVersion)
- type FileResourceServiceDao
- type NameSpaceDao
- type OperatePlatformDao
- type ServerNodeDao
- func (i *ServerNodeDao) CountByUserExample(example *entity.ServerNode) int
- func (i *ServerNodeDao) FindAllActiveNode() []entity.ServerNode
- func (i *ServerNodeDao) FindAllByExample(example *entity.ServerNode) []entity.ServerNode
- func (i *ServerNodeDao) FirstByExample(example *entity.ServerNode) entity.ServerNode
- func (i *ServerNodeDao) Save(entity *entity.ServerNode) *gorm.DB
- func (i *ServerNodeDao) UpdateActiveTime(machineSign string, activeTime time.Time)
- func (i *ServerNodeDao) UpdateAlias(machineSign, newAlias string)
- type UserDao
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 (i *DispatcherMachineDao) FirstByExample(example *entity.DispatcherMachine) entity.DispatcherMachine
func (*DispatcherMachineDao) Save ¶
func (i *DispatcherMachineDao) Save(entity *entity.DispatcherMachine) *gorm.DB
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 (i *DispatcherOnlineDao) FirstByExample(example *entity.DispatcherOnline) entity.DispatcherOnline
func (*DispatcherOnlineDao) Save ¶
func (i *DispatcherOnlineDao) Save(entity *entity.DispatcherOnline) *gorm.DB
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 (i *EnvironmentComponentDao) Create(been *entity.EnvironmentComponent) (error, entity.EnvironmentComponent)
func (*EnvironmentComponentDao) Delete ¶
func (i *EnvironmentComponentDao) Delete(been *entity.EnvironmentComponent, time time.Time) error
func (*EnvironmentComponentDao) QueryList ¶
func (i *EnvironmentComponentDao) QueryList() (error, []entity.EnvironmentComponent)
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 ¶
func (i *EnvironmentComponentDao) Update(been *entity.EnvironmentComponent) (error, entity.EnvironmentComponent)
type EnvironmentComponentVersionDao ¶
type EnvironmentComponentVersionDao struct { }
func NewEnvironmentComponentVersionDao ¶
func NewEnvironmentComponentVersionDao() *EnvironmentComponentVersionDao
func (*EnvironmentComponentVersionDao) Create ¶
func (i *EnvironmentComponentVersionDao) Create(been *entity.EnvironmentComponentVersion) (error, entity.EnvironmentComponentVersion)
func (*EnvironmentComponentVersionDao) Delete ¶
func (i *EnvironmentComponentVersionDao) Delete(been *entity.EnvironmentComponentVersion, currentTime time.Time) error
func (*EnvironmentComponentVersionDao) QueryList ¶
func (i *EnvironmentComponentVersionDao) QueryList(belongEnvironmentComponentKey string) (error, []entity.EnvironmentComponentVersion)
func (*EnvironmentComponentVersionDao) QueryOne ¶
func (i *EnvironmentComponentVersionDao) QueryOne(ecVersionKey string) (error, entity.EnvironmentComponentVersion)
func (*EnvironmentComponentVersionDao) Updata ¶
func (i *EnvironmentComponentVersionDao) Updata(been *entity.EnvironmentComponentVersion) (error, entity.EnvironmentComponentVersion)
type FileResourceServiceDao ¶
type FileResourceServiceDao struct { }
func NewFileResourceServiceDao ¶
func NewFileResourceServiceDao() *FileResourceServiceDao
func (*FileResourceServiceDao) Create ¶
func (i *FileResourceServiceDao) Create(been *entity.FileResource) error
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
type OperatePlatformDao ¶
type OperatePlatformDao struct { }
func NewOperatePlatformDao ¶
func NewOperatePlatformDao() *OperatePlatformDao
func (*OperatePlatformDao) GetAll ¶
func (i *OperatePlatformDao) GetAll() ([]entity.OperatePlatform, error)
func (*OperatePlatformDao) GetOnes ¶
func (i *OperatePlatformDao) GetOnes(key string) (entity.OperatePlatform, error)
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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.