Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
tank
Commits
e6072d9c
Verified
Commit
e6072d9c
authored
4 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
feat: add ListJobsForShows
parent
1427073f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
importer/importer.go
+4
-0
4 additions, 0 deletions
importer/importer.go
with
4 additions
and
0 deletions
importer/importer.go
+
4
−
0
View file @
e6072d9c
...
...
@@ -49,6 +49,10 @@ func (im *Importer) ListJobs(showID uint64, offset, limit int) ([]*Job, error) {
return
im
.
jobs
.
ListJobs
(
showID
,
offset
,
limit
),
nil
// for now error is always nil but this might change later
}
func
(
im
*
Importer
)
ListJobsForShows
(
showIDs
[]
uint64
,
offset
int
,
limit
int
)
([]
*
Job
,
error
)
{
return
im
.
jobs
.
ListJobsForShows
(
showIDs
,
offset
,
limit
),
nil
// for now error is always nil but this might change later
}
func
(
im
*
Importer
)
ParseAndVerifySourceURI
(
uri
string
)
(
*
SourceURL
,
error
)
{
src
,
err
:=
url
.
Parse
(
uri
)
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment