コード例 #1
0
ファイル: cudl.py プロジェクト: bmbouter/pulp_ostree
 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
ファイル: cudl.py プロジェクト: pombreda/pulp_ostree
 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
ファイル: cudl.py プロジェクト: bmbouter/pulp_python
    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
ファイル: cudl.py プロジェクト: daviddavis/pulp2_npm
    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
ファイル: cudl.py プロジェクト: jortel/pulp_docker
 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
ファイル: cudl.py プロジェクト: beav/pulp_python
    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