Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentTypeDAO ¶ added in v0.1.1
type ContentTypeDAO interface { Find(id dxo.ContentTypeID) (*entity.ContentType, error) FindByURN(urn dxo.ContentTypeURN) (*entity.ContentType, error) FindByName(name dxo.ContentTypeName) (*entity.ContentType, error) ListAll() ([]*entity.ContentType, error) ListByPattern(pattern string) ([]*entity.ContentType, error) Insert(o *entity.ContentType) (*entity.ContentType, error) Update(id dxo.ContentTypeID, o *entity.ContentType) (*entity.ContentType, error) Remove(id dxo.ContentTypeID) error }
ContentTypeDAO ...
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 & Type ListBySelector(selector *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 LocationDAO ¶ added in v0.1.1
type LocationDAO interface { Find(id dxo.LocationID) (*entity.Location, error) FindByPath(path string) (*entity.Location, error) ListAll() ([]*entity.Location, error) Insert(o *entity.Location) (*entity.Location, error) Update(id dxo.LocationID, o *entity.Location) (*entity.Location, error) Remove(id dxo.LocationID) error }
LocationDAO ...
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 NamespaceDAO ¶ added in v0.1.1
type NamespaceDAO interface { Find(id dxo.NamespaceID) (*entity.Namespace, error) ListAll() ([]*entity.Namespace, error) Insert(o *entity.Namespace) (*entity.Namespace, error) Update(id dxo.NamespaceID, o *entity.Namespace) (*entity.Namespace, error) Remove(id dxo.NamespaceID) error }
NamespaceDAO ...
type ProjectDAO ¶
type ProjectDAO interface { Find(id dxo.ProjectID) (*entity.Project, error) FindByOwnerRepository(id dxo.LocalRepositoryID) ([]*entity.Project, error) FindByPath(path string) (*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 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 SoftwarePackageDAO ¶ added in v0.1.1
type SoftwarePackageDAO interface { Find(id dxo.SoftwarePackageID) (*entity.SoftwarePackage, error) ListAll() ([]*entity.SoftwarePackage, error) Insert(o *entity.SoftwarePackage) (*entity.SoftwarePackage, error) Update(id dxo.SoftwarePackageID, o *entity.SoftwarePackage) (*entity.SoftwarePackage, error) Remove(id dxo.SoftwarePackageID) error }
SoftwarePackageDAO ...
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 }
type WorktreeDAO ¶ added in v0.1.1
type WorktreeDAO interface { Find(id dxo.WorktreeID) (*entity.Worktree, error) FindByPath(path string) (*entity.Worktree, error) ListAll() ([]*entity.Worktree, error) Insert(o *entity.Worktree) (*entity.Worktree, error) Update(id dxo.WorktreeID, o *entity.Worktree) (*entity.Worktree, error) Remove(id dxo.WorktreeID) error }
WorktreeDAO ...
Click to show internal directories.
Click to hide internal directories.