Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lxc/incus
/ NewURL
Function
NewURL
shared/api/url.go:14–16 ·
view source on GitHub ↗
NewURL creates a new URL.
()
Source
from the content-addressed store, hash-verified
12
13
// NewURL creates a new URL.
14
func
NewURL() *URL {
15
return
&URL{}
16
}
17
18
// Scheme sets the scheme of the URL.
19
func
(u *URL) Scheme(scheme string) *URL {
Callers
15
GetClusterMemberState
Method · 0.92
GetStoragePoolVolumeNamesAllProjects
Method · 0.92
GetStoragePoolVolumesAllProjects
Method · 0.92
GetStoragePoolVolumesWithFilterAllProjects
Method · 0.92
GetStoragePoolVolumesFullAllProjects
Method · 0.92
GetStoragePoolVolumesFullWithFilterAllProjects
Method · 0.92
MigrateStoragePoolVolume
Method · 0.92
GetStoragePoolVolumeBlockNBDConn
Method · 0.92
GetStoragePoolVolumeFileSFTPConn
Method · 0.92
GetNetworkLoadBalancerAddresses
Method · 0.92
GetNetworkLoadBalancers
Method · 0.92
GetNetworkLoadBalancer
Method · 0.92
Calls
no outgoing calls
Tested by
8
TestCheckClusterTargetRestriction_RestrictedTrueWithOverride
Function · 0.74
TestScheme
Function · 0.68
TestHost
Function · 0.68
TestPath
Function · 0.68
TestProject
Function · 0.68
TestTarget
Function · 0.68
TestWithQuery
Function · 0.68
TestURLString
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…