github.com/verrazzano/verrazzano@v1.7.0/application-operator/apis/app/v1alpha1/groupversion_info.go (about)

     1  // Copyright (c) 2022, Oracle and/or its affiliates.
     2  // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  // Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group
     5  // +kubebuilder:object:generate=true
     6  // +groupName=app.verrazzano.io
     7  package v1alpha1
     8  
     9  import (
    10  	"k8s.io/apimachinery/pkg/runtime/schema"
    11  	"sigs.k8s.io/controller-runtime/pkg/scheme"
    12  )
    13  
    14  var (
    15  	// SchemeGroupVersion is the group version used to register these objects
    16  	SchemeGroupVersion = schema.GroupVersion{Group: "app.verrazzano.io", Version: "v1alpha1"}
    17  
    18  	// SchemeBuilder is used to add Go types to the GroupVersionKind scheme
    19  	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
    20  
    21  	// AddToScheme adds the types in this group-version to the given scheme.
    22  	AddToScheme = SchemeBuilder.AddToScheme
    23  )