[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhanced
[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 package api
27
28 import (
29         "k8s.io/apimachinery/pkg/runtime/schema"
30         "sigs.k8s.io/controller-runtime/pkg/scheme"
31 )
32
33 var (
34         // GroupVersion is group version used to register these objects
35         GroupVersion = schema.GroupVersion{Group: "certmanager.onap.org", Version: "v1"}
36
37         // SchemeBuilder is used to add go types to the GroupVersionKind scheme
38         SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
39
40         // AddToScheme adds the types in this group-version to the given scheme.
41         AddToScheme = SchemeBuilder.AddToScheme
42 )