Skip to content

Commit

Permalink
consistent naming
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
mathetake committed Dec 18, 2024
1 parent e975e37 commit e668b35
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type LLMRouteRule struct {
//
// +optional
// +kubebuilder:validation:MaxItems=128
Matches []LLMRouteMatch `json:"matches,omitempty"`
Matches []LLMRouteRuleMatch `json:"matches,omitempty"`
}

// LLMRouteRuleBackendRef is a reference to a LLMBackend with a weight.
Expand All @@ -98,7 +98,7 @@ type LLMRouteRuleBackendRef struct {
Weight int `json:"weight"`
}

type LLMRouteMatch struct {
type LLMRouteRuleMatch struct {
// Headers specifies HTTP request header matchers. See HeaderMatch in the Gateway API for the details:
// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io%2fv1.HTTPHeaderMatch
//
Expand Down
46 changes: 23 additions & 23 deletions api/v1alpha1/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 e668b35

Please sign in to comment.