Documentation
¶
Index ¶
Constants ¶
const TableNameArtifact = "Artifact"
const TableNameArtifactProperty = "ArtifactProperty"
const TableNameAssociation = "Association"
const TableNameAttribution = "Attribution"
const TableNameContext = "Context"
const TableNameContextProperty = "ContextProperty"
const TableNameEvent = "Event"
const TableNameEventPath = "EventPath"
const TableNameExecution = "Execution"
const TableNameExecutionProperty = "ExecutionProperty"
const TableNameMLMDEnv = "MLMDEnv"
const TableNameParentContext = "ParentContext"
const TableNameParentType = "ParentType"
const TableNameSchemaMigration = "schema_migrations"
const TableNameType = "Type"
const TableNameTypeProperty = "TypeProperty"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
URI *string `gorm:"column:uri" json:"uri"`
State *int32 `gorm:"column:state" json:"state"`
Name *string `gorm:"column:name" json:"name"`
ExternalID *string `gorm:"column:external_id" json:"external_id"`
CreateTimeSinceEpoch int64 `gorm:"column:create_time_since_epoch;not null" json:"create_time_since_epoch"`
LastUpdateTimeSinceEpoch int64 `gorm:"column:last_update_time_since_epoch;not null" json:"last_update_time_since_epoch"`
}
Artifact mapped from table <Artifact>
type ArtifactProperty ¶
type ArtifactProperty struct {
ArtifactID int32 `gorm:"column:artifact_id;primaryKey" json:"artifact_id"`
Name string `gorm:"column:name;primaryKey" json:"name"`
IsCustomProperty bool `gorm:"column:is_custom_property;primaryKey" json:"is_custom_property"`
IntValue *int32 `gorm:"column:int_value" json:"int_value"`
DoubleValue *float64 `gorm:"column:double_value" json:"double_value"`
StringValue *string `gorm:"column:string_value" json:"string_value"`
ByteValue *[]byte `gorm:"column:byte_value" json:"byte_value"`
ProtoValue *[]byte `gorm:"column:proto_value" json:"proto_value"`
BoolValue *bool `gorm:"column:bool_value" json:"bool_value"`
}
ArtifactProperty mapped from table <ArtifactProperty>
func (*ArtifactProperty) TableName ¶
func (*ArtifactProperty) TableName() string
TableName ArtifactProperty's table name
type Association ¶
type Association struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
ContextID int32 `gorm:"column:context_id;not null" json:"context_id"`
ExecutionID int32 `gorm:"column:execution_id;not null" json:"execution_id"`
}
Association mapped from table <Association>
func (*Association) TableName ¶
func (*Association) TableName() string
TableName Association's table name
type Attribution ¶
type Attribution struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
ContextID int32 `gorm:"column:context_id;not null" json:"context_id"`
ArtifactID int32 `gorm:"column:artifact_id;not null" json:"artifact_id"`
}
Attribution mapped from table <Attribution>
func (*Attribution) TableName ¶
func (*Attribution) TableName() string
TableName Attribution's table name
type Context ¶
type Context struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
Name string `gorm:"column:name;not null" json:"name"`
ExternalID *string `gorm:"column:external_id" json:"external_id"`
CreateTimeSinceEpoch int64 `gorm:"column:create_time_since_epoch;not null" json:"create_time_since_epoch"`
LastUpdateTimeSinceEpoch int64 `gorm:"column:last_update_time_since_epoch;not null" json:"last_update_time_since_epoch"`
}
Context mapped from table <Context>
type ContextProperty ¶
type ContextProperty struct {
ContextID int32 `gorm:"column:context_id;primaryKey" json:"context_id"`
Name string `gorm:"column:name;primaryKey" json:"name"`
IsCustomProperty bool `gorm:"column:is_custom_property;primaryKey" json:"is_custom_property"`
IntValue *int32 `gorm:"column:int_value" json:"int_value"`
DoubleValue *float64 `gorm:"column:double_value" json:"double_value"`
StringValue *string `gorm:"column:string_value" json:"string_value"`
ByteValue *[]byte `gorm:"column:byte_value" json:"byte_value"`
ProtoValue *[]byte `gorm:"column:proto_value" json:"proto_value"`
BoolValue *bool `gorm:"column:bool_value" json:"bool_value"`
}
ContextProperty mapped from table <ContextProperty>
func (*ContextProperty) TableName ¶
func (*ContextProperty) TableName() string
TableName ContextProperty's table name
type Event ¶
type Event struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
ArtifactID int32 `gorm:"column:artifact_id;not null" json:"artifact_id"`
ExecutionID int32 `gorm:"column:execution_id;not null" json:"execution_id"`
Type int32 `gorm:"column:type;not null" json:"type"`
MillisecondsSinceEpoch *int64 `gorm:"column:milliseconds_since_epoch" json:"milliseconds_since_epoch"`
}
Event mapped from table <Event>
type EventPath ¶
type EventPath struct {
EventID int32 `gorm:"column:event_id;not null" json:"event_id"`
IsIndexStep bool `gorm:"column:is_index_step;not null" json:"is_index_step"`
StepIndex *int32 `gorm:"column:step_index" json:"step_index"`
StepKey *string `gorm:"column:step_key" json:"step_key"`
}
EventPath mapped from table <EventPath>
type Execution ¶
type Execution struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
LastKnownState *int32 `gorm:"column:last_known_state" json:"last_known_state"`
Name *string `gorm:"column:name" json:"name"`
ExternalID *string `gorm:"column:external_id" json:"external_id"`
CreateTimeSinceEpoch int64 `gorm:"column:create_time_since_epoch;not null" json:"create_time_since_epoch"`
LastUpdateTimeSinceEpoch int64 `gorm:"column:last_update_time_since_epoch;not null" json:"last_update_time_since_epoch"`
}
Execution mapped from table <Execution>
type ExecutionProperty ¶
type ExecutionProperty struct {
ExecutionID int32 `gorm:"column:execution_id;primaryKey" json:"execution_id"`
Name string `gorm:"column:name;primaryKey" json:"name"`
IsCustomProperty bool `gorm:"column:is_custom_property;primaryKey" json:"is_custom_property"`
IntValue *int32 `gorm:"column:int_value" json:"int_value"`
DoubleValue *float64 `gorm:"column:double_value" json:"double_value"`
StringValue *string `gorm:"column:string_value" json:"string_value"`
ByteValue *[]byte `gorm:"column:byte_value" json:"byte_value"`
ProtoValue *[]byte `gorm:"column:proto_value" json:"proto_value"`
BoolValue *bool `gorm:"column:bool_value" json:"bool_value"`
}
ExecutionProperty mapped from table <ExecutionProperty>
func (*ExecutionProperty) TableName ¶
func (*ExecutionProperty) TableName() string
TableName ExecutionProperty's table name
type MLMDEnv ¶
type MLMDEnv struct {
SchemaVersion int32 `gorm:"column:schema_version;primaryKey" json:"schema_version"`
}
MLMDEnv mapped from table <MLMDEnv>
type ParentContext ¶
type ParentContext struct {
ContextID int32 `gorm:"column:context_id;primaryKey" json:"context_id"`
ParentContextID int32 `gorm:"column:parent_context_id;primaryKey" json:"parent_context_id"`
}
ParentContext mapped from table <ParentContext>
func (*ParentContext) TableName ¶
func (*ParentContext) TableName() string
TableName ParentContext's table name
type ParentType ¶
type ParentType struct {
TypeID int32 `gorm:"column:type_id;primaryKey" json:"type_id"`
ParentTypeID int32 `gorm:"column:parent_type_id;primaryKey" json:"parent_type_id"`
}
ParentType mapped from table <ParentType>
func (*ParentType) TableName ¶
func (*ParentType) TableName() string
TableName ParentType's table name
type SchemaMigration ¶
type SchemaMigration struct {
Version int64 `gorm:"column:version;primaryKey" json:"version"`
Dirty bool `gorm:"column:dirty;not null" json:"dirty"`
}
SchemaMigration mapped from table <schema_migrations>
func (*SchemaMigration) TableName ¶
func (*SchemaMigration) TableName() string
TableName SchemaMigration's table name
type Type ¶
type Type struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Version *string `gorm:"column:version" json:"version"`
TypeKind int32 `gorm:"column:type_kind;not null" json:"type_kind"`
Description *string `gorm:"column:description" json:"description"`
InputType *string `gorm:"column:input_type" json:"input_type"`
OutputType *string `gorm:"column:output_type" json:"output_type"`
ExternalID *string `gorm:"column:external_id" json:"external_id"`
}
Type mapped from table <Type>
type TypeProperty ¶
type TypeProperty struct {
TypeID int32 `gorm:"column:type_id;primaryKey" json:"type_id"`
Name string `gorm:"column:name;primaryKey" json:"name"`
DataType *int32 `gorm:"column:data_type" json:"data_type"`
}
TypeProperty mapped from table <TypeProperty>
func (*TypeProperty) TableName ¶
func (*TypeProperty) TableName() string
TableName TypeProperty's table name