Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.01 KB

factory.md

File metadata and controls

33 lines (21 loc) · 1.01 KB

Factory

Auto-generated documentation for ocs_ci.deployment.factory module.

DeploymentFactory

[find in source code]

class DeploymentFactory(object):
    def __init__():

A factory class to get specific platform object

DeploymentFactory().get_deployment

[find in source code]

def get_deployment():

Get the exact deployment class based on ENV_DATA

Examples

deployment_platform may look like 'aws', 'vmware', 'baremetal' deployment_type may be like 'ipi' or 'upi'