Documentation ¶
Index ¶
- type EnvironmentCreateForm
- type EnvironmentListResp
- type EnvironmentResourceResp
- type EnvironmentResp
- type EnvironmentUserRelsResp
- type EnvironmentUserRole
- type Handler
- func (h *Handler) AddOrModifyEnvironmentMembers(req *restful.Request, resp *restful.Response)
- func (h *Handler) AddTenantMember(req *restful.Request, resp *restful.Response)
- func (h *Handler) CreatePorject(req *restful.Request, resp *restful.Response)
- func (h *Handler) CreateProjectEnvironment(req *restful.Request, resp *restful.Response)
- func (h *Handler) CreateTenant(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteEnvironmentMember(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteProject(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteProjectEnvironment(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteTenant(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteTenantMember(req *restful.Request, resp *restful.Response)
- func (h *Handler) GetEnvironmentResourceAggregate(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListEnvironmentMembers(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListProjectEnvironment(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListTenant(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListTenantMember(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListTenantProject(req *restful.Request, resp *restful.Response)
- func (h *Handler) ModifyProjectEnvironment(req *restful.Request, resp *restful.Response)
- func (h *Handler) ModifyTenant(req *restful.Request, resp *restful.Response)
- func (h *Handler) ModifyTenantMember(req *restful.Request, resp *restful.Response)
- func (h *Handler) Regist(container *restful.Container)
- func (h *Handler) RetrieveProjectEnvironment(req *restful.Request, resp *restful.Response)
- func (h *Handler) RetrieveTenant(req *restful.Request, resp *restful.Response)
- func (h *Handler) RetrieveTenantProject(req *restful.Request, resp *restful.Response)
- func (h *Handler) SwitchEnvironmentNetworkIsolate(req *restful.Request, resp *restful.Response)
- type ProjectCreateForm
- type ProjectListResp
- type ProjectResp
- type TenantCommonResp
- type TenantCreateResp
- type TenantListResp
- type TenantUserCreateForm
- type TenantUserCreateResp
- type UserSimpleListResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentCreateForm ¶
type EnvironmentCreateForm struct { Name string `json:"name,omitempty" validate:"required"` Namespace string `json:"namespace,omitempty" validate:"required"` Remark string `json:"remark,omitempty" validate:"required"` MetaType string `json:"metaType,omitempty" validate:"required"` DeletePolicy string `json:"deletePolicy,omitempty" validate:"required"` Cluster string `json:"cluster,omitempty" validate:"required"` Project string `json:"project,omitempty" validate:"required"` ResourceQuota string `json:"resourceQuota,omitempty" validate:"required,json"` LimitRange string `json:"limitRange,omitempty" validate:"required,json"` ProjectID uint `json:"projectID,omitempty"` ClusterID uint `json:"clusterID,omitempty"` CreatorID uint `json:"creatorID,omitempty"` }
type EnvironmentListResp ¶
type EnvironmentListResp struct { handlers.ListBase Data []models.EnvironmentCommon `json:"list"` }
type EnvironmentResourceResp ¶
type EnvironmentResourceResp struct { handlers.RespBase Data models.EnvironmentResource `json:"data"` }
type EnvironmentResp ¶
type EnvironmentResp struct { handlers.RespBase Data models.Environment `json:"data"` }
type EnvironmentUserRelsResp ¶
type EnvironmentUserRelsResp struct { handlers.RespBase Data models.EnvironmentUserRels `json:"data"` }
type EnvironmentUserRole ¶
type Handler ¶
type Handler struct {
base.BaseHandler
}
func (*Handler) AddOrModifyEnvironmentMembers ¶
func (h *Handler) AddOrModifyEnvironmentMembers(req *restful.Request, resp *restful.Response)
func (*Handler) AddTenantMember ¶
func (h *Handler) AddTenantMember(req *restful.Request, resp *restful.Response)
func (*Handler) CreatePorject ¶
func (h *Handler) CreatePorject(req *restful.Request, resp *restful.Response)
func (*Handler) CreateProjectEnvironment ¶
func (h *Handler) CreateProjectEnvironment(req *restful.Request, resp *restful.Response)
func (*Handler) CreateTenant ¶
func (h *Handler) CreateTenant(req *restful.Request, resp *restful.Response)
func (*Handler) DeleteEnvironmentMember ¶
func (h *Handler) DeleteEnvironmentMember(req *restful.Request, resp *restful.Response)
func (*Handler) DeleteProject ¶
func (h *Handler) DeleteProject(req *restful.Request, resp *restful.Response)
func (*Handler) DeleteProjectEnvironment ¶
func (h *Handler) DeleteProjectEnvironment(req *restful.Request, resp *restful.Response)
func (*Handler) DeleteTenant ¶
func (h *Handler) DeleteTenant(req *restful.Request, resp *restful.Response)
func (*Handler) DeleteTenantMember ¶
func (h *Handler) DeleteTenantMember(req *restful.Request, resp *restful.Response)
func (*Handler) GetEnvironmentResourceAggregate ¶
func (h *Handler) GetEnvironmentResourceAggregate(req *restful.Request, resp *restful.Response)
func (*Handler) ListEnvironmentMembers ¶
func (h *Handler) ListEnvironmentMembers(req *restful.Request, resp *restful.Response)
func (*Handler) ListProjectEnvironment ¶
func (h *Handler) ListProjectEnvironment(req *restful.Request, resp *restful.Response)
func (*Handler) ListTenant ¶
func (h *Handler) ListTenant(req *restful.Request, resp *restful.Response)
func (*Handler) ListTenantMember ¶
func (h *Handler) ListTenantMember(req *restful.Request, resp *restful.Response)
func (*Handler) ListTenantProject ¶
func (h *Handler) ListTenantProject(req *restful.Request, resp *restful.Response)
func (*Handler) ModifyProjectEnvironment ¶
func (h *Handler) ModifyProjectEnvironment(req *restful.Request, resp *restful.Response)
func (*Handler) ModifyTenant ¶
func (h *Handler) ModifyTenant(req *restful.Request, resp *restful.Response)
func (*Handler) ModifyTenantMember ¶
func (h *Handler) ModifyTenantMember(req *restful.Request, resp *restful.Response)
func (*Handler) RetrieveProjectEnvironment ¶
func (h *Handler) RetrieveProjectEnvironment(req *restful.Request, resp *restful.Response)
func (*Handler) RetrieveTenant ¶
func (h *Handler) RetrieveTenant(req *restful.Request, resp *restful.Response)
func (*Handler) RetrieveTenantProject ¶
func (h *Handler) RetrieveTenantProject(req *restful.Request, resp *restful.Response)
func (*Handler) SwitchEnvironmentNetworkIsolate ¶
func (h *Handler) SwitchEnvironmentNetworkIsolate(req *restful.Request, resp *restful.Response)
type ProjectCreateForm ¶
type ProjectListResp ¶
type TenantCommonResp ¶
type TenantCommonResp struct { handlers.RespBase Data models.TenantCommon `json:"data"` }
type TenantCreateResp ¶
type TenantCreateResp struct { handlers.RespBase Data models.TenantSimple `json:"data"` }
type TenantListResp ¶
type TenantListResp struct { handlers.ListBase Data []models.TenantSimple `json:"list"` }
type TenantUserCreateForm ¶
type TenantUserCreateResp ¶
type TenantUserCreateResp struct { handlers.RespBase Data TenantUserCreateForm `json:"data"` }
type UserSimpleListResp ¶
type UserSimpleListResp struct { handlers.ListBase Data []models.UserSimple `json:"list"` }
Click to show internal directories.
Click to hide internal directories.