src/rgw/setup/rgw.py
def _validate_endpoint_paramters(endpoints: dict):
        """Validate endpoint values fetched from hctl fetch-fids cmd."""

        for key, _ in const.RgwEndpoint.__members__.items():
            if key not in endpoints:
                raise SetupError(errno.EINVAL, f'Failed to validate hare endpoint values.'
                    f'endpoint {key} is not present.')

        for ept_key, ept_value in endpoints.items():
            if ept_value == '':
                raise SetupError(errno.EINVAL, f'Invalid values for {ept_key}: {ept_value}')
Validate endpoint values fetched from hctl fetch-fids cmd.
Validate endpoint values fetched from hctl fetch-fids cmd.
Validate endpoint values fetched from hctl fetch - fids cmd .
def _validate_endpoint_paramters(endpoints: dict):
        for key, _ in const.RgwEndpoint.__members__.items():
            if key not in endpoints:
                raise SetupError(errno.EINVAL, f'Failed to validate hare endpoint values.'
                    f'endpoint {key} is not present.')
        for ept_key, ept_value in endpoints.items():
            if ept_value == '':
                raise SetupError(errno.EINVAL, f'Invalid values for {ept_key}: {ept_value}')
def _validate_endpoint_paramters ( endpoints : dict ) : for key , _ in const . RgwEndpoint . __members__ . items ( ) : if key not in endpoints : raise SetupError ( errno . EINVAL , f'Failed to validate hare endpoint values.' f'endpoint {key} is not present.' ) for ept_key , ept_value in endpoints . items ( ) : if ept_value == '' : raise SetupError ( errno . EINVAL , f'Invalid values for {ept_key}: {ept_value}' )
Validate endpoint values fetched from hctl fetch-fids cmd.
Validate endpoint values fetched from hctl fetch - fids cmd .
"""Validate endpoint values fetched from hctl fetch-fids cmd."""
endpoints
dict