Skip to content

Commit

Permalink
Add istio telemetry API (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-pritchard authored Jan 12, 2024
1 parent 9b9b873 commit c9122eb
Show file tree
Hide file tree
Showing 13 changed files with 2,201 additions and 0 deletions.
13 changes: 13 additions & 0 deletions codegen/istio_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
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"
istiotelemetryv1alpha1 "istio.io/client-go/pkg/apis/telemetry/v1alpha1"
operator "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
)

Expand Down Expand Up @@ -87,5 +88,17 @@ func istioGroups() []model.Group {
CustomTypesImportPath: "istio.io/istio/operator/pkg/apis/istio/v1alpha1",
ApiRoot: istioApiRoot,
},
{
GroupVersion: istiotelemetryv1alpha1.SchemeGroupVersion,
Module: istioModule,
Resources: []model.Resource{
{
Kind: "Telemetry",
},
},
CustomTypesImportPath: "istio.io/client-go/pkg/apis/telemetry/v1alpha1",
ApiRoot: istioApiRoot,
PointerSlices: true,
},
}
}
214 changes: 214 additions & 0 deletions pkg/api/istio/telemetry.istio.io/v1alpha1/clients.go

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

125 changes: 125 additions & 0 deletions pkg/api/istio/telemetry.istio.io/v1alpha1/controller/event_handlers.go

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

Loading

0 comments on commit c9122eb

Please sign in to comment.