mirror of
https://github.com/netbirdio/kubernetes-operator.git
synced 2026-05-22 17:11:40 -07:00
This change adds SPDX license headers to all files and eforces it with the linter. Signed-off-by: Philip Laine <philip.laine@gmail.com>
26 lines
844 B
Go
26 lines
844 B
Go
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Package v1alpha1 contains API Schema definitions for the v1alpha1 API group.
|
|
// +kubebuilder:object:generate=true
|
|
// +groupName=netbird.io
|
|
// +kubebuilder:ac:generate=true
|
|
// +kubebuilder:ac:output:package=../../pkg/applyconfigurations
|
|
package v1alpha1
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/runtime/schema"
|
|
"sigs.k8s.io/controller-runtime/pkg/scheme"
|
|
)
|
|
|
|
var (
|
|
// GroupVersion is group version used to register these objects.
|
|
GroupVersion = schema.GroupVersion{Group: "netbird.io", Version: "v1alpha1"}
|
|
SchemeGroupVersion = GroupVersion
|
|
|
|
// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
|
|
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
|
|
|
// AddToScheme adds the types in this group-version to the given scheme.
|
|
AddToScheme = SchemeBuilder.AddToScheme
|
|
)
|