endpoints

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint string
const (
	Cluster                Endpoint = "/cluster"
	ClusterHaStatusCurrent Endpoint = "/cluster/ha/status/current"
	ClusterStatus          Endpoint = "/cluster/status"
	ClusterTasks           Endpoint = "/cluster/tasks"
	ClusterNextID          Endpoint = "/cluster/nextid"
)
const (
	Nodes                                          Endpoint = "/nodes"
	Nodes_Node_Qemu                                Endpoint = "/nodes/{val}/qemu"
	Nodes_Node_Qemu_VMID_                          Endpoint = "/nodes/{val}/qemu/{val}"
	Nodes_Node_Qemu_VMID_FirewallLog               Endpoint = "/nodes/{val}/qemu/{val}/firewall/log"
	Nodes_Node_Qemu_VMID_FirewallOptions           Endpoint = "/nodes/{val}/qemu/{val}/firewall/options"
	Nodes_Node_Qemu_VMID_FirewallIpset             Endpoint = "/nodes/{val}/qemu/{val}/firewall/ipset"
	Nodes_Node_Qemu_VMID_FirewallIpset_Name_       Endpoint = "/nodes/{val}/qemu/{val}/firewall/ipset/{val}"
	Nodes_Node_Qemu_VMID_FirewallIpset_Name__Cidr_ Endpoint = "/nodes/{val}/qemu/{val}/firewall/ipset/{val}/{val}"
	Nodes_node_Qemu_VMID_CloudinitDump             Endpoint = "/nodes/{val}/qemu/{val}/cloudinit/dump"
	Nodes_Node_Qemu_VMID_StatusCurrent             Endpoint = "/nodes/{val}/qemu/{val}/status/current"
	Nodes_Node_Qemu_VMID_StatusReboot              Endpoint = "/nodes/{val}/qemu/{val}/status/reboot"
	Nodes_Node_Qemu_VMID_StatusReset               Endpoint = "/nodes/{val}/qemu/{val}/status/reset"
	Nodes_Node_Qemu_VMID_StatusResume              Endpoint = "/nodes/{val}/qemu/{val}/status/resume"
	Nodes_Node_Qemu_VMID_StatusShutdown            Endpoint = "/nodes/{val}/qemu/{val}/status/shutdown"
	Nodes_Node_Qemu_VMID_StatusStart               Endpoint = "/nodes/{val}/qemu/{val}/status/start"
	Nodes_Node_Qemu_VMID_StatusStop                Endpoint = "/nodes/{val}/qemu/{val}/status/stop"
	Nodes_Node_Qemu_VMID_StatusSuspend             Endpoint = "/nodes/{val}/qemu/{val}/status/suspend"
	Nodes_node_Qemu_VMID_Clone                     Endpoint = "/nodes/{val}/qemu/{val}/clone"
	Nodes_node_Qemu_VMID_Config                    Endpoint = "/nodes/{val}/qemu/{val}/config"
	Nodes_node_Qemu_VMID_Resize                    Endpoint = "/nodes/{val}/qemu/{val}/resize"
	Nodes_node_Qemu_VMID_Vncproxy                  Endpoint = "/nodes/{val}/qemu/{val}/vncproxy"
	Nodes_node_Qemu_VMID_Vncwebsocket              Endpoint = "/nodes/{val}/qemu/{val}/vncwebsocket"
	Nodes_Node_Status                              Endpoint = "/nodes/{val}/status"
	Nodes_Node_Time                                Endpoint = "/nodes/{val}/time"
	Nodes_Node_Version                             Endpoint = "/nodes/{val}/version"
	Nodes_Node_Config                              Endpoint = "/nodes/{val}/config"
	Nodes_Node_DNS                                 Endpoint = "/nodes/{val}/dns"
	Nodes_Node_Migrateall                          Endpoint = "/nodes/{val}/migrateall"
	Nodes_Node_Wakeonlan                           Endpoint = "/nodes/{val}/wakeonlan"
)
const (
	Pools       Endpoint = "/pools"
	Pools_Pool_ Endpoint = "/pools/{val}"
)
const (
	AccessTicket Endpoint = "/access/ticket"
)
const (
	EndpointVersion Endpoint = "/version"
)

func (Endpoint) FormatValues

func (endpoint Endpoint) FormatValues(val ...string) Endpoint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL