[OOM-K8S-CERT-EXTERNAL-PROVIDER] Create mock implementation
[oom/platform/cert-service.git] / certServiceK8sExternalProvider / src / api / groupversion_info.go
1 /*
2  * ============LICENSE_START=======================================================
3  * oom-certservice-k8s-external-provider
4  * ================================================================================
5  * Copyright (c) 2019 Smallstep Labs, Inc.
6  * Modifications copyright (C) 2020 Nokia. All rights reserved.
7  * ================================================================================
8  * This source code was copied from the following git repository:
9  * https://github.com/smallstep/step-issuer
10  * The source code was modified for usage in the ONAP project.
11  * ================================================================================
12  * Licensed under the Apache License, Version 2.0 (the "License");
13  * you may not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  *      http://www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an "AS IS" BASIS,
20  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  * ============LICENSE_END=========================================================
24  */
25
26
27 package api
28
29 import (
30         "k8s.io/apimachinery/pkg/runtime/schema"
31         "sigs.k8s.io/controller-runtime/pkg/scheme"
32 )
33
34 var (
35         // GroupVersion is group version used to register these objects
36         GroupVersion = schema.GroupVersion{Group: "certmanager.onap.org", Version: "v1beta1"}
37
38         // SchemeBuilder is used to add go types to the GroupVersionKind scheme
39         SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
40
41         // AddToScheme adds the types in this group-version to the given scheme.
42         AddToScheme = SchemeBuilder.AddToScheme
43 )