Skip to content

Commit

Permalink
dep update go-containerregistry
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Jun 3, 2018
1 parent 3d750de commit 8b0a1a7
Show file tree
Hide file tree
Showing 107 changed files with 368 additions and 9,965 deletions.
36 changes: 15 additions & 21 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pkg/commands/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"path/filepath"
"strings"

"github.com/google/go-containerregistry/v1"
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/google/go-containerregistry/pkg/v1"

"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/arg.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package commands

import (
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
"strings"
)

type ArgCommand struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ limitations under the License.
package commands

import (
"testing"

"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"testing"
"github.com/google/go-containerregistry/pkg/v1"
)

var cmdTests = []struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package commands
import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/constants"
"os"
"path/filepath"
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/constants"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/entrypoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
)

var entrypointTests = []struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ limitations under the License.
package commands

import (
"testing"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"testing"
"github.com/google/go-containerregistry/pkg/v1"
)

func Test_EnvExecute(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/expose.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ package commands

import (
"fmt"
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/expose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"testing"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
)

func TestUpdateExposedPorts(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/label_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package commands

import (
"testing"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"testing"
"github.com/google/go-containerregistry/pkg/v1"
)

func TestUpdateLabels(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/onbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package commands
import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/onbuild_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"testing"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"

"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
)

var onbuildTests = []struct {
Expand Down
11 changes: 6 additions & 5 deletions pkg/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ limitations under the License.
package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/sirupsen/logrus"
"os"
"os/exec"
"strconv"
"strings"
"syscall"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
)

type RunCommand struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package commands

import (
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
"strings"
)

type ShellCommand struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
)

var shellTests = []struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/stopsignal.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ limitations under the License.
package commands

import (
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/docker/docker/pkg/signal"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
"strings"
)

type StopSignalCommand struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/stopsignal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ limitations under the License.
package commands

import (
"testing"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/testutil"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"testing"
"github.com/google/go-containerregistry/pkg/v1"
)

var stopsignalTests = []struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/commands/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package commands

import (
"strings"

"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/GoogleContainerTools/kaniko/pkg/util"
"github.com/docker/docker/builder/dockerfile/instructions"
"github.com/google/go-containerregistry/v1"
"github.com/google/go-containerregistry/pkg/v1"
"github.com/sirupsen/logrus"
"strings"
)

type UserCommand struct {
Expand Down
Loading

0 comments on commit 8b0a1a7

Please sign in to comment.