Documentation ¶
Index ¶
- Constants
- type Attributes
- type ContainerInfo
- type DockerProbe
- type FabricProbe
- type FabricRegisterLinkWSMessage
- type NetLinkProbe
- type NetNSProbe
- type NetNs
- type NetNsNetLinkProbe
- type NeutronMapper
- type NeutronPortNotFound
- type OpenContrailMapper
- type OpenContrailMdata
- type OvsdbProbe
- func (o *OvsdbProbe) OnOvsBridgeAdd(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsBridgeDel(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsBridgeUpdate(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsInterfaceAdd(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsInterfaceDel(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsInterfaceUpdate(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsPortAdd(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsPortDel(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) OnOvsPortUpdate(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
- func (o *OvsdbProbe) Start()
- func (o *OvsdbProbe) Stop()
- type PeeringProbe
- type PortMetadata
Constants ¶
View Source
const DockerClientAPIVersion = "1.18"
View Source
const (
FabricNamespace = "Fabric"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type ContainerInfo ¶
type DockerProbe ¶
type DockerProbe struct { sync.RWMutex *NetNSProbe // contains filtered or unexported fields }
func NewDockerProbe ¶
func NewDockerProbe(nsProbe *NetNSProbe, dockerURL string) (probe *DockerProbe, _ error)
func NewDockerProbeFromConfig ¶
func NewDockerProbeFromConfig(nsProbe *NetNSProbe) (*DockerProbe, error)
func (*DockerProbe) Start ¶
func (probe *DockerProbe) Start()
func (*DockerProbe) Stop ¶
func (probe *DockerProbe) Stop()
type FabricProbe ¶
type FabricProbe struct { graph.DefaultGraphListener Graph *graph.Graph // contains filtered or unexported fields }
func NewFabricProbe ¶
func NewFabricProbe(g *graph.Graph) *FabricProbe
func (*FabricProbe) OnEdgeAdded ¶
func (fb *FabricProbe) OnEdgeAdded(e *graph.Edge)
func (*FabricProbe) OnNodeDeleted ¶
func (fb *FabricProbe) OnNodeDeleted(n *graph.Node)
func (*FabricProbe) Start ¶
func (fb *FabricProbe) Start()
func (*FabricProbe) Stop ¶
func (fb *FabricProbe) Stop()
type NetLinkProbe ¶
type NetLinkProbe struct { sync.RWMutex Graph *graph.Graph // contains filtered or unexported fields }
func NewNetLinkProbe ¶
func NewNetLinkProbe(g *graph.Graph) (*NetLinkProbe, error)
func (*NetLinkProbe) Register ¶
func (u *NetLinkProbe) Register(nsPath string, root *graph.Node) (*NetNsNetLinkProbe, error)
func (*NetLinkProbe) Start ¶
func (u *NetLinkProbe) Start()
func (*NetLinkProbe) Stop ¶
func (u *NetLinkProbe) Stop()
func (*NetLinkProbe) Unregister ¶
func (u *NetLinkProbe) Unregister(nsPath string) error
type NetNSProbe ¶
type NetNSProbe struct { sync.RWMutex Graph *graph.Graph Root *graph.Node NetLinkProbe *NetLinkProbe // contains filtered or unexported fields }
func NewNetNSProbe ¶
func NewNetNSProbe(g *graph.Graph, n *graph.Node, nlProbe *NetLinkProbe, runPath ...string) (*NetNSProbe, error)
func NewNetNSProbeFromConfig ¶
func NewNetNSProbeFromConfig(g *graph.Graph, n *graph.Node, nlProbe *NetLinkProbe) (*NetNSProbe, error)
func (*NetNSProbe) Start ¶
func (u *NetNSProbe) Start()
func (*NetNSProbe) Stop ¶
func (u *NetNSProbe) Stop()
func (*NetNSProbe) Unregister ¶
func (u *NetNSProbe) Unregister(path string)
type NetNsNetLinkProbe ¶
type NeutronMapper ¶
type NeutronMapper struct { graph.DefaultGraphListener // contains filtered or unexported fields }
func NewNeutronMapper ¶
func NewNeutronMapper(g *graph.Graph, wspool *shttp.WSAsyncClientPool, authURL, username, password, tenantName, regionName, domainName string, availability gophercloud.Availability) (*NeutronMapper, error)
func NewNeutronMapperFromConfig ¶
func NewNeutronMapperFromConfig(g *graph.Graph, wspool *shttp.WSAsyncClientPool) (*NeutronMapper, error)
func (*NeutronMapper) EnhanceNode ¶
func (mapper *NeutronMapper) EnhanceNode(node *graph.Node)
func (*NeutronMapper) OnNodeAdded ¶
func (mapper *NeutronMapper) OnNodeAdded(n *graph.Node)
func (*NeutronMapper) OnNodeUpdated ¶
func (mapper *NeutronMapper) OnNodeUpdated(n *graph.Node)
func (*NeutronMapper) Start ¶
func (mapper *NeutronMapper) Start()
func (*NeutronMapper) Stop ¶
func (mapper *NeutronMapper) Stop()
type NeutronPortNotFound ¶
type NeutronPortNotFound struct {
MAC string
}
func (NeutronPortNotFound) Error ¶
func (e NeutronPortNotFound) Error() string
type OpenContrailMapper ¶
type OpenContrailMapper struct { graph.DefaultGraphListener // contains filtered or unexported fields }
func NewOpenContrailMapper ¶
func NewOpenContrailMapper(g *graph.Graph, r *graph.Node) *OpenContrailMapper
func (*OpenContrailMapper) OnNodeAdded ¶
func (mapper *OpenContrailMapper) OnNodeAdded(n *graph.Node)
func (*OpenContrailMapper) OnNodeDeleted ¶
func (mapper *OpenContrailMapper) OnNodeDeleted(n *graph.Node)
func (*OpenContrailMapper) OnNodeUpdated ¶
func (mapper *OpenContrailMapper) OnNodeUpdated(n *graph.Node)
func (*OpenContrailMapper) Start ¶
func (mapper *OpenContrailMapper) Start()
func (*OpenContrailMapper) Stop ¶
func (mapper *OpenContrailMapper) Stop()
type OpenContrailMdata ¶
type OvsdbProbe ¶
type OvsdbProbe struct { sync.Mutex Graph *graph.Graph Root *graph.Node OvsMon *ovsdb.OvsMonitor // contains filtered or unexported fields }
func NewOvsdbProbe ¶
func NewOvsdbProbeFromConfig ¶
func NewOvsdbProbeFromConfig(g *graph.Graph, n *graph.Node) *OvsdbProbe
func (*OvsdbProbe) OnOvsBridgeAdd ¶
func (o *OvsdbProbe) OnOvsBridgeAdd(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsBridgeDel ¶
func (o *OvsdbProbe) OnOvsBridgeDel(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsBridgeUpdate ¶
func (o *OvsdbProbe) OnOvsBridgeUpdate(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsInterfaceAdd ¶
func (o *OvsdbProbe) OnOvsInterfaceAdd(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsInterfaceDel ¶
func (o *OvsdbProbe) OnOvsInterfaceDel(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsInterfaceUpdate ¶
func (o *OvsdbProbe) OnOvsInterfaceUpdate(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsPortAdd ¶
func (o *OvsdbProbe) OnOvsPortAdd(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsPortDel ¶
func (o *OvsdbProbe) OnOvsPortDel(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) OnOvsPortUpdate ¶
func (o *OvsdbProbe) OnOvsPortUpdate(monitor *ovsdb.OvsMonitor, uuid string, row *libovsdb.RowUpdate)
func (*OvsdbProbe) Start ¶
func (o *OvsdbProbe) Start()
func (*OvsdbProbe) Stop ¶
func (o *OvsdbProbe) Stop()
type PeeringProbe ¶
type PeeringProbe struct { graph.DefaultGraphListener // contains filtered or unexported fields }
func NewPeeringProbe ¶
func NewPeeringProbe(g *graph.Graph) *PeeringProbe
func (*PeeringProbe) OnNodeAdded ¶
func (p *PeeringProbe) OnNodeAdded(n *graph.Node)
func (*PeeringProbe) OnNodeDeleted ¶
func (p *PeeringProbe) OnNodeDeleted(n *graph.Node)
func (*PeeringProbe) OnNodeUpdated ¶
func (p *PeeringProbe) OnNodeUpdated(n *graph.Node)
func (*PeeringProbe) Start ¶
func (p *PeeringProbe) Start()
func (*PeeringProbe) Stop ¶
func (p *PeeringProbe) Stop()
type PortMetadata ¶
type PortMetadata struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.