diff --git a/cmd/example/main.go b/cmd/example/main.go index b213b1d..ddee48e 100644 --- a/cmd/example/main.go +++ b/cmd/example/main.go @@ -10,8 +10,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/clientcmd" - "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" - clientset "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned" + "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" + clientset "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned" ) var ( diff --git a/go.mod b/go.mod index bb485ae..1a69e9d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/maiqueb/persistentips +module github.com/k8snetworkplumbingwg/ipamclaims go 1.20 diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index b9b590d..15893eb 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -4,4 +4,4 @@ set -o errexit set -o nounset set -o pipefail -go generate github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/ +go generate github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/ diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/clientset.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/clientset.go similarity index 95% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/clientset.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/clientset.go index 027866d..f374a5c 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/clientset.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import ( "fmt" "net/http" - k8sv1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1" + k8sv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/clientset_generated.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/clientset_generated.go similarity index 85% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/clientset_generated.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/clientset_generated.go index e72cfce..a67d14a 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/clientset_generated.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,9 +19,9 @@ limitations under the License. package fake import ( - clientset "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned" - k8sv1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1" - fakek8sv1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake" + clientset "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned" + k8sv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1" + fakek8sv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/doc.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/doc.go similarity index 94% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/doc.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/doc.go index edfe8af..44e8061 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/doc.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/register.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/register.go similarity index 93% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/register.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/register.go index a6d0027..3cdc1ac 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/fake/register.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - k8sv1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" + k8sv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme/doc.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme/doc.go similarity index 94% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme/doc.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme/doc.go index d36e524..743391c 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme/doc.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme/register.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme/register.go similarity index 93% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme/register.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme/register.go index 1f76610..d6a1737 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme/register.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ limitations under the License. package scheme import ( - k8sv1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" + k8sv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/doc.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/doc.go similarity index 94% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/doc.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/doc.go index 2913c9a..faa8377 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/doc.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/doc.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/doc.go similarity index 94% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/doc.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/doc.go index a7e8bb6..b38fd4c 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/doc.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/fake_ipamclaim.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/fake_ipamclaim.go similarity index 97% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/fake_ipamclaim.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/fake_ipamclaim.go index 9e3ae88..00db990 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/fake_ipamclaim.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/fake_ipamclaim.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors 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 fake import ( "context" - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/fake_persistentip_client.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/fake_ipamclaims_client.go similarity index 85% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/fake_persistentip_client.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/fake_ipamclaims_client.go index 3ff487a..adc0c54 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/fake/fake_persistentip_client.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/fake/fake_ipamclaims_client.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/generated_expansion.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/generated_expansion.go similarity index 94% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/generated_expansion.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/generated_expansion.go index 916f18c..c5c3006 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/generated_expansion.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/ipamclaim.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/ipamclaim.go similarity index 96% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/ipamclaim.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/ipamclaim.go index b9c5ad6..bfc26c0 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/ipamclaim.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/ipamclaim.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" - scheme "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" + scheme "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/persistentip_client.go b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/ipamclaims_client.go similarity index 92% rename from pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/persistentip_client.go rename to pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/ipamclaims_client.go index da1cc58..d6b8684 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/typed/persistentip/v1alpha1/persistentip_client.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/typed/ipamclaims/v1alpha1/ipamclaims_client.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" - "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned/scheme" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" + "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/factory.go b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/factory.go similarity index 93% rename from pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/factory.go rename to pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/factory.go index 0131131..8ba00a6 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/factory.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,9 +23,9 @@ import ( sync "sync" time "time" - versioned "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned" - internalinterfaces "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces" - persistentip "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip" + versioned "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned" + internalinterfaces "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces" + ipamclaims "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" @@ -243,9 +243,9 @@ type SharedInformerFactory interface { // client. InformerFor(obj runtime.Object, newFunc internalinterfaces.NewInformerFunc) cache.SharedIndexInformer - K8s() persistentip.Interface + K8s() ipamclaims.Interface } -func (f *sharedInformerFactory) K8s() persistentip.Interface { - return persistentip.New(f, f.namespace, f.tweakListOptions) +func (f *sharedInformerFactory) K8s() ipamclaims.Interface { + return ipamclaims.New(f, f.namespace, f.tweakListOptions) } diff --git a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/generic.go b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/generic.go similarity index 94% rename from pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/generic.go rename to pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/generic.go index ad0b3c5..94f709e 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/generic.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors 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 externalversions import ( "fmt" - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces/factory_interfaces.go similarity index 89% rename from pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces/factory_interfaces.go rename to pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces/factory_interfaces.go index dcaa232..8d1429d 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors 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 internalinterfaces import ( time "time" - versioned "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned" + versioned "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/interface.go b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/interface.go similarity index 80% rename from pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/interface.go rename to pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/interface.go index f5f5159..c93d99e 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/interface.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ limitations under the License. // Code generated by informer-gen. DO NOT EDIT. -package persistentip +package ipamclaims import ( - internalinterfaces "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1" + internalinterfaces "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1/interface.go b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1/interface.go similarity index 88% rename from pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1/interface.go rename to pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1/interface.go index fc63008..1ab51a9 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1/interface.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1/ipamclaim.go b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1/ipamclaim.go similarity index 83% rename from pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1/ipamclaim.go rename to pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1/ipamclaim.go index 05e1b23..fd46dc7 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/persistentip/v1alpha1/ipamclaim.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/ipamclaims/v1alpha1/ipamclaim.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -22,10 +22,10 @@ import ( "context" time "time" - persistentipv1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" - versioned "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned" - internalinterfaces "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1" + ipamclaimsv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" + versioned "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned" + internalinterfaces "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -71,7 +71,7 @@ func NewFilteredIPAMClaimInformer(client versioned.Interface, namespace string, return client.K8sV1alpha1().IPAMClaims(namespace).Watch(context.TODO(), options) }, }, - &persistentipv1alpha1.IPAMClaim{}, + &ipamclaimsv1alpha1.IPAMClaim{}, resyncPeriod, indexers, ) @@ -82,7 +82,7 @@ func (f *iPAMClaimInformer) defaultInformer(client versioned.Interface, resyncPe } func (f *iPAMClaimInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&persistentipv1alpha1.IPAMClaim{}, f.defaultInformer) + return f.factory.InformerFor(&ipamclaimsv1alpha1.IPAMClaim{}, f.defaultInformer) } func (f *iPAMClaimInformer) Lister() v1alpha1.IPAMClaimLister { diff --git a/pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1/expansion_generated.go b/pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1/expansion_generated.go similarity index 95% rename from pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1/expansion_generated.go rename to pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1/expansion_generated.go index 32e1d45..086ab4a 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1/expansion_generated.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1/ipamclaim.go b/pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1/ipamclaim.go similarity index 96% rename from pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1/ipamclaim.go rename to pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1/ipamclaim.go index 750d764..409fc70 100644 --- a/pkg/crd/persistentip/v1alpha1/apis/listers/persistentip/v1alpha1/ipamclaim.go +++ b/pkg/crd/ipamclaims/v1alpha1/apis/listers/ipamclaims/v1alpha1/ipamclaim.go @@ -1,5 +1,5 @@ /* -Copyright 2023 The Kubernetes Authors +Copyright 2024 The Kubernetes Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1" + v1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/crd/persistentip/v1alpha1/doc.go b/pkg/crd/ipamclaims/v1alpha1/doc.go similarity index 100% rename from pkg/crd/persistentip/v1alpha1/doc.go rename to pkg/crd/ipamclaims/v1alpha1/doc.go diff --git a/pkg/crd/persistentip/v1alpha1/register.go b/pkg/crd/ipamclaims/v1alpha1/register.go similarity index 100% rename from pkg/crd/persistentip/v1alpha1/register.go rename to pkg/crd/ipamclaims/v1alpha1/register.go diff --git a/pkg/crd/persistentip/v1alpha1/types.go b/pkg/crd/ipamclaims/v1alpha1/types.go similarity index 69% rename from pkg/crd/persistentip/v1alpha1/types.go rename to pkg/crd/ipamclaims/v1alpha1/types.go index 8bf7c2f..9aeb888 100644 --- a/pkg/crd/persistentip/v1alpha1/types.go +++ b/pkg/crd/ipamclaims/v1alpha1/types.go @@ -6,11 +6,11 @@ import ( //go:generate go run sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 paths=./... object crd output:artifacts:code=./,config=../../../../artifacts -//go:generate go run k8s.io/code-generator/cmd/client-gen@v0.28.0 client-gen --go-header-file ../../../../hack/custom-boilerplate.go.txt --clientset-name versioned --input-base "" --input github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1 --output-package github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset .. +//go:generate go run k8s.io/code-generator/cmd/client-gen@v0.28.0 client-gen --go-header-file ../../../../hack/custom-boilerplate.go.txt --clientset-name versioned --input-base "" --input github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1 --output-package github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset .. -//go:generate go run k8s.io/code-generator/cmd/lister-gen@v0.28.0 lister-gen --go-header-file ../../../../hack/custom-boilerplate.go.txt --input-dirs github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1 --output-package github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/listers .. +//go:generate go run k8s.io/code-generator/cmd/lister-gen@v0.28.0 lister-gen --go-header-file ../../../../hack/custom-boilerplate.go.txt --input-dirs github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1 --output-package github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/listers .. -//go:generate go run k8s.io/code-generator/cmd/informer-gen@v0.28.0 informer-gen --go-header-file ../../../../hack/custom-boilerplate.go.txt --input-dirs github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1 --versioned-clientset-package github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/clientset/versioned --listers-package github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/listers --output-package github.com/maiqueb/persistentips/pkg/crd/persistentip/v1alpha1/apis/informers .. +//go:generate go run k8s.io/code-generator/cmd/informer-gen@v0.28.0 informer-gen --go-header-file ../../../../hack/custom-boilerplate.go.txt --input-dirs github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1 --versioned-clientset-package github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/clientset/versioned --listers-package github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/listers --output-package github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1/apis/informers .. // +genclient // +kubebuilder:object:root=true diff --git a/pkg/crd/persistentip/v1alpha1/zz_generated.deepcopy.go b/pkg/crd/ipamclaims/v1alpha1/zz_generated.deepcopy.go similarity index 100% rename from pkg/crd/persistentip/v1alpha1/zz_generated.deepcopy.go rename to pkg/crd/ipamclaims/v1alpha1/zz_generated.deepcopy.go