Documentation ¶
Index ¶
- type Projects
- func (p *Projects) All() ([]*project.Project, error)
- func (p *Projects) Create(tx *sql.Tx, userID int, ...) (int, error)
- func (p *Projects) Delete(id int) error
- func (p *Projects) GetByID(id int) (*project.Project, error)
- func (p *Projects) Update(tx *sql.Tx, id int, baseURL, helmDirectoryName, namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Projects ¶
type Projects struct {
// contains filtered or unexported fields
}
Projects is repository struct.
func (*Projects) Create ¶
func (p *Projects) Create(tx *sql.Tx, userID int, title, baseURL, repositoryOwner, repositoryName, helmRepositoryURL, helmDirectoryName, namespace string) (int, error)
Create is create method for a project.
Click to show internal directories.
Click to hide internal directories.