Documentation
¶
Index ¶
- func HandleList(orgStore core.OrganizationStore, logger lumber.Logger) gin.HandlerFunc
- func HandleSynapseCount(synapseStore core.SynapseStore, userStore core.GitUserStore, ...) gin.HandlerFunc
- func HandleSynapseList(synapseStore core.SynapseStore, userStore core.GitUserStore, ...) gin.HandlerFunc
- func HandleSynapsePatch(synapseStore core.SynapseStore, userStore core.GitUserStore, ...) gin.HandlerFunc
- func HandleSynapseTestConnection(synapseStore core.SynapseStore, userStore core.GitUserStore, ...) gin.HandlerFunc
- func HandleSync(userStore core.GitUserStore, orgService core.OrganizationService, ...) gin.HandlerFunc
- func HandleUpdateConfigInfo(orgStore core.OrganizationStore, userStore core.GitUserStore, ...) gin.HandlerFunc
- func HandleUpdateSynapseToken(orgStore core.OrganizationStore, userStore core.GitUserStore, ...) gin.HandlerFunc
- type OrgRunnerInfo
- type TokenInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleList ¶
func HandleList(orgStore core.OrganizationStore, logger lumber.Logger) gin.HandlerFunc
HandleList lists the users organizations
func HandleSynapseCount ¶
func HandleSynapseCount(synapseStore core.SynapseStore, userStore core.GitUserStore, logger lumber.Logger) gin.HandlerFunc
HandleSynapseCount returns the count of connected and total register synapse
func HandleSynapseList ¶
func HandleSynapseList(synapseStore core.SynapseStore, userStore core.GitUserStore, logger lumber.Logger) gin.HandlerFunc
HandleSynapseList returns list of synapse for an org
func HandleSynapsePatch ¶
func HandleSynapsePatch(synapseStore core.SynapseStore, userStore core.GitUserStore, logger lumber.Logger) gin.HandlerFunc
HandleSynapsePatch updates is_active in db
func HandleSynapseTestConnection ¶
func HandleSynapseTestConnection(synapseStore core.SynapseStore, userStore core.GitUserStore, logger lumber.Logger) gin.HandlerFunc
HandleSynapseTestConnection tests if synapse for an org is connected exist or not
func HandleSync ¶
func HandleSync(userStore core.GitUserStore, orgService core.OrganizationService, orgStore core.OrganizationStore, tokenHandler core.GitTokenHandler, loginStore core.LoginStore, logger lumber.Logger) gin.HandlerFunc
HandleSync lists the users organizations after refetching it from scm
func HandleUpdateConfigInfo ¶
func HandleUpdateConfigInfo(orgStore core.OrganizationStore, userStore core.GitUserStore, logger lumber.Logger) gin.HandlerFunc
HandleUpdateConfigInfo updates the config info for an org
func HandleUpdateSynapseToken ¶
func HandleUpdateSynapseToken(orgStore core.OrganizationStore, userStore core.GitUserStore, logger lumber.Logger) gin.HandlerFunc
HandleUpdateSynapseToken updates the synapse token for an org
Types ¶
type OrgRunnerInfo ¶
OrgRunnerInfo is the request struct of synapse runner
Click to show internal directories.
Click to hide internal directories.