Commit de2c00ce authored by Nils Goroll's avatar Nils Goroll

update generated RSTs

parent 9051fee0
Pipeline #456 failed with stages
...@@ -6,10 +6,8 @@ ...@@ -6,10 +6,8 @@
.. role:: ref(emphasis) .. role:: ref(emphasis)
.. _vmod_all_healthy(3):
================ ================
vmod_all_healthy VMOD all_healthy
================ ================
-------------------------------------------------- --------------------------------------------------
...@@ -21,21 +19,18 @@ Director which is only healthy if all backends are ...@@ -21,21 +19,18 @@ Director which is only healthy if all backends are
SYNOPSIS SYNOPSIS
======== ========
.. parsed-literal::
:: import all_healthy [as name] [from "path"]
import all_healthy [from "path"] ;
new xdirector = all_healthy.director()
VOID xdirector.consider(BACKEND) new xdirector = all_healthy.director()
VOID xdirector.consider(BACKEND)
VOID xdirector.set_backend(BACKEND) VOID xdirector.set_backend(BACKEND)
BACKEND xdirector.backend() BACKEND xdirector.backend()
DESCRIPTION DESCRIPTION
=========== ===========
...@@ -106,15 +101,14 @@ Examples and use cases: ...@@ -106,15 +101,14 @@ Examples and use cases:
set bereq.backend = be.backend(); set bereq.backend = be.backend();
} }
.. _all_healthy.director():
.. _obj_director:
new xdirector = all_healthy.director() new xdirector = all_healthy.director()
-------------------------------------- --------------------------------------
Instantiate an all_healthy director. Instantiate an all_healthy director.
.. _func_director.consider: .. _xdirector.consider():
VOID xdirector.consider(BACKEND) VOID xdirector.consider(BACKEND)
-------------------------------- --------------------------------
...@@ -124,8 +118,7 @@ director. ...@@ -124,8 +118,7 @@ director.
This method may only be called from vcl_init {} This method may only be called from vcl_init {}
.. _xdirector.set_backend():
.. _func_director.set_backend:
VOID xdirector.set_backend(BACKEND) VOID xdirector.set_backend(BACKEND)
----------------------------------- -----------------------------------
...@@ -134,8 +127,7 @@ Set the backend the director resolves to. ...@@ -134,8 +127,7 @@ Set the backend the director resolves to.
This method may only be called from vcl_init {} This method may only be called from vcl_init {}
.. _xdirector.backend():
.. _func_director.backend:
BACKEND xdirector.backend() BACKEND xdirector.backend()
--------------------------- ---------------------------
...@@ -146,10 +138,6 @@ backend set using the .set_backend() method. ...@@ -146,10 +138,6 @@ backend set using the .set_backend() method.
SEE ALSO SEE ALSO
========vcl\(7),varnishd\(1) ========vcl\(7),varnishd\(1)
COPYRIGHT COPYRIGHT
========= =========
......
...@@ -4,38 +4,30 @@ ...@@ -4,38 +4,30 @@
.. Edit vmod.vcc and run make instead .. Edit vmod.vcc and run make instead
.. ..
.. role:: ref(emphasis)
.. _vmod_all_healthy(3): :tocdepth: 1
================
vmod_all_healthy
================
-------------------------------------------------- .. _vmod_all_healthy(3):
Director which is only healthy if all backends are
--------------------------------------------------
:Manual section: 3 =====================================================================
VMOD all_healthy - Director which is only healthy if all backends are
=====================================================================
SYNOPSIS SYNOPSIS
======== ========
.. parsed-literal::
:: import all_healthy [as name] [from "path"]
import all_healthy [from "path"] ;
new xdirector = all_healthy.director()
VOID xdirector.consider(BACKEND) :ref:`all_healthy.director()`
VOID xdirector.set_backend(BACKEND) :ref:`xdirector.consider()`
BACKEND xdirector.backend() :ref:`xdirector.set_backend()`
:ref:`xdirector.backend()`
DESCRIPTION DESCRIPTION
=========== ===========
...@@ -106,23 +98,14 @@ Examples and use cases: ...@@ -106,23 +98,14 @@ Examples and use cases:
set bereq.backend = be.backend(); set bereq.backend = be.backend();
} }
CONTENTS .. _all_healthy.director():
========
* :ref:`obj_director`
* :ref:`func_director.backend`
* :ref:`func_director.consider`
* :ref:`func_director.set_backend`
.. _obj_director:
new xdirector = all_healthy.director() new xdirector = all_healthy.director()
-------------------------------------- --------------------------------------
Instantiate an all_healthy director. Instantiate an all_healthy director.
.. _func_director.consider: .. _xdirector.consider():
VOID xdirector.consider(BACKEND) VOID xdirector.consider(BACKEND)
-------------------------------- --------------------------------
...@@ -132,8 +115,7 @@ director. ...@@ -132,8 +115,7 @@ director.
This method may only be called from vcl_init {} This method may only be called from vcl_init {}
.. _xdirector.set_backend():
.. _func_director.set_backend:
VOID xdirector.set_backend(BACKEND) VOID xdirector.set_backend(BACKEND)
----------------------------------- -----------------------------------
...@@ -142,8 +124,7 @@ Set the backend the director resolves to. ...@@ -142,8 +124,7 @@ Set the backend the director resolves to.
This method may only be called from vcl_init {} This method may only be called from vcl_init {}
.. _xdirector.backend():
.. _func_director.backend:
BACKEND xdirector.backend() BACKEND xdirector.backend()
--------------------------- ---------------------------
...@@ -154,10 +135,6 @@ backend set using the .set_backend() method. ...@@ -154,10 +135,6 @@ backend set using the .set_backend() method.
SEE ALSO SEE ALSO
========vcl\(7),varnishd\(1) ========vcl\(7),varnishd\(1)
COPYRIGHT COPYRIGHT
========= =========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment