Documentation
¶
Index ¶
- func New() application.Application
- type ApplicationImpl
- func (a *ApplicationImpl) ConstructConfigLoggingVaultTimestamp() error
- func (a *ApplicationImpl) ConstructControllers() error
- func (a *ApplicationImpl) ConstructRepositories() error
- func (a *ApplicationImpl) ConstructServices() error
- func (a *ApplicationImpl) Create() error
- func (a *ApplicationImpl) IsApplication() bool
- func (a *ApplicationImpl) Run() int
- func (a *ApplicationImpl) Teardown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() application.Application
Types ¶
type ApplicationImpl ¶
type ApplicationImpl struct {
// repositories (outgoing connectors)
Config librepo.Configuration
CustomConfig configrepo.CustomConfiguration
Logging librepo.Logging
Vault librepo.Vault
Metadata repository.Metadata
Kafka repository.Kafka
IdentityProvider repository.IdentityProvider
HostIP repository.HostIP
Timestamp librepo.Timestamp
AuthProvider repository.AuthProvider
Notifier repository.Notifier
Cache repository.Cache
BaseRT http.RoundTripper
Github repository.Github
// services (business logic)
Mapper service.Mapper
Trigger service.Trigger
Updater service.Updater
Validator service.Check
Owners service.Owners
Services service.Services
Repositories service.Repositories
WebhooksHandler service.WebhooksHandler
// controllers (incoming connectors)
HealthCtl libcontroller.HealthController
SwaggerCtl libcontroller.SwaggerController
OwnerCtl controller.OwnerController
ServiceCtl controller.ServiceController
RepositoryCtl controller.RepositoryController
WebhookCtl controller.WebhookController
// server/web stack
Server application.Server
}
func (*ApplicationImpl) ConstructConfigLoggingVaultTimestamp ¶ added in v0.33.0
func (a *ApplicationImpl) ConstructConfigLoggingVaultTimestamp() error
func (*ApplicationImpl) ConstructControllers ¶ added in v0.33.0
func (a *ApplicationImpl) ConstructControllers() error
func (*ApplicationImpl) ConstructRepositories ¶ added in v0.33.0
func (a *ApplicationImpl) ConstructRepositories() error
func (*ApplicationImpl) ConstructServices ¶ added in v0.33.0
func (a *ApplicationImpl) ConstructServices() error
func (*ApplicationImpl) Create ¶
func (a *ApplicationImpl) Create() error
func (*ApplicationImpl) IsApplication ¶
func (a *ApplicationImpl) IsApplication() bool
func (*ApplicationImpl) Run ¶
func (a *ApplicationImpl) Run() int
func (*ApplicationImpl) Teardown ¶ added in v0.33.0
func (a *ApplicationImpl) Teardown()
Click to show internal directories.
Click to hide internal directories.