Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-hoailona
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-hoailona
Commits
2d5bf425
Unverified
Commit
2d5bf425
authored
Sep 03, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update generated docs
parent
d0ced053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
README.rst
README.rst
+11
-11
No files found.
README.rst
View file @
2d5bf425
..
.. NB: This file is machine generated, DO NOT EDIT!
..
.. Edit
vmod
.vcc and run make instead
.. Edit
../src/vmod_hoailona
.vcc and run make instead
..
.. role:: ref(emphasis)
=============
VMOD
hoailona
vmod_
hoailona
=============
----------------------------------------
...
...
@@ -21,7 +21,7 @@ SYNOPSIS
.. parsed-literal::
import hoailona [from "path"]
import hoailona [
as name] [
from "path"]
new xpolicy = hoailona.policy(ENUM type, DURATION ttl, STRING description, BLOB secret, INT start_offset)
...
...
@@ -241,7 +241,7 @@ subroutines, subsequent calls to ``.token()`` and ``.secret()`` in the
same backend transaction are based on the policy that was determined
by that call.
.. _
vmod_hoailona.policy
:
.. _
hoailona.policy()
:
new xpolicy = hoailona.policy(ENUM type, DURATION ttl, STRING description, BLOB secret, INT start_offset)
---------------------------------------------------------------------------------------------------------
...
...
@@ -309,7 +309,7 @@ Examples::
# A policy for "access denied"
new forbid = hoailona.policy(DENY, description="access denied");
.. _
vmod_hoailona.hosts
:
.. _
hoailona.hosts()
:
new xhosts = hoailona.hosts()
-----------------------------
...
...
@@ -319,7 +319,7 @@ that associates with policies with hostnames, and optionally with
path patterns. The constructor has no parameters; the object only
becomes useful by calling the ``.add()`` method.
.. _
vmod_hoailona.hosts.add
:
.. _
xhosts.add()
:
VOID xhosts.add(STRING host, STRING policy, STRING path, STRING description)
----------------------------------------------------------------------------
...
...
@@ -464,7 +464,7 @@ Examples::
h.add("evil.org", "deny", description="no access to evil.org");
}
.. _
vmod_hoailona.hosts.policy
:
.. _
xhosts.policy()
:
INT xhosts.policy(STRING host=0, STRING path=0)
-----------------------------------------------
...
...
@@ -531,7 +531,7 @@ with parameters.
Calling ``.policy()`` with only one of the ``host`` and ``path``
parameters empty is an error.
.. _
vmod_hoailona.hosts.token
:
.. _
xhosts.token()
:
STRING xhosts.token(STRING acl, DURATION ttl, STRING data)
----------------------------------------------------------
...
...
@@ -592,7 +592,7 @@ Examples::
# needed for SecureHD authorization.
}
.. _
vmod_hoailona.hosts.secret
:
.. _
xhosts.secret()
:
BLOB xhosts.secret()
--------------------
...
...
@@ -635,7 +635,7 @@ Examples::
}
}
.. _
vmod_hoailona.hosts.explain
:
.. _
xhosts.explain()
:
STRING xhosts.explain()
-----------------------
...
...
@@ -669,7 +669,7 @@ Example::
std.log("Policy determination: " + config.explain());
}
.. _
vmod_hoailona.version
:
.. _
hoailona.version()
:
STRING version()
----------------
...
...
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