handlers

package
v0.0.0-...-45cbd8e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEnvironmentFile

func CreateEnvironmentFile(clusterName, clusterUserToken, fileName, ca, server, namespace string)

CreateEnvironmentFile export function "createEnvironmentFile" for other packages

func StartConsumerQueue

func StartConsumerQueue(appContext *AppContext, queue string)

StartConsumerQueue start to consume queue

func StartHTTPServer

func StartHTTPServer(appContext *AppContext)

StartHTTPServer StartHTTPServer

Types

type AppContext

type AppContext struct {
	ConventionInterface core.ConventionInterface
	DockerServiceAPI    dockerapi.DockerServiceInterface
	HelmServiceAPI      helmapi.HelmServiceInterface
	Auditing            audit.AuditingInterface
	K8sConfigPath       string
	Configuration       *configs.Configuration
	Repositories        Repositories
	Database            dbms.Database
	Elk                 *elastic.Client
	Mutex               sync.Mutex
	ChartImageCache     sync.Map
	DockerTagsCache     sync.Map
	ConfigMapCache      sync.Map
	RabbitMQConn        *amqp.Connection
	RabbitMQChannel     *amqp.Channel
	RabbitImpl          rabbitmq.RabbitInterface
	HelmService         tenkaihelm.HelmAPIInteface
}

AppContext AppContext

Jump to

Keyboard shortcuts

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