基于 Harbor v2.3.3

nugut包地址: https://www.nuget.org/packages/Horbor.Client

源码地址: https://github.com/437700418/Horbor.Client

 

using Horbor.Client;
using Horbor.Client.Group.Model;
using System.Threading.Tasks;

        HorborClientConfiguratio _horborClientConfiguratio = new HorborClientConfiguratio(new HarborConfig("admin", "Harbor12345", "192.168.189.99:8088"));

         using (HorborClient _horborClient = _horborClientConfiguratio.CreatHorborClient())
            {
                var result = await _horborClient.Repository.ListRepositoriesByProject(new Horbor.Client.Group.Model.ListRepositoriesByProjectParam()
                {
                    project_name = projectname
                });
            }

目前仅对接了 Repository 相关的3个接口,需要进一步完善。

相关文章:

  • 2021-05-31
  • 2022-01-07
  • 2022-01-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-04-18
  • 2022-03-01
  • 2021-09-21
  • 2021-12-24
  • 2022-01-22
相关资源
相似解决方案