Documentation ¶
Index ¶
- Variables
- func GetEarlyStoppingConfigData(algorithmName string, client client.Client) (configv1beta1.EarlyStoppingConfig, error)
- func GetInitConfigData(scheme *runtime.Scheme, katibCfgPath string) (configv1beta1.InitConfig, error)
- func GetMetricsCollectorConfigData(cKind common.CollectorKind, client client.Client) (configv1beta1.MetricsCollectorConfig, error)
- func GetSuggestionConfigData(algorithmName string, client client.Client) (configv1beta1.SuggestionConfig, error)
- func TrialResourcesToGVKs(trialResources []string) ([]schema.GroupVersionKind, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKatibConfigNil = fmt.Errorf("failed to parse katib-config.yaml in ConfigMap: %s", consts.KatibConfigMapName) ErrInvalidGVKFormat = errors.New("invalid GroupVersionKinds") ErrTrialResourcesAreEmpty = errors.New("trialResources are empty") )
Functions ¶
func GetEarlyStoppingConfigData ¶ added in v0.10.0
func GetEarlyStoppingConfigData(algorithmName string, client client.Client) (configv1beta1.EarlyStoppingConfig, error)
GetEarlyStoppingConfigData gets the config data for the given early stopping algorithm name.
func GetInitConfigData ¶ added in v0.16.0
func GetInitConfigData(scheme *runtime.Scheme, katibCfgPath string) (configv1beta1.InitConfig, error)
GetInitConfigData gets the init config data.
func GetMetricsCollectorConfigData ¶
func GetMetricsCollectorConfigData(cKind common.CollectorKind, client client.Client) (configv1beta1.MetricsCollectorConfig, error)
GetMetricsCollectorConfigData gets the config data for the given collector kind.
func GetSuggestionConfigData ¶
func GetSuggestionConfigData(algorithmName string, client client.Client) (configv1beta1.SuggestionConfig, error)
GetSuggestionConfigData gets the config data for the given suggestion algorithm name.
func TrialResourcesToGVKs ¶ added in v0.16.0
func TrialResourcesToGVKs(trialResources []string) ([]schema.GroupVersionKind, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.