test/config/docker/objects/registry.py
croy 82d417b9e6 New StarlingX Automation Framework
Fresh start for the StarlingX automation framework.

Change-Id: Ie265e0791024f45f71faad6315c2b91b022934d1
2024-11-29 16:01:57 -05:00

38 lines
809 B
Python

class Registry:
"""
Class for Registry object
"""
def __init__(self, registry_name: str, registry_url: str, user_name: str, password: str):
self.registry_name = registry_name
self.registry_url = registry_url
self.user_name = user_name
self.password = password
def get_registry_name(self) -> str:
"""
Getter for registry name
Returns:
"""
return self.registry_name
def get_registry_url(self) -> str:
"""
Getter for registry url
Returns:
"""
return self.registry_url
def get_user_name(self) -> str:
"""
Getter for user name
Returns:
"""
return self.user_name
def get_password(self) -> str:
return self.password