github.com/verrazzano/verrazzano@v1.7.0/application-operator/apis/oam/v1alpha1/groupversion_info.go (about) 1 // Copyright (c) 2020, 2021, 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 oam v1alpha1 API group 5 // +kubebuilder:object:generate=true 6 // +groupName=oam.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 group version used to register these objects 16 SchemeGroupVersion = schema.GroupVersion{Group: "oam.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 )