nexuscli.api.repository.recipes package

Submodules

nexuscli.api.repository.recipes.apt module

class nexuscli.api.repository.recipes.apt.AptHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.apt._AptRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

property configuration

As per Repository.configuration but specific to this repository recipe and type.

Return type

str

class nexuscli.api.repository.recipes.apt.AptProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.apt._AptRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

property configuration

As per Repository.configuration but specific to this repository recipe and type.

Return type

str

class nexuscli.api.repository.recipes.apt.AptGroupRepository

Bases: object

nexuscli.api.repository.recipes.bower module

class nexuscli.api.repository.recipes.bower.BowerHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.bower._BowerRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

class nexuscli.api.repository.recipes.bower.BowerProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.bower._BowerRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

class nexuscli.api.repository.recipes.bower.BowerGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.bower._BowerRepository, nexuscli.api.repository.base_models.group_repository.GroupRepository

nexuscli.api.repository.recipes.docker module

class nexuscli.api.repository.recipes.docker.DockerGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.group_repository.GroupRepository, nexuscli.api.repository.recipes.docker._DockerRepository

class nexuscli.api.repository.recipes.docker.DockerHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.hosted_repository.HostedRepository, nexuscli.api.repository.recipes.docker._DockerRepository

class nexuscli.api.repository.recipes.docker.DockerProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.proxy_repository.ProxyRepository, nexuscli.api.repository.recipes.docker._DockerRepository

INDEX_TYPES = ('REGISTRY', 'HUB', 'CUSTOM')
property configuration

As per Repository.configuration but specific to this repository recipe and type.

Return type

str

nexuscli.api.repository.recipes.maven module

class nexuscli.api.repository.recipes.maven.MavenGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.group_repository.GroupRepository, nexuscli.api.repository.recipes.maven._MavenRepository

class nexuscli.api.repository.recipes.maven.MavenHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.hosted_repository.HostedRepository, nexuscli.api.repository.recipes.maven._MavenRepository

A Maven hosted Nexus repository.

See HostedRepository and MavenRepository

class nexuscli.api.repository.recipes.maven.MavenProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.maven._MavenRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

A Maven proxy Nexus repository.

See MavenRepository and ProxyRepository

nexuscli.api.repository.recipes.npm module

class nexuscli.api.repository.recipes.npm.NpmHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.npm._NpmRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

upload_file(src_file, dst_dir=None, dst_file=None)

Upload a single file to a npm repository.

Parameters
  • src_file – path to the local file to be uploaded.

  • dst_dir – NOT USED

  • dst_file – NOT USED

Raises
class nexuscli.api.repository.recipes.npm.NpmProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.npm._NpmRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

class nexuscli.api.repository.recipes.npm.NpmGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.npm._NpmRepository, nexuscli.api.repository.base_models.group_repository.GroupRepository

nexuscli.api.repository.recipes.nuget module

class nexuscli.api.repository.recipes.nuget.NugetHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.nuget._NugetRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

class nexuscli.api.repository.recipes.nuget.NugetProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.nuget._NugetRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

class nexuscli.api.repository.recipes.nuget.NugetGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.nuget._NugetRepository, nexuscli.api.repository.base_models.group_repository.GroupRepository

nexuscli.api.repository.recipes.pypi module

class nexuscli.api.repository.recipes.pypi.PypiHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.pypi._PypiRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

upload_file(src_file, dst_dir=None, dst_file=None)

Upload a single file to a PyPI repository.

Parameters
  • src_file – path to the local file to be uploaded.

  • dst_dir – NOT USED

  • dst_file – NOT USED

Raises
class nexuscli.api.repository.recipes.pypi.PypiProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.pypi._PypiRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

class nexuscli.api.repository.recipes.pypi.PypiGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.pypi._PypiRepository, nexuscli.api.repository.base_models.group_repository.GroupRepository

nexuscli.api.repository.recipes.raw module

class nexuscli.api.repository.recipes.raw.RawHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.raw._RawRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

upload_file(source, destination)

Upload a single file to a raw repository.

Parameters
  • source – path to the local file to be uploaded.

  • destination – directory under dst_repo to place file in. When None, the file is placed under the root of the raw repository

Raises
class nexuscli.api.repository.recipes.raw.RawProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.raw._RawRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

class nexuscli.api.repository.recipes.raw.RawGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.raw._RawRepository, nexuscli.api.repository.base_models.group_repository.GroupRepository

nexuscli.api.repository.recipes.rubygems module

class nexuscli.api.repository.recipes.rubygems.RubygemsHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.rubygems._RubygemsRepository, nexuscli.api.repository.base_models.hosted_repository.HostedRepository

class nexuscli.api.repository.recipes.rubygems.RubygemsProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.rubygems._RubygemsRepository, nexuscli.api.repository.base_models.proxy_repository.ProxyRepository

class nexuscli.api.repository.recipes.rubygems.RubygemsGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.recipes.rubygems._RubygemsRepository, nexuscli.api.repository.base_models.group_repository.GroupRepository

nexuscli.api.repository.recipes.validations module

nexuscli.api.repository.recipes.yum module

class nexuscli.api.repository.recipes.yum.YumGroupRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.group_repository.GroupRepository, nexuscli.api.repository.recipes.yum._YumRepository

class nexuscli.api.repository.recipes.yum.YumHostedRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.hosted_repository.HostedRepository, nexuscli.api.repository.recipes.yum._YumRepository

A Yum hosted Nexus repository.

See HostedRepository and YumRepository

upload_file(source, destination)
class nexuscli.api.repository.recipes.yum.YumProxyRepository(*args, **kwargs)

Bases: nexuscli.api.repository.base_models.proxy_repository.ProxyRepository, nexuscli.api.repository.recipes.yum._YumRepository

A Yum proxy Nexus repository.

See ProxyRepository and YumRepository

Module contents