Service mechanism provides ability to monitor Watcher services state.
None
Bases: watcher.api.controllers.base.APIBase
API representation of a service.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a service.
Service.
convert_with_links
(service, expand=True)¶Service.
sample
(expand=True)¶None
Bases: watcher.api.controllers.v1.collection.Collection
API representation of a collection of services.
ServiceCollection.
convert_with_links
(services, limit, url=None, expand=False, **kwargs)¶ServiceCollection.
sample
()¶None
Bases: pecan.rest.RestController
REST controller for Services.
ServicesController.
detail
(marker=None, limit=None, sort_key='id', sort_dir='asc')[source]¶Retrieve a list of services with detail.
Parameters: |
|
---|
ServicesController.
get_all
(marker=None, limit=None, sort_key='id', sort_dir='asc')[source]¶Retrieve a list of services.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.