Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleDAO ¶
type ExampleDAO interface { Find(id dxo.ExampleID) (*entity.Example, error) ListAll() ([]*entity.Example, error) Insert(o *entity.Example) (*entity.Example, error) Update(id dxo.ExampleID, o *entity.Example) (*entity.Example, error) Remove(id dxo.ExampleID) error }
ExampleDAO ...
type ExecutableDAO ¶
type ExecutableDAO interface { Find(id dxo.ExecutableID) (*entity.Executable, error) FindByPath(path string) (*entity.Executable, error) FindByName(name string) (*entity.Executable, error) ListAll() ([]*entity.Executable, error) Insert(o *entity.Executable) (*entity.Executable, error) Update(id dxo.ExecutableID, o *entity.Executable) (*entity.Executable, error) Remove(id dxo.ExecutableID) error }
ExecutableDAO ...
type IntentTemplateDAO ¶
type IntentTemplateDAO interface { Find(id dxo.IntentTemplateID) (*entity.IntentTemplate, error) ListAll() ([]*entity.IntentTemplate, error) // find items by Action & Executable & Target ListByAET(o *entity.IntentTemplate) ([]*entity.IntentTemplate, error) Insert(o *entity.IntentTemplate) (*entity.IntentTemplate, error) Update(id dxo.IntentTemplateID, o *entity.IntentTemplate) (*entity.IntentTemplate, error) Remove(id dxo.IntentTemplateID) error }
IntentTemplateDAO ...
type LocalRepositoryDAO ¶
type LocalRepositoryDAO interface { Find(id dxo.LocalRepositoryID) (*entity.LocalRepository, error) FindByName(name string) (*entity.LocalRepository, error) FindByUUID(uuid dxo.UUID) (*entity.LocalRepository, error) FindByPath(path string) (*entity.LocalRepository, error) FindByDotGit(path string) (*entity.LocalRepository, error) FindByWorkingDir(path string) (*entity.LocalRepository, error) ListAll() ([]*entity.LocalRepository, error) ListByIds(ids []dxo.LocalRepositoryID) ([]*entity.LocalRepository, error) Insert(o *entity.LocalRepository) (*entity.LocalRepository, error) Update(id dxo.LocalRepositoryID, o *entity.LocalRepository) (*entity.LocalRepository, error) Remove(id dxo.LocalRepositoryID) error }
LocalRepositoryDAO ...
type MediaDAO ¶
type MediaDAO interface { Find(id dxo.MediaID) (*entity.Media, error) FindByPath(path string) (*entity.Media, error) ListByIDs(ids []dxo.MediaID) ([]*entity.Media, error) ListAll() ([]*entity.Media, error) Insert(o *entity.Media) (*entity.Media, error) Update(id dxo.MediaID, o *entity.Media) (*entity.Media, error) Remove(id dxo.MediaID) error }
MediaDAO ...
type ProjectDAO ¶
type ProjectDAO interface { Find(id dxo.ProjectID) (*entity.Project, error) FindByOwnerRepository(id dxo.LocalRepositoryID) ([]*entity.Project, error) ListAll() ([]*entity.Project, error) ListByIds(ids []dxo.ProjectID) ([]*entity.Project, error) Insert(o *entity.Project) (*entity.Project, error) Update(id dxo.ProjectID, o *entity.Project) (*entity.Project, error) Remove(id dxo.ProjectID) error }
ProjectDAO ...
type ProjectTypeDAO ¶ added in v0.0.14
type ProjectTypeDAO interface { Find(id dxo.ProjectTypeID) (*entity.ProjectType, error) ListAll() ([]*entity.ProjectType, error) Insert(o *entity.ProjectType) (*entity.ProjectType, error) Update(id dxo.ProjectTypeID, o *entity.ProjectType) (*entity.ProjectType, error) Remove(id dxo.ProjectTypeID) error }
ProjectTypeDAO ...
type RemoteRepositoryDAO ¶
type RemoteRepositoryDAO interface { Find(id dxo.RemoteRepositoryID) (*entity.RemoteRepository, error) FindByName(name string) (*entity.RemoteRepository, error) FindByPath(path string) (*entity.RemoteRepository, error) ListAll() ([]*entity.RemoteRepository, error) Insert(o *entity.RemoteRepository) (*entity.RemoteRepository, error) Update(id dxo.RemoteRepositoryID, o *entity.RemoteRepository) (*entity.RemoteRepository, error) Remove(id dxo.RemoteRepositoryID) error }
RemoteRepositoryDAO ...
type SettingDAO ¶ added in v0.0.14
type SettingDAO interface { Find(id dxo.SettingID) (*entity.Setting, error) FindByName(name string) (*entity.Setting, error) ListAll() ([]*entity.Setting, error) Insert(o *entity.Setting) (*entity.Setting, error) Update(id dxo.SettingID, o *entity.Setting) (*entity.Setting, error) Remove(id dxo.SettingID) error Put(name string, o *entity.Setting) Get(name string, def *entity.Setting) *entity.Setting }
SettingDAO ...
type SystemConfig ¶
type SystemConfig interface { Get(name string) (*entity.SystemConfig, error) Save(name string, cfg *entity.SystemConfig) error GetProperties(name string) (collection.Properties, error) SaveProperties(name string, cfg collection.Properties) error }
type UserConfig ¶
type UserConfig interface { Get(name string) (*entity.UserConfig, error) Save(name string, cfg *entity.UserConfig) error GetProperties(name string) (collection.Properties, error) SaveProperties(name string, cfg collection.Properties) error }
Click to show internal directories.
Click to hide internal directories.