Пример #1
0
 def __init__(self, context):
     CreateAndConfigureRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_RELATIVE_PATH)
     self.add_option(OPT_BRANCH)
     self.options_bundle.opt_feed.description = DESC_FEED
Пример #2
0
 def __init__(self, context):
     CreateAndConfigureRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_RELATIVE_PATH)
     self.add_option(OPT_BRANCH)
     self.options_bundle.opt_feed.description = DESC_FEED
Пример #3
0
    def __init__(self, context):
        """
        Initialize the create command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        CreateAndConfigureRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        PythonRepositoryOptions.__init__(self)
Пример #4
0
    def __init__(self, context):
        """
        Initialize the create command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        CreateAndConfigureRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        NpmRepositoryOptions.__init__(self)
Пример #5
0
 def __init__(self, context):
     CreateAndConfigureRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, include_ssl=True, include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_REDIRECT_URL)
     self.add_option(OPT_PROTECTED)
     self.add_option(OPT_REPO_REGISTRY_ID)
     self.sync_group.add_option(OPT_UPSTREAM_NAME)
     self.options_bundle.opt_feed.description = DESC_FEED
Пример #6
0
    def __init__(self, context):
        """
        Initialize the command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        CreateAndConfigureRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        self.add_option(OPT_AUTO_PUBLISH)
        self.options_bundle.opt_feed.description = DESC_FEED
Пример #7
0
 def __init__(self, context):
     CreateAndConfigureRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self,
                                  include_ssl=False,
                                  include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_REDIRECT_URL)
     self.add_option(OPT_PROTECTED)
     self.add_option(OPT_REPO_REGISTRY_ID)
     self.sync_group.add_option(OPT_UPSTREAM_NAME)
     self.options_bundle.opt_feed.description = DESC_FEED