types.swarm

Module Contents

Classes

SwarmSpec(self,version,task_history_retention_limit=None,snapshot_interval=None,keep_old_snapshots=None,log_entries_for_slow_followers=None,heartbeat_tick=None,election_tick=None,dispatcher_heartbeat_period=None,node_cert_expiry=None,external_cas=None,name=None,labels=None,signing_ca_cert=None,signing_ca_key=None,ca_force_rotate=None,autolock_managers=None,log_driver=None) Describe a Swarm’s configuration and options. Use
SwarmExternalCA(self,url,protocol=None,options=None,ca_cert=None) Configuration for forwarding signing requests to an external
class SwarmSpec(version, task_history_retention_limit=None, snapshot_interval=None, keep_old_snapshots=None, log_entries_for_slow_followers=None, heartbeat_tick=None, election_tick=None, dispatcher_heartbeat_period=None, node_cert_expiry=None, external_cas=None, name=None, labels=None, signing_ca_cert=None, signing_ca_key=None, ca_force_rotate=None, autolock_managers=None, log_driver=None)

Describe a Swarm’s configuration and options. Use create_swarm_spec() to instantiate.

__init__(version, task_history_retention_limit=None, snapshot_interval=None, keep_old_snapshots=None, log_entries_for_slow_followers=None, heartbeat_tick=None, election_tick=None, dispatcher_heartbeat_period=None, node_cert_expiry=None, external_cas=None, name=None, labels=None, signing_ca_cert=None, signing_ca_key=None, ca_force_rotate=None, autolock_managers=None, log_driver=None)
class SwarmExternalCA(url, protocol=None, options=None, ca_cert=None)

Configuration for forwarding signing requests to an external certificate authority.

Args:
url (string): URL where certificate signing requests should be
sent.

protocol (string): Protocol for communication with the external CA. options (dict): An object with key/value pairs that are interpreted

as protocol-specific options for the external CA driver.
ca_cert (string): The root CA certificate (in PEM format) this
external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided).
__init__(url, protocol=None, options=None, ca_cert=None)