handlers

package
v0.0.0-...-6d50071 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartConsumer

func StartConsumer(appContext *AppContext)

StartConsumer start consume from queues

func StartHTTPServer

func StartHTTPServer(appContext *AppContext)

StartHTTPServer StartHTTPServer

Types

type AppContext

type AppContext struct {
	ConventionInterface core.ConventionInterface
	HelmServiceAPI      helmapi.HelmServiceInterface
	K8sConfigPath       string
	Configuration       *configs.Configuration
	ChartImageCache     sync.Map
	DockerTagsCache     sync.Map
	ConfigMapCache      sync.Map
	RabbitMQ            rabbitmq.RabbitInterface
	Mutex               sync.Mutex
	Database            dbms.Database
	Repositories        Repositories
	Queues              rabbitmq.Queues
}

AppContext AppContext

type Repositories

type Repositories struct {
	RepoDAO repository.RepoDAOInterface
}

Repositories struct

Jump to

Keyboard shortcuts

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