File tree 2 files changed +0
-36
lines changed
2 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ import (
17
17
"github.com/containerd/containerd/mount"
18
18
"github.com/distribution/reference"
19
19
"github.com/docker/docker/pkg/idtools"
20
- gogotypes "github.com/gogo/protobuf/types"
21
- "github.com/golang/protobuf/ptypes/any"
22
20
apitypes "github.com/moby/buildkit/api/types"
23
21
"github.com/moby/buildkit/cache"
24
22
cacheutil "github.com/moby/buildkit/cache/util"
@@ -1516,22 +1514,6 @@ func (*markTypeFrontend) SetImageOption(ii *llb.ImageInfo) {
1516
1514
ii .RecordType = string (client .UsageRecordTypeFrontend )
1517
1515
}
1518
1516
1519
- func convertGogoAny (in []* gogotypes.Any ) []* any.Any {
1520
- out := make ([]* any.Any , len (in ))
1521
- for i := range in {
1522
- out [i ] = & any.Any {TypeUrl : in [i ].TypeUrl , Value : in [i ].Value }
1523
- }
1524
- return out
1525
- }
1526
-
1527
- func convertToGogoAny (in []* any.Any ) []* gogotypes.Any {
1528
- out := make ([]* gogotypes.Any , len (in ))
1529
- for i := range in {
1530
- out [i ] = & gogotypes.Any {TypeUrl : in [i ].TypeUrl , Value : in [i ].Value }
1531
- }
1532
- return out
1533
- }
1534
-
1535
1517
func getCaps (label string ) map [string ]struct {} {
1536
1518
if label == "" {
1537
1519
return make (map [string ]struct {})
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ import (
12
12
"syscall"
13
13
"time"
14
14
15
- gogotypes "github.com/gogo/protobuf/types"
16
- "github.com/golang/protobuf/ptypes/any"
17
15
"github.com/moby/buildkit/client/llb"
18
16
"github.com/moby/buildkit/frontend/gateway/client"
19
17
pb "github.com/moby/buildkit/frontend/gateway/pb"
@@ -1228,19 +1226,3 @@ func workers() []client.WorkerInfo {
1228
1226
func product () string {
1229
1227
return os .Getenv ("BUILDKIT_EXPORTEDPRODUCT" )
1230
1228
}
1231
-
1232
- func convertGogoAny (in []* gogotypes.Any ) []* any.Any {
1233
- out := make ([]* any.Any , len (in ))
1234
- for i := range in {
1235
- out [i ] = & any.Any {TypeUrl : in [i ].TypeUrl , Value : in [i ].Value }
1236
- }
1237
- return out
1238
- }
1239
-
1240
- func convertToGogoAny (in []* any.Any ) []* gogotypes.Any {
1241
- out := make ([]* gogotypes.Any , len (in ))
1242
- for i := range in {
1243
- out [i ] = & gogotypes.Any {TypeUrl : in [i ].TypeUrl , Value : in [i ].Value }
1244
- }
1245
- return out
1246
- }
You can’t perform that action at this time.
0 commit comments