MCPcopy
hub / github.com/lxc/incus / common

Struct common

internal/server/network/driver_common.go:89–101  ·  view source on GitHub ↗

common represents a generic network.

Source from the content-addressed store, hash-verified

87
88// common represents a generic network.
89type common struct {
90 logger logger.Logger
91 state *state.State
92 id int64
93 project string
94 name string
95 netType string
96 description string
97 config map[string]string
98 status string
99 managed bool
100 nodes map[int64]db.NetworkNode
101}
102
103// init initialize internal variables.
104func (n *common) init(s *state.State, id int64, projectName string, netInfo *api.Network, netNodes map[int64]db.NetworkNode) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected