Skip to content

Commit

Permalink
WIP: Multiple header values
Browse files Browse the repository at this point in the history
  • Loading branch information
afek854 committed Sep 4, 2024
1 parent 92f49a3 commit afd4787
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/softwarecomposition/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ type HTTPEndpoint struct {
Methods []string
Internal consts.IsInternal
Direction consts.NetworkDirection
Headers map[string]string
Headers map[string][]string
}

type SpecBase struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/softwarecomposition/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ type HTTPEndpoint struct {
Methods []string `json:"methods,omitempty"`
Internal consts.IsInternal `json:"internal,omitempty"`
Direction consts.NetworkDirection `json:"direction,omitempty"`
Headers map[string]string `json:"headers,omitempty"`
Headers map[string][]string `json:"headers,omitempty"`
}

// Arg defines the specific syscall in seccomp.
Expand Down

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

12 changes: 10 additions & 2 deletions pkg/apis/softwarecomposition/v1beta1/zz_generated.deepcopy.go

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

12 changes: 10 additions & 2 deletions pkg/apis/softwarecomposition/zz_generated.deepcopy.go

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

13 changes: 10 additions & 3 deletions pkg/generated/openapi/zz_generated.openapi.go

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

0 comments on commit afd4787

Please sign in to comment.