Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildListFilters ¶
type GetBuildListOpts ¶
type GetBuildListOpts struct { ArtifactID []string ArtifactKinds []yolopb.Artifact_Kind WithArtifact bool BuildID []string BuildState []yolopb.Build_State BuildDriver []yolopb.Driver ProjectID []string MergeRequestID []string MergeRequestAuthorID []string MergeRequestState []yolopb.MergeRequest_State Branch []string Limit int32 }
type Store ¶
type Store interface { // artifacts store GetArtifactByID(id string) (*yolopb.Artifact, error) GetAllArtifactsWithoutBundleID() ([]*yolopb.Artifact, error) SaveArtifact(artifact *yolopb.Artifact) error // build store GetBuildListFilters() (*BuildListFilters, error) GetLastBuild(driver yolopb.Driver) (*yolopb.Build, error) GetBuildList(bl GetBuildListOpts) ([]*yolopb.Build, error) // batch store GetBatchWithPreloading() (*yolopb.Batch, error) GetBatch() (*yolopb.Batch, error) SaveBatch(batch *yolopb.Batch) error // download store GetDumpWithPreloading() ([]*yolopb.Download, error) CreateDownload(download *yolopb.Download) error // internal DB() *gorm.DB }
Click to show internal directories.
Click to hide internal directories.