Documentation ¶
Index ¶
- func GetUserToken(user string) (string, error)
- type AppController
- type AuditController
- type AuthController
- type BaseController
- func (b *BaseController) AuditBlackList(operation string) bool
- func (b *BaseController) DecodeJSONReq(v interface{})
- func (b *BaseController) DecodeJSONReqAndValidate(v interface{})
- func (b *BaseController) Finish()
- func (b *BaseController) GetBoolFromQuery(key string) (bool, error)
- func (b *BaseController) GetFilterQuery() *query.FilterQuery
- func (b *BaseController) GetInt64FromPath(key string) (int64, error)
- func (b *BaseController) GetInt64FromQuery(key string) (int64, error)
- func (b *BaseController) GetStringFromPath(key string) string
- func (b *BaseController) GetStringFromQuery(key string) string
- func (b *BaseController) GroupConValues() ([]string, error)
- func (b *BaseController) HandleBadRequest(text string)
- func (b *BaseController) HandleConflictError(text string)
- func (b *BaseController) HandleForbidden(text string)
- func (b *BaseController) HandleInternalServerError(text string)
- func (b *BaseController) HandleNormalError(code int, text string)
- func (b *BaseController) HandleNotFound(text string)
- func (b *BaseController) HandlePreconditionError(text string)
- func (b *BaseController) HandleUnauthorized(text string)
- func (b *BaseController) IsGroupAdmin() int
- func (b *BaseController) IsSysAdmin() bool
- func (b *BaseController) Prepare()
- func (b *BaseController) Projects() ([]int64, error)
- func (b *BaseController) Render() error
- func (b *BaseController) RenderError(code int, text string)
- func (b *BaseController) ResourceConstraintConValues() ([]string, error)
- func (b *BaseController) ResourceOperationConValues() ([]string, error)
- func (b *BaseController) ResourceTypeConValues() ([]string, error)
- func (b *BaseController) ServeError(err error)
- func (b *BaseController) ServeResult(result Result)
- func (b *BaseController) UserGroup() string
- func (b *BaseController) Validate(v interface{})
- type ErrorController
- type ErrorResult
- type GroupClusters
- type GroupController
- type GroupMemberController
- func (g *GroupMemberController) AddGroupUserConstraintValues()
- func (g *GroupMemberController) AddGroupUserRole()
- func (g *GroupMemberController) AddGroupUsers()
- func (g *GroupMemberController) DeleteGroupUserConstraint()
- func (g *GroupMemberController) DeleteGroupUserConstraintValues()
- func (g *GroupMemberController) GetGroupUserConstraint()
- func (g *GroupMemberController) GroupUserList()
- func (g *GroupMemberController) GroupUserRoleList()
- func (g *GroupMemberController) RemoveGroupUser()
- func (g *GroupMemberController) RemoveGroupUserRole()
- func (g *GroupMemberController) UpdateGroupUserConstraintValues()
- type IntegrateController
- func (p *IntegrateController) CreateCompileEnv()
- func (p *IntegrateController) CreateIntegrateSetting()
- func (p *IntegrateController) DeleteCompileEnv()
- func (p *IntegrateController) DeleteIntegrateSetting()
- func (p *IntegrateController) GetClusterIntegrateSettings()
- func (p *IntegrateController) GetCompileEnvs()
- func (p *IntegrateController) GetCompileEnvsByPagination()
- func (p *IntegrateController) GetIntegrateSettings()
- func (p *IntegrateController) GetIntegrateSettingsByPagination()
- func (p *IntegrateController) UpdateCompileEnv()
- func (p *IntegrateController) UpdateIntegrateSetting()
- func (p *IntegrateController) VerifyIntegrateSetting()
- type LdapUserInfo
- type LoginReq
- type PipelineController
- func (p *PipelineController) CreateTaskTmpl()
- func (p *PipelineController) DeleteTaskTmpl()
- func (p *PipelineController) GetFlowComponents()
- func (p *PipelineController) GetJenkinsConfig()
- func (p *PipelineController) GetPublishStats()
- func (p *PipelineController) GetStepInfo()
- func (p *PipelineController) GetTaskTmpls()
- func (p *PipelineController) GetTaskTmplsByPagination()
- func (p *PipelineController) RunStep()
- func (p *PipelineController) RunStepCallback()
- func (p *PipelineController) UpdateTaskTmpl()
- type ProjectController
- func (p *ProjectController) AddProjectMember()
- func (p *ProjectController) AppDelete()
- func (p *ProjectController) AppEvent()
- func (p *ProjectController) AppInspect()
- func (p *ProjectController) AppRestart()
- func (p *ProjectController) AppScale()
- func (p *ProjectController) CheckProjetCreator()
- func (p *ProjectController) Create()
- func (p *ProjectController) CreateApp()
- func (p *ProjectController) CreatePipeline()
- func (p *ProjectController) CreateProjectEnv()
- func (p *ProjectController) Delete()
- func (p *ProjectController) DeleteProjectApp()
- func (p *ProjectController) DeleteProjectEnv()
- func (p *ProjectController) DeleteProjectMember()
- func (p *ProjectController) DeleteProjectPipeline()
- func (p *ProjectController) GetApps()
- func (p *ProjectController) GetAppsByPagination()
- func (p *ProjectController) GetAppserviceList()
- func (p *ProjectController) GetPipelinesByPagination()
- func (p *ProjectController) GetProject()
- func (p *ProjectController) GetProjectEnvs()
- func (p *ProjectController) GetProjectEnvsByPagination()
- func (p *ProjectController) GetProjectMembers()
- func (p *ProjectController) GetProjectPipeline()
- func (p *ProjectController) GetProjectPipelines()
- func (p *ProjectController) PodLog()
- func (p *ProjectController) ProjectAppInfo()
- func (p *ProjectController) ProjectList()
- func (p *ProjectController) SwitchProjectBranch()
- func (p *ProjectController) Update()
- func (p *ProjectController) UpdatePipelineConfig()
- func (p *ProjectController) UpdateProjectApp()
- func (p *ProjectController) UpdateProjectEnv()
- type PublishController
- func (p *PublishController) AddPublishApp()
- func (p *PublishController) CanAddedApps()
- func (p *PublishController) ClosePublish()
- func (p *PublishController) Create()
- func (p *PublishController) Delete()
- func (p *PublishController) DeletePublish()
- func (p *PublishController) DeletePublishApp()
- func (p *PublishController) GetBackTo()
- func (p *PublishController) GetNextStage()
- func (p *PublishController) GetOpertaionLogByPagination()
- func (p *PublishController) GetPublish()
- func (p *PublishController) PublishList()
- func (p *PublishController) TriggerBackTo()
- func (p *PublishController) TriggerNextStage()
- type ResourceController
- func (r *ResourceController) AddResourceConstraint()
- func (r *ResourceController) AddResourceOperation()
- func (r *ResourceController) CreateResourceType()
- func (r *ResourceController) DeleteResourceConstraint()
- func (r *ResourceController) DeleteResourceOperation()
- func (r *ResourceController) DeleteResourceType()
- func (r *ResourceController) GetResourceType()
- func (r *ResourceController) ResourceOperationsList()
- func (r *ResourceController) ResourceTypeList()
- func (r *ResourceController) UpdateResourceConstraint()
- func (r *ResourceController) UpdateResourceOperation()
- func (r *ResourceController) UpdateResourceType()
- type Result
- type RoleController
- func (r *RoleController) AddRoleOperation()
- func (r *RoleController) CreateRole()
- func (r *RoleController) DeleteRole()
- func (r *RoleController) GetRole()
- func (r *RoleController) RemoveRoleOperation()
- func (r *RoleController) RoleBundling()
- func (r *RoleController) RoleBundlingList()
- func (r *RoleController) RoleList()
- func (r *RoleController) RoleOperationList()
- func (r *RoleController) RoleUnbundling()
- func (r *RoleController) UpdateRole()
- type SuccessResult
- type TerminalController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppController ¶
type AppController struct {
BaseController
}
AppController ...
func (*AppController) GetGitProjectsByRepoID ¶
func (a *AppController) GetGitProjectsByRepoID()
GetGitProjectsByRepoID ..
func (*AppController) ParseArrangeYaml ¶
func (a *AppController) ParseArrangeYaml()
func (*AppController) SyncAppBranches ¶
func (a *AppController) SyncAppBranches()
SyncAppBranches ..
type AuditController ¶
type AuditController struct {
BaseController
}
func (*AuditController) AuditList ¶
func (ac *AuditController) AuditList()
type AuthController ¶
type AuthController struct {
beego.Controller
}
AuthController .operations about login/logout
type BaseController ¶
type BaseController struct { beego.Controller User string UserModel *models.User // contains filtered or unexported fields }
BaseController wraps common methods for controllers to host API
func (*BaseController) AuditBlackList ¶
func (b *BaseController) AuditBlackList(operation string) bool
func (*BaseController) DecodeJSONReq ¶
func (b *BaseController) DecodeJSONReq(v interface{})
DecodeJSONReq decodes a json request
func (*BaseController) DecodeJSONReqAndValidate ¶
func (b *BaseController) DecodeJSONReqAndValidate(v interface{})
DecodeJSONReqAndValidate does both decoding and validation
func (*BaseController) Finish ¶
func (b *BaseController) Finish()
func (*BaseController) GetBoolFromQuery ¶
func (b *BaseController) GetBoolFromQuery(key string) (bool, error)
GetBoolFromQuery gets the param from query string and returns it as int64
func (*BaseController) GetFilterQuery ¶
func (b *BaseController) GetFilterQuery() *query.FilterQuery
GetFilterQuery get page filter query
func (*BaseController) GetInt64FromPath ¶
func (b *BaseController) GetInt64FromPath(key string) (int64, error)
GetInt64FromPath gets the param from path and returns it as int64
func (*BaseController) GetInt64FromQuery ¶
func (b *BaseController) GetInt64FromQuery(key string) (int64, error)
GetInt64FromQuery gets the param from query string and returns it as int64
func (*BaseController) GetStringFromPath ¶
func (b *BaseController) GetStringFromPath(key string) string
GetStringFromPath gets the param from path and returns it as string
func (*BaseController) GetStringFromQuery ¶
func (b *BaseController) GetStringFromQuery(key string) string
GetStringFromQuery gets the param from query and returns it as string
func (*BaseController) GroupConValues ¶
func (b *BaseController) GroupConValues() ([]string, error)
func (*BaseController) HandleBadRequest ¶
func (b *BaseController) HandleBadRequest(text string)
HandleBadRequest ...
func (*BaseController) HandleConflictError ¶
func (b *BaseController) HandleConflictError(text string)
HandleConflictError ...
func (*BaseController) HandleForbidden ¶
func (b *BaseController) HandleForbidden(text string)
HandleForbidden ...
func (*BaseController) HandleInternalServerError ¶
func (b *BaseController) HandleInternalServerError(text string)
HandleInternalServerError ...
func (*BaseController) HandleNormalError ¶
func (b *BaseController) HandleNormalError(code int, text string)
HandleNormalError ...
func (*BaseController) HandleNotFound ¶
func (b *BaseController) HandleNotFound(text string)
HandleNotFound ...
func (*BaseController) HandlePreconditionError ¶
func (b *BaseController) HandlePreconditionError(text string)
HandlePreconditionError StatusPreconditionFailed error
func (*BaseController) HandleUnauthorized ¶
func (b *BaseController) HandleUnauthorized(text string)
HandleUnauthorized ...
func (*BaseController) IsGroupAdmin ¶
func (b *BaseController) IsGroupAdmin() int
func (*BaseController) IsSysAdmin ¶
func (b *BaseController) IsSysAdmin() bool
func (*BaseController) Prepare ¶
func (b *BaseController) Prepare()
Prepare inits security context and project manager from request context
func (*BaseController) Render ¶
func (b *BaseController) Render() error
Render returns nil as it won't render template
func (*BaseController) RenderError ¶
func (b *BaseController) RenderError(code int, text string)
RenderError provides shortcut to render http error
func (*BaseController) ResourceConstraintConValues ¶
func (b *BaseController) ResourceConstraintConValues() ([]string, error)
func (*BaseController) ResourceOperationConValues ¶
func (b *BaseController) ResourceOperationConValues() ([]string, error)
func (*BaseController) ResourceTypeConValues ¶
func (b *BaseController) ResourceTypeConValues() ([]string, error)
func (*BaseController) ServeError ¶
func (b *BaseController) ServeError(err error)
ServeError serve error
func (*BaseController) ServeResult ¶
func (b *BaseController) ServeResult(result Result)
ServeResult serve result
func (*BaseController) UserGroup ¶
func (b *BaseController) UserGroup() string
func (*BaseController) Validate ¶
func (b *BaseController) Validate(v interface{})
Validate validates v if it implements interface validation.ValidFormer
type ErrorController ¶
type ErrorController struct {
BaseController
}
func (*ErrorController) Error404 ¶
func (this *ErrorController) Error404()
func (*ErrorController) Error405 ¶
func (this *ErrorController) Error405()
type ErrorResult ¶
type GroupClusters ¶
type GroupClusters struct {
Clusters []string `json:"clusters"`
}
type GroupController ¶
type GroupController struct {
BaseController
}
func (*GroupController) DeleteGroup ¶
func (g *GroupController) DeleteGroup()
func (*GroupController) GetGroup ¶
func (g *GroupController) GetGroup()
func (*GroupController) GroupList ¶
func (g *GroupController) GroupList()
func (*GroupController) UpdateGroup ¶
func (g *GroupController) UpdateGroup()
type GroupMemberController ¶
type GroupMemberController struct {
BaseController
}
组用户
func (*GroupMemberController) AddGroupUserConstraintValues ¶
func (g *GroupMemberController) AddGroupUserConstraintValues()
func (*GroupMemberController) AddGroupUserRole ¶
func (g *GroupMemberController) AddGroupUserRole()
AddGroupUserRole ..
func (*GroupMemberController) AddGroupUsers ¶
func (g *GroupMemberController) AddGroupUsers()
func (*GroupMemberController) DeleteGroupUserConstraint ¶
func (g *GroupMemberController) DeleteGroupUserConstraint()
DeleteGroupUserConstraint ..
func (*GroupMemberController) DeleteGroupUserConstraintValues ¶
func (g *GroupMemberController) DeleteGroupUserConstraintValues()
func (*GroupMemberController) GetGroupUserConstraint ¶
func (g *GroupMemberController) GetGroupUserConstraint()
GetGroupUserConstraint ..
func (*GroupMemberController) GroupUserList ¶
func (g *GroupMemberController) GroupUserList()
func (*GroupMemberController) GroupUserRoleList ¶
func (g *GroupMemberController) GroupUserRoleList()
GroupUserRoleList ..
func (*GroupMemberController) RemoveGroupUser ¶
func (g *GroupMemberController) RemoveGroupUser()
RemoveGroupUser ..
func (*GroupMemberController) RemoveGroupUserRole ¶
func (g *GroupMemberController) RemoveGroupUserRole()
RemoveGroupUserRole ..
func (*GroupMemberController) UpdateGroupUserConstraintValues ¶
func (g *GroupMemberController) UpdateGroupUserConstraintValues()
type IntegrateController ¶
type IntegrateController struct {
BaseController
}
IntegrateController ...
func (*IntegrateController) CreateCompileEnv ¶
func (p *IntegrateController) CreateCompileEnv()
CreateCompileEnv ..
func (*IntegrateController) CreateIntegrateSetting ¶
func (p *IntegrateController) CreateIntegrateSetting()
CreateIntegrateSetting ..
func (*IntegrateController) DeleteCompileEnv ¶
func (p *IntegrateController) DeleteCompileEnv()
DeleteCompileEnv ..
func (*IntegrateController) DeleteIntegrateSetting ¶
func (p *IntegrateController) DeleteIntegrateSetting()
DeleteIntegrateSetting ..
func (*IntegrateController) GetClusterIntegrateSettings ¶
func (p *IntegrateController) GetClusterIntegrateSettings()
func (*IntegrateController) GetCompileEnvs ¶
func (p *IntegrateController) GetCompileEnvs()
GetCompileEnvs ..
func (*IntegrateController) GetCompileEnvsByPagination ¶
func (p *IntegrateController) GetCompileEnvsByPagination()
GetCompileEnvsByPagination ..
func (*IntegrateController) GetIntegrateSettings ¶
func (p *IntegrateController) GetIntegrateSettings()
GetIntegrateSettings ..
func (*IntegrateController) GetIntegrateSettingsByPagination ¶
func (p *IntegrateController) GetIntegrateSettingsByPagination()
GetIntegrateSettingsByPagination ..
func (*IntegrateController) UpdateCompileEnv ¶
func (p *IntegrateController) UpdateCompileEnv()
UpdateCompileEnv ..
func (*IntegrateController) UpdateIntegrateSetting ¶
func (p *IntegrateController) UpdateIntegrateSetting()
UpdateIntegrateSetting ..
func (*IntegrateController) VerifyIntegrateSetting ¶
func (p *IntegrateController) VerifyIntegrateSetting()
VerifyIntegrateSetting ..
type LdapUserInfo ¶
type LdapUserInfo struct { Name string `json:"name,omitempty"` Email string `json:"email,omitempty"` User string `json:"user,omitempty"` }
LdapUserInfo ..
type LoginReq ¶
type LoginReq struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` LoginType int `json:"login_type,omitempty"` }
LoginReq ..
type PipelineController ¶
type PipelineController struct {
BaseController
}
PipelineController ...
func (*PipelineController) CreateTaskTmpl ¶
func (p *PipelineController) CreateTaskTmpl()
CreateTaskTmpl ..
func (*PipelineController) DeleteTaskTmpl ¶
func (p *PipelineController) DeleteTaskTmpl()
DeleteTaskTmpl ..
func (*PipelineController) GetFlowComponents ¶
func (p *PipelineController) GetFlowComponents()
GetFlowComponents ..
func (*PipelineController) GetJenkinsConfig ¶
func (p *PipelineController) GetJenkinsConfig()
GetJenkinsConfig ..
func (*PipelineController) GetPublishStats ¶
func (p *PipelineController) GetPublishStats()
GetPublishStats ..
func (*PipelineController) GetTaskTmpls ¶
func (p *PipelineController) GetTaskTmpls()
GetTaskTmpls ..
func (*PipelineController) GetTaskTmplsByPagination ¶
func (p *PipelineController) GetTaskTmplsByPagination()
GetTaskTmplsByPagination ..
func (*PipelineController) RunStepCallback ¶
func (p *PipelineController) RunStepCallback()
RunStepCallback ..
func (*PipelineController) UpdateTaskTmpl ¶
func (p *PipelineController) UpdateTaskTmpl()
UpdateTaskTmpl ..
type ProjectController ¶
type ProjectController struct {
BaseController
}
ProjectController ...
func (*ProjectController) AddProjectMember ¶
func (p *ProjectController) AddProjectMember()
AddProjectMember ..
func (*ProjectController) AppDelete ¶
func (p *ProjectController) AppDelete()
func (*ProjectController) AppEvent ¶
func (p *ProjectController) AppEvent()
func (*ProjectController) AppInspect ¶
func (p *ProjectController) AppInspect()
func (*ProjectController) AppRestart ¶
func (p *ProjectController) AppRestart()
func (*ProjectController) AppScale ¶
func (p *ProjectController) AppScale()
func (*ProjectController) CheckProjetCreator ¶
func (p *ProjectController) CheckProjetCreator()
CheckProjetCreator check whether user is creator or have admin permissions
func (*ProjectController) CreatePipeline ¶
func (p *ProjectController) CreatePipeline()
CreatePipeline ..
func (*ProjectController) CreateProjectEnv ¶
func (p *ProjectController) CreateProjectEnv()
CreateProjectEnv ..
func (*ProjectController) Delete ¶
func (p *ProjectController) Delete()
Delete project base project_id
func (*ProjectController) DeleteProjectApp ¶
func (p *ProjectController) DeleteProjectApp()
DeleteProjectApp for project
func (*ProjectController) DeleteProjectEnv ¶
func (p *ProjectController) DeleteProjectEnv()
DeleteProjectEnv ..
func (*ProjectController) DeleteProjectMember ¶
func (p *ProjectController) DeleteProjectMember()
DeleteProjectMember ..
func (*ProjectController) DeleteProjectPipeline ¶
func (p *ProjectController) DeleteProjectPipeline()
DeleteProjectPipeline ..
func (*ProjectController) GetAppsByPagination ¶
func (p *ProjectController) GetAppsByPagination()
GetAppsByPagination ..
func (*ProjectController) GetAppserviceList ¶
func (p *ProjectController) GetAppserviceList()
func (*ProjectController) GetPipelinesByPagination ¶
func (p *ProjectController) GetPipelinesByPagination()
GetPipelinesByPagination ..
func (*ProjectController) GetProjectEnvs ¶
func (p *ProjectController) GetProjectEnvs()
GetProjectEnvs ..
func (*ProjectController) GetProjectEnvsByPagination ¶
func (p *ProjectController) GetProjectEnvsByPagination()
GetProjectEnvsByPagination ..
func (*ProjectController) GetProjectMembers ¶
func (p *ProjectController) GetProjectMembers()
GetProjectMembers ..
func (*ProjectController) GetProjectPipeline ¶
func (p *ProjectController) GetProjectPipeline()
GetProjectPipeline ..
func (*ProjectController) GetProjectPipelines ¶
func (p *ProjectController) GetProjectPipelines()
GetProjectPipelines ..
func (*ProjectController) PodLog ¶
func (p *ProjectController) PodLog()
func (*ProjectController) ProjectAppInfo ¶
func (p *ProjectController) ProjectAppInfo()
ProjectAppInfo ..
func (*ProjectController) SwitchProjectBranch ¶
func (p *ProjectController) SwitchProjectBranch()
SwitchProjectBranch ..
func (*ProjectController) UpdatePipelineConfig ¶
func (p *ProjectController) UpdatePipelineConfig()
UpdatePipelineConfig ...
func (*ProjectController) UpdateProjectApp ¶
func (p *ProjectController) UpdateProjectApp()
UpdateProjectApp ..
func (*ProjectController) UpdateProjectEnv ¶
func (p *ProjectController) UpdateProjectEnv()
UpdateProjectEnv ..
type PublishController ¶
type PublishController struct {
BaseController
}
PublishController ...
func (*PublishController) AddPublishApp ¶
func (p *PublishController) AddPublishApp()
AddPublishApp ..
func (*PublishController) Delete ¶
func (p *PublishController) Delete()
Delete publish base publish_id
func (*PublishController) DeletePublish ¶
func (p *PublishController) DeletePublish()
DeletePublish ..
func (*PublishController) DeletePublishApp ¶
func (p *PublishController) DeletePublishApp()
DeletePublishApp ..
func (*PublishController) GetOpertaionLogByPagination ¶
func (p *PublishController) GetOpertaionLogByPagination()
GetOpertaionLogByPagination ..
func (*PublishController) TriggerBackTo ¶
func (p *PublishController) TriggerBackTo()
TriggerBackTo ..
func (*PublishController) TriggerNextStage ¶
func (p *PublishController) TriggerNextStage()
TriggerNextStage ..
type ResourceController ¶
type ResourceController struct {
BaseController
}
资源类型
func (*ResourceController) AddResourceConstraint ¶
func (r *ResourceController) AddResourceConstraint()
AddResourceConstraint ..
func (*ResourceController) AddResourceOperation ¶
func (r *ResourceController) AddResourceOperation()
AddResourceOperation ..
func (*ResourceController) CreateResourceType ¶
func (r *ResourceController) CreateResourceType()
CreateResourceType ..
func (*ResourceController) DeleteResourceConstraint ¶
func (r *ResourceController) DeleteResourceConstraint()
DeleteResourceConstraint ..
func (*ResourceController) DeleteResourceOperation ¶
func (r *ResourceController) DeleteResourceOperation()
DeleteResourceOperation ..
func (*ResourceController) DeleteResourceType ¶
func (r *ResourceController) DeleteResourceType()
DeleteResourceType ..
func (*ResourceController) GetResourceType ¶
func (r *ResourceController) GetResourceType()
GetResourceType ..
func (*ResourceController) ResourceOperationsList ¶
func (r *ResourceController) ResourceOperationsList()
ResourceOperationsList ..
func (*ResourceController) ResourceTypeList ¶
func (r *ResourceController) ResourceTypeList()
ResourceTypeList ..
func (*ResourceController) UpdateResourceConstraint ¶
func (r *ResourceController) UpdateResourceConstraint()
UpdateResourceConstraint ..
func (*ResourceController) UpdateResourceOperation ¶
func (r *ResourceController) UpdateResourceOperation()
UpdateResourceOperation ..
func (*ResourceController) UpdateResourceType ¶
func (r *ResourceController) UpdateResourceType()
UpdateResourceType ..
type Result ¶
type Result interface{}
Result ..
func NewErrorResult ¶
func NewSuccessResult ¶
func NewSuccessResult(data ...interface{}) Result
type RoleController ¶
type RoleController struct {
BaseController
}
func (*RoleController) AddRoleOperation ¶
func (r *RoleController) AddRoleOperation()
func (*RoleController) CreateRole ¶
func (r *RoleController) CreateRole()
func (*RoleController) DeleteRole ¶
func (r *RoleController) DeleteRole()
func (*RoleController) GetRole ¶
func (r *RoleController) GetRole()
func (*RoleController) RemoveRoleOperation ¶
func (r *RoleController) RemoveRoleOperation()
func (*RoleController) RoleBundling ¶
func (r *RoleController) RoleBundling()
func (*RoleController) RoleBundlingList ¶
func (r *RoleController) RoleBundlingList()
func (*RoleController) RoleOperationList ¶
func (r *RoleController) RoleOperationList()
func (*RoleController) RoleUnbundling ¶
func (r *RoleController) RoleUnbundling()
func (*RoleController) UpdateRole ¶
func (r *RoleController) UpdateRole()
type SuccessResult ¶
type TerminalController ¶
type TerminalController struct {
BaseController
}
func (*TerminalController) PodTerminal ¶
func (t *TerminalController) PodTerminal()
type UserController ¶
type UserController struct {
BaseController
}
func (*UserController) GetUserResourceConstraintValues ¶
func (u *UserController) GetUserResourceConstraintValues()
GetUserResourceConstraintValues ..