Skip to content

bugsbirb/EasySharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First .NET project, still learning the language.

Install

dotnet add package EasySharp

Basic Use

using EasySharp;

Easypanel api = new Easypanel("Easypanel Panel URL", "API token");
bool deploy = await api.DeployServiceAsync(
    projectName: "Cool Project",
    serviceName: "Egg",
    forceRebuild: false);

if (deploy)
{
    Console.WriteLine("Deployment succeeded.");
}
else
{
    Console.WriteLine("Deployment failed.");
}

Function Map

Apps/Projects

  • GetProjectsAsync
  • GetAppAsync
  • GetProjectAsync
  • GetAppsAsync
  • StartAppAsync
  • StopAppAsync
  • DestroyAppAsync
  • CreateAppAsync
  • DeployServiceAsync
  • RefreshDeployTokenAsync
  • EnableGithubDeployAsync
  • DisableGithubDeployAsync

Users

  • GetUserAsync
  • CreateUserAsync

Compose

  • DeployComposeAsync
  • StartComposeAsync
  • StopComposeAsync
  • DestroyComposeAsync

Other

  • GetSystemStatsAsync

About

Easypanel C# SDK, not affiliated with easypanel.

Resources

License

Stars

Watchers

Forks

Languages