Documentation ¶
Index ¶
- func CreateOrUpdate(DB *gorm.DB, name string, m map[string]interface{}) error
- func GetLdapApiFromDB(DB *gorm.DB) (*ldap.LDAP, error)
- func GetProperty(DB *gorm.DB, name string) (map[string]interface{}, error)
- type AliYun
- type Email
- type Gitlab
- type IProperty
- type Jenkins
- type LDAP
- type LDAPCheckUser
- type Property
- func (r Property) CheckLDAPConnect(c *gin.Context)
- func (r Property) Create(c *gin.Context)
- func (r Property) CreateOrUpdateAliYun(c *gin.Context)
- func (r Property) CreateOrUpdateEmail(c *gin.Context)
- func (r Property) CreateOrUpdateGitlab(c *gin.Context)
- func (r Property) CreateOrUpdateJenkins(c *gin.Context)
- func (r Property) CreateOrUpdateLDAP(c *gin.Context)
- func (r Property) Delete(c *gin.Context)
- func (r Property) Query(c *gin.Context)
- func (r Property) QueryAliYun(c *gin.Context)
- func (r Property) QueryEmail(c *gin.Context)
- func (r Property) QueryGitlab(c *gin.Context)
- func (r Property) QueryJenkins(c *gin.Context)
- func (r Property) QueryLDAP(c *gin.Context)
- func (r Property) Update(c *gin.Context)
- type Role
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IProperty ¶
type IProperty interface { Query(c *gin.Context) Create(c *gin.Context) Update(c *gin.Context) Delete(c *gin.Context) QueryLDAP(c *gin.Context) CreateOrUpdateLDAP(c *gin.Context) CheckLDAPConnect(c *gin.Context) QueryEmail(c *gin.Context) CreateOrUpdateEmail(c *gin.Context) QueryAliYun(c *gin.Context) CreateOrUpdateAliYun(c *gin.Context) QueryGitlab(c *gin.Context) CreateOrUpdateGitlab(c *gin.Context) QueryJenkins(c *gin.Context) CreateOrUpdateJenkins(c *gin.Context) }
func NewService ¶
type Jenkins ¶
type LDAPCheckUser ¶
type Property ¶
func (Property) CheckLDAPConnect ¶
func (Property) CreateOrUpdateAliYun ¶
func (Property) CreateOrUpdateEmail ¶
func (Property) CreateOrUpdateGitlab ¶
func (Property) CreateOrUpdateJenkins ¶
func (Property) CreateOrUpdateLDAP ¶
func (Property) QueryAliYun ¶
func (Property) QueryEmail ¶
func (Property) QueryGitlab ¶
func (Property) QueryJenkins ¶
Click to show internal directories.
Click to hide internal directories.