Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectiveSpec ¶
type ObjectiveSpec struct { Type ObjectiveType `json:"type,omitempty"` Goal *float64 `json:"goal,omitempty"` ObjectiveMetricName string `json:"objectiveMetricName,omitempty"` // This can be empty if we only care about the objective metric. // Note: If we adopt a push instead of pull mechanism, this can be omitted completely. AdditionalMetricNames []string `json:"additionalMetricNames,omitempty"` }
+k8s:deepcopy-gen=true
func (*ObjectiveSpec) DeepCopy ¶
func (in *ObjectiveSpec) DeepCopy() *ObjectiveSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectiveSpec.
func (*ObjectiveSpec) DeepCopyInto ¶
func (in *ObjectiveSpec) DeepCopyInto(out *ObjectiveSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectiveType ¶
type ObjectiveType string
const ( ObjectiveTypeUnknown ObjectiveType = "" ObjectiveTypeMinimize ObjectiveType = "minimize" ObjectiveTypeMaximize ObjectiveType = "maximize" )
type Observation ¶
type Observation struct { // Key-value pairs for metric names and values Metrics []Metric `json:"metrics"` }
+k8s:deepcopy-gen=true
func (*Observation) DeepCopy ¶
func (in *Observation) DeepCopy() *Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Observation.
func (*Observation) DeepCopyInto ¶
func (in *Observation) DeepCopyInto(out *Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParameterAssignment ¶
Click to show internal directories.
Click to hide internal directories.