Documentation ¶
Index ¶
- func New(configuration librepo.Configuration, customConfig config.CustomConfiguration, ...) controller.ServiceController
- type Impl
- func (c *Impl) CreateService(w http.ResponseWriter, r *http.Request)
- func (c *Impl) DeleteService(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetServicePromoters(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetServices(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetSingleService(w http.ResponseWriter, r *http.Request)
- func (c *Impl) IsServiceController() bool
- func (c *Impl) PatchService(w http.ResponseWriter, r *http.Request)
- func (c *Impl) UpdateService(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, services service.Services, ) controller.ServiceController
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Timestamp librepo.Timestamp Services service.Services }
func (*Impl) CreateService ¶
func (c *Impl) CreateService(w http.ResponseWriter, r *http.Request)
func (*Impl) DeleteService ¶
func (c *Impl) DeleteService(w http.ResponseWriter, r *http.Request)
func (*Impl) GetServicePromoters ¶
func (c *Impl) GetServicePromoters(w http.ResponseWriter, r *http.Request)
func (*Impl) GetServices ¶
func (c *Impl) GetServices(w http.ResponseWriter, r *http.Request)
func (*Impl) GetSingleService ¶
func (c *Impl) GetSingleService(w http.ResponseWriter, r *http.Request)
func (*Impl) IsServiceController ¶
func (*Impl) PatchService ¶
func (c *Impl) PatchService(w http.ResponseWriter, r *http.Request)
func (*Impl) UpdateService ¶
func (c *Impl) UpdateService(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.