Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
30c88b25
Commit
30c88b25
authored
Mar 10, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs after recent changes
A few things still remaining.
parent
d09235eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
cache_backend_cfg.c
bin/varnishd/cache/cache_backend_cfg.c
+1
-1
varnish-cli.rst
doc/sphinx/reference/varnish-cli.rst
+5
-5
vcli.h
include/vcli.h
+5
-6
No files found.
bin/varnishd/cache/cache_backend_cfg.c
View file @
30c88b25
...
...
@@ -296,7 +296,7 @@ cli_backend_set_health(struct cli *cli, const char * const *av, void *priv)
/*---------------------------------------------------------------------*/
static
struct
cli_proto
backend_cmds
[]
=
{
{
"backend.list"
,
"backend.list [<backend_expression>]"
,
{
"backend.list"
,
"backend.list [
-p] [
<backend_expression>]"
,
"
\t
List backends."
,
0
,
2
,
""
,
cli_backend_list
},
{
"backend.set_health"
,
...
...
doc/sphinx/reference/varnish-cli.rst
View file @
30c88b25
...
...
@@ -97,13 +97,13 @@ start
stop
Stop the Varnish cache process.
vcl.load <configname> <filename>
vcl.load <configname> <filename>
[auto|cold|warm]
Compile and load the VCL file under the name provided.
vcl.inline <configname> <quoted_VCLstring>
vcl.inline <configname> <quoted_VCLstring>
[auto|cold|warm]
Compile and load the VCL data under the name provided.
vcl.use <configname>
vcl.use <configname>
[auto|cold|warm]
Switch to the named configuration immediately.
vcl.discard <configname>
...
...
@@ -130,7 +130,7 @@ panic.clear
storage.list
List storage devices.
backend.list [<backend_expression>]
backend.list [
-p] [
<backend_expression>]
List backends.
backend.set_health <backend_expression> <state>
...
...
@@ -138,7 +138,7 @@ backend.set_health <backend_expression> <state>
State is any of auto, healthy or sick values.
ban <field> <operator> <arg> [&& <field> <oper> <arg> ...]
All objects where the all the conditions match will be marked obsolete
.
Mark obsolete all objects where all the conditions match
.
ban.list
List the active bans.
...
...
include/vcli.h
View file @
30c88b25
...
...
@@ -47,9 +47,8 @@
#define CLI_BAN \
"ban", \
"ban <field> <operator> <arg> [&& <field> <oper> <arg>]...", \
"\tAll objects where the all the conditions match will be " \
"marked obsolete.", \
"ban <field> <operator> <arg> [&& <field> <oper> <arg> ...]", \
"\tMark obsolete all objects where all the conditions match.", \
3, UINT_MAX
#define CLI_BAN_LIST \
...
...
@@ -60,19 +59,19 @@
#define CLI_VCL_LOAD \
"vcl.load", \
"vcl.load <configname> <filename> [
*auto,cold,
warm]", \
"vcl.load <configname> <filename> [
auto|cold|
warm]", \
"\tCompile and load the VCL file under the name provided.", \
2, 3
#define CLI_VCL_INLINE \
"vcl.inline", \
"vcl.inline <configname> <quoted_VCLstring> [
*auto,cold,
warm]", \
"vcl.inline <configname> <quoted_VCLstring> [
auto|cold|
warm]", \
"\tCompile and load the VCL data under the name provided.", \
2, 3
#define CLI_VCL_STATE \
"vcl.state", \
"vcl.state <configname> [auto
,cold,
warm]", \
"vcl.state <configname> [auto
|cold|
warm]", \
"\tForce the state of the named configuration.", \
2, 2
...
...
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