mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Add istio VirtualService and DestinationRule types
This commit is contained in:
8
main.go
8
main.go
@@ -5,6 +5,7 @@ package main
|
||||
|
||||
import (
|
||||
monitoringv1 "github.com/coreos/prometheus-operator/pkg/client/monitoring/v1"
|
||||
istiov1alpha3 "github.com/knative/pkg/apis/istio/v1alpha3"
|
||||
clusterSchema "github.com/rancher/types/apis/cluster.cattle.io/v3/schema"
|
||||
managementSchema "github.com/rancher/types/apis/management.cattle.io/v3/schema"
|
||||
publicSchema "github.com/rancher/types/apis/management.cattle.io/v3public/schema"
|
||||
@@ -96,4 +97,11 @@ func main() {
|
||||
},
|
||||
[]interface{}{},
|
||||
)
|
||||
generator.GenerateNativeTypes(istiov1alpha3.SchemeGroupVersion,
|
||||
[]interface{}{
|
||||
istiov1alpha3.VirtualService{},
|
||||
istiov1alpha3.DestinationRule{},
|
||||
},
|
||||
[]interface{}{},
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user