-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
42 changed files
with
953 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
vendor/ | ||
envoy-control-plane-darwin-amd64 | ||
/*-darwin-amd64 | ||
/*-linux-amd64 | ||
resources/*/pki/ | ||
resources/*/challenges/ | ||
/*.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package api | ||
|
||
type RateLimit struct { | ||
API string `json:"api" yaml:"api"` | ||
Kind string `json:"kind" yaml:"kind"` | ||
Metadata Metadata `json:"metadata" yaml:"metadata"` | ||
Spec RateLimitSpec `json:"spec" yaml:"spec"` | ||
} | ||
type RateLimitSpec struct { | ||
Descriptors []RateLimitDescriptor `json:"descriptors" yaml:"descriptors"` | ||
RequestPerUnit string `json:"requestPerUnit" yaml:"requestPerUnit"` | ||
Unit string `json:"unit" yaml:"unit"` | ||
} | ||
type RateLimitDescriptor struct { | ||
DestinationCluster bool `json:"destinationCluster" yaml:"destinationCluster"` | ||
SourceCluster bool `json:"sourceCluster" yaml:"sourceCluster"` | ||
RemoteAddress bool `json:"remoteAddress" yaml:"remoteAddress"` | ||
RequestHeader string `json:"requestHeader" yaml:"requestHeader"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.