forked from crossplane-contrib/provider-upjet-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregister.go
More file actions
38 lines (30 loc) · 1.05 KB
/
register.go
File metadata and controls
38 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
package v1alpha1
import (
"reflect"
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)
// Package type metadata.
const (
Group = "aws.m.upbound.io"
Version = "v1alpha1"
)
var (
// SchemeGroupVersion is group version used to register these objects
SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
// StoreConfig type metadata.
var (
StoreConfigKind = reflect.TypeOf(StoreConfig{}).Name()
StoreConfigGroupKind = schema.GroupKind{Group: Group, Kind: StoreConfigKind}.String()
StoreConfigKindAPIVersion = StoreConfigKind + "." + SchemeGroupVersion.String()
StoreConfigGroupVersionKind = SchemeGroupVersion.WithKind(StoreConfigKind)
)
func init() {
SchemeBuilder.Register(&StoreConfig{}, &StoreConfigList{})
}