group

package
v0.0.0-...-d125d34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(controller group.Controller) *API

NewAPI initializes a new group api

func (*API) CreateGroup

func (a *API) CreateGroup(c *gin.Context)

CreateGroup create a group

func (*API) CreateSubGroup

func (a *API) CreateSubGroup(c *gin.Context)

CreateSubGroup create a subgroup

func (*API) DeleteGroup

func (a *API) DeleteGroup(c *gin.Context)

DeleteGroup delete a group by id

func (*API) GetChildren

func (a *API) GetChildren(c *gin.Context)

GetChildren get children of a group, including groups and applications

func (*API) GetGroup

func (a *API) GetGroup(c *gin.Context)

GetGroup get a group child by id

func (*API) GetGroupByFullPath

func (a *API) GetGroupByFullPath(c *gin.Context)

GetGroupByFullPath get a group child by fullPath

func (*API) GetSubGroups

func (a *API) GetSubGroups(c *gin.Context)

GetSubGroups get subGroups of a group

func (*API) ListAuthedGroup

func (a *API) ListAuthedGroup(c *gin.Context)

func (*API) RegisterRoute

func (a *API) RegisterRoute(engine *gin.Engine)

RegisterRoutes register routes

func (*API) SearchChildren

func (a *API) SearchChildren(c *gin.Context)

SearchChildren search children of a group, including groups and applications

func (*API) SearchGroups

func (a *API) SearchGroups(c *gin.Context)

SearchGroups search subgroups of a group

func (*API) TransferGroup

func (a *API) TransferGroup(c *gin.Context)

TransferGroup transfer a group to another parent group

func (*API) UpdateGroup

func (a *API) UpdateGroup(c *gin.Context)

UpdateGroup update basic info of a group

func (*API) UpdateRegionSelector

func (a *API) UpdateRegionSelector(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL