-
Notifications
You must be signed in to change notification settings - Fork 8
/
group.go
39 lines (37 loc) · 877 Bytes
/
group.go
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
39
package v1alpha1
import (
"github.com/solo-io/skv2/codegen/model"
"github.com/solo-io/skv2/contrib"
"k8s.io/apimachinery/pkg/runtime/schema"
)
// export group
var Group = model.Group{
GroupVersion: schema.GroupVersion{
Group: "multicluster.solo.io",
Version: "v1alpha1",
},
Module: "github.com/solo-io/skv2",
Resources: []model.Resource{
{
Kind: "KubernetesCluster",
Spec: model.Field{
Type: model.Type{
Name: "KubernetesClusterSpec",
},
},
Status: &model.Field{
Type: model.Type{
Name: "KubernetesClusterStatus",
},
},
},
},
RenderManifests: true,
RenderValidationSchemas: true,
RenderController: true,
RenderClients: true,
RenderTypes: true,
MockgenDirective: true,
ApiRoot: "pkg/api",
CustomTemplates: contrib.AllGroupCustomTemplates,
}