[][src]Module bodhi::service

This module contains the structures and methods to interact with a (remote) bodhi server instance.

Structs

BodhiService

This struct represents a specific bodhi service, typically running remotely, although a local URL could be specified, as well. This BodhiService instance is then used by queries to actually submit to, and receive from - the service.

BodhiServiceBuilder

This struct contains information necessary to build an instance of BodhiService with the necessary flags. Additionally, depending on whether username and password were supplied as arguments, building the service instance will try to return a privileged session by authenticating via the fedora OpenID endpoint first.

Enums

BuilderError

This enum contains variants for all the ways in which constructing a BodhiService instance can fail.

Constants

DEFAULT_ROWS

This constant defines how many items are queried every time for multi-page queries. The server-side maximum is usually 100, the default is 20, and 50 seems a good compromise for speed.