Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
9cfe2b74
Commit
9cfe2b74
authored
Mar 31, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Permit fail and restart as returns for client request disposition.
parent
40491565
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
varnishcfg-crd.yaml
deploy/varnishcfg-crd.yaml
+2
-0
types.go
pkg/apis/varnishingress/v1alpha1/types.go
+4
-0
spec.go
pkg/varnish/vcl/spec.go
+4
-0
No files found.
deploy/varnishcfg-crd.yaml
View file @
9cfe2b74
...
...
@@ -361,6 +361,8 @@ spec:
-
pipe
-
purge
-
synth
-
fail
-
restart
type
:
string
status
:
type
:
integer
...
...
pkg/apis/varnishingress/v1alpha1/types.go
View file @
9cfe2b74
...
...
@@ -400,6 +400,10 @@ const (
// RecvSynth to generate a synthetic response with a given
// HTTP response status.
RecvSynth
=
"synth"
// RecvFail to invoke VCL failure.
RecvFail
=
"fail"
// RecvRestart to invoke request restart.
RecvRestart
=
"restart"
)
// DispositionSpec specifies the disposition of a client request when
...
...
pkg/varnish/vcl/spec.go
View file @
9cfe2b74
...
...
@@ -710,6 +710,10 @@ const (
// RecvSynth to generate a synthetic response with a given
// HTTP response status.
RecvSynth
=
"synth"
// RecvFail to invoke VCL failure.
RecvFail
=
"fail"
// RecvRestart to invoke request restart.
RecvRestart
=
"restart"
)
// DispositionType specifies the disposition of a client request when
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment