MCPcopy Create free account

hub / github.com/Telmate/proxmox-api-go / functions

Functions3,081 in github.com/Telmate/proxmox-api-go

↓ 2 callersMethodcreate
(ctx context.Context, client *Client, ca *clientAPI, version Version)
proxmox/config__qemu.go:211
↓ 2 callersMethodcreate
(ctx context.Context, c *clientAPI)
proxmox/config__group.go:209
↓ 2 callersFunctioncreateFilesList
(fileList []interface{})
proxmox/content.go:109
↓ 2 callersFunctioncreateGuest
(ctx context.Context, args []string, IDtype string)
cli/command/create/guest/create-guest.go:21
↓ 2 callersMethodcreateHaRule
(ctx context.Context, params map[string]any)
proxmox/client__api.go:11
↓ 2 callersFunctioncreateLxc
(t *testing.T, ctx context.Context, c *pveSDK.Client, config pveSDK.ConfigLXC)
test/api/Snapshot/helper_test.go:17
↓ 2 callersFunctioncreateOrUpdate
(s *proxmox.ConfigStorage, name, command string, t *testing.T)
test/cli/Storage/storage-sub-tests/standard.go:45
↓ 2 callersFunctioncreateStreamedUploadBody
createStreamedUploadBody - Use MultiReader to create the multipart body from the file reader, avoiding allocation of large files in memory before uplo
proxmox/client.go:1634
↓ 2 callersFunctioncreateTemplateList
Map values from the API to the TemplateItem struct.
proxmox/content__template.go:89
↓ 2 callersMethodcsvToArray
Convert a comma separated string to an array of GroupName
proxmox/config__group.go:423
↓ 2 callersMethoddelete
(ctx context.Context, c clientApiInterface)
proxmox/config__ha__rules.go:857
↓ 2 callersMethoddeleteTask
Makes a DELETE request and waits on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client__api__reusable.go:54
↓ 2 callersMethodenumArray
()
proxmox/permission.go:133
↓ 2 callersMethodenumList
Returns a list of all enum options.
proxmox/content.go:57
↓ 2 callersMethodenumMap
()
proxmox/config__qemu__network.go:451
↓ 2 callersMethodexists
(ctx context.Context, c clientApiInterface)
proxmox/config__user.go:481
↓ 2 callersMethodexists_Unsafe
(ctx context.Context, c *Client)
proxmox/config__guest.go:358
↓ 2 callersMethodformat
()
proxmox/config__qemu__helper__api_test.go:33
↓ 2 callersFunctionformatDeviceParam
Given a QemuDevice, return a param string to give to ProxMox
proxmox/config__qemu.go:1281
↓ 2 callersMethodget
(vmr VmRef)
proxmox/config__qemu.go:1428
↓ 2 callersMethodgetBootMount
(privileged bool)
proxmox/config__lxc__mount.go:1197
↓ 2 callersMethodgetFeatures
(privileged bool)
proxmox/config__lxc__features.go:184
↓ 2 callersMethodgetGuestConfig
(ctx context.Context, vmr *VmRef)
proxmox/client__api.go:15
↓ 2 callersMethodgetGuestPendingChanges
(ctx context.Context, vmr *VmRef)
proxmox/client__api.go:16
↓ 2 callersMethodgetJsonRetry
(ctx context.Context, url string, data *map[string]any, tries int)
proxmox/client__api__reusable.go:300
↓ 2 callersMethodgetMounts
(privileged bool)
proxmox/config__lxc__mount.go:1268
↓ 2 callersMethodgetNextIDstart_Unsafe
(ctx context.Context, guestID GuestID)
proxmox/client.go:1070
↓ 2 callersMethodgetPermissions
get the users permissions from the cache and decodes them for the SDK
proxmox/client.go:2455
↓ 2 callersMethodgetPermissionsRaw
returns the raw permissions from the API
proxmox/client.go:2464
↓ 2 callersFunctiongetStorageAndVolumeName
getStorageAndVolumeName - Extract disk storage and disk volume, since disk name is saved in Proxmox with its storage.
proxmox/client.go:1666
↓ 2 callersMethodgetUserConfig
(ctx context.Context, userId UserID)
proxmox/client__api.go:20
↓ 2 callersMethodguestCheckVmRef_Unsafe
(ctx context.Context, vmr *VmRef)
proxmox/client__newtest.go:65
↓ 2 callersFunctionguestGetActiveRawLxcConfig_Unsafe
(ctx context.Context, vmr *VmRef, c clientApiInterface)
proxmox/config__lxc__new.go:892
↓ 2 callersFunctionguestGetActiveRawQemuConfig_Unsafe
(ctx context.Context, vmr *VmRef, c clientApiInterface)
proxmox/config__qemu.go:1574
↓ 2 callersMethodguestGetQemuRawConfig
(ctx context.Context, vmr *VmRef)
proxmox/client__newtest.go:24
↓ 2 callersFunctionguestGetRawQemuConfig_Unsafe
(ctx context.Context, vmr *VmRef, c clientApiInterface)
proxmox/config__qemu.go:1556
↓ 2 callersFunctionhaDifferenceGuests
(a, b []VmRef)
proxmox/config__ha__rules.go:720
↓ 2 callersFunctionhaGetGuests
(params map[string]any)
proxmox/config__ha__rules.go:700
↓ 2 callersFunctionhaMapToApiNodes
(nodes []HaNode, params map[string]any)
proxmox/config__ha__rules.go:769
↓ 2 callersFunctionhaRuleID_Legal
()
test/data/test_data_ha/type_HaRuleID.go:7
↓ 2 callersMethodincludes
(needed Privileges, number privilege)
proxmox/permission.go:421
↓ 2 callersFunctionisIPv4
(address string)
proxmox/util.go:314
↓ 2 callersFunctionisIPv6
(address string)
proxmox/util.go:318
↓ 2 callersMethodlistCloudInitDisk
()
proxmox/config__qemu__disk.go:1041
↓ 2 callersFunctionlistUsersFull
Deprecated: remove with ListUsers().
proxmox/config__user.go:800
↓ 2 callersMethodmapToAPI
(current *QemuPci)
proxmox/config__qemu__pcie.go:113
↓ 2 callersMethodmapToAPI
(currentConfig ConfigQemu, version Version)
proxmox/config__qemu.go:291
↓ 2 callersMethodmapToAPICreate
(privileged bool, params map[string]any)
proxmox/config__lxc__mount.go:241
↓ 2 callersMethodmapToApi
(current *ConfigPool)
proxmox/config__pool.go:308
↓ 2 callersMethodmapToApi
(current *QemuNetworkInterface)
proxmox/config__qemu__network.go:64
↓ 2 callersMethodmapToApiIntermediary
(usedConfig lxcFeatures)
proxmox/config__lxc__features.go:166
↓ 2 callersMethodmapToApiIntermediary
(usedConfig qemuPci)
proxmox/config__qemu__pcie.go:191
↓ 2 callersMethodmapToApiShared
()
proxmox/config__lxc__new.go:178
↓ 2 callersMethodmapToApiUpdate
(currentLegacy *ConfigQemu, current configQemuUpdate, version Version)
proxmox/config__qemu.go:458
↓ 2 callersMethodmapToApiValues
()
proxmox/config__sdn__subnet.go:112
↓ 2 callersMethodmapToApiValues
()
proxmox/config__sdn__zone.go:144
↓ 2 callersMethodmapToApiValues
()
proxmox/config__sdn__vnet.go:92
↓ 2 callersMethodmapToApiValues
()
proxmox/config__acme__plugin.go:23
↓ 2 callersMethodmapToApiValues
(create bool)
proxmox/config__storage.go:753
↓ 2 callersMethodmapToApiValues
(create bool)
proxmox/config__metrics.go:38
↓ 2 callersMethodmapToApiValues
(currentStorages QemuStorages, params map[string]any, delete *strings.Builder)
proxmox/config__qemu__disk.go:1068
↓ 2 callersMethodmapToApiValues
()
proxmox/config__sdn__dns.go:88
↓ 2 callersMethodmapToApiValues
mapToApiValues converts the stored config into a parameter map to be sent to the API.
proxmox/config__network.go:53
↓ 2 callersMethodmapToSDK
(params string)
proxmox/config__lxc__mount.go:1025
↓ 2 callersMethodmarkChangesUnsafe
(current *EfiDisk)
proxmox/config__qemu__efidisk.go:78
↓ 2 callersMethodmarkDiskChanges
mark disk that need to be moved or resized
proxmox/config__qemu__disk.go:1101
↓ 2 callersMethodmarkMountChanges
(current LxcMounts)
proxmox/config__lxc__mount.go:181
↓ 2 callersMethodmarkMountChanges_Unsafe
(current *LxcBootMount)
proxmox/config__lxc__mount.go:92
↓ 2 callersMethodnodeStatusCommand
String is for fmt.Stringer.
proxmox/node.go:60
↓ 2 callersFunctionparamsToValues
(params map[string]interface{})
proxmox/session.go:77
↓ 2 callersFunctionparamsToValuesWithAllEmpty
(params map[string]interface{}, allowedEmpty []string, allowEmpty bool)
proxmox/session.go:98
↓ 2 callersMethodparse_unsafe
Parse the raw key into the AuthorizedKey struct
proxmox/type__authorizedkey.go:35
↓ 2 callersFunctionpool_AddMembers
(t *testing.T, pool pveSDK.ConfigPool, initialGuests, additionalGuests []pveSDK.GuestID)
test/api/Pool/add_members_pool_test.go:36
↓ 2 callersMethodpostJSON
( ctx context.Context, url string, params *url.Values, headers *http.Header, body *[]byte, responseConta
proxmox/session.go:382
↓ 2 callersMethodput
Makes a PUT request without waiting on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client__api__reusable.go:198
↓ 2 callersMethodread
(ctx context.Context, c *clientAPI)
proxmox/config__apiToken.go:334
↓ 2 callersMethodreadConfig
(ctx context.Context, c *clientAPI, vmr VmRef)
proxmox/snapshot.go:603
↓ 2 callersMethodreboot_Unsafe
(ctx context.Context, c *clientAPI)
proxmox/vmref.go:292
↓ 2 callersMethodreplace
(current *EfiDisk)
proxmox/config__qemu__efidisk.go:113
↓ 2 callersFunctionrequestsParseParamsPartial
(t *testing.T, r *http.Request)
internal/mockServer/requests.go:107
↓ 2 callersMethodresize
Increase the disk size to the specified amount in gigabytes Decrease of disk size is not permitted.
proxmox/config__qemu__disk.go:904
↓ 2 callersFunctionresizeDisks
increase Disks in size
proxmox/config__qemu__disk.go:1236
↓ 2 callersFunctionresizeNewDisks
Resize newly created disks
proxmox/config__qemu__disk.go:1247
↓ 2 callersMethodselectInitialResize
Select all new disks that do not have their size in gibigytes for resizing to the specified size
proxmox/config__qemu__disk.go:1119
↓ 2 callersMethodsetGroups
(ctx context.Context, groups *[]GroupName, c *clientAPI)
proxmox/config__user.go:528
↓ 2 callersMethodsetPassword
(ctx context.Context, password UserPassword, c *clientAPI)
proxmox/config__user.go:533
↓ 2 callersMethodsetPool
(ctx context.Context, c *clientAPI, newPool PoolName, currentPool *PoolName, version EncodedVersion)
proxmox/config__guest.go:278
↓ 2 callersMethodsetVmr
(vmr *VmRef)
proxmox/config__qemu.go:872
↓ 2 callersFunctionshouldEscape
Return true if the specified character should be escaped
internal/body/net_url.go:64
↓ 2 callersFunctionshutdownIfRunning
returns the desired state as the current when no state was provided, so we can revert back to it later.
proxmox/config__qemu.go:852
↓ 2 callersFunctionsplitStringOfOptions
(options string)
proxmox/util.go:322
↓ 2 callersFunctionstartAtNodeBootMapToApiUpdate
(params map[string]any, startup bool, current bool)
proxmox/config__guest.go:414
↓ 2 callersFunctionstartAtNodeBootMapToSDK
(params map[string]any)
proxmox/config__guest.go:401
↓ 2 callersMethodstop_Unsafe
We should rarely need this function, use: VmRef.stopOverruleOpertunistic_Unsafe() instead.
proxmox/vmref.go:297
↓ 2 callersMethodstring
(privileged bool)
proxmox/config__lxc__mount.go:943
↓ 2 callersFunctiontestData_ConfigQemu_EfiDisk_Validate
()
proxmox/config__qemu__efidisk_test.go:190
↓ 2 callersFunctiontestData_ConfigQemu_USB_Validate
()
proxmox/config__qemu__usb_test.go:64
↓ 2 callersFunctiontestData_ConfigQemu_Watchdog_Validate
()
proxmox/config__qemu__watchdog_test.go:68
↓ 2 callersFunctiontest_CpuTypeValidate_data
()
proxmox/config__qemu__cpu_test.go:808
↓ 2 callersFunctiontest_RawGroups_Array_Data
()
proxmox/config__group_test.go:714
← previousnext →601–700 of 3,081, ranked by callers