MCPcopy Create free account

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

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

↓ 4 callersMethodguestDoesNotExist
(id GuestID)
proxmox/error.go:39
↓ 4 callersFunctionguestGetLxcRawConfig_Unsafe
(ctx context.Context, vmr *VmRef, c clientApiInterface)
proxmox/config__lxc__new.go:870
↓ 4 callersFunctionguestHasFeature
(ctx context.Context, vmr *VmRef, client *Client, feature GuestFeature)
proxmox/config__guest.go:577
↓ 4 callersFunctionhaMapToApiGuests
(guests []VmRef, params map[string]any)
proxmox/config__ha__rules.go:756
↓ 4 callersMethodmapToApiIntermediary
(usedConfig lxcFeatures)
proxmox/config__lxc__features.go:117
↓ 4 callersMethodmapToSDK
(raw string)
proxmox/config__qemu__cloudinit.go:186
↓ 4 callersMethodmapToSDK
(v string)
proxmox/config__qemu__serial.go:49
↓ 4 callersMethodmapToStruct
(param string, LinkedVmId *GuestID)
proxmox/config__qemu__disk__ide.go:252
↓ 4 callersFunctionparse
(key string)
test/data/test_data_guest/type_authorizedkey.go:15
↓ 4 callersMethodpendingChanges
(ctx context.Context, c clientApiInterface)
proxmox/vmref.go:231
↓ 4 callersMethodpendingConfig
(ctx context.Context, c clientApiInterface)
proxmox/vmref.go:254
↓ 4 callersMethodpost
Makes a POST request without waiting on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client__api__reusable.go:115
↓ 4 callersMethodpostRawRetry
(ctx context.Context, url string, body *[]byte, tries int)
proxmox/client__api__reusable.go:140
↓ 4 callersFunctionqemuCpuMapToApiAffinity
(affinity []uint, b *strings.Builder)
proxmox/config__qemu__cpu.go:753
↓ 4 callersMethodread
(ctx context.Context, c *clientAPI)
proxmox/config__user.go:508
↓ 4 callersMethodread
(ctx context.Context, c *clientAPI)
proxmox/config__group.go:489
↓ 4 callersMethodrequestJSON
Perform a simple get to an endpoint and unmarshal returned JSON
proxmox/session.go:305
↓ 4 callersMethodselectID
(id GuestID)
proxmox/config__guest__resource.go:72
↓ 4 callersFunctionsshKeyUrlEncode
URL encodes the ssh keys
proxmox/type__authorizedkey.go:103
↓ 4 callersFunctiontestParamsEqualRaw
(t *testing.T, expected map[string]string, params *[]byte, msgAndArgs ...any)
proxmox/helper_test.go:47
↓ 4 callersMethodtoApiValueAndValidate
Converts the user friendly enum value to a value the proxmox api understands. If the input enum value is invalid it will return an error.
proxmox/content.go:48
↓ 4 callersMethodupdate
(ctx context.Context, current *rawHaNodeAffinityRule, c clientApiInterface)
proxmox/config__ha__rules.go:319
↓ 4 callersMethodvalidate
()
proxmox/config__qemu__disk.go:485
↓ 4 callersMethodvalidateUpdate
()
proxmox/config__ha__rules.go:402
↓ 3 callersMethodApplyNetwork
ApplyNetwork applies the pending network configuration on the passed in node. It returns the body from the API response and any HTTP error the API ret
proxmox/client.go:2053
↓ 3 callersFunctionArrayToStringType
Convert Array of type []interface{} to array of type []string
proxmox/util.go:248
↓ 3 callersFunctionCheckConfig
(t *testing.T, ctx context.Context, c *pveSDK.Client, guestID pveSDK.GuestID, expected pveSDK.ConfigLXC)
test/api/lxc/helper.go:11
↓ 3 callersMethodCheckTask
CheckTask polls the API to check if the Proxmox task has been completed. It returns the body of the HTTP response and any HTTP error occurred during t
proxmox/client.go:2379
↓ 3 callersMethodCreateAcmeAccount
(ctx context.Context, params map[string]interface{})
proxmox/client.go:1898
↓ 3 callersMethodDeleteAcmeAccount
(ctx context.Context, id string)
proxmox/client.go:1909
↓ 3 callersMethodDeleteWithTask
Makes a DELETE request and waits on proxmox for the task to complete. It returns the status of the test as 'exitStatus' and the HTTP error as 'err'.
proxmox/client.go:2335
↓ 3 callersFunctionDifference
Difference returns: - keys in a but not in b - keys in b but not in a The map values are ignored; maps are treated as sets.
internal/mapUtil/mapUtil.go:8
↓ 3 callersMethodError
()
proxmox/config__qemu__disk.go:677
↓ 3 callersMethodGetAcmeAccountList
ACME Account
proxmox/client.go:1890
↓ 3 callersMethodGetAcmePluginList
ACME Plugin
proxmox/client.go:1914
↓ 3 callersFunctionGetConfig
(t *testing.T, ctx context.Context, c *pveSDK.Client, guestID pveSDK.GuestID)
test/api/qemu/helper.go:11
↓ 3 callersFunctionGetDescription
(t *testing.T, ctx context.Context, c pveSDK.ClientNew, guest pveSDK.GuestID, snap pveSDK.SnapshotName, expect
test/api/Snapshot/update_snapshot_test.go:81
↓ 3 callersMethodGetItemConfig
(ctx context.Context, url, text, message string)
proxmox/client.go:2257
↓ 3 callersMethodGetItemConfigString
(ctx context.Context, url, text, message string)
proxmox/client.go:2241
↓ 3 callersMethodGetMetricsServerList
(ctx context.Context)
proxmox/client.go:1945
↓ 3 callersMethodGetNode
()
proxmox/config__qemu.go:1398
↓ 3 callersMethodGetNodeList
(ctx context.Context)
proxmox/client.go:279
↓ 3 callersMethodGetProtection
()
proxmox/config__qemu.go:1479
↓ 3 callersMethodGetState
()
proxmox/vmref.go:591
↓ 3 callersMethodGetStorageList
(ctx context.Context)
proxmox/client.go:1974
↓ 3 callersMethodGetType
()
proxmox/config__guest__resource.go:127
↓ 3 callersMethodGetVmRefsByName
(ctx context.Context, name GuestName)
proxmox/client.go:379
↓ 3 callersFunctionGroupName_Max_Illegal
1001 valid charaters
test/data/test_data_group/type_GroupName.go:11
↓ 3 callersFunctionGroupName_Max_Legal
1000 valid charaters
test/data/test_data_group/type_GroupName.go:6
↓ 3 callersFunctionGroup_Get_Empty_testData
(testNumber uint)
test/data/test_data_cli/cli_group.go:10
↓ 3 callersFunctionGroup_Get_Full_testData
(testNumber uint)
test/data/test_data_cli/cli_group.go:17
↓ 3 callersMethodGuestDoesNotExist
()
proxmox/error.go:37
↓ 3 callersMethodGuestIsProtectedCantDelete
()
proxmox/error.go:47
↓ 3 callersMethodListPartial
List all users without their group membership and API tokens.
proxmox/config__user.go:36
↓ 3 callersFunctionMaximumConfig
(id pveSDK.GuestID, node pveSDK.NodeName, name pveSDK.GuestName)
test/api/qemu/config.go:128
↓ 3 callersFunctionNewClient
(apiUrl string, hclient *http.Client, http_headers string, tls *tls.Config, proxyString string, taskTimeout in
proxmox/client.go:134
↓ 3 callersFunctionNewConfigQemuFromApi
(ctx context.Context, vmr *VmRef, client *Client)
proxmox/config__qemu.go:1587
↓ 3 callersFunctionNewConfigQemuFromJson
(input []byte)
proxmox/config__qemu.go:1128
↓ 3 callersFunctionNewConfigStorageFromApi
(ctx context.Context, storageid string, client *Client)
proxmox/config__storage.go:993
↓ 3 callersMethodNewRequest
(ctx context.Context, method, url string, headers *http.Header, body io.Reader)
proxmox/session.go:187
↓ 3 callersFunctionPoolName_Error_Characters
()
test/data/test_data_pool/type_PoolName.go:5
↓ 3 callersFunctionPoolName_Legal
()
test/data/test_data_pool/type_PoolName.go:19
↓ 3 callersFunctionPoolName_Max_Illegal
1025 valid charaters
test/data/test_data_pool/type_PoolName.go:15
↓ 3 callersFunctionReducedConfig
(id pveSDK.GuestID, node pveSDK.NodeName, name pveSDK.GuestName)
test/api/qemu/config.go:11
↓ 3 callersMethodRemoveMetricsNestedStructs
()
proxmox/config__metrics.go:76
↓ 3 callersFunctionSnapshotName_Max_Legal
40 valid characters
test/data/test_data_snapshot/type_SnapshotName.go:41
↓ 3 callersFunctionSshForwardUsernet
This is because proxmox create/config API won't let us make usernet devices
proxmox/config__qemu.go:1160
↓ 3 callersMethodString
()
internal/array/array_test.go:84
↓ 3 callersMethodString
()
proxmox/config__qemu__efidisk.go:192
↓ 3 callersMethodString
()
proxmox/config__qemu__serial.go:19
↓ 3 callersMethodValidate
TODO implement proper validations
proxmox/config__storage.go:1217
↓ 3 callersMethodValidate
String is for fmt.Stringer.
proxmox/config__guest.go:385
↓ 3 callersMethodValidate
String is for fmt.Stringer.
proxmox/config__qemu__serial.go:21
↓ 3 callersFunctionValidateIntGreater
(min, value int, text string)
proxmox/validate.go:23
↓ 3 callersMethodaddGroups
(ctx context.Context, groups *[]GroupName, c *clientAPI)
proxmox/config__user.go:465
↓ 3 callersMethodaddGuests
( ctx context.Context, c *clientAPI, oldClient *Client, guests *[]GuestID, storages *[]StorageName, version
proxmox/config__pool.go:758
↓ 3 callersMethodaddGuestsV8
from 8.0.0 on proxmox can move the guests to the pool while they are still in another pool
proxmox/config__pool.go:799
↓ 3 callersMethodapiRaw
()
proxmox/client__newtest.go:56
↓ 3 callersFunctionapiTokenGetName
(params map[string]any, token *ApiTokenName)
proxmox/config__apiToken.go:396
↓ 3 callersMethodappend
(item PermissionItem)
proxmox/permission.go:185
↓ 3 callersMethodcheckTask
checkTask polls the API to check if the Proxmox task has been completed. It returns the body of the HTTP response and any HTTP error occurred during t
proxmox/client__api__reusable.go:221
↓ 3 callersMethodcombine
(current VirtIoRNG)
proxmox/config__qemu__rng.go:30
↓ 3 callersMethodcreateDeviceParam
( deviceConfMap QemuDevice, ignoredKeys []string, )
proxmox/config__qemu.go:1338
↓ 3 callersMethoddelete
Primitive methods Makes a DELETE request without waiting on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client__api__reusable.go:32
↓ 3 callersMethoddeleteHaResource
(ctx context.Context, id GuestID)
proxmox/client__api.go:13
↓ 3 callersMethoddo
(req *http.Request)
proxmox/session.go:204
↓ 3 callersMethoderror
(text string)
proxmox/content__template.go:14
↓ 3 callersMethodformat
()
proxmox/content.go:73
↓ 3 callersMethodget
(vmr VmRef)
proxmox/config__lxc__new.go:618
↓ 3 callersMethodgetDigest
()
proxmox/config__lxc__new.go:665
↓ 3 callersMethodgetDigest
()
proxmox/config__ha__rules.go:222
↓ 3 callersMethodgetMembers
()
proxmox/config__pool.go:518
↓ 3 callersMethodgetNextID_Unsafe
(ctx context.Context)
proxmox/client.go:1060
↓ 3 callersMethodguestGetLxcRawConfig
(ctx context.Context, vmr *VmRef)
proxmox/client__newtest.go:22
↓ 3 callersFunctionguestGetQemuConfig
(ctx context.Context, vmr *VmRef, client *Client)
proxmox/config__qemu.go:1595
↓ 3 callersFunctionguestNameLegal
()
test/data/test_data_guest/type_guestname.go:8
↓ 3 callersFunctionguestsToAddAndRemoveFromPools
(guests *rawGuestResources, guestsToAdd []GuestID, targetPool PoolName)
proxmox/config__pool.go:982
↓ 3 callersFunctionhaGetComment
(params map[string]any)
proxmox/config__ha__rules.go:678
↓ 3 callersFunctionhaGetDigest
(params map[string]any)
proxmox/config__ha__rules.go:685
↓ 3 callersFunctionhaGetEnabled
(params map[string]any)
proxmox/config__ha__rules.go:692
← previousnext →301–400 of 3,081, ranked by callers