Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lxc/incus
/ State
Method
State
internal/server/device/device_interface.go:87–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
// NICState provides the ability to access NIC state.
86
type
NICState
interface
{
87
State() (*api.InstanceStateNetwork, error)
88
}
Callers
15
instanceConsolePost
Function · 0.65
instanceConsoleLogGet
Function · 0.65
instanceConsoleLogDelete
Function · 0.65
storagePoolBucketsGet
Function · 0.65
storagePoolBucketGet
Function · 0.65
storagePoolBucketsPost
Function · 0.65
storagePoolBucketPut
Function · 0.65
storagePoolBucketDelete
Function · 0.65
storagePoolBucketKeysGet
Function · 0.65
storagePoolBucketKeysPost
Function · 0.65
storagePoolBucketKeyDelete
Function · 0.65
storagePoolBucketKeyGet
Function · 0.65
Implementers
8
common
internal/server/network/driver_common.
ovn
internal/server/network/driver_ovn.go
nicBridged
internal/server/device/nic_bridged.go
nicOVN
internal/server/device/nic_ovn.go
qemu
internal/server/instance/drivers/drive
lxc
internal/server/instance/drivers/drive
heartbeatFixture
internal/server/cluster/heartbeat_test
Daemon
cmd/incusd/daemon.go
Calls
no outgoing calls
Tested by
15
TestContainer_ProfilesDefault
Method · 0.52
TestContainer_ProfilesMulti
Method · 0.52
TestContainer_ProfilesOverwriteDefaultNic
Method · 0.52
TestContainer_LoadFromDB
Method · 0.52
TestContainer_Path_Regular
Method · 0.52
TestContainer_LogPath
Method · 0.52
TestContainer_IsPrivileged_Privileged
Method · 0.52
TestContainer_AddRoutedNicValidation
Method · 0.52
TestContainer_IsPrivileged_Unprivileged
Method · 0.52
TestContainer_Rename
Method · 0.52
TestContainer_findIdmap_isolated
Method · 0.52
TestContainer_findIdmap_mixed
Method · 0.52