Harbor.Client
0.9.9.5
dotnet add package Harbor.Client --version 0.9.9.5
NuGet\Install-Package Harbor.Client -Version 0.9.9.5
<PackageReference Include="Harbor.Client" Version="0.9.9.5" />
paket add Harbor.Client --version 0.9.9.5
#r "nuget: Harbor.Client, 0.9.9.5"
// Install Harbor.Client as a Cake Addin #addin nuget:?package=Harbor.Client&version=0.9.9.5 // Install Harbor.Client as a Cake Tool #tool nuget:?package=Harbor.Client&version=0.9.9.5
.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 Harbor.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 Harbor.Client
Usage
You can initialize the client like the following:
using Harbor.Client;
using Harbor.Client.Group.Model;
using System.Threading.Tasks;
HarborClientConfiguration _HarborClientConfiguration = new HarborClientConfiguration(new HarborConfig("admin", "Harbor12345", "192.168.189.99:8088"));
using (HarborClient _HarborClient = _HarborClientConfiguration.CreatHarborClient())
{
var result = await _HarborClient.Repository.ListRepositoriesByProject(new Harbor.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.