Skip to content

Commit

Permalink
feat: added required types for tracing <> flows (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Jul 29, 2024
1 parent 35320e2 commit c525e3f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 18 deletions.
25 changes: 13 additions & 12 deletions libs/manager-kontrol-api/api/golang/server/server.gen.go

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

13 changes: 8 additions & 5 deletions libs/manager-kontrol-api/api/golang/types/types.gen.go

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

2 changes: 2 additions & 0 deletions libs/manager-kontrol-api/api/typescript/client/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export interface components {
virtual_services?: unknown[];
destination_rules?: unknown[];
gateway?: unknown;
envoy_filters?: unknown[];
authorization_policies?: unknown[];
};
};
responses: {
Expand Down
2 changes: 1 addition & 1 deletion libs/manager-kontrol-api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/getkin/kin-openapi v0.125.0
github.com/labstack/echo/v4 v4.12.0
github.com/oapi-codegen/runtime v1.1.1
istio.io/api v1.22.1-0.20240524024004-b6815be0740d
istio.io/client-go v1.22.1
k8s.io/api v0.30.2
)
Expand Down Expand Up @@ -43,7 +44,6 @@ require (
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
istio.io/api v1.22.1-0.20240524024004-b6815be0740d // indirect
k8s.io/apimachinery v0.30.2 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
Expand Down
14 changes: 14 additions & 0 deletions libs/manager-kontrol-api/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,17 @@ components:
x-go-type-import:
path: istio.io/client-go/pkg/apis/networking/v1alpha3
name: v1alpha3
envoy_filters:
type: array
items:
x-go-type: v1alpha3.EnvoyFilter
x-go-type-import:
path: istio.io/client-go/pkg/apis/networking/v1alpha3
name: v1alpha3
authorization_policies:
type: array
items:
x-go-type: v1beta1.AuthorizationPolicy
x-go-type-import:
path: istio.io/api/security/v1beta1
name: v1beta1

0 comments on commit c525e3f

Please sign in to comment.