Documentation
¶
Index ¶
Constants ¶
View Source
const ( RunID = "run_id" RunName = "run_name" Created = "created" StartTime = "start_time" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompareExpr ¶
type CompareExpr struct { Left Identifier Operator OperatorKind Right Value }
a operator b.
func (*CompareExpr) String ¶
func (expr *CompareExpr) String() string
type Identifier ¶
identifier.key expression, like metric.foo.
func (Identifier) String ¶
func (i Identifier) String() string
type NumberExpr ¶
type NumberExpr struct {
Value float64
}
func (NumberExpr) String ¶
func (n NumberExpr) String() string
type OperatorKind ¶
type OperatorKind int
const ( Equals OperatorKind = iota NotEquals Less LessEquals Greater GreaterEquals Like ILike In //nolint:varnamelen NotIn )
func (OperatorKind) String ¶
func (op OperatorKind) String() string
type StringExpr ¶
type StringExpr struct {
Value string
}
func (StringExpr) String ¶
func (n StringExpr) String() string
type StringListExpr ¶
type StringListExpr struct {
Values []string
}
func (StringListExpr) String ¶
func (n StringListExpr) String() string
type ValidCompareExpr ¶
type ValidCompareExpr struct { Identifier ValidIdentifier Key string Operator OperatorKind Value interface{} }
func ValidateExpression ¶
func ValidateExpression(expression *CompareExpr) (*ValidCompareExpr, error)
Validate an expression according to the mlflow domain. This represent is a simple type-checker for the expression. Not every identifier is valid according to the mlflow domain. The same for the value part.
func (ValidCompareExpr) String ¶
func (v ValidCompareExpr) String() string
type ValidIdentifier ¶
type ValidIdentifier int
const ( Metric ValidIdentifier = iota Parameter Tag Attribute Dataset )
func (ValidIdentifier) String ¶
func (v ValidIdentifier) String() string
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func NewValidationError ¶
func NewValidationError(format string, a ...interface{}) *ValidationError
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.