Skip to content

Releases: iolave/go-proxmox

Fixed lxc features

27 Feb 21:15
Compare
Choose a tag to compare

PVE API client

Fixed

  • Fixed app version.
  • LXC features properties are now pointes.

Full Changelog: v0.6.0...v0.6.1

More lxc features

27 Feb 14:44
e6cd3f7
Compare
Choose a tag to compare

PVE API wrapper

Added

  • GET /custom-api/v1/lxc/{id}/ip endpoint.
  • POST /custom-api/v1/lxc/{id}/exec endpoint.

Fixed

  • pve api wrapper host option is now --host.
  • pve api wrapper port option is now --port.

PVE API client

Added

  • GET /access/permissions implementation as PVE.Access.GetPermissions.
  • GET /cluster/resources implementation as PVE.Cluster.GetVMIDs, PVE.Cluster.GetRandomVMID and PVE.Cluster.IsVMIDAvailable.
  • GET /nodes/{node}/firewall/rules implementation as PVE.Node.Firewall.GetRule.
  • POST /nodes/{node}/firewall/rules implementation as PVE.Node.Firewall.NewRule.
  • DELETE /nodes/{node}/firewall/rules/{pos} implementation as PVE.Node.Firewall.DeleteRule and PVE.Node.Firewall.DeleteRuleByPos.
  • GET /nodes/{node}/lxc/{id}/interfaces implementation as PVE.LXC.GetInterfaces and PVE.LXC.GetInterface .
  • GET /nodes/{node}/lxc/{id}/status/current implementation as PVE.LXC.GetStatus.
  • POST /nodes/{node}/lxc/{id}/status/reboot implementation as PVE.LXC.Reboot.
  • POST /nodes/{node}/lxc/{id}/status/resume implementation as PVE.LXC.Resume.
  • POST /nodes/{node}/lxc/{id}/status/shutdown implementation as PVE.LXC.Shutdown.
  • POST /nodes/{node}/lxc/{id}/status/start implementation as PVE.LXC.Start.
  • POST /nodes/{node}/lxc/{id}/status/stop implementation as PVE.LXC.Stop.
  • POST /custom-api/v1/lxc/{id}/exec implementation as PVE.LXC.Exec.

Fixed

  • PVE.LXC.Create hostname assignment.
  • PVE.LXC.Create net assignment.
  • PVE.LXC.Create multiple networks support.

Changed

  • PVE.LXC.Create request's Features property is now a struct.

api wrapper and some go client features

18 Jan 16:55
Compare
Choose a tag to compare

PVE API wrapper

Added

  • new http server that redirects http requests to the desired proxmox instance.
  • proxmox error response wrapping into pkg/errors.HTTPError.

PVE API client

Added

  • /nodes/:node/lxc/:vmid implementations.

Fixed

  • pve api result assignment.
  • PVE.version http method.
  • PVE.Lxc.GetAll empty result.

Full Changelog: v0.4.0...v0.5.0