1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

Introduce APIService resource to Rancher

This commit is contained in:
orangedeng
2019-06-11 14:54:16 +08:00
committed by Alena Prokharchyk
parent 62d70fb549
commit 35112c6ee7
3 changed files with 63 additions and 24 deletions

View File

@@ -21,6 +21,7 @@ import (
knetworkingv1 "k8s.io/api/networking/v1"
rbacv1 "k8s.io/api/rbac/v1"
k8sschema "k8s.io/apimachinery/pkg/runtime/schema"
apiregistrationv1 "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1"
)
func main() {
@@ -104,4 +105,9 @@ func main() {
},
[]interface{}{},
)
generator.GenerateNativeTypes(apiregistrationv1.SchemeGroupVersion,
[]interface{}{}, []interface{}{
apiregistrationv1.APIService{},
},
)
}