The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Docker::Registry - A client for talking to Docker Registries

SYNOPSIS

  # Use AWSs Elastic Container Registry
  use Docker::Registry::ECR;
  my $reg = Docker::Registry::ECR->new(
    region => 'us-west-2',
    account_id => '0123456789',
  );
  my $repo_list = $reg->repositories;

  # Use Google Container Registry (GCR)
  use Docker::Registry::GCE;
  my $reg = Docker::Registry::GCE->new;
  my $repo_list $reg->repositories;

DESCRIPTION

This module helps you talk to different Docker Registries from different cloud providers.

Docker Registry APIs are standard, but authentication methods differ from vendor to vendor. This set of modules helps manage that for you.

WARNING

Consider this code Alpha quality. It works, but only some read-only methods have been implemented, and the API may still change. Be careful if you start depending on this module.

METHODS

repositories

Returns a Docker::Registry::Result::Repositories object with the list of repositories

repository_tags(name => $repo_name)

Returns a Docker::Registry::Result::RepositoryTags object with the list of tags

AUTHENITCATION

Each registry class has it's authentication providers. See:

Docker::Registry::GCE

Docker::Registry::ECR

for details

SEE ALSO

https://docs.docker.com/registry/spec/api/

AUTHOR

    Jose Luis Martinez
    CAPSiDE
    jlmartinez@capside.com

BUGS and SOURCE

The source code is located here: https://github.com/pplu/kubectl-cliwrapper

Please report bugs to: https://github.com/pplu/kubectl-cliwrapper/issues

COPYRIGHT and LICENSE

Copyright (c) 2018 by CAPSiDE This code is distributed under the Apache 2 License. The full text of the license can be found in the LICENSE file included with this module.