Documentation ¶
Index ¶
- func GetVersion(w http.ResponseWriter, r *http.Request)
- func InStringArray(k string, ss []string) bool
- func InitRouters() (s *http.Server, err error)
- func SubtractStringArray(a, b []string) (c []string)
- func UniqueStringArray(a []string) []string
- type BaseHandler
- type ByProcTime
- type Configuration
- type Info
- type Job
- func (j *Job) ChangeJobStatus(w http.ResponseWriter, r *http.Request)
- func (j *Job) DeleteJob(w http.ResponseWriter, r *http.Request)
- func (j *Job) GetExecutingJob(w http.ResponseWriter, r *http.Request)
- func (j *Job) GetGroups(w http.ResponseWriter, r *http.Request)
- func (j *Job) GetJob(w http.ResponseWriter, r *http.Request)
- func (j *Job) GetJobNodes(w http.ResponseWriter, r *http.Request)
- func (j *Job) GetList(w http.ResponseWriter, r *http.Request)
- func (j *Job) JobExecute(w http.ResponseWriter, r *http.Request)
- func (j *Job) UpdateJob(w http.ResponseWriter, r *http.Request)
- type JobLog
- type Node
- func (n *Node) DeleteGroup(w http.ResponseWriter, r *http.Request)
- func (n *Node) GetGroupByGroupId(w http.ResponseWriter, r *http.Request)
- func (n *Node) GetGroups(w http.ResponseWriter, r *http.Request)
- func (n *Node) GetNodes(w http.ResponseWriter, r *http.Request)
- func (n *Node) UpdateGroup(w http.ResponseWriter, r *http.Request)
- type ProcFetchOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion(w http.ResponseWriter, r *http.Request)
func InStringArray ¶
func InitRouters ¶
func SubtractStringArray ¶
返回存在于 a 且不存在于 b 中的元素集合
func UniqueStringArray ¶
Types ¶
type BaseHandler ¶
type BaseHandler struct {
Handle func(w http.ResponseWriter, r *http.Request)
}
func (BaseHandler) ServeHTTP ¶
func (b BaseHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ByProcTime ¶
func (ByProcTime) Len ¶
func (a ByProcTime) Len() int
func (ByProcTime) Less ¶
func (a ByProcTime) Less(i, j int) bool
func (ByProcTime) Swap ¶
func (a ByProcTime) Swap(i, j int)
type Configuration ¶
type Configuration struct{}
func (*Configuration) Configuratios ¶
func (cnf *Configuration) Configuratios(w http.ResponseWriter, r *http.Request)
type Job ¶
type Job struct{}
func (*Job) ChangeJobStatus ¶
func (j *Job) ChangeJobStatus(w http.ResponseWriter, r *http.Request)
func (*Job) GetExecutingJob ¶
func (j *Job) GetExecutingJob(w http.ResponseWriter, r *http.Request)
func (*Job) GetJobNodes ¶
func (j *Job) GetJobNodes(w http.ResponseWriter, r *http.Request)
func (*Job) JobExecute ¶
func (j *Job) JobExecute(w http.ResponseWriter, r *http.Request)
type Node ¶
type Node struct{}
func (*Node) DeleteGroup ¶
func (n *Node) DeleteGroup(w http.ResponseWriter, r *http.Request)
func (*Node) GetGroupByGroupId ¶
func (n *Node) GetGroupByGroupId(w http.ResponseWriter, r *http.Request)
func (*Node) UpdateGroup ¶
func (n *Node) UpdateGroup(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.