Skip to content

Commit

Permalink
add istio types (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
puertomontt authored Mar 5, 2024
1 parent 3f65d1a commit 6d4a1ec
Show file tree
Hide file tree
Showing 37 changed files with 5,991 additions and 0 deletions.
19 changes: 19 additions & 0 deletions codegen/istio_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package codegen

import (
"github.com/solo-io/skv2/codegen/model"
extensionsv1alpha1 "istio.io/client-go/pkg/apis/extensions/v1alpha1"
networkingv1alpha3 "istio.io/client-go/pkg/apis/networking/v1alpha3"
networkingv1beta1 "istio.io/client-go/pkg/apis/networking/v1beta1"
"istio.io/client-go/pkg/apis/security/v1beta1"
Expand Down Expand Up @@ -30,6 +31,9 @@ func istioGroups() []model.Group {
{
Kind: "Gateway",
},
{
Kind: "ProxyConfig",
},
{
Kind: "ServiceEntry",
},
Expand Down Expand Up @@ -72,6 +76,9 @@ func istioGroups() []model.Group {
{
Kind: "PeerAuthentication",
},
{
Kind: "RequestAuthentication",
},
},
CustomTypesImportPath: "istio.io/client-go/pkg/apis/security/v1beta1",
ApiRoot: istioApiRoot,
Expand Down Expand Up @@ -100,5 +107,17 @@ func istioGroups() []model.Group {
ApiRoot: istioApiRoot,
PointerSlices: true,
},
{
GroupVersion: extensionsv1alpha1.SchemeGroupVersion,
Module: istioModule,
Resources: []model.Resource{
{
Kind: "WasmPlugin",
},
},
CustomTypesImportPath: "istio.io/client-go/pkg/apis/extensions/v1alpha1",
ApiRoot: istioApiRoot,
PointerSlices: true,
},
}
}
214 changes: 214 additions & 0 deletions pkg/api/istio/extensions.istio.io/v1alpha1/clients.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6d4a1ec

Please sign in to comment.