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:
committed by
Alena Prokharchyk
parent
62d70fb549
commit
35112c6ee7
6
main.go
6
main.go
@@ -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{},
|
||||
},
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user