Documentation ¶
Index ¶
- func New(configuration librepo.Configuration, customConfig config.CustomConfiguration, ...) controller.RepositoryController
- type Impl
- func (c *Impl) CreateRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) DeleteRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetRepositories(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetSingleRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) IsRepositoryController() bool
- func (c *Impl) PatchRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) UpdateRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) WireUp(_ context.Context, router chi.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( configuration librepo.Configuration, customConfig config.CustomConfiguration, logging librepo.Logging, timestamp librepo.Timestamp, repositories service.Repositories, ) controller.RepositoryController
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Timestamp librepo.Timestamp Repositories service.Repositories }
func (*Impl) CreateRepository ¶
func (c *Impl) CreateRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) DeleteRepository ¶
func (c *Impl) DeleteRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) GetRepositories ¶
func (c *Impl) GetRepositories(w http.ResponseWriter, r *http.Request)
func (*Impl) GetSingleRepository ¶
func (c *Impl) GetSingleRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) IsRepositoryController ¶
func (*Impl) PatchRepository ¶
func (c *Impl) PatchRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) UpdateRepository ¶
func (c *Impl) UpdateRepository(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.