Documentation
¶
Index ¶
- type AgentLimits
- type Project
- type System
- func (s *System) CreateProject(w http.ResponseWriter, r *http.Request)
- func (s *System) CreateProjectInDB(ctx context.Context, companyId, projectName string) (*Project, error)
- func (s *System) DeleteProject(w http.ResponseWriter, r *http.Request)
- func (s *System) DeleteProjectInDB(ctx context.Context, projectId string) error
- func (s *System) GetLimits(w http.ResponseWriter, r *http.Request)
- func (s *System) GetLimitsFromDB(ctx context.Context, companyId, projectId string) (AgentLimits, error)
- func (s *System) GetProject(w http.ResponseWriter, r *http.Request)
- func (s *System) GetProjectFromDB(ctx context.Context, companyId, projectId string) (*Project, error)
- func (s *System) GetProjects(w http.ResponseWriter, r *http.Request)
- func (s *System) GetProjectsFromDB(ctx context.Context, companyId string) ([]Project, error)
- func (s *System) UpdateProject(w http.ResponseWriter, r *http.Request)
- func (s *System) UpdateProjectImage(w http.ResponseWriter, r *http.Request)
- func (s *System) UpdateProjectImageInDB(ctx context.Context, projectId, logo string) error
- func (s *System) UpdateProjectInDB(ctx context.Context, 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
}
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 (*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.