1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Rename repository to kube-arangodb

This commit is contained in:
Ewout Prangsma 2018-03-13 16:25:33 +01:00
parent e09dceb88a
commit c57ae2afd2
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698
76 changed files with 165 additions and 165 deletions

View file

@ -57,7 +57,7 @@ def buildCleanupSteps(String kubeConfigRoot, String kubeconfig) {
pipeline {
options {
buildDiscarder(logRotator(daysToKeepStr: '7', numToKeepStr: '10'))
lock resource: 'k8s-operator'
lock resource: 'kube-arangodb'
}
agent any
parameters {

View file

@ -15,7 +15,7 @@ VENDORDIR := $(ROOTDIR)/deps
ORGPATH := github.com/arangodb
ORGDIR := $(GOBUILDDIR)/src/$(ORGPATH)
REPONAME := k8s-operator
REPONAME := kube-arangodb
REPODIR := $(ORGDIR)/$(REPONAME)
REPOPATH := $(ORGPATH)/$(REPONAME)
@ -154,8 +154,8 @@ update-generated: $(GOBUILDDIR)
k8s-codegen \
"./deps/k8s.io/code-generator/generate-groups.sh" \
"all" \
"github.com/arangodb/k8s-operator/pkg/generated" \
"github.com/arangodb/k8s-operator/pkg/apis" \
"github.com/arangodb/kube-arangodb/pkg/generated" \
"github.com/arangodb/kube-arangodb/pkg/apis" \
"deployment:v1alpha storage:v1alpha" \
--go-header-file "./tools/codegen/boilerplate.go.txt" \
$(VERIFYARGS)

12
main.go
View file

@ -45,12 +45,12 @@ import (
"k8s.io/client-go/tools/leaderelection/resourcelock"
"k8s.io/client-go/tools/record"
"github.com/arangodb/k8s-operator/pkg/client"
"github.com/arangodb/k8s-operator/pkg/logging"
"github.com/arangodb/k8s-operator/pkg/operator"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
"github.com/arangodb/kube-arangodb/pkg/client"
"github.com/arangodb/kube-arangodb/pkg/logging"
"github.com/arangodb/kube-arangodb/pkg/operator"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
)
const (

View file

@ -25,7 +25,7 @@ package v1alpha
import (
"github.com/pkg/errors"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// AuthenticationSpec holds authentication specific configuration settings

View file

@ -23,7 +23,7 @@
package v1alpha
import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// MonitoringSpec holds monitoring specific configuration settings

View file

@ -23,7 +23,7 @@
package v1alpha
import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// RocksDBEncryptionSpec holds rocksdb encryption at rest specific configuration settings

View file

@ -27,8 +27,8 @@ import (
"net"
"time"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/validation"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/validation"
)
const (

View file

@ -23,7 +23,7 @@
package v1alpha
import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// StorageClassSpec contains specification for create StorageClass.

View file

@ -26,8 +26,8 @@ import (
"github.com/pkg/errors"
"k8s.io/client-go/rest"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
var (

View file

@ -30,8 +30,8 @@ import (
"k8s.io/client-go/kubernetes"
driver "github.com/arangodb/go-driver"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/arangod"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/arangod"
)
type clientCache struct {

View file

@ -35,11 +35,11 @@ import (
"k8s.io/client-go/kubernetes"
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
"github.com/arangodb/k8s-operator/pkg/util/trigger"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
"github.com/arangodb/kube-arangodb/pkg/util/trigger"
)
// Config holds configuration settings for a Deployment

View file

@ -26,10 +26,10 @@ import (
"fmt"
"strings"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/dchest/uniuri"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// createInitialMembers creates all members needed for the initial state of the deployment.

View file

@ -23,7 +23,7 @@
package deployment
import (
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/rs/zerolog"
)

View file

@ -29,7 +29,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)
// TestCreatePlanSingleScale creates a `single` deployment to test the creating of scaling plan.

View file

@ -28,8 +28,8 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// executePlan tries to execute the plan as far as possible.

View file

@ -30,10 +30,10 @@ import (
"strconv"
"strings"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/arangod"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/arangod"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

View file

@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)
// TestCreateArangodArgsAgent tests createArangodArgs for agent.

View file

@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)
// TestCreateArangodArgsCoordinator tests createArangodArgs for coordinator.

View file

@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)
// TestCreateArangodArgsDBServer tests createArangodArgs for dbserver.

View file

@ -27,7 +27,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/stretchr/testify/assert"
)

View file

@ -23,11 +23,11 @@
package deployment
import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"k8s.io/api/core/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/metrics"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/metrics"
)
var (

View file

@ -23,9 +23,9 @@
package deployment
import (
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// ensurePVCs creates all PVC's listed in member status

View file

@ -29,8 +29,8 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// createSecrets creates all secrets needed to run the given deployment

View file

@ -23,8 +23,8 @@
package deployment
import (
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// createServices creates all services needed to service the given deployment

View file

@ -32,8 +32,8 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes/typed/core/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
const (

View file

@ -20,8 +20,8 @@
package versioned
import (
databasev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha"
glog "github.com/golang/glog"
discovery "k8s.io/client-go/discovery"
rest "k8s.io/client-go/rest"

View file

@ -20,11 +20,11 @@
package fake
import (
clientset "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
databasev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
fakedatabasev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha"
fakestoragev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake"
clientset "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
fakedatabasev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha"
fakestoragev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/watch"
"k8s.io/client-go/discovery"

View file

@ -20,8 +20,8 @@
package fake
import (
databasev1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"

View file

@ -20,8 +20,8 @@
package scheme
import (
databasev1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"

View file

@ -20,8 +20,8 @@
package v1alpha
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
scheme "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"

View file

@ -20,8 +20,8 @@
package v1alpha
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
rest "k8s.io/client-go/rest"
)

View file

@ -20,7 +20,7 @@
package fake
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"

View file

@ -20,7 +20,7 @@
package fake
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
rest "k8s.io/client-go/rest"
testing "k8s.io/client-go/testing"
)

View file

@ -20,8 +20,8 @@
package v1alpha
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
scheme "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"

View file

@ -20,7 +20,7 @@
package fake
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"

View file

@ -20,7 +20,7 @@
package fake
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha"
rest "k8s.io/client-go/rest"
testing "k8s.io/client-go/testing"
)

View file

@ -20,8 +20,8 @@
package v1alpha
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
rest "k8s.io/client-go/rest"
)

View file

@ -23,8 +23,8 @@
package database
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/deployment/v1alpha"
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/deployment/v1alpha"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
)
// Interface provides access to each of this group's versions.

View file

@ -25,10 +25,10 @@ package v1alpha
import (
time "time"
deployment_v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
versioned "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/listers/deployment/v1alpha"
deployment_v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/listers/deployment/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"

View file

@ -23,7 +23,7 @@
package v1alpha
import (
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.

View file

@ -27,10 +27,10 @@ import (
sync "sync"
time "time"
versioned "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
deployment "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/deployment"
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
storage "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/storage"
versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
deployment "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/deployment"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
storage "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/storage"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"

View file

@ -25,8 +25,8 @@ package externalversions
import (
"fmt"
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
storage_v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
storage_v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
schema "k8s.io/apimachinery/pkg/runtime/schema"
cache "k8s.io/client-go/tools/cache"
)

View file

@ -25,7 +25,7 @@ package internalinterfaces
import (
time "time"
versioned "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
cache "k8s.io/client-go/tools/cache"

View file

@ -23,8 +23,8 @@
package storage
import (
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/storage/v1alpha"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/storage/v1alpha"
)
// Interface provides access to each of this group's versions.

View file

@ -25,10 +25,10 @@ package v1alpha
import (
time "time"
storage_v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
versioned "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/listers/storage/v1alpha"
storage_v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/listers/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"

View file

@ -23,7 +23,7 @@
package v1alpha
import (
internalinterfaces "github.com/arangodb/k8s-operator/pkg/generated/informers/externalversions/internalinterfaces"
internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.

View file

@ -23,7 +23,7 @@
package v1alpha
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/tools/cache"

View file

@ -23,7 +23,7 @@
package v1alpha
import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/tools/cache"

View file

@ -27,9 +27,9 @@ import (
"github.com/pkg/errors"
deplapi "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
lsapi "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/crd"
deplapi "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
lsapi "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/crd"
)
// initResourceIfNeeded initializes the custom resource definition when

View file

@ -31,11 +31,11 @@ import (
kwatch "k8s.io/apimachinery/pkg/watch"
"k8s.io/client-go/kubernetes"
deplapi "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
lsapi "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/deployment"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/storage"
deplapi "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
lsapi "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/deployment"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/storage"
)
const (

View file

@ -31,9 +31,9 @@ import (
kwatch "k8s.io/apimachinery/pkg/watch"
"k8s.io/client-go/tools/cache"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/deployment"
"github.com/arangodb/k8s-operator/pkg/metrics"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/deployment"
"github.com/arangodb/kube-arangodb/pkg/metrics"
)
var (

View file

@ -31,9 +31,9 @@ import (
kwatch "k8s.io/apimachinery/pkg/watch"
"k8s.io/client-go/tools/cache"
api "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/metrics"
"github.com/arangodb/k8s-operator/pkg/storage"
api "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/metrics"
"github.com/arangodb/kube-arangodb/pkg/storage"
)
var (

View file

@ -26,9 +26,9 @@ import (
"context"
"fmt"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner/client"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner/client"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// createProvisionerClients creates a list of clients for all known

View file

@ -30,10 +30,10 @@ import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
const (

View file

@ -35,11 +35,11 @@ import (
"k8s.io/client-go/kubernetes"
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
"github.com/arangodb/k8s-operator/pkg/util/trigger"
api "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
"github.com/arangodb/kube-arangodb/pkg/util/trigger"
)
// Config holds configuration settings for a LocalStorage

View file

@ -35,7 +35,7 @@ import (
"net/url"
"time"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
"github.com/pkg/errors"
)

View file

@ -29,7 +29,7 @@ import (
"github.com/rs/zerolog"
"golang.org/x/sys/unix"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
)
// Config for the storage provisioner

View file

@ -32,7 +32,7 @@ import (
"github.com/pkg/errors"
"github.com/rs/zerolog"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
)
const (

View file

@ -33,8 +33,8 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/k8s-operator/pkg/util/trigger"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/util/trigger"
)
type pvCleaner struct {

View file

@ -39,8 +39,8 @@ import (
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
api "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
)
const (

View file

@ -26,9 +26,9 @@ import (
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// ensureProvisionerService ensures that a service is created for accessing the

View file

@ -27,8 +27,8 @@ import (
"k8s.io/api/storage/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
var (

View file

@ -34,8 +34,8 @@ import (
"github.com/arangodb/go-driver/http"
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
type (

View file

@ -32,8 +32,8 @@ import (
apiextensionsclient "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
)
// CreateCRD creates a custom resouce definition.

View file

@ -31,7 +31,7 @@ import (
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
)
// APIObject helps to abstract an object from our custom API.

View file

@ -29,7 +29,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
)
// ValidateEncryptionKeySecret checks that a secret with given name in given namespace

View file

@ -33,7 +33,7 @@ import (
"k8s.io/api/core/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil/mocks"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/mocks"
)
// TestValidateEncryptionKeySecret tests ValidateEncryptionKeySecret.

View file

@ -31,8 +31,8 @@ import (
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
var apiObjectForTest = api.ArangoDeployment{

View file

@ -30,10 +30,10 @@ import (
"github.com/spf13/cobra"
"github.com/arangodb/k8s-operator/pkg/logging"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner"
"github.com/arangodb/k8s-operator/pkg/storage/provisioner/service"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/logging"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
"github.com/arangodb/kube-arangodb/pkg/storage/provisioner/service"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
)
var (

View file

@ -8,10 +8,10 @@ import (
"github.com/dchest/uniuri"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/client"
"github.com/arangodb/k8s-operator/pkg/util/arangod"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/client"
"github.com/arangodb/kube-arangodb/pkg/util/arangod"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// TestAuthenticationSingleDefaultSecret creating a single server

View file

@ -25,7 +25,7 @@ package tests
import (
"fmt"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)
// deploymentHasState creates a predicate that returns nil when the deployment has the given state.

View file

@ -8,9 +8,9 @@ import (
"github.com/dchest/uniuri"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/client"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/client"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
// TestRocksDBEncryptionSingle tests the creating of a single server deployment

View file

@ -7,8 +7,8 @@ import (
"github.com/dchest/uniuri"
driver "github.com/arangodb/go-driver"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/client"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/client"
)
// TestScaleCluster tests scaling up/down the number of DBServers & coordinators

View file

@ -8,8 +8,8 @@ import (
"github.com/stretchr/testify/assert"
driver "github.com/arangodb/go-driver"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/client"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/client"
)
// TestSimpleSingle tests the creating of a single server deployment

View file

@ -37,11 +37,11 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
driver "github.com/arangodb/go-driver"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/util/arangod"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/util/arangod"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
)
const (

View file

@ -48,7 +48,7 @@ func init() {
flag.StringVar(&releaseType, "type", "patch", "Type of release to build (major|minor|patch)")
flag.StringVar(&ghRelease, "github-release", ".gobuild/bin/github-release", "Full path of github-release tool")
flag.StringVar(&ghUser, "github-user", "arangodbdb", "Github account name to create release in")
flag.StringVar(&ghRepo, "github-repo", "k8s-operator", "Github repository name to create release in")
flag.StringVar(&ghRepo, "github-repo", "kube-arangodb", "Github repository name to create release in")
}
func main() {