Documentation ¶
Index ¶
- func ConvertObjectToUnstructured(in interface{}) (*unstructured.Unstructured, error)
- func ConvertStringToUnstructured(in string) (*unstructured.Unstructured, error)
- func ConvertUnstructuredToString(in *unstructured.Unstructured) (string, error)
- func GetAlgorithmEndpoint(s *suggestionsv1beta1.Suggestion) string
- func GetEarlyStoppingEndpoint(s *suggestionsv1beta1.Suggestion) string
- func GetSuggestionDeploymentName(s *suggestionsv1beta1.Suggestion) string
- func GetSuggestionPersistentVolumeClaimName(s *suggestionsv1beta1.Suggestion) string
- func GetSuggestionPersistentVolumeName(s *suggestionsv1beta1.Suggestion) string
- func GetSuggestionRBACName(s *suggestionsv1beta1.Suggestion) string
- func GetSuggestionServiceName(s *suggestionsv1beta1.Suggestion) string
- func SuggestionAnnotations(instance *suggestionsv1beta1.Suggestion) map[string]string
- func SuggestionLabels(instance *suggestionsv1beta1.Suggestion) map[string]string
- func TrialLabels(instance *experimentsv1beta1.Experiment) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertObjectToUnstructured ¶
func ConvertObjectToUnstructured(in interface{}) (*unstructured.Unstructured, error)
ConvertObjectToUnstructured returns Unstructured from Kubernetes Object value
func ConvertStringToUnstructured ¶
func ConvertStringToUnstructured(in string) (*unstructured.Unstructured, error)
ConvertStringToUnstructured returns Unstructured from string value
func ConvertUnstructuredToString ¶
func ConvertUnstructuredToString(in *unstructured.Unstructured) (string, error)
ConvertUnstructuredToString returns string from Unstructured value
func GetAlgorithmEndpoint ¶
func GetAlgorithmEndpoint(s *suggestionsv1beta1.Suggestion) string
GetAlgorithmEndpoint returns the endpoint of the Suggestion service with HP or NAS algorithm
func GetEarlyStoppingEndpoint ¶ added in v0.10.0
func GetEarlyStoppingEndpoint(s *suggestionsv1beta1.Suggestion) string
GetEarlyStoppingEndpoint returns the endpoint of the EarlyStopping service
func GetSuggestionDeploymentName ¶ added in v0.10.0
func GetSuggestionDeploymentName(s *suggestionsv1beta1.Suggestion) string
GetSuggestionDeploymentName returns name for the suggestion's deployment
func GetSuggestionPersistentVolumeClaimName ¶ added in v0.10.0
func GetSuggestionPersistentVolumeClaimName(s *suggestionsv1beta1.Suggestion) string
GetSuggestionPersistentVolumeClaimName returns name for the suggestion's PVC
func GetSuggestionPersistentVolumeName ¶ added in v0.10.0
func GetSuggestionPersistentVolumeName(s *suggestionsv1beta1.Suggestion) string
GetSuggestionPersistentVolumeName returns name for the suggestion's PV
func GetSuggestionRBACName ¶ added in v0.10.0
func GetSuggestionRBACName(s *suggestionsv1beta1.Suggestion) string
GetSuggestionRBACName returns name for the suggestion's ServiceAccount, Role and RoleBinding
func GetSuggestionServiceName ¶ added in v0.10.0
func GetSuggestionServiceName(s *suggestionsv1beta1.Suggestion) string
GetSuggestionServiceName returns name for the suggestion's service
func SuggestionAnnotations ¶
func SuggestionAnnotations(instance *suggestionsv1beta1.Suggestion) map[string]string
SuggestionAnnotations returns the expected suggestion annotations.
func SuggestionLabels ¶
func SuggestionLabels(instance *suggestionsv1beta1.Suggestion) map[string]string
SuggestionLabels returns the expected suggestion labels.
func TrialLabels ¶
func TrialLabels(instance *experimentsv1beta1.Experiment) map[string]string
TrialLabels returns the expected trial labels.
Types ¶
This section is empty.