Documentation
¶
Index ¶
- type AgentLimits
- type Project
- type System
- func (s *System) CreateProject(w http.ResponseWriter, r *http.Request)
- func (s *System) CreateProjectInDB(companyId, projectName string) (*Project, error)
- func (s *System) DeleteProject(w http.ResponseWriter, r *http.Request)
- func (s *System) DeleteProjectInDB(projectId string) error
- func (s *System) GetLimits(w http.ResponseWriter, r *http.Request)
- func (s *System) GetLimitsFromDB(companyId, projectId string) (AgentLimits, error)
- func (s *System) GetProject(w http.ResponseWriter, r *http.Request)
- func (s *System) GetProjectFromDB(companyId, projectId string) (*Project, error)
- func (s *System) GetProjects(w http.ResponseWriter, r *http.Request)
- func (s *System) GetProjectsFromDB(companyId string) ([]Project, error)
- func (s *System) SetContext(ctx context.Context) *System
- func (s *System) UpdateProject(w http.ResponseWriter, r *http.Request)
- func (s *System) UpdateProjectImage(w http.ResponseWriter, r *http.Request)
- func (s *System) UpdateProjectImageInDB(projectId, logo string) error
- func (s *System) UpdateProjectInDB(projectId, projectName string, enabled bool) (*Project, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentLimits ¶
type System ¶
type System struct {
Config *ConfigBuilder.Config
Context context.Context
}
func NewSystem ¶
func NewSystem(cfg *ConfigBuilder.Config) *System
func (*System) CreateProject ¶
func (s *System) CreateProject(w http.ResponseWriter, r *http.Request)
func (*System) CreateProjectInDB ¶
func (*System) DeleteProject ¶
func (s *System) DeleteProject(w http.ResponseWriter, r *http.Request)
func (*System) DeleteProjectInDB ¶
func (*System) GetLimitsFromDB ¶
func (s *System) GetLimitsFromDB(companyId, projectId string) (AgentLimits, error)
func (*System) GetProject ¶
func (s *System) GetProject(w http.ResponseWriter, r *http.Request)
func (*System) GetProjectFromDB ¶
func (*System) GetProjects ¶
func (s *System) GetProjects(w http.ResponseWriter, r *http.Request)
func (*System) GetProjectsFromDB ¶
func (*System) UpdateProject ¶
func (s *System) UpdateProject(w http.ResponseWriter, r *http.Request)
func (*System) UpdateProjectImage ¶
func (s *System) UpdateProjectImage(w http.ResponseWriter, r *http.Request)
func (*System) UpdateProjectImageInDB ¶
Click to show internal directories.
Click to hide internal directories.