Skip to content

Commit

Permalink
generate gwapi
Browse files Browse the repository at this point in the history
Signed-off-by: Karol Szwaj <[email protected]>
  • Loading branch information
cnvergence committed Apr 22, 2024
1 parent 284633c commit 274ac15
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ xdsIR:
endpoints:
- host: 7.7.7.7
port: 8080
filters: {}
protocol: HTTP
weight: 1
hostname: www.example.com
Expand Down Expand Up @@ -285,6 +286,7 @@ xdsIR:
endpoints:
- host: 7.7.7.7
port: 8080
filters: {}
protocol: HTTP
weight: 1
hostname: www.example.com
Expand Down
2 changes: 2 additions & 0 deletions internal/ir/xds.go
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,8 @@ type HTTPWasmCode struct {
SHA256 string `json:"sha256"`
}

// DestinationFilters contains HTTP filters that will be used with the DestinationSetting.
// +k8s:deepcopy-gen=true
type DestinationFilters struct {
// AddRequestHeaders defines header/value sets to be added to the headers of requests.
AddRequestHeaders []AddHeader `json:"addRequestHeaders,omitempty" yaml:"addRequestHeaders,omitempty"`
Expand Down
35 changes: 35 additions & 0 deletions internal/ir/zz_generated.deepcopy.go

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

0 comments on commit 274ac15

Please sign in to comment.