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
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
type Repositories ¶
type Repositories struct { ConfigDAO repository.ConfigDAOInterface DockerDAO repository.DockerDAOInterface EnvironmentDAO repository.EnvironmentDAOInterface ProductDAO repository.ProductDAOInterface SolutionDAO repository.SolutionDAOInterface SolutionChartDAO repository.SolutionChartDAOInterface UserDAO repository.UserDAOInterface VariableDAO repository.VariableDAOInterface ValueRuleDAO repository.ValueRuleDAOInterface VariableRuleDAO repository.VariableRuleDAOInterface CompareEnvsQueryDAO repository.CompareEnvsQueryDAOInterface SecurityOperationDAO repository.SecurityOperationDAOInterface UserEnvironmentRoleDAO repository.UserEnvironmentRoleDAOInterface NotesDAO repository.NotesDAOInterface WebHookDAO repository.WebHookDAOInterface DeploymentDAO repository.DeploymentDAOInterface RequestDeploymentDAO repository.RequestDeploymentDAOInterface }
Repositories Repositories
Source Files ¶
- application.go
- compare_environment.go
- deployment.go
- docker.go
- environment.go
- health.go
- helm.go
- helmrepo.go
- kube.go
- notes.go
- permissions.go
- product_handler.go
- promote_handler.go
- request_deployments.go
- security_operation.go
- settings.go
- solution.go
- solutionchart.go
- testmock.go
- traffic.go
- user.go
- user_environment_role.go
- validation_handler.go
- value_rule_handler.go
- variable_rule_handler.go
- variables.go
- variablevalues.go
- virtualservice.go
- webhook_handler.go
Click to show internal directories.
Click to hide internal directories.