open-cluster-management.io/governance-policy-propagator@v0.13.0/api/v1beta1/groupversion_info.go (about)

     1  // Copyright (c) 2021 Red Hat, Inc.
     2  // Copyright Contributors to the Open Cluster Management project
     3  
     4  // Package v1beta1 contains API Schema definitions for the policy v1beta1 API group
     5  // +kubebuilder:object:generate=true
     6  // +groupName=policy.open-cluster-management.io
     7  package v1beta1
     8  
     9  import (
    10  	"k8s.io/apimachinery/pkg/runtime/schema"
    11  	"sigs.k8s.io/controller-runtime/pkg/scheme"
    12  )
    13  
    14  var (
    15  	// GroupVersion is group version used to register these objects
    16  	GroupVersion = schema.GroupVersion{Group: "policy.open-cluster-management.io", Version: "v1beta1"}
    17  
    18  	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
    19  	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
    20  
    21  	// AddToScheme adds the types in this group-version to the given scheme.
    22  	AddToScheme = SchemeBuilder.AddToScheme
    23  )