Harbor.Client
0.9.9.1
See the version list below for details.
dotnet add package Harbor.Client --version 0.9.9.1
NuGet\Install-Package Harbor.Client -Version 0.9.9.1
<PackageReference Include="Harbor.Client" Version="0.9.9.1" />
paket add Harbor.Client --version 0.9.9.1
#r "nuget: Harbor.Client, 0.9.9.1"
// Install Harbor.Client as a Cake Addin #addin nuget:?package=Harbor.Client&version=0.9.9.1 // Install Harbor.Client as a Cake Tool #tool nuget:?package=Harbor.Client&version=0.9.9.1
.NET Client for Harbor Remote API
This library allows you to interact with [Harbor REST API] endpoints in your .NET applications.
Versioning
Support Harbor v2.3.3
Installation
You can add this library to your project using [NuGet][nuget].
Package Manager Console Run the following command in the “Package Manager Console”:
PM> Install-Package Horbor.Client
Visual Studio Right click to your project in Visual Studio, choose “Manage NuGet Packages” and search for ‘Harbor.Client’ and click ‘Install’. ([see NuGet Gallery][nuget-gallery].)
.NET Core Command Line Interface Run the following command from your favorite shell or terminal:
dotnet add package Horbor.Client
Usage
You can initialize the client like the following:
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
});
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Harbor.Client:
Package | Downloads |
---|---|
Gyl.Harbor.ApiServiceExtensions
对Harbor Api接口的二次封装,方便其他服务引用和使用 |
GitHub repositories
This package is not used by any popular GitHub repositories.