Documentation ¶
Index ¶
- func AllKVsBackup(c *gin.Context)
- func AllKVsRestore(c *gin.Context)
- func GetUser(c *gin.Context)
- func KVDel(c *gin.Context)
- func KVGet(c *gin.Context)
- func KVList(c *gin.Context)
- func KVPut(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func MyInfo(c *gin.Context)
- func RoleAdd(c *gin.Context)
- func RoleDelete(c *gin.Context)
- func RoleGet(c *gin.Context)
- func RoleGrantPermission(c *gin.Context)
- func RoleList(c *gin.Context)
- func ServerList(c *gin.Context)
- func Snapshot(c *gin.Context)
- func SnapshotInfo(c *gin.Context)
- func SnapshotRestore(c *gin.Context)
- func UserAdd(c *gin.Context)
- func UserDelete(c *gin.Context)
- func UserGrantRole(c *gin.Context)
- func UserList(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllKVsBackup ¶ added in v1.3.3
func AllKVsRestore ¶ added in v1.3.3
func GetUser ¶
GetUser
@Description Get user @Accept octet-stream @Produce octet-stream @Param pbUser body kk_etcd_models.PBUser true "Get user info" @Router /GetUser [post]
func KVDel ¶
KVDel
@Description Del config @Accept octet-stream @Produce octet-stream @Param pbKV body kk_etcd_models.PBKV true "Del config info" @Router /KVDel [post]
func KVGet ¶
KVGet
@Description Get config @Accept octet-stream @Produce octet-stream @Param pbKV body kk_etcd_models.PBKV true "Get config info" @Router /KVGet [post]
func KVList ¶
KVList
@Description Get kv list @Accept octet-stream @Produce octet-stream @Router /KVList [post]
func KVPut ¶
KVPut
@Description Put config @Accept octet-stream @Produce octet-stream @Param pbKV body kk_etcd_models.PBKV true "Put config info" @Router /KVPut [post]
func Login ¶
Login
@Description Log in @Accept octet-stream @Produce octet-stream @Param pbUser body kk_etcd_models.PBUser true "Login info" @Router /Login [post]
func Logout ¶
Logout
@Description Log out @Accept octet-stream @Produce octet-stream @Param pbUser body kk_etcd_models.PBUser true "Logout info" @Router /Logout [post]
func MyInfo ¶
MyInfo
@Description Get my info @Accept octet-stream @Produce octet-stream @Router /MyInfo [post]
func RoleAdd ¶
RoleAdd
@Description Add role @Accept octet-stream @Produce octet-stream @Param pbRole body kk_etcd_models.PBRole true "Add role info" @Router /RoleAdd [post]
func RoleDelete ¶
RoleDelete
@Description Delete role @Accept octet-stream @Produce octet-stream @Param pbRole body kk_etcd_models.PBRole true "Delete role info" @Router /RoleDelete [post]
func RoleGet ¶
RoleGet
@Description Get role @Accept octet-stream @Produce octet-stream @Param pbRole body kk_etcd_models.PBRole true "Get role info" @Router /RoleGet [post]
func RoleGrantPermission ¶
RoleGrantPermission
@Description Grant permission to role @Accept octet-stream @Produce octet-stream @Param pbRole body kk_etcd_models.PBRole true "Grant permission to role info" @Router /RoleGrantPermission [post]
func RoleList ¶
RoleList
@Description Get role list @Accept octet-stream @Produce octet-stream @Router /RoleList [post]
func ServerList ¶
ServerList
@Description Get service list @Accept octet-stream @Produce octet-stream @Router /ServerList [post]
func SnapshotInfo ¶ added in v1.3.3
func SnapshotRestore ¶ added in v1.3.3
func UserAdd ¶
UserAdd
@Description Add user @Accept octet-stream @Produce octet-stream @Param pbUser body kk_etcd_models.PBUser true "Add user info" @Router /UserAdd [post]
func UserDelete ¶
UserDelete
@Description Delete user @Accept octet-stream @Produce octet-stream @Param pbUser body kk_etcd_models.PBUser true "Delete user info" @Router /UserDelete [post]
func UserGrantRole ¶
UserGrantRole
@Description Grant role to user @Accept octet-stream @Produce octet-stream @Param PBUser body kk_etcd_models.PBUser true "Grant role to user info" @Router /UserGrantRole [post]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.