Documentation ¶
Index ¶
- Variables
- func CreateGroup(w http.ResponseWriter, r *http.Request)
- func DeleteGroup(w http.ResponseWriter, r *http.Request)
- func GetAllGroups(w http.ResponseWriter, r *http.Request)
- func GetServiceGroup(w http.ResponseWriter, r *http.Request)
- func GetUserGroup(w http.ResponseWriter, r *http.Request)
- func InitStore(state *global.State)
- func InitStoreMock() *groupMock
- func UpdateGroup(w http.ResponseWriter, r *http.Request)
- func UpdateServiceGroup(w http.ResponseWriter, r *http.Request)
- func UpdateUsersGroup(w http.ResponseWriter, r *http.Request)
- type GroupApps
- type GroupUsers
- type UpdateServiceGroupReq
- type UpdateUsersGroupReq
Constants ¶
This section is empty.
Variables ¶
View Source
var Store adapter
Store is the package state variable which contains database connections
Functions ¶
func CreateGroup ¶
func CreateGroup(w http.ResponseWriter, r *http.Request)
CreateGroup handles grouping of any entity - users, services or policies.
func DeleteGroup ¶
func DeleteGroup(w http.ResponseWriter, r *http.Request)
func GetAllGroups ¶
func GetAllGroups(w http.ResponseWriter, r *http.Request)
func GetServiceGroup ¶
func GetServiceGroup(w http.ResponseWriter, r *http.Request)
func GetUserGroup ¶
func GetUserGroup(w http.ResponseWriter, r *http.Request)
func InitStoreMock ¶
func InitStoreMock() *groupMock
InitStoreMock will init mock state of this package
func UpdateGroup ¶
func UpdateGroup(w http.ResponseWriter, r *http.Request)
UpdateGroup handles grouping of any entity - users, services or policies.
func UpdateServiceGroup ¶
func UpdateServiceGroup(w http.ResponseWriter, r *http.Request)
func UpdateUsersGroup ¶
func UpdateUsersGroup(w http.ResponseWriter, r *http.Request)
Types ¶
type GroupUsers ¶
type UpdateServiceGroupReq ¶
type UpdateUsersGroupReq ¶
Click to show internal directories.
Click to hide internal directories.