distrax.gateways.abstract_gateway class#

This holds the AbstractGateway Class, which is expected to be used as a template for all created Gateway classes.

class distrax.gateways.abstract_gateway.AbstractGateway(*args, **kwargs)[source]#

An interface for Gateway Classes.

A Gateway is the cluster gateway daemon, this is often used to use to support S3 buckets and similar

This is designed such plugins of the Gateway can be made easily. The only methods publicly visible to the user should be create_gateway and remove_gateway

create_gateway()[source]#

Create the gateway node.

Return type:

None

create_s3_user()[source]#

Create s3 user.

Return type:

None

remove_gateway()[source]#

Remove the gateway node.

Return type:

None