File tree 5 files changed +21
-19
lines changed
5 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 6
6
executors :
7
7
node :
8
8
docker :
9
- - image : node:17 -slim
9
+ - image : node:18 -slim
10
10
golangci-lint :
11
11
docker :
12
- - image : golangci/golangci-lint:v1.47
12
+ - image : golangci/golangci-lint:v1.48
13
13
golang-previous :
14
14
docker :
15
- - image : golang:1.17
15
+ - image : golang:1.18
16
16
golang-latest :
17
17
docker :
18
- - image : golang:1.18
18
+ - image : golang:1.19
19
19
20
20
jobs :
21
21
lint-markdown :
Original file line number Diff line number Diff line change @@ -236,8 +236,9 @@ type ArchImageTag struct {
236
236
237
237
// ArchTagMap is a mapping of a string architecture to a TagMap, and hence to
238
238
// Images.
239
- // e.g. {
240
- // "amd64": { "latest": 507f1f77bcf86cd799439011 },
241
- // "ppc64le": { "latest": 507f1f77bcf86cd799439012 },
242
- // }
239
+ //
240
+ // e.g. {
241
+ // "amd64": { "latest": 507f1f77bcf86cd799439011 },
242
+ // "ppc64le": { "latest": 507f1f77bcf86cd799439012 },
243
+ // }
243
244
type ArchTagMap map [string ]TagMap
Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ var (
40
40
//
41
41
// Examples of valid URIs:
42
42
//
43
- // library:path:tags
44
- // library:/path:tags
45
- // library:///path:tags
46
- // library://host/path:tags
47
- // library://host:port/path:tags
43
+ // library:path:tags
44
+ // library:/path:tags
45
+ // library:///path:tags
46
+ // library://host/path:tags
47
+ // library://host:port/path:tags
48
48
//
49
49
// The tags component is a comma-separated list of one or more tags.
50
50
type Ref struct {
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ import (
26
26
//
27
27
// Match all collections with name "thename":
28
28
//
29
- // c.Search(ctx, map[string]string{"value": "thename"})
29
+ // c.Search(ctx, map[string]string{"value": "thename"})
30
30
//
31
31
// Match all images with name "imagename" and arch "amd64"
32
32
//
33
- // c.Search(ctx, map[string]string{
34
- // "value": "imagename",
35
- // "arch": "amd64"
36
- // })
33
+ // c.Search(ctx, map[string]string{
34
+ // "value": "imagename",
35
+ // "arch": "amd64"
36
+ // })
37
37
//
38
38
// Note: if 'arch' and/or 'signed' are specified, the search is limited in
39
39
// scope only to the "Image" collection.
Original file line number Diff line number Diff line change @@ -133,7 +133,8 @@ func PrettyPrint(v interface{}) {
133
133
}
134
134
135
135
// ImageHash returns the appropriate hash for a provided image file
136
- // e.g. sif.<uuid> or sha256.<sha256>
136
+ //
137
+ // e.g. sif.<uuid> or sha256.<sha256>
137
138
func ImageHash (filePath string ) (result string , err error ) {
138
139
// Currently using sha256 always
139
140
// TODO - use sif uuid for sif files!
You can’t perform that action at this time.
0 commit comments