Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
Bastien Gounon
xcache-flusher
Commits
945c3490
Commit
945c3490
authored
Jul 30, 2020
by
Bastien Gounon
🐗
Browse files
Add new file
parent
35b9426f
Pipeline
#78270
passed with stage
in 2 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
README.md
README.md
+11
-0
No files found.
README.md
0 → 100644
View file @
945c3490
# Server side
Download the binary, make it executable and provide parameters
example :
`./xcache-flusher -cachedir /tmp/testdir -token mysecretpassword`
Server will listen on port 8080
# Client side
Client just needs to call the DELETE HTTP operation on the server URL with method
`flush`
. Optionnally provide authentication token in the URL.
example:
*
with authentication:
`curl -X DELETE http://127.0.0.1:8080/flush\?token\=testos`
*
without authentication:
`curl -X DELETE http://127.0.0.1:8080/flush`
\ No newline at end of file
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