app

package
v0.60.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: MIT Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL