Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInferenceRepository ¶
func NewInferenceRepository(mapper InferenceMapper) repository.Inference
func NewSpaceAppRepository ¶ added in v1.5.0
func NewSpaceAppRepository() (repository.SpaceAppRepository, error)
Types ¶
type InferenceDO ¶
type InferenceDetailDO ¶
type InferenceDetailDO = domain.InferenceDetail
type InferenceIndexDO ¶
type InferenceIndexDO struct { Id string LastCommit string Project repositories.ResourceIndexDO }
type InferenceMapper ¶
type InferenceMapper interface { Insert(*InferenceDO, int) (string, error) Get(*InferenceIndexDO) (InferenceSummaryDO, error) UpdateDetail(*InferenceIndexDO, *InferenceDetailDO) error List(*repositories.ResourceIndexDO, string) ([]InferenceSummaryDO, int, error) }
type InferenceSummaryDO ¶
type InferenceSummaryDO struct { Id string InferenceDetailDO }
type SpaceAppDAO ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.