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

Linter - sharedApi (#1537)

This commit is contained in:
jwierzbo 2023-12-12 16:39:35 +01:00 committed by GitHub
parent 93e6af545f
commit 384fd6ac9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
158 changed files with 323 additions and 315 deletions

View file

@ -35,8 +35,16 @@ linters-settings:
alias: batch
- pkg: k8s.io/api/storage/v1
alias: storage
- pkg: github.com/arangodb/kube-arangodb/pkg/deployment/reconcile/shared
alias: sharedReconcile
- pkg: k8s.io/api/policy/v1
alias: policy
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared/v1
alias: sharedApi
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared
alias: shared
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared
alias: mlShared
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1alpha1
alias: mlApi
gci:

View file

@ -42,7 +42,7 @@ import (
"github.com/arangodb/go-driver/v2/connection"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
"github.com/arangodb/kube-arangodb/pkg/util/globals"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -32,7 +32,7 @@ import (
"github.com/spf13/cobra"
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/handlers/utils"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/kerrors"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -38,7 +38,7 @@ import (
"github.com/arangodb/go-driver/jwt"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/client"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/deployment/pod"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import (
"github.com/spf13/cobra"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
var cmdLifecycleStartup = &cobra.Command{

View file

@ -23,7 +23,7 @@ package v1
import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)
// ArangoBackupStatus contains the status part of
@ -67,7 +67,7 @@ type ArangoBackupDetails struct {
Imported *bool `json:"imported,omitempty"`
// CreationTimestamp ArangoBackup Custom Resource creation time in UTC
CreationTimestamp meta.Time `json:"createdAt"`
Keys shared.HashList `json:"keys,omitempty"`
Keys sharedApi.HashList `json:"keys,omitempty"`
}
func (a *ArangoBackupDetails) Equal(b *ArangoBackupDetails) bool {

View file

@ -26,7 +26,7 @@ import (
"github.com/pkg/errors"
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
// ArangoDeploymentArchitecture defines the list of supported architectures.

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -23,7 +23,7 @@ package v1
import (
"github.com/pkg/errors"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
type ArangoClusterSynchronizationSpec struct {

View file

@ -24,7 +24,7 @@ package v1
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -28,7 +28,7 @@ import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/handlers/utils"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -20,7 +20,7 @@
package v1
import shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
import sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
type DeploymentStatusHashes struct {
Encryption DeploymentStatusHashesEncryption `json:"rocksDBEncryption,omitempty"`
@ -29,21 +29,21 @@ type DeploymentStatusHashes struct {
}
type DeploymentStatusHashesEncryption struct {
Keys shared.HashList `json:"keys,omitempty"`
Keys sharedApi.HashList `json:"keys,omitempty"`
Propagated bool `json:"propagated,omitempty"`
}
type DeploymentStatusHashesTLS struct {
CA *string `json:"ca,omitempty"`
Truststore shared.HashList `json:"truststore,omitempty"`
Truststore sharedApi.HashList `json:"truststore,omitempty"`
Propagated bool `json:"propagated,omitempty"`
}
type DeploymentStatusHashesJWT struct {
Active string `json:"active,omitempty"`
Passive shared.HashList `json:"passive,omitempty"`
Passive sharedApi.HashList `json:"passive,omitempty"`
Propagated bool `json:"propagated,omitempty"`
}

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -29,7 +29,7 @@ import (
driver "github.com/arangodb/go-driver"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/strings"
)

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -23,8 +23,8 @@ package v1
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedv1 "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)
@ -51,7 +51,7 @@ func ValidateServerGroupInitContainerName(name string) error {
return errors.Newf("InitContainer name %s is restricted", name)
}
return sharedv1.AsKubernetesResourceName(&name).Validate()
return sharedApi.AsKubernetesResourceName(&name).Validate()
}
type ServerGroupInitContainerMode string

View file

@ -26,7 +26,7 @@ import (
core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/intstr"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -29,7 +29,7 @@ import (
core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/intstr"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -28,7 +28,7 @@ import (
core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
arangodOptions "github.com/arangodb/kube-arangodb/pkg/util/arangod/options"
arangosyncOptions "github.com/arangodb/kube-arangodb/pkg/util/arangosync/options"

View file

@ -26,8 +26,8 @@ import (
core "k8s.io/api/core/v1"
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedv1 "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)
@ -160,7 +160,7 @@ func (s *ServerGroupSpecVolume) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceErrors("name", sharedv1.AsKubernetesResourceName(&s.Name).Validate()),
shared.PrefixResourceErrors("name", sharedApi.AsKubernetesResourceName(&s.Name).Validate()),
shared.PrefixResourceErrors("secret", s.Secret.Validate()),
shared.PrefixResourceErrors("configMap", s.ConfigMap.Validate()),
shared.PrefixResourceErrors("emptyDir", s.EmptyDir.Validate()),
@ -265,7 +265,7 @@ func (s *ServerGroupSpecVolumeSecret) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("secretName", sharedv1.AsKubernetesResourceName(&q.SecretName).Validate()),
shared.PrefixResourceError("secretName", sharedApi.AsKubernetesResourceName(&q.SecretName).Validate()),
)
}
@ -298,7 +298,7 @@ func (s *ServerGroupSpecVolumeConfigMap) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("name", sharedv1.AsKubernetesResourceName(&q.Name).Validate()),
shared.PrefixResourceError("name", sharedApi.AsKubernetesResourceName(&q.Name).Validate()),
)
}
@ -363,7 +363,7 @@ func (s *ServerGroupSpecVolumePersistentVolumeClaim) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("claimName", sharedv1.AsKubernetesResourceName(&q.ClaimName).Validate()),
shared.PrefixResourceError("claimName", sharedApi.AsKubernetesResourceName(&q.ClaimName).Validate()),
)
}

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -25,8 +25,8 @@ import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedv1 "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)
type ServerGroupSpecVolumeMounts []ServerGroupSpecVolumeMount
@ -67,6 +67,6 @@ func (s *ServerGroupSpecVolumeMount) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("name", sharedv1.AsKubernetesResourceName(&s.Name).Validate()),
shared.PrefixResourceError("name", sharedApi.AsKubernetesResourceName(&s.Name).Validate()),
)
}

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -27,7 +27,7 @@ import (
"github.com/stretchr/testify/require"
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
const (

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -25,7 +25,7 @@ import (
"net/url"
"strconv"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -21,7 +21,7 @@
package v1
import (
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)
@ -34,7 +34,7 @@ func (s TLSSNISpec) Validate() error {
mapped := map[string]interface{}{}
for key, values := range s.Mapping {
if err := shared.IsValidName(key); err != nil {
if err := sharedApi.IsValidName(key); err != nil {
return err
}
@ -46,7 +46,7 @@ func (s TLSSNISpec) Validate() error {
// Mark value as existing
mapped[value] = nil
if err := shared.IsValidDomain(value); err != nil {
if err := sharedApi.IsValidDomain(value); err != nil {
return err
}
}

View file

@ -23,7 +23,7 @@ package v1
import (
"net"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
"github.com/arangodb/kube-arangodb/pkg/util/validation"

View file

@ -26,7 +26,7 @@ import (
"github.com/pkg/errors"
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
// ArangoDeploymentArchitecture defines the list of supported architectures.

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -23,7 +23,7 @@ package v2alpha1
import (
"github.com/pkg/errors"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
type ArangoClusterSynchronizationSpec struct {

View file

@ -24,7 +24,7 @@ package v2alpha1
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -28,7 +28,7 @@ import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/handlers/utils"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -20,7 +20,7 @@
package v2alpha1
import shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
import sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
type DeploymentStatusHashes struct {
Encryption DeploymentStatusHashesEncryption `json:"rocksDBEncryption,omitempty"`
@ -29,21 +29,21 @@ type DeploymentStatusHashes struct {
}
type DeploymentStatusHashesEncryption struct {
Keys shared.HashList `json:"keys,omitempty"`
Keys sharedApi.HashList `json:"keys,omitempty"`
Propagated bool `json:"propagated,omitempty"`
}
type DeploymentStatusHashesTLS struct {
CA *string `json:"ca,omitempty"`
Truststore shared.HashList `json:"truststore,omitempty"`
Truststore sharedApi.HashList `json:"truststore,omitempty"`
Propagated bool `json:"propagated,omitempty"`
}
type DeploymentStatusHashesJWT struct {
Active string `json:"active,omitempty"`
Passive shared.HashList `json:"passive,omitempty"`
Passive sharedApi.HashList `json:"passive,omitempty"`
Propagated bool `json:"propagated,omitempty"`
}

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -29,7 +29,7 @@ import (
driver "github.com/arangodb/go-driver"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/strings"
)

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -23,8 +23,8 @@ package v2alpha1
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedv1 "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)
@ -51,7 +51,7 @@ func ValidateServerGroupInitContainerName(name string) error {
return errors.Newf("InitContainer name %s is restricted", name)
}
return sharedv1.AsKubernetesResourceName(&name).Validate()
return sharedApi.AsKubernetesResourceName(&name).Validate()
}
type ServerGroupInitContainerMode string

View file

@ -26,7 +26,7 @@ import (
core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/intstr"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -29,7 +29,7 @@ import (
core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/intstr"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -28,7 +28,7 @@ import (
core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
arangodOptions "github.com/arangodb/kube-arangodb/pkg/util/arangod/options"
arangosyncOptions "github.com/arangodb/kube-arangodb/pkg/util/arangosync/options"

View file

@ -26,8 +26,8 @@ import (
core "k8s.io/api/core/v1"
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedv1 "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)
@ -160,7 +160,7 @@ func (s *ServerGroupSpecVolume) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceErrors("name", sharedv1.AsKubernetesResourceName(&s.Name).Validate()),
shared.PrefixResourceErrors("name", sharedApi.AsKubernetesResourceName(&s.Name).Validate()),
shared.PrefixResourceErrors("secret", s.Secret.Validate()),
shared.PrefixResourceErrors("configMap", s.ConfigMap.Validate()),
shared.PrefixResourceErrors("emptyDir", s.EmptyDir.Validate()),
@ -265,7 +265,7 @@ func (s *ServerGroupSpecVolumeSecret) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("secretName", sharedv1.AsKubernetesResourceName(&q.SecretName).Validate()),
shared.PrefixResourceError("secretName", sharedApi.AsKubernetesResourceName(&q.SecretName).Validate()),
)
}
@ -298,7 +298,7 @@ func (s *ServerGroupSpecVolumeConfigMap) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("name", sharedv1.AsKubernetesResourceName(&q.Name).Validate()),
shared.PrefixResourceError("name", sharedApi.AsKubernetesResourceName(&q.Name).Validate()),
)
}
@ -363,7 +363,7 @@ func (s *ServerGroupSpecVolumePersistentVolumeClaim) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("claimName", sharedv1.AsKubernetesResourceName(&q.ClaimName).Validate()),
shared.PrefixResourceError("claimName", sharedApi.AsKubernetesResourceName(&q.ClaimName).Validate()),
)
}

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -25,8 +25,8 @@ import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedv1 "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)
type ServerGroupSpecVolumeMounts []ServerGroupSpecVolumeMount
@ -67,6 +67,6 @@ func (s *ServerGroupSpecVolumeMount) Validate() error {
}
return shared.WithErrors(
shared.PrefixResourceError("name", sharedv1.AsKubernetesResourceName(&s.Name).Validate()),
shared.PrefixResourceError("name", sharedApi.AsKubernetesResourceName(&s.Name).Validate()),
)
}

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -27,7 +27,7 @@ import (
"github.com/stretchr/testify/require"
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
const (

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -25,7 +25,7 @@ import (
"net/url"
"strconv"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -21,7 +21,7 @@
package v2alpha1
import (
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)
@ -34,7 +34,7 @@ func (s TLSSNISpec) Validate() error {
mapped := map[string]interface{}{}
for key, values := range s.Mapping {
if err := shared.IsValidName(key); err != nil {
if err := sharedApi.IsValidName(key); err != nil {
return err
}
@ -46,7 +46,7 @@ func (s TLSSNISpec) Validate() error {
// Mark value as existing
mapped[value] = nil
if err := shared.IsValidDomain(value); err != nil {
if err := sharedApi.IsValidDomain(value); err != nil {
return err
}
}

View file

@ -23,7 +23,7 @@ package v2alpha1
import (
"net"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
"github.com/arangodb/kube-arangodb/pkg/util/validation"

View file

@ -23,7 +23,7 @@ package v1alpha1
import (
batch "k8s.io/api/batch/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -23,7 +23,7 @@ package v1alpha1
import (
batch "k8s.io/api/batch/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)

View file

@ -23,7 +23,7 @@ package v1alpha1
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
type ArangoMLExtensionSpecDeploymentService struct {

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -22,7 +22,7 @@ package v1alpha1
import (
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
)
type ArangoMLExtensionStatus struct {
@ -34,7 +34,7 @@ type ArangoMLExtensionStatus struct {
MetadataService *ArangoMLExtensionStatusMetadataService `json:"metadataService,omitempty"`
// ServiceAccount keeps the information about ServiceAccount
ServiceAccount *shared.ServiceAccount `json:"serviceAccount,omitempty"`
ServiceAccount *sharedApi.ServiceAccount `json:"serviceAccount,omitempty"`
// ArangoDB keeps the information about local arangodb reference
ArangoDB *ArangoMLExtensionStatusArangoDBRef `json:"arangoDB,omitempty"`

View file

@ -20,9 +20,9 @@
package v1alpha1
import shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
import sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
type ArangoMLExtensionStatusArangoDBRef struct {
// Secret keeps the information about Secret for ArangoDB Authentication
Secret *shared.Object `json:"secret,omitempty"`
Secret *sharedApi.Object `json:"secret,omitempty"`
}

View file

@ -20,14 +20,14 @@
package v1alpha1
import shared "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
import sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
type ArangoMLExtensionStatusMetadataService struct {
// Local define the Local ArangoDeployment Metadata Service configuration
Local *ArangoMLExtensionStatusMetadataServiceLocal `json:"local,omitempty"`
// Secret define the Secret specification to store all the details
Secret *shared.Object `json:"secret,omitempty"`
Secret *sharedApi.Object `json:"secret,omitempty"`
}
type ArangoMLExtensionStatusMetadataServiceLocal struct {

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
type ArangoMLStorageSpec struct {

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -23,7 +23,7 @@ package v1alpha1
import (
"net/url"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -23,7 +23,7 @@ package v1
import (
"net/url"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -23,7 +23,7 @@ package v2alpha1
import (
"net/url"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v2alpha1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -21,7 +21,7 @@
package v1
import (
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
type ContainerTemplate struct {

View file

@ -20,7 +20,7 @@
package v1
import "github.com/arangodb/kube-arangodb/pkg/apis/shared"
import shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
type PodTemplate struct {
// Scheduling keeps the scheduling information

View file

@ -23,7 +23,7 @@ package v1
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
)
type Image struct {

View file

@ -24,7 +24,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
)

View file

@ -23,7 +23,7 @@ package v1alpha
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
)

View file

@ -31,7 +31,7 @@ import (
"github.com/arangodb/go-driver/agency"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/reconciler"
"github.com/arangodb/kube-arangodb/pkg/handlers/utils"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -43,7 +43,7 @@ import (
backupApi "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/acs/sutil"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/deployment/patch"

View file

@ -26,7 +26,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -30,7 +30,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/resources"

View file

@ -28,7 +28,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -26,7 +26,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -28,7 +28,7 @@ import (
"github.com/arangodb/go-driver"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -26,7 +26,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -27,7 +27,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -28,7 +28,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/resources"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"

View file

@ -29,7 +29,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -30,7 +30,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"

View file

@ -27,7 +27,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

View file

@ -43,7 +43,7 @@ import (
"github.com/arangodb/go-driver/jwt"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/acs"
"github.com/arangodb/kube-arangodb/pkg/deployment/client"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"

View file

@ -31,7 +31,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/pod"
"github.com/arangodb/kube-arangodb/pkg/deployment/resources"
"github.com/arangodb/kube-arangodb/pkg/handlers/utils"

View file

@ -33,7 +33,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/resources"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/constants"

View file

@ -27,7 +27,7 @@ import (
"k8s.io/apimachinery/pkg/util/uuid"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/reconcile"
"github.com/arangodb/kube-arangodb/pkg/util/errors"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -25,7 +25,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/interfaces"
)

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -30,7 +30,7 @@ import (
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import (
"github.com/arangodb/go-driver"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/errors"

View file

@ -23,7 +23,7 @@ package pod
import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/interfaces"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -27,7 +27,7 @@ import (
core "k8s.io/api/core/v1"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/util"
"github.com/arangodb/kube-arangodb/pkg/util/constants"

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -25,7 +25,7 @@ import (
core "k8s.io/api/core/v1"
"github.com/arangodb/kube-arangodb/pkg/apis/shared"
shared "github.com/arangodb/kube-arangodb/pkg/apis/shared"
"github.com/arangodb/kube-arangodb/pkg/deployment/features"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/interfaces"

Some files were not shown because too many files have changed in this diff Show more