Skip to content

Commit

Permalink
Update go import path
Browse files Browse the repository at this point in the history
  • Loading branch information
viovanov authored and Vlad Iovanov committed May 5, 2020
1 parent 414d33e commit e3d523a
Show file tree
Hide file tree
Showing 186 changed files with 526 additions and 488 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV GOPROXY $GOPROXY
ARG GO111MODULE="on"
ENV GO111MODULE $GO111MODULE

WORKDIR /go/src/code.cloudfoundry.org/cf-operator
WORKDIR /go/src/code.cloudfoundry.org/quarks-operator
# First, download dependencies so we can cache this layer
COPY go.mod .
COPY go.sum .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-s390x
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM s390x/golang:1.13.3 AS build
ARG GO111MODULE="on"
ENV GO111MODULE $GO111MODULE

WORKDIR /go/src/code.cloudfoundry.org/cf-operator
WORKDIR /go/src/code.cloudfoundry.org/quarks-operator
# First, download dependencies so we can cache this layer
COPY go.mod .
COPY go.sum .
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# cf-operator

[![godoc](https://godoc.org/code.cloudfoundry.org/cf-operator?status.svg)](https://godoc.org/code.cloudfoundry.org/cf-operator)
[![godoc](https://godoc.org/code.cloudfoundry.org/quarks-operator?status.svg)](https://godoc.org/code.cloudfoundry.org/quarks-operator)
[![master](https://ci.flintstone.cf.cloud.ibm.com/api/v1/teams/quarks/pipelines/cf-operator/badge)](https://ci.flintstone.cf.cloud.ibm.com/teams/quarks/pipelines/cf-operator)
[![go report card](https://goreportcard.com/badge/code.cloudfoundry.org/cf-operator)](https://goreportcard.com/report/code.cloudfoundry.org/cf-operator)
[![go report card](https://goreportcard.com/badge/code.cloudfoundry.org/quarks-operator)](https://goreportcard.com/report/code.cloudfoundry.org/quarks-operator)
[![Coveralls github](https://img.shields.io/coveralls/github/cloudfoundry-incubator/cf-operator.svg?style=flat)](https://coveralls.io/github/cloudfoundry-incubator/cf-operator?branch=HEAD)

|Nightly build|[![nightly](https://ci.flintstone.cf.cloud.ibm.com/api/v1/teams/quarks/pipelines/cf-operator-nightly/badge)](https://ci.flintstone.cf.cloud.ibm.com/teams/quarks/pipelines/cf-operator-nightly)|
|-|-|
| Nightly build | [![nightly](https://ci.flintstone.cf.cloud.ibm.com/api/v1/teams/quarks/pipelines/cf-operator-nightly/badge)](https://ci.flintstone.cf.cloud.ibm.com/teams/quarks/pipelines/cf-operator-nightly) |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

<img align="right" width="200" height="39" src="https://github.com/cloudfoundry-incubator/cf-operator/raw/master/docs/cf-operator-logo.png">

Expand Down
2 changes: 1 addition & 1 deletion bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ GIT_ROOT=${GIT_ROOT:-$(git rev-parse --show-toplevel)}
. "${GIT_ROOT}/bin/include/versioning"

BASEDIR="$(cd "$(dirname "$0")/.." && pwd)"
CGO_ENABLED=0 go build -o "${BASEDIR}/binaries/cf-operator" -ldflags="-X code.cloudfoundry.org/cf-operator/version.Version=${ARTIFACT_VERSION}" cmd/cf-operator/main.go
CGO_ENABLED=0 go build -o "${BASEDIR}/binaries/cf-operator" -ldflags="-X code.cloudfoundry.org/quarks-operator/version.Version=${ARTIFACT_VERSION}" cmd/cf-operator/main.go
2 changes: 1 addition & 1 deletion bin/build-container-run
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if [[ "${BASEDIR}" == "" ]]; then
>&2 echo "missing basedir"
exit 1
fi
CGO_ENABLED=0 go build -ldflags="-s -w" -o "${BASEDIR}/container-run" code.cloudfoundry.org/cf-operator/container-run/cmd
CGO_ENABLED=0 go build -ldflags="-s -w" -o "${BASEDIR}/container-run" code.cloudfoundry.org/quarks-operator/container-run/cmd
4 changes: 2 additions & 2 deletions bin/gen-kube
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
GROUP_VERSIONS="boshdeployment:v1alpha1 quarksstatefulset:v1alpha1 quarkssecret:v1alpha1"

env GO111MODULE="$GO111MODULE" "${CODEGEN_PKG}/generate-groups.sh" "deepcopy,client,lister" \
code.cloudfoundry.org/cf-operator/pkg/kube/client \
code.cloudfoundry.org/cf-operator/pkg/kube/apis \
code.cloudfoundry.org/quarks-operator/pkg/kube/client \
code.cloudfoundry.org/quarks-operator/pkg/kube/apis \
"${GROUP_VERSIONS}" \
--go-header-file "${GIT_ROOT}/gen/header.go.txt"
12 changes: 6 additions & 6 deletions bin/test-integration
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ trap cleanup_testing_tmp EXIT
# Run code coverage only in CI
COV_ARG=""
if [ ${COVERAGE+x} ]; then
pkgs="code.cloudfoundry.org/cf-operator/pkg/bosh/...,\
code.cloudfoundry.org/cf-operator/pkg/credsgen/...,\
code.cloudfoundry.org/cf-operator/pkg/kube/controllers/...,\
code.cloudfoundry.org/cf-operator/pkg/kube/operator/...,\
code.cloudfoundry.org/cf-operator/pkg/kube/util/...,\
code.cloudfoundry.org/cf-operator/pkg/kube/config/..."
pkgs="code.cloudfoundry.org/quarks-operator/pkg/bosh/...,\
code.cloudfoundry.org/quarks-operator/pkg/credsgen/...,\
code.cloudfoundry.org/quarks-operator/pkg/kube/controllers/...,\
code.cloudfoundry.org/quarks-operator/pkg/kube/operator/...,\
code.cloudfoundry.org/quarks-operator/pkg/kube/util/...,\
code.cloudfoundry.org/quarks-operator/pkg/kube/config/..."
pkgs=${pkgs// /}
COV_ARG="-cover -outputdir=./code-coverage -coverprofile=integration$name.coverprofile -coverpkg $pkgs"
mkdir -p code-coverage
Expand Down
2 changes: 1 addition & 1 deletion cmd/cf-operator/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import cmd "code.cloudfoundry.org/cf-operator/cmd/internal"
import cmd "code.cloudfoundry.org/quarks-operator/cmd/internal"

func main() {
cmd.Execute()
Expand Down
2 changes: 1 addition & 1 deletion cmd/gen-command-docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

cmd "code.cloudfoundry.org/cf-operator/cmd/internal"
cmd "code.cloudfoundry.org/quarks-operator/cmd/internal"
"github.com/spf13/cobra/doc"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/internal/instance_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"github.com/spf13/viper"
"sigs.k8s.io/yaml"

"code.cloudfoundry.org/cf-operator/pkg/bosh/converter"
"code.cloudfoundry.org/cf-operator/pkg/bosh/manifest"
"code.cloudfoundry.org/cf-operator/pkg/bosh/qjobs"
"code.cloudfoundry.org/cf-operator/pkg/kube/util/boshdns"
"code.cloudfoundry.org/quarks-operator/pkg/bosh/converter"
"code.cloudfoundry.org/quarks-operator/pkg/bosh/manifest"
"code.cloudfoundry.org/quarks-operator/pkg/bosh/qjobs"
"code.cloudfoundry.org/quarks-operator/pkg/kube/util/boshdns"
"code.cloudfoundry.org/quarks-utils/pkg/cmd"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/internal/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (
"sigs.k8s.io/controller-runtime/pkg/manager"
"sigs.k8s.io/controller-runtime/pkg/manager/signals"

"code.cloudfoundry.org/cf-operator/pkg/kube/operator"
"code.cloudfoundry.org/cf-operator/pkg/kube/util/boshdns"
"code.cloudfoundry.org/cf-operator/pkg/kube/util/operatorimage"
"code.cloudfoundry.org/cf-operator/version"
"code.cloudfoundry.org/quarks-operator/pkg/kube/operator"
"code.cloudfoundry.org/quarks-operator/pkg/kube/util/boshdns"
"code.cloudfoundry.org/quarks-operator/pkg/kube/util/operatorimage"
"code.cloudfoundry.org/quarks-operator/version"
"code.cloudfoundry.org/quarks-utils/pkg/cmd"
"code.cloudfoundry.org/quarks-utils/pkg/config"
"code.cloudfoundry.org/quarks-utils/pkg/ctxlog"
Expand Down
4 changes: 2 additions & 2 deletions cmd/internal/trender.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"code.cloudfoundry.org/cf-operator/pkg/bosh/bpmconverter"
"code.cloudfoundry.org/cf-operator/pkg/bosh/manifest"
"code.cloudfoundry.org/quarks-operator/pkg/bosh/bpmconverter"
"code.cloudfoundry.org/quarks-operator/pkg/bosh/manifest"
"code.cloudfoundry.org/quarks-utils/pkg/cmd"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/internal/varinterpolation.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"code.cloudfoundry.org/cf-operator/pkg/bosh/manifest"
"code.cloudfoundry.org/quarks-operator/pkg/bosh/manifest"
"code.cloudfoundry.org/quarks-utils/pkg/cmd"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"runtime"

"code.cloudfoundry.org/cf-operator/version"
"code.cloudfoundry.org/quarks-operator/version"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions container-run/cmd/containerrun/cmd.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package containerrun

import (
"net"
"os"
"os/exec"
"time"
"net"

"github.com/spf13/cobra"

pkg "code.cloudfoundry.org/cf-operator/container-run/pkg/containerrun"
pkg "code.cloudfoundry.org/quarks-operator/container-run/pkg/containerrun"
)

// NewContainerRunCmd constructs a new container-run command.
Expand Down
4 changes: 2 additions & 2 deletions container-run/cmd/containerrun/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

. "code.cloudfoundry.org/cf-operator/container-run/cmd/containerrun"
pkg "code.cloudfoundry.org/cf-operator/container-run/pkg/containerrun"
. "code.cloudfoundry.org/quarks-operator/container-run/cmd/containerrun"
pkg "code.cloudfoundry.org/quarks-operator/container-run/pkg/containerrun"
)

var _ = Describe("NewContainerRunCmd", func() {
Expand Down
2 changes: 1 addition & 1 deletion container-run/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"code.cloudfoundry.org/cf-operator/container-run/cmd/containerrun"
"code.cloudfoundry.org/quarks-operator/container-run/cmd/containerrun"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion container-run/pkg/containerrun/containerrun.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package containerrun

//go:generate mockgen -destination=./mocks/mock_containerrun.go -package=mocks code.cloudfoundry.org/cf-operator/container-run/pkg/containerrun Runner,Checker,Process,OSProcess,ExecCommandContext,PacketListener,PacketConnection
//go:generate mockgen -destination=./mocks/mock_containerrun.go -package=mocks code.cloudfoundry.org/quarks-operator/container-run/pkg/containerrun Runner,Checker,Process,OSProcess,ExecCommandContext,PacketListener,PacketConnection
//go:generate mockgen -destination=./mocks/mock_context.go -package=mocks context Context

import (
Expand Down
Loading

0 comments on commit e3d523a

Please sign in to comment.