repositoryimpl

package
v1.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

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 InferenceDO struct {
	Id           string
	ProjectId    string
	LastCommit   string
	ProjectName  string
	ProjectOwner string

	InferenceDetailDO
}

type InferenceDetailDO

type InferenceDetailDO = domain.InferenceDetail

type InferenceIndexDO

type InferenceIndexDO struct {
	Id         string
	LastCommit string
	Project    repositories.ResourceIndexDO
}

type InferenceSummaryDO

type InferenceSummaryDO struct {
	Id string

	InferenceDetailDO
}

type SpaceAppDAO added in v1.5.0

type SpaceAppDAO interface {
	DB() *gorm.DB
	EqualQuery(field string) string
	IsRecordExists(err error) bool
	UpdateWithOmittingSpecificFields(filter, values any, columns ...string) error
	GetRecord(filter, result any) error
	GetByPrimaryKey(row any) error
	Update(filter, values any) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL