Apache Guacd!
- David
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 3 | 16 Nov 2021 | |
latest/edge | 3 | 16 Nov 2021 |
juju deploy apache-guacd
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
charms.apache_guacd.v0.guacd
-
- Last updated 16 Nov 2021
- Revision Library version 0.1
Guacd library.
This library allows the integration with Apache Guacd charm. Is is published as part of the davigar15-apache-guacd charm.
The charm that requires guacd should include the following content in its metadata.yaml:
# ...
requires:
guacd:
interface: guacd
limit: 1
# ...
A typical example of including this library might be:
# ...
from ops.framework import StoredState
from charms.davigar15_apache_guacd.v0.guacd import GuacdEvents, GuacdRequires
class SomeApplication(CharmBase):
on = GuacdEvents()
_stored = StoredState()
def __init__(self, *args):
# ...
self.guacd = GuacdRequires(self, self._stored)
self.framework.observe(self.on.guacd_changed, self._guacd_changed)
# ...
def _guacd_changed(self, _):
guacd_hostname = self.guacd.hostname
guacd_port = self.guacd.port
# ...
Index
def pod_ip()
Description
Pod's IP address. None
class GuacdChangedEvent
Description
Event to announce a change in the Guacd service. None
class GuacdEvents
Description
Guacd Events. None
class GuacdRequires
Description
Requires-side of the guacd interface. None
Methods
GuacdRequires. __init__( self , charm , _stored , relation_name )
GuacdRequires. hostname( self )
Description
Guacd hostname. None
GuacdRequires. port( self )
Description
Guacd port. None
class GuacdProvides
Description
Provides-side of the guacd interface. None
Methods
GuacdProvides. __init__( self , charm , relation_name )