From f96ea3bbfb0d3585ba808714cd92220bf3132849 Mon Sep 17 00:00:00 2001 From: Cole Wippern Date: Fri, 17 Jan 2020 14:56:12 -0800 Subject: [PATCH] hand edit mock license for some reason hack/boilerplate.sh failed after using `addlicense` so I copy/pasted the license header from another file --- .../go-containerregistry/mock_v1/mocks.go | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/pkg/mocks/go-containerregistry/mock_v1/mocks.go b/pkg/mocks/go-containerregistry/mock_v1/mocks.go index b2e18db84..d547f05a8 100644 --- a/pkg/mocks/go-containerregistry/mock_v1/mocks.go +++ b/pkg/mocks/go-containerregistry/mock_v1/mocks.go @@ -1,16 +1,18 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* +Copyright 2020 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/google/go-containerregistry/pkg/v1 (interfaces: Layer) @@ -19,11 +21,12 @@ package mock_v1 import ( + io "io" + reflect "reflect" + gomock "github.com/golang/mock/gomock" v1 "github.com/google/go-containerregistry/pkg/v1" types "github.com/google/go-containerregistry/pkg/v1/types" - io "io" - reflect "reflect" ) // MockLayer is a mock of Layer interface