Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Telmate/proxmox-api-go
/ functions
Functions
3,081 in github.com/Telmate/proxmox-api-go
⨍
Functions
3,081
◇
Types & classes
413
↓ 12 callers
Function
CSV
CSV converts an array of fmt.Stringer to a CSV string
internal/array/array.go:45
↓ 12 callers
Method
String
()
proxmox/config__lxc__new.go:853
↓ 12 callers
Method
String
()
proxmox/config__apiToken.go:143
↓ 12 callers
Method
Validate
For fmt.Stringer interface. Check if a groupName is valid.
proxmox/config__group.go:552
↓ 12 callers
Method
error
()
proxmox/permission.go:98
↓ 12 callers
Method
mapToSdkSubroutine
(flags map[string]rune, flag string)
proxmox/config__qemu__cpu.go:119
↓ 12 callers
Method
put
( ctx context.Context, url string, params *url.Values, headers *http.Header, body *[]byte, )
proxmox/session.go:393
↓ 11 callers
Method
GetItemConfigMapStringInterface
Shared
proxmox/client.go:2233
↓ 11 callers
Method
PostWithTask
Makes a POST 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:2287
↓ 11 callers
Method
Put
Makes a PUT request without waiting on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client.go:2299
↓ 11 callers
Method
Validate
String is for fmt.Stringer.
proxmox/config__pool.go:969
↓ 11 callers
Method
Validate
TODO improve when Name and Realm have their own types
proxmox/config__user.go:552
↓ 11 callers
Function
bTOr
(in bool)
proxmox/util.go:40
↓ 11 callers
Method
checkInitialized
Checks if the client is initialized and returns an error if not
proxmox/client.go:52
↓ 11 callers
Function
diskSubtypeSet
(set bool)
proxmox/config__qemu__disk.go:1214
↓ 11 callers
Method
mapToApiCreate
Swap is for sort.Interface.
proxmox/type__tag.go:20
↓ 11 callers
Method
mapToSDK
(tags string)
proxmox/type__tag.go:59
↓ 10 callers
Function
BoolInvert
(b bool)
proxmox/util.go:97
↓ 10 callers
Function
CheckConfig
(t *testing.T, ctx context.Context, c *pveSDK.Client, guestID pveSDK.GuestID, expected *pveSDK.ConfigQemu)
test/api/qemu/helper.go:24
↓ 10 callers
Method
GetVmInfo
(ctx context.Context, vmr *VmRef)
proxmox/client.go:317
↓ 10 callers
Method
String
()
proxmox/config__pool.go:967
↓ 10 callers
Method
Validate
()
proxmox/config__lxc__networks.go:558
↓ 10 callers
Method
Validate
(current *ConfigLXC)
proxmox/config__lxc__new.go:470
↓ 10 callers
Function
ValidateStringInArray
(array []string, value, text string)
proxmox/validate.go:30
↓ 10 callers
Method
get
( ctx context.Context, url string, params *url.Values, headers *http.Header, )
proxmox/session.go:349
↓ 10 callers
Method
string
(privileged bool)
proxmox/config__lxc__mount.go:107
↓ 9 callers
Function
Cleanup
Default CLEANUP test for Group
test/cli/Group/group_sub_tests/group_sub_tests.go:13
↓ 9 callers
Function
CloudInitSnippetPath_Max_Legal
256 valid characters
test/data/test_data_qemu/type_CloudInitSnippetPath.go:41
↓ 9 callers
Function
Delete
Default DELETE test for Group
test/cli/Group/group_sub_tests/group_sub_tests.go:23
↓ 9 callers
Method
GetResourceList
TODO this func should not be exported
proxmox/client.go:287
↓ 9 callers
Method
HandleTaskError
HandleTaskError reads the body from the passed in HTTP response and closes it. It returns the body of the passed in HTTP response.
proxmox/client.go:2363
↓ 9 callers
Function
QemuDiskSerial_Max_Illegal
61 valid charaters
test/data/test_data_qemu/type_QemuDiskSerial.go:11
↓ 9 callers
Function
RequestsDeleteResponse
(urlPath Path, expected any, response []byte)
internal/mockServer/requests.go:31
↓ 9 callers
Function
RequestsPutHandler
(urlPath Path, handler func(t *testing.T, v url.Values))
internal/mockServer/requests.go:97
↓ 9 callers
Method
SetDefaults
()
proxmox/config__storage.go:305
↓ 9 callers
Method
Test
(t *testing.T)
proxmox/config__qemu__helper__api_test.go:11
↓ 9 callers
Method
Validate
()
proxmox/snapshot.go:650
↓ 9 callers
Method
Validate
Used for fmt.Stringer interface
proxmox/config__apiToken.go:349
↓ 9 callers
Method
apiRaw
TODO once we use `ClientNew` everywhere this function can be removed
proxmox/client__newtest.go:16
↓ 9 callers
Method
getList
(ctx context.Context, url, text, message string)
proxmox/client__api__reusable.go:79
↓ 9 callers
Method
getMap
(ctx context.Context, url, text, message string)
proxmox/client__api__reusable.go:71
↓ 9 callers
Method
mapToApiCreate
()
proxmox/config__lxc__networks.go:515
↓ 9 callers
Method
putRawRetry
(ctx context.Context, url string, body *[]byte, tries int)
proxmox/client__api__reusable.go:204
↓ 9 callers
Function
testParamsEqual
(t *testing.T, expected map[string]string, params *[]byte, msgAndArgs ...any)
proxmox/helper_test.go:28
↓ 8 callers
Function
AddToList
(list, newItem string)
proxmox/util.go:223
↓ 8 callers
Method
CreateTest
()
test/api/Test.go:57
↓ 8 callers
Method
Delete
Makes a DELETE request without waiting on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client.go:2328
↓ 8 callers
Method
GetItemList
(ctx context.Context, url string)
proxmox/client.go:2356
↓ 8 callers
Method
GetState
()
proxmox/vmref.go:565
↓ 8 callers
Function
ItemInKeyOfArray
Check the value of a key in a nested array of map[string]interface{}
proxmox/util.go:102
↓ 8 callers
Method
Post
Makes a POST request without waiting on proxmox for the task to complete. It returns the HTTP error as 'err'.
proxmox/client.go:2270
↓ 8 callers
Function
PrintItemUpdated
(out io.Writer, id, text string)
cli/print.go:19
↓ 8 callers
Method
StatusChangeVm
(ctx context.Context, vmr *VmRef, params map[string]interface{}, setStatus string)
proxmox/client.go:623
↓ 8 callers
Method
Validate
(current *QemuUSB)
proxmox/config__qemu__usb.go:299
↓ 8 callers
Method
Validate
()
proxmox/config__ha__rules.go:911
↓ 8 callers
Method
Validate
()
proxmox/config__qemu__network.go:32
↓ 8 callers
Method
checkDuplicates
(numberOFCloudInitDrives uint8)
proxmox/config__qemu__disk.go:153
↓ 8 callers
Method
delete
( ctx context.Context, url string, params *url.Values, headers *http.Header, )
proxmox/session.go:340
↓ 8 callers
Function
deleteID
(ctx context.Context, args []string, IDtype string)
cli/command/delete/delete.go:21
↓ 8 callers
Function
generateUPID
(node NodeName, task string, guest GuestID, user UserID)
proxmox/helper_test.go:86
↓ 8 callers
Function
getConfig
(args []string, IDtype string)
cli/command/get/get.go:19
↓ 8 callers
Method
mapToApi
(version Version)
proxmox/config__qemu__cpu.go:477
↓ 8 callers
Method
mapToApiUpdate
(current Tags)
proxmox/type__tag.go:46
↓ 8 callers
Method
mapToIntMap
()
proxmox/config__qemu__disk__scsi.go:117
↓ 8 callers
Method
mapToIntMap
()
proxmox/config__qemu__disk__ide.go:86
↓ 8 callers
Method
mapToIntMap
()
proxmox/config__qemu__disk__sata.go:88
↓ 8 callers
Function
poolRead
(t *testing.T, ctx context.Context, c pveSDK.PoolInterface, name pveSDK.PoolName, comment string, guests []p
test/api/Pool/helper_test.go:12
↓ 7 callers
Method
AddMembers
(context.Context, PoolName, []GuestID, []StorageName)
proxmox/config__pool.go:18
↓ 7 callers
Method
CreateQemu
(ctx context.Context, guest VmRef, name SnapshotName, description string, vmState bool)
proxmox/snapshot.go:22
↓ 7 callers
Function
LogFatalError
(err error)
cli/log.go:7
↓ 7 callers
Function
MinimumConfig
(id pveSDK.GuestID, node pveSDK.NodeName, name pveSDK.GuestName)
test/api/qemu/config.go:93
↓ 7 callers
Method
Node
()
proxmox/client.go:106
↓ 7 callers
Function
PrintGuestStatus
(out io.Writer, id proxmox.GuestID, text string)
cli/print.go:11
↓ 7 callers
Function
PrintItemCreated
(out io.Writer, id, text string)
cli/print.go:15
↓ 7 callers
Method
Stop
Stop will stop the guest. The overrule flag will opportunistically set the overrule-shutdown parameter if the Proxmox VE version is 8.0 or higher. If
proxmox/config__guest.go:41
↓ 7 callers
Method
String
()
proxmox/config__group.go:549
↓ 7 callers
Method
Validate
(current *LxcMount, privileged bool)
proxmox/config__lxc__mount.go:689
↓ 7 callers
Function
fakeClient
provides a fake client to bypass *Client.checkInitialized() during testing
proxmox/client.go:63
↓ 7 callers
Method
mapToApiCreate
()
proxmox/config__lxc__new.go:101
↓ 7 callers
Method
mapToApiCreate
(version Version)
proxmox/config__qemu.go:414
↓ 7 callers
Method
mapToIntMap
()
proxmox/config__qemu__disk__virtio.go:90
↓ 7 callers
Method
parse
(guestType string)
proxmox/config__guest.go:545
↓ 7 callers
Method
string
()
proxmox/type__mtu.go:23
↓ 7 callers
Method
validateCreate
(version Version)
proxmox/config__qemu.go:1010
↓ 6 callers
Function
ArrayToCSV
Convert Array to a comma (,) delimited list
proxmox/util.go:235
↓ 6 callers
Method
AsArrays
()
proxmox/config__pool.go:541
↓ 6 callers
Function
Btoi
(b bool)
proxmox/util.go:31
↓ 6 callers
Method
CreateLxc
(ctx context.Context, guest VmRef, name SnapshotName, description string)
proxmox/snapshot.go:20
↓ 6 callers
Method
GetEnabled
()
proxmox/config__ha__rules.go:97
↓ 6 callers
Method
GetItemListInterfaceArray
(ctx context.Context, url string)
proxmox/client.go:2344
↓ 6 callers
Method
GetRawGuestStatus
(ctx context.Context, c *Client)
proxmox/vmref.go:173
↓ 6 callers
Method
GetStatus
()
proxmox/config__guest__resource.go:124
↓ 6 callers
Function
PrintFormattedJson
(out io.Writer, input interface{})
cli/print.go:37
↓ 6 callers
Function
RequestsDelete
(urlPath Path, expected any)
internal/mockServer/requests.go:22
↓ 6 callers
Method
SetNode
(node string)
proxmox/client.go:86
↓ 6 callers
Method
Start
(context.Context, VmRef)
proxmox/config__guest.go:35
↓ 6 callers
Method
String
()
proxmox/type__tag.go:122
↓ 6 callers
Method
check_unsafe
Returns nil when we had enough information in the VmRef to determine the guest resource, otherwise it returns the guest resource or an error if it can
proxmox/vmref.go:18
↓ 6 callers
Function
combineParamsAndBody
Combines params and raw body into a new body. This function can be removed once all bodys are created without the intermidiary params step.
proxmox/util.go:49
↓ 6 callers
Method
deleteRetry
(ctx context.Context, url string, tries int)
proxmox/client__api__reusable.go:37
← previous
next →
101–200 of 3,081, ranked by callers