Documentation ¶
Index ¶
- Constants
- Variables
- type Block
- type ConfigMap
- type Decoder
- type ExperimentView
- type JobType
- 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) FetchAllExperiments(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 Template
- type TrialTemplatesDataView
- type TrialTemplatesResponse
Constants ¶
View Source
const ( ExperimentTypeHP = "hp" ExperimentTypeNAS = "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 ExperimentView ¶ added in v0.10.0
type KatibUIHandler ¶
type KatibUIHandler struct {
// contains filtered or unexported fields
}
func NewKatibUIHandler ¶
func NewKatibUIHandler(dbManagerAddr string) *KatibUIHandler
func (*KatibUIHandler) AddTemplate ¶
func (k *KatibUIHandler) AddTemplate(w http.ResponseWriter, r *http.Request)
AddTemplate adds template to 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 deletes template in ConfigMap
func (*KatibUIHandler) EditTemplate ¶
func (k *KatibUIHandler) EditTemplate(w http.ResponseWriter, r *http.Request)
EditTemplate edits template in ConfigMap
func (*KatibUIHandler) FetchAllExperiments ¶ added in v0.10.0
func (k *KatibUIHandler) FetchAllExperiments(w http.ResponseWriter, r *http.Request)
FetchAllExperiments gets HP and NAS experiments in all namespaces.
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 TrialTemplatesDataView ¶ added in v0.10.0
type TrialTemplatesResponse ¶
type TrialTemplatesResponse struct {
Data []TrialTemplatesDataView
}
Click to show internal directories.
Click to hide internal directories.