Documentation ¶
Index ¶
- Constants
- Variables
- type Block
- type ConfigMapsList
- type Decoder
- type JobType
- type JobView
- type KatibUIHandler
- func (k *KatibUIHandler) AddTemplate(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) DeleteExperiment(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) DeleteTemplate(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) EditTemplate(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchAllHPJobs(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchAllNASJobs(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchExperiment(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchHPJobInfo(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchHPJobTrialInfo(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchNASJobInfo(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchNamespaces(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchSuggestion(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) FetchTrialTemplates(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) SubmitParamsJob(w http.ResponseWriter, r *http.Request)
- func (k *KatibUIHandler) SubmitYamlJob(w http.ResponseWriter, r *http.Request)
- type NNView
- type Option
- type TemplatesList
- type TrialTemplatesResponse
- type TrialTemplatesView
Constants ¶
View Source
const ( JobTypeHP = "HP" JobTypeNAS = "NAS" ActionTypeAdd = "add" ActionTypeEdit = "edit" ActionTypeDelete = "delete" )
Variables ¶
View Source
var ( TrialTemplateLabel = map[string]string{ consts.LabelTrialTemplateConfigMapName: consts.LabelTrialTemplateConfigMapValue} )
Functions ¶
This section is empty.
Types ¶
type ConfigMapsList ¶
type ConfigMapsList struct { ConfigMapName string TemplatesList []TemplatesList }
type KatibUIHandler ¶
type KatibUIHandler struct {
// contains filtered or unexported fields
}
func NewKatibUIHandler ¶
func NewKatibUIHandler() *KatibUIHandler
func (*KatibUIHandler) AddTemplate ¶
func (k *KatibUIHandler) AddTemplate(w http.ResponseWriter, r *http.Request)
AddTemplate adds template to ConfigMap TODO: Add functionality to create new ConfigMap
func (*KatibUIHandler) DeleteExperiment ¶
func (k *KatibUIHandler) DeleteExperiment(w http.ResponseWriter, r *http.Request)
func (*KatibUIHandler) DeleteTemplate ¶
func (k *KatibUIHandler) DeleteTemplate(w http.ResponseWriter, r *http.Request)
DeleteTemplate delete template in ConfigMap TODO: Add functionality to delete configMap if there is no templates
func (*KatibUIHandler) EditTemplate ¶
func (k *KatibUIHandler) EditTemplate(w http.ResponseWriter, r *http.Request)
EditTemplate edits template in ConfigMap
func (*KatibUIHandler) FetchAllHPJobs ¶
func (k *KatibUIHandler) FetchAllHPJobs(w http.ResponseWriter, r *http.Request)
FetchAllHPJobs gets experiments in all namespaces.
func (*KatibUIHandler) FetchAllNASJobs ¶
func (k *KatibUIHandler) FetchAllNASJobs(w http.ResponseWriter, r *http.Request)
func (*KatibUIHandler) FetchExperiment ¶
func (k *KatibUIHandler) FetchExperiment(w http.ResponseWriter, r *http.Request)
FetchExperiment gets experiment in specific namespace.
func (*KatibUIHandler) FetchHPJobInfo ¶
func (k *KatibUIHandler) FetchHPJobInfo(w http.ResponseWriter, r *http.Request)
func (*KatibUIHandler) FetchHPJobTrialInfo ¶
func (k *KatibUIHandler) FetchHPJobTrialInfo(w http.ResponseWriter, r *http.Request)
FetchHPJobTrialInfo returns all metrics for the HP Job Trial
func (*KatibUIHandler) FetchNASJobInfo ¶
func (k *KatibUIHandler) FetchNASJobInfo(w http.ResponseWriter, r *http.Request)
func (*KatibUIHandler) FetchNamespaces ¶
func (k *KatibUIHandler) FetchNamespaces(w http.ResponseWriter, r *http.Request)
func (*KatibUIHandler) FetchSuggestion ¶
func (k *KatibUIHandler) FetchSuggestion(w http.ResponseWriter, r *http.Request)
FetchSuggestion gets suggestion in specific namespace
func (*KatibUIHandler) FetchTrialTemplates ¶
func (k *KatibUIHandler) FetchTrialTemplates(w http.ResponseWriter, r *http.Request)
FetchTrialTemplates gets all trial templates in all namespaces
func (*KatibUIHandler) SubmitParamsJob ¶
func (k *KatibUIHandler) SubmitParamsJob(w http.ResponseWriter, r *http.Request)
func (*KatibUIHandler) SubmitYamlJob ¶
func (k *KatibUIHandler) SubmitYamlJob(w http.ResponseWriter, r *http.Request)
type TemplatesList ¶
type TrialTemplatesResponse ¶
type TrialTemplatesResponse struct {
Data []TrialTemplatesView
}
type TrialTemplatesView ¶
type TrialTemplatesView struct { Namespace string ConfigMapsList []ConfigMapsList }
Click to show internal directories.
Click to hide internal directories.