Public Member Functions | Private Attributes | List of all members
app_manager.exchange.Exchange Class Reference

Public Member Functions

def __init__ (self, url, directory, on_error=lambda x:None)
 
def get_app_details (self, name)
 
def get_available_apps (self)
 
def get_available_version (self, deb)
 
def get_installed_apps (self)
 
def get_installed_version (self, deb)
 
def install_app (self, app)
 
def is_installed (self, deb)
 
def uninstall_app (self, app)
 
def update (self)
 
def update_local (self)
 

Private Attributes

 _available_apps
 
 _debs
 
 _directory
 
 _exchange_file
 
 _exchange_local
 
 _installed_apps
 
 _on_error
 
 _url
 

Detailed Description

Definition at line 51 of file exchange.py.

Constructor & Destructor Documentation

def app_manager.exchange.Exchange.__init__ (   self,
  url,
  directory,
  on_error = lambda x: None 
)

Definition at line 52 of file exchange.py.

Member Function Documentation

def app_manager.exchange.Exchange.get_app_details (   self,
  name 
)

Definition at line 106 of file exchange.py.

def app_manager.exchange.Exchange.get_available_apps (   self)

Definition at line 103 of file exchange.py.

def app_manager.exchange.Exchange.get_available_version (   self,
  deb 
)

Definition at line 79 of file exchange.py.

def app_manager.exchange.Exchange.get_installed_apps (   self)

Definition at line 100 of file exchange.py.

def app_manager.exchange.Exchange.get_installed_version (   self,
  deb 
)

Definition at line 70 of file exchange.py.

def app_manager.exchange.Exchange.install_app (   self,
  app 
)

Definition at line 131 of file exchange.py.

def app_manager.exchange.Exchange.is_installed (   self,
  deb 
)

Definition at line 91 of file exchange.py.

def app_manager.exchange.Exchange.uninstall_app (   self,
  app 
)

Definition at line 176 of file exchange.py.

def app_manager.exchange.Exchange.update (   self)

Definition at line 196 of file exchange.py.

def app_manager.exchange.Exchange.update_local (   self)

Definition at line 213 of file exchange.py.

Member Data Documentation

app_manager.exchange.Exchange._available_apps
private

Definition at line 57 of file exchange.py.

app_manager.exchange.Exchange._debs
private

Definition at line 58 of file exchange.py.

app_manager.exchange.Exchange._directory
private

Definition at line 54 of file exchange.py.

app_manager.exchange.Exchange._exchange_file
private

Definition at line 64 of file exchange.py.

app_manager.exchange.Exchange._exchange_local
private

Definition at line 60 of file exchange.py.

app_manager.exchange.Exchange._installed_apps
private

Definition at line 56 of file exchange.py.

app_manager.exchange.Exchange._on_error
private

Definition at line 55 of file exchange.py.

app_manager.exchange.Exchange._url
private

Definition at line 53 of file exchange.py.


The documentation for this class was generated from the following file:


app_manager
Author(s): Jeremy Leibs, Ken Conley, Yuki Furuta
autogenerated on Fri Mar 5 2021 03:07:47