github.com/IBM-Blockchain/fabric-operator@v1.0.4/api/v1beta1/groupversion_info.go (about)

     1  /*
     2   * Copyright contributors to the Hyperledger Fabric Operator project
     3   *
     4   * SPDX-License-Identifier: Apache-2.0
     5   *
     6   * Licensed under the Apache License, Version 2.0 (the "License");
     7   * you may not use this file except in compliance with the License.
     8   * You may obtain a copy of the License at:
     9   *
    10   * 	  http://www.apache.org/licenses/LICENSE-2.0
    11   *
    12   * Unless required by applicable law or agreed to in writing, software
    13   * distributed under the License is distributed on an "AS IS" BASIS,
    14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15   * See the License for the specific language governing permissions and
    16   * limitations under the License.
    17   */
    18  
    19  // Package v1beta1 contains API Schema definitions for the ibp v1beta1 API group
    20  // +kubebuilder:object:generate=true
    21  // +groupName=ibp.com
    22  package v1beta1
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/runtime/schema"
    26  	"sigs.k8s.io/controller-runtime/pkg/scheme"
    27  )
    28  
    29  var (
    30  	// GroupVersion is group version used to register these objects
    31  	GroupVersion = schema.GroupVersion{Group: "ibp.com", Version: "v1beta1"}
    32  
    33  	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
    34  	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
    35  
    36  	// AddToScheme adds the types in this group-version to the given scheme.
    37  	AddToScheme = SchemeBuilder.AddToScheme
    38  )