change v1 to v1alpha1

This commit is contained in:
2026-05-16 19:35:46 +02:00
parent 4f6910c809
commit 9b0d6a3279
34 changed files with 273 additions and 267 deletions
@@ -19,4 +19,4 @@ limitations under the License.
// +groupName=proxyprovider.t000-n.de
// Package v1 is the v1 version of the API.
package v1
package v1alpha1
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -19,7 +19,7 @@ limitations under the License.
// Code generated by deepcopy-gen. DO NOT EDIT.
package v1
package v1alpha1
import (
runtime "k8s.io/apimachinery/pkg/runtime"
@@ -19,10 +19,10 @@ limitations under the License.
// Code generated by register-gen. DO NOT EDIT.
package v1
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
)
@@ -31,12 +31,12 @@ import (
const GroupName = "proxyprovider.t000-n.de"
// GroupVersion specifies the group and the version used to register the objects.
var GroupVersion = metav1.GroupVersion{Group: GroupName, Version: "v1"}
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
// SchemeGroupVersion is group version used to register these objects
//
// Deprecated: use GroupVersion instead.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
// Resource takes an unqualified resource and returns a Group qualified GroupResource
func Resource(resource string) schema.GroupResource {
@@ -66,6 +66,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ProxyProviderList{},
)
// AddToGroupVersion allows the serialization of client types like ListOptions.
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
v1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}