app

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 33 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
	Bitbucket        repository.Bitbucket
	Timestamp        librepo.Timestamp
	SshAuthProvider  repository.SshAuthProvider
	Notifier         repository.Notifier
	Cache            repository.Cache

	// services (business logic)
	Mapper       service.Mapper
	Trigger      service.Trigger
	Updater      service.Updater
	Owners       service.Owners
	Services     service.Services
	Repositories service.Repositories

	// 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