MCPcopy Create free account

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

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

↓ 1 callersFunctionlistUsersPartial
Deprecated: remove with ListUsers().
proxmox/config__user.go:795
↓ 1 callersFunctionloadAppConfig
()
main.go:33
↓ 1 callersMethodlogin
(ctx context.Context, username string, password string, otp string)
proxmox/session.go:153
↓ 1 callersMethodmapToAPI
(current *CloudInitCustom)
proxmox/config__qemu__cloudinit.go:143
↓ 1 callersMethodmapToAPI
(current *CloudInitIPv4Config)
proxmox/config__qemu__cloudinit.go:245
↓ 1 callersMethodmapToAPI
(current *CloudInitIPv6Config)
proxmox/config__qemu__cloudinit.go:314
↓ 1 callersMethodmapToAPI
(params map[string]any)
proxmox/config__lxc__new.go:778
↓ 1 callersMethodmapToAPI
(delete bool)
proxmox/config__lxc__mount.go:1173
↓ 1 callersMethodmapToAPICreate
(id LxcMountID, privileged bool, params map[string]any)
proxmox/config__lxc__mount.go:904
↓ 1 callersMethodmapToAPIUpdate
(current LxcMounts, privileged bool, params map[string]any)
proxmox/config__lxc__mount.go:256
↓ 1 callersMethodmapToAPIUpdateUnsafe
(current *VirtIoRNG, params map[string]any)
proxmox/config__qemu__rng.go:56
↓ 1 callersMethodmapToApi
(params map[string]interface{}, currentTpm *TpmState)
proxmox/config__qemu__tpm.go:18
↓ 1 callersMethodmapToApi
()
proxmox/config__qemu__tpm.go:80
↓ 1 callersMethodmapToApiCreate
()
proxmox/config__pool.go:238
↓ 1 callersMethodmapToApiCreate
()
proxmox/config__user.go:195
↓ 1 callersMethodmapToApiCreate
()
proxmox/config__apiToken.go:160
↓ 1 callersMethodmapToApiCreate
()
proxmox/config__ha__rules.go:327
↓ 1 callersMethodmapToApiCreate
()
proxmox/config__ha__rules.go:576
↓ 1 callersMethodmapToApiCreate
(b *strings.Builder)
proxmox/config__qemu__efidisk.go:26
↓ 1 callersMethodmapToApiCreate
Maps the struct to the API values proxmox understands
proxmox/config__group.go:220
↓ 1 callersMethodmapToApiCreateLower
Tags not converted to lowercase during Qemu VM creation https://bugzilla.proxmox.com/show_bug.cgi?id=7549
proxmox/type__tag.go:34
↓ 1 callersMethodmapToApiUpdate
(current *rawPoolInfo, currentGuests map[GuestID]struct{}, currentStorages map[StorageName]struct{}, version V
proxmox/config__pool.go:245
↓ 1 callersMethodmapToApiUpdate
()
proxmox/config__user.go:233
↓ 1 callersMethodmapToApiUpdate
(current QemuUSB, id QemuUsbID, builder *strings.Builder)
proxmox/config__qemu__usb.go:181
↓ 1 callersMethodmapToApiUpdate
(current ConfigLXC)
proxmox/config__lxc__new.go:183
↓ 1 callersMethodmapToApiUpdate
()
proxmox/config__apiToken.go:180
↓ 1 callersMethodmapToApiUpdate
Maps the struct to the API values proxmox understands
proxmox/config__group.go:228
↓ 1 callersMethodmapToApiUpdate_Unsafe
(current *rawHaNodeAffinityRule)
proxmox/config__ha__rules.go:351
↓ 1 callersMethodmapToApiUpdate_Unsafe
(current *rawHaResourceAffinityRule)
proxmox/config__ha__rules.go:595
↓ 1 callersMethodmapToApiValues
()
proxmox/content__iso.go:21
↓ 1 callersMethodmapToApiValues
()
proxmox/content__template.go:18
↓ 1 callersMethodmapToApiValues
(delete bool)
proxmox/config__qemu__disk.go:914
↓ 1 callersMethodmapToSDK
(rawUSB string)
proxmox/config__qemu__usb.go:278
↓ 1 callersMethodmapToSDK
(flags []string)
proxmox/config__qemu__cpu.go:98
↓ 1 callersMethodmapToSDK
(raw string)
proxmox/config__qemu__pcie.go:121
↓ 1 callersMethodmapToSDK
(rawParams string)
proxmox/config__qemu__network.go:209
↓ 1 callersMethodmapToSDK
(params map[string]interface{})
proxmox/permission.go:536
↓ 1 callersMethodmapToSdkAffinity
(rawAffinity string)
proxmox/config__qemu__cpu.go:826
↓ 1 callersMethodmapToSdkBindMount
(id LxcMountID, params string)
proxmox/config__lxc__mount.go:290
↓ 1 callersMethodmapToSdkDataMount
(id LxcMountID, params string, privileged bool)
proxmox/config__lxc__mount.go:322
↓ 1 callersMethodmapToStruct
Deprecated: remove when ConfigUser.ListApiTokens() is removed. Maps the API values from proxmox to a struct
proxmox/config__user.go:362
↓ 1 callersMethodmapToStruct
(params map[string]interface{})
proxmox/config__guest.go:247
↓ 1 callersMethodmaps
()
proxmox/config__pool.go:640
↓ 1 callersMethodnilCheck
()
proxmox/client.go:122
↓ 1 callersFunctionparamsToBodyWithEmpty
(params map[string]interface{}, allowedEmpty []string)
proxmox/session.go:82
↓ 1 callersMethodparse
(path string)
proxmox/config__qemu__disk.go:718
↓ 1 callersMethodparse
(rawSize string)
proxmox/config__qemu__disk.go:875
↓ 1 callersFunctionpoolsList
(ctx context.Context, c *clientAPI)
proxmox/config__pool.go:1005
↓ 1 callersMethodpostJsonRetry
(ctx context.Context, url string, body *[]byte, tries int)
proxmox/client__api__reusable.go:155
↓ 1 callersMethodpostMap
(ctx context.Context, url string, body *[]byte, text, message string)
proxmox/client__api__reusable.go:121
↓ 1 callersMethodpostRootMap
(ctx context.Context, url string, body *[]byte, text, message string)
proxmox/client__api__reusable.go:129
↓ 1 callersMethodpostTask
(ctx context.Context, url string, params map[string]any)
proxmox/client__api__reusable.go:170
↓ 1 callersFunctionrawSnapshotTreeWalk
(s *Snapshot, fn func(s *Snapshot) bool)
proxmox/snapshot.go:486
↓ 1 callersMethodrollback
(ctx context.Context, c *clientAPI, vmr VmRef, start bool)
proxmox/snapshot.go:607
↓ 1 callersMethodset
(ctx context.Context, c *clientAPI)
proxmox/config__group.go:245
↓ 1 callersMethodsetAPIToken
(token ApiToken)
proxmox/session.go:146
↓ 1 callersMethodsetMembers
(ctx context.Context, current, members *[]UserID, c *clientAPI)
proxmox/config__group.go:532
↓ 1 callersMethodsetTicket
(ticket, csrfPreventionToken string)
proxmox/session.go:148
↓ 1 callersMethodshutdownForce_Unsafe
(ctx context.Context, c *clientAPI)
proxmox/vmref.go:322
↓ 1 callersFunctionsnapshotList
(ctx context.Context, c *clientAPI, vmr VmRef)
proxmox/snapshot.go:666
↓ 1 callersMethodstopOverruleOpertunistic_Unsafe
Doesn't see the difference between a stopped and absend guest
proxmox/vmref.go:302
↓ 1 callersMethodstring
()
proxmox/config__lxc__mount.go:788
↓ 1 callersFunctiontestDataEfiDiskGet
()
proxmox/config__qemu__efidisk_test.go:295
↓ 1 callersFunctiontestDataTagsMapToAPI
()
proxmox/type__tag_test.go:95
↓ 1 callersFunctiontestData_ConfigQemu_CPU_Get
()
proxmox/config__qemu__cpu_test.go:10
↓ 1 callersFunctiontestData_ConfigQemu_EfiDisk_Api
()
proxmox/config__qemu__efidisk_test.go:11
↓ 1 callersFunctiontestData_ConfigQemu_USB_Get
()
proxmox/config__qemu__usb_test.go:11
↓ 1 callersFunctiontestData_ConfigQemu_Watchdog_Api
()
proxmox/config__qemu__watchdog_test.go:10
↓ 1 callersFunctiontestData_ConfigQemu_Watchdog_Get
()
proxmox/config__qemu__watchdog_test.go:162
↓ 1 callersFunctionuninitializedArray
To be used during testing
proxmox/util.go:346
↓ 1 callersMethodupdate
(ctx context.Context, c *clientAPI, userID UserID)
proxmox/config__apiToken.go:205
↓ 1 callersMethoduserGetRawConfig
User
proxmox/client__newtest.go:44
↓ 1 callersFunctionuserListFull
Returns users without group information
proxmox/config__user.go:805
↓ 1 callersFunctionuserListPartial
Returns users with group information
proxmox/config__user.go:814
↓ 1 callersFunctionuserRequiresAPIToken
(userID string)
main.go:1047
↓ 1 callersFunctionuserRequiresAPIToken
(userID string)
cli/cobra.go:105
↓ 1 callersMethodvalidate
()
proxmox/config__qemu__disk__scsi.go:479
↓ 1 callersMethodvalidate
()
proxmox/config__qemu__disk__ide.go:307
↓ 1 callersMethodvalidate
()
proxmox/config__qemu__disk__sata.go:317
↓ 1 callersMethodvalidate
()
proxmox/config__qemu__disk__virtio.go:361
↓ 1 callersMethodvalidateCreate
()
proxmox/config__qemu__usb.go:67
↓ 1 callersMethodvalidateCreate
(version Version)
proxmox/config__qemu__cpu.go:851
↓ 1 callersMethodvalidateCreate
()
proxmox/config__qemu__watchdog.go:65
↓ 1 callersMethodvalidateCreate
()
proxmox/config__qemu__rng.go:74
↓ 1 callersMethodvalidateCreate
()
proxmox/config__ha__rules.go:629
↓ 1 callersMethodvalidateCreate
(privileged bool)
proxmox/config__lxc__mount.go:386
↓ 1 callersMethodvalidateCreate
()
proxmox/config__lxc__mount.go:816
↓ 1 callersMethodvalidateCreate
(privileged bool)
proxmox/config__lxc__mount.go:982
↓ 1 callersMethodvalidateCreate
()
proxmox/config__qemu__efidisk.go:130
↓ 1 callersMethodvalidateUpdate
(current QemuUSBs)
proxmox/config__qemu__usb.go:82
↓ 1 callersMethodvalidateUpdate
(current *QemuCPU, version Version)
proxmox/config__qemu__cpu.go:870
↓ 1 callersMethodvalidateUpdate
(current ConfigLXC)
proxmox/config__lxc__new.go:551
↓ 1 callersMethodvalidateUpdate
()
proxmox/config__qemu__watchdog.go:81
↓ 1 callersMethodvalidateUpdate
(current LxcMounts, privileged bool)
proxmox/config__lxc__mount.go:398
↓ 1 callersMethodvalidateUpdate
()
proxmox/config__qemu__efidisk.go:143
↓ 1 callersMethodwaitForCompletion
waitForCompletion - poll the API for task completion
proxmox/client__api__reusable.go:230
↓ 1 callersFunctionwaitForMigrationLockRelease
(ctx context.Context, client *Client, vmr *VmRef)
proxmox/config__qemu.go:1633
MethodAddGuests
Deprecated: use PoolInterface.AddGuests() instead.
proxmox/config__pool.go:821
MethodAddGuestsNoCheck
Deprecated: use PoolInterface.AddGuestsNoCheck() instead.
proxmox/config__pool.go:826
MethodAddMembers
(ctx context.Context, pool PoolName, guests []GuestID, storages []StorageName)
proxmox/config__pool.go:57
← previousnext →1,201–1,300 of 3,081, ranked by callers