Documentation ¶
Index ¶
- func New(configuration librepo.Configuration, ...) application.Server
- type Impl
- func (s *Impl) CreateMainServer(ctx context.Context) *http.Server
- func (s *Impl) CreateMetricsServer(ctx context.Context) *http.Server
- func (s *Impl) IsServer() bool
- func (s *Impl) NewServer(ctx context.Context, address string, router http.Handler) *http.Server
- func (s *Impl) Run() error
- func (s *Impl) Setup() error
- func (s *Impl) StartForegroundMainServer(ctx context.Context, srv *http.Server) error
- func (s *Impl) StartMetricsServerAsyncTerminatesOnError(ctx context.Context, srv *http.Server)
- func (s *Impl) WireUp(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( configuration librepo.Configuration, customConfiguration config.CustomConfiguration, logging librepo.Logging, identityProvider repository.IdentityProvider, healthCtl libcontroller.HealthController, swaggerCtl libcontroller.SwaggerController, ownerCtl controller.OwnerController, serviceCtl controller.ServiceController, repositoryCtl controller.RepositoryController, webhookCtl controller.WebhookController, ) application.Server
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging IdentityProvider repository.IdentityProvider HealthCtl libcontroller.HealthController SwaggerCtl libcontroller.SwaggerController OwnerCtl controller.OwnerController ServiceCtl controller.ServiceController RepositoryCtl controller.RepositoryController WebhookCtl controller.WebhookController Router chi.Router RequestTimeoutSeconds int ServerReadTimeoutSeconds int ServerWriteTimeoutSeconds int ServerIdleTimeoutSeconds int }
func (*Impl) CreateMetricsServer ¶
func (*Impl) StartForegroundMainServer ¶
func (*Impl) StartMetricsServerAsyncTerminatesOnError ¶
Click to show internal directories.
Click to hide internal directories.