Skip to content

autonomy.cli.helpers.registry

Component registry helpers.

fetch_service

def fetch_service(ctx: Context,
                  public_id: PublicId,
                  alias: Optional[str] = None) -> Path

Fetch service.

fetch_service_mixed

def fetch_service_mixed(ctx: Context,
                        public_id: PublicId,
                        alias: Optional[str] = None) -> Path

Fetch service in mixed mode.

fetch_service_remote

def fetch_service_remote(public_id: PublicId,
                         alias: Optional[str] = None) -> Path

Fetch service in remote mode.

fetch_service_ipfs

def fetch_service_ipfs(public_id: PublicId,
                       alias: Optional[str] = None) -> Path

Fetch service from IPFS node.

fetch_service_local

def fetch_service_local(ctx: Context,
                        public_id: PublicId,
                        alias: Optional[str] = None) -> Path

Fetch service from local directory.

publish_service_package

def publish_service_package(click_context: click.Context,
                            registry: str) -> None

Publish a service package.

publish_service_ipfs

def publish_service_ipfs(public_id: PublicId, package_path: Path) -> None

Publish a service package on the IPFS registry.

publish_service_local

def publish_service_local(ctx: Context, public_id: PublicId) -> None

Publish a service package on the local packages directory.