package
Version:
v1.21.6
Opens a new window with list of versions in this module.
Published: Sep 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ApproveStatusPending = "pending"
ApproveStatusApproved = "approved"
ApproveStatusRejected = "rejected"
ApplyKindQuotaApply = "clusterQuota"
)
type Approve struct {
Title string `json:"title,omitempty"`
Kind ApplyKind `json:"kind,omitempty"`
KindID uint `json:"recordID,omitempty"`
Content interface{} `json:"content,omitempty"`
Time time.Time `json:"time,omitempty"`
Status string `json:"status,omitempty"`
}
func (*Handler) Action ¶
func (h *Handler) Action(req *restful.Request, resp *restful.Response)
func (*Handler) List ¶
func (h *Handler) List(req *restful.Request, resp *restful.Response)
List List Approve which status is not approved
func (*Handler) Regist ¶
func (h *Handler) Regist(container *restful.Container)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.