Documentation ¶
Index ¶
- type Dirs
- func (m *Dirs) ByID(id string) (*schema.Directory, error)
- func (m *Dirs) ByPath(path, projectID string) (*schema.Directory, error)
- func (m *Dirs) Delete(dirID string) error
- func (m *Dirs) Files(dirID string) ([]schema.File, error)
- func (m *Dirs) Insert(dir *schema.Directory) (*schema.Directory, error)
- type Dirs2
- func (m *Dirs2) ByID(id string) (*schema.Directory, error)
- func (m *Dirs2) ByPath(path, projectID string) (*schema.Directory, error)
- func (m *Dirs2) Delete(dirID string) error
- func (m *Dirs2) Files(dirID string) ([]schema.File, error)
- func (m *Dirs2) Insert(dir *schema.Directory) (*schema.Directory, error)
- func (m *Dirs2) On(method string) *Dirs2
- func (m *Dirs2) SetDir(dir *schema.Directory) *Dirs2
- func (m *Dirs2) SetError(err error) *Dirs2
- func (m *Dirs2) SetFiles(files []schema.File) *Dirs2
- type Files
- func (m *Files) AllByChecksum(checksum string) ([]schema.File, error)
- func (m *Files) ByChecksum(checksum string) (*schema.File, error)
- func (m *Files) ByID(id string) (*schema.File, error)
- func (m *Files) ByPath(name, dirID string) (*schema.File, error)
- func (m *Files) Delete(fileID, directoryID, projectID string) (*schema.File, error)
- func (m *Files) GetProject(fileID string) (*schema.Project, error)
- func (m *Files) Insert(file *schema.File, dirID string, projectID string) (*schema.File, error)
- func (m *Files) Update(file *schema.File) error
- func (m *Files) UpdateFields(fileID string, fields map[string]interface{}) error
- type Files2
- func (m *Files2) AllByChecksum(checksum string) ([]schema.File, error)
- func (m *Files2) ByChecksum(checksum string) (*schema.File, error)
- func (m *Files2) ByID(id string) (*schema.File, error)
- func (m *Files2) ByPath(name, dirID string) (*schema.File, error)
- func (m *Files2) Delete(fileID, directoryID, projectID string) (*schema.File, error)
- func (m *Files2) GetProject(fileID string) (*schema.Project, error)
- func (m *Files2) Insert(file *schema.File, dirID string, projectID string) (*schema.File, error)
- func (m *Files2) On(method string) *Files2
- func (m *Files2) SetError(err error) *Files2
- func (m *Files2) SetFile(file *schema.File) *Files2
- func (m *Files2) SetFiles(files []schema.File) *Files2
- func (m *Files2) SetProject(project *schema.Project) *Files2
- func (m *Files2) Update(file *schema.File) error
- func (m *Files2) UpdateFields(fileID string, fields map[string]interface{}) error
- type Groups
- type Projects
- func (m *Projects) AccessList(projectID string) ([]schema.Access, error)
- func (m *Projects) ByID(id string) (*schema.Project, error)
- func (m *Projects) ByName(name, owner string) (*schema.Project, error)
- func (m *Projects) ForUser(user string, ownedOnly bool) ([]schema.Project, error)
- func (m *Projects) HasDirectory(projectID, directoryID string) bool
- func (m *Projects) Insert(project *schema.Project) (*schema.Project, error)
- type Projects2
- func (m *Projects2) AccessList(projectID string) ([]schema.Access, error)
- func (m *Projects2) ByID(id string) (*schema.Project, error)
- func (m *Projects2) ByName(name, owner string) (*schema.Project, error)
- func (m *Projects2) ForUser(user string, ownedOnly bool) ([]schema.Project, error)
- func (m *Projects2) HasDirectory(projectID, directoryID string) bool
- func (m *Projects2) Insert(project *schema.Project) (*schema.Project, error)
- func (m *Projects2) On(method string) *Projects2
- func (m *Projects2) SetAccessList(access []schema.Access) *Projects2
- func (m *Projects2) SetError(err error) *Projects2
- func (m *Projects2) SetHasDir(hasDir bool) *Projects2
- func (m *Projects2) SetProject(project *schema.Project) *Projects2
- func (m *Projects2) SetProjects(projects []schema.Project) *Projects2
- type Uploads
- func (m *Uploads) ByID(id string) (*schema.Upload, error)
- func (m *Uploads) Delete(uploadID string) error
- func (m *Uploads) ForProject(projectID string) ([]schema.Upload, error)
- func (m *Uploads) ForUser(user string) ([]schema.Upload, error)
- func (m *Uploads) Insert(upload *schema.Upload) (*schema.Upload, error)
- func (m *Uploads) Search(params dai.UploadSearch) (*schema.Upload, error)
- func (m *Uploads) Update(upload *schema.Upload) error
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Files2 ¶
type Files2 struct {
// contains filtered or unexported fields
}
func NewMFiles2 ¶
func NewMFiles2() *Files2
func (*Files2) AllByChecksum ¶
type Groups ¶
func NewMGroups ¶
func NewMGroups() *Groups
type Projects ¶
func NewMProjects ¶
func NewMProjects() *Projects
func (*Projects) AccessList ¶
func (*Projects) HasDirectory ¶
type Projects2 ¶
type Projects2 struct {
// contains filtered or unexported fields
}
func NewMProjects2 ¶
func NewMProjects2() *Projects2
func (*Projects2) AccessList ¶
func (*Projects2) HasDirectory ¶
func (*Projects2) SetAccessList ¶
Click to show internal directories.
Click to hide internal directories.