Documentation ¶
Index ¶
- Variables
- func InitDefaultLogging(debug bool)
- func InitLogging(debugHandle io.Writer, infoHandle io.Writer, warningHandle io.Writer, ...)
- type Driver
- func (d *Driver) CreateEndpoint(r *dknet.CreateEndpointRequest) error
- func (d *Driver) CreateNetwork(r *dknet.CreateNetworkRequest) error
- func (d *Driver) DeleteEndpoint(r *dknet.DeleteEndpointRequest) error
- func (d *Driver) DeleteNetwork(r *dknet.DeleteNetworkRequest) error
- func (d *Driver) EndpointInfo(r *dknet.InfoRequest) (*dknet.InfoResponse, error)
- func (d *Driver) Join(r *dknet.JoinRequest) (*dknet.JoinResponse, error)
- func (d *Driver) Leave(r *dknet.LeaveRequest) error
- type NetworkState
- type OvsdbNotifier
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func InitDefaultLogging ¶
func InitDefaultLogging(debug bool)
Types ¶
type Driver ¶
type Driver struct { dknet.Driver OvsdbNotifier // contains filtered or unexported fields }
func (*Driver) CreateEndpoint ¶
func (d *Driver) CreateEndpoint(r *dknet.CreateEndpointRequest) error
func (*Driver) CreateNetwork ¶
func (d *Driver) CreateNetwork(r *dknet.CreateNetworkRequest) error
func (*Driver) DeleteEndpoint ¶
func (d *Driver) DeleteEndpoint(r *dknet.DeleteEndpointRequest) error
func (*Driver) DeleteNetwork ¶
func (d *Driver) DeleteNetwork(r *dknet.DeleteNetworkRequest) error
func (*Driver) EndpointInfo ¶
func (d *Driver) EndpointInfo(r *dknet.InfoRequest) (*dknet.InfoResponse, error)
func (*Driver) Join ¶
func (d *Driver) Join(r *dknet.JoinRequest) (*dknet.JoinResponse, error)
type NetworkState ¶
type NetworkState struct { BridgeName string MTU int Mode string Gateway string GatewayMask string FlatBindInterface string }
NetworkState is filled in at network creation time it contains state that we wish to keep for each network
type OvsdbNotifier ¶
type OvsdbNotifier struct { }
func (OvsdbNotifier) Disconnected ¶
func (o OvsdbNotifier) Disconnected(ovsClient *libovsdb.OvsdbClient)
func (OvsdbNotifier) Echo ¶
func (o OvsdbNotifier) Echo([]interface{})
func (OvsdbNotifier) Locked ¶
func (o OvsdbNotifier) Locked([]interface{})
func (OvsdbNotifier) Stolen ¶
func (o OvsdbNotifier) Stolen([]interface{})
func (OvsdbNotifier) Update ¶
func (o OvsdbNotifier) Update(context interface{}, tableUpdates libovsdb.TableUpdates)
Click to show internal directories.
Click to hide internal directories.