Vantage Agent
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/edge | 14 | 07 Aug 2025 |
juju deploy vantage-agent --channel edge
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
charms.vantage_agent.v0.agent_snapper
-
- Last updated 20 Jan 2025
- Revision Library version 0.4
Agent Snapper Library
This library provides the AgentSnapper
class that provides all the event handling
and operations logic needed to run a Snapped Vantage Agent within a charm. This
allows the Charm for a Snapped Vantage Agent to be very minimalist and avoid
repeating a lot of boilerplate code.
Index
class AgentSnapperError
class SnapperSysCallError
class AgentSnapper
Methods
AgentSnapper. __init__( self , charm: CharmBase , snap_name: str )
AgentSnapper. handle_install( self , event: InstallEvent )
AgentSnapper. handle_config_changed( self , event: ConfigChangedEvent )
AgentSnapper. handle_start( self , event: StartEvent )
AgentSnapper. handle_stop( self , event: StopEvent )
AgentSnapper. handle_remove( self , event: RemoveEvent )
AgentSnapper. is_snap_installed( self )
AgentSnapper. is_snap_active( self )
AgentSnapper. install_snap( self )
AgentSnapper. configure_snap( self )
AgentSnapper. clear_snap_config( self )
AgentSnapper. get_snap_config( self )
AgentSnapper. remove_snap( self )
AgentSnapper. run_snap_service( self , service: str )