github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/pkg/apis/assetstore/v1alpha2/groupversion_info.go (about)

     1  // Package v1alpha2 contains API Schema definitions for the assetstore v1alpha2 API group
     2  // +kubebuilder:object:generate=true
     3  // +groupName=assetstore.kyma-project.io
     4  package v1alpha2
     5  
     6  import (
     7  	"k8s.io/apimachinery/pkg/runtime/schema"
     8  	"sigs.k8s.io/controller-runtime/pkg/scheme"
     9  )
    10  
    11  var (
    12  	// GroupVersion is group version used to register these objects
    13  	GroupVersion = schema.GroupVersion{Group: "assetstore.kyma-project.io", Version: "v1alpha2"}
    14  
    15  	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
    16  	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
    17  
    18  	// AddToScheme adds the types in this group-version to the given scheme.
    19  	AddToScheme = SchemeBuilder.AddToScheme
    20  )