Skip to content

Commit

Permalink
expose ACL priority (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4c6565 committed Oct 14, 2022
1 parent 840bda0 commit 3dc33c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/service/loadbalancer/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ type PatchCertificateRequest struct {
// CreateACLRequest represents a request to create a ACL
type CreateACLRequest struct {
Name string `json:"name"`
Priority int `json:"priority,omitempty"`
ListenerID int `json:"listener_id,omitempty"`
TargetGroupID int `json:"target_group_id,omitempty"`
Conditions []ACLCondition `json:"conditions,omitempty"`
Expand All @@ -198,6 +199,7 @@ type CreateACLRequest struct {
// PatchListenerACLRequest represents a request to patch a ACL
type PatchACLRequest struct {
Name string `json:"name,omitempty"`
Priority int `json:"priority,omitempty"`
Conditions []ACLCondition `json:"conditions,omitempty"`
Actions []ACLAction `json:"actions,omitempty"`
}

0 comments on commit 3dc33c5

Please sign in to comment.