Documentation ¶
Overview ¶
Package handler is a package handling API requests for managing TFJobs. The primary purpose of handler is implementing the functionality needed by the TFJobs dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHTTPAPIHandler ¶
func CreateHTTPAPIHandler(client client.ClientManager) (http.Handler, error)
CreateHTTPAPIHandler creates the restful Container and defines the routes the API will serve
Types ¶
type APIHandler ¶
type APIHandler struct {
// contains filtered or unexported fields
}
APIHandler handles the API calls
type NamespaceList ¶
NamespaceList is a list of namespaces
type TFJobDetail ¶
TFJobDetail describe the specification of a TFJob if any and related pods
Click to show internal directories.
Click to hide internal directories.