Versions in this module Expand all Collapse all v0 v0.3.0 Apr 26, 2016 Changes in this version + const DEFAULT_ADDR + const DEFAULT_PORT + func NewCancelArgs(id interface{}) []interface + func NewCondition(column string, function string, value interface{}) []interface + func NewGetSchemaArgs(schema string) []interface + func NewLockArgs(id interface{}) []interface + func NewMonitorArgs(database string, value interface{}, requests map[string]MonitorRequest) []interface + func NewMonitorCancelArgs(value interface{}) []interface + func NewMutation(column string, mutator string, value interface{}) []interface + func NewTransactArgs(database string, operations ...Operation) []interface + type ColumnSchema struct + Ephemeral bool + Mutable bool + Name string + Type interface{} + type DatabaseSchema struct + Name string + Tables map[string]TableSchema + Version string + func (schema DatabaseSchema) Print(w io.Writer) + type MonitorRequest struct + Columns []string + Select MonitorSelect + type MonitorRequests struct + Requests map[string]MonitorRequest + type MonitorSelect struct + Delete bool + Initial bool + Insert bool + Modify bool + type NotificationHandler interface + Disconnected func(*OvsdbClient) + Echo func([]interface{}) + Locked func([]interface{}) + Stolen func([]interface{}) + Update func(context interface{}, tableUpdates TableUpdates) + type Operation struct + Columns []string + Mutations []interface{} + Op string + Row map[string]interface{} + Rows []map[string]interface{} + Table string + Timeout int + UUIDName string + Until string + Where []interface{} + type OperationResult struct + Count int + Details string + Error string + Rows []map[string]interface{} + UUID UUID + type OvsMap struct + GoMap map[interface{}]interface{} + func NewOvsMap(goMap interface{}) (*OvsMap, error) + func (o *OvsMap) UnmarshalJSON(b []byte) (err error) + func (o OvsMap) MarshalJSON() ([]byte, error) + type OvsSet struct + GoSet []interface{} + func NewOvsSet(goSlice interface{}) (*OvsSet, error) + func (o *OvsSet) UnmarshalJSON(b []byte) (err error) + func (o OvsSet) MarshalJSON() ([]byte, error) + type OvsdbClient struct + Schema map[string]DatabaseSchema + func Connect(ipAddr string, port int) (*OvsdbClient, error) + func (ovs *OvsdbClient) Register(handler NotificationHandler) + func (ovs OvsdbClient) Disconnect() + func (ovs OvsdbClient) GetSchema(dbName string) (*DatabaseSchema, error) + func (ovs OvsdbClient) ListDbs() ([]string, error) + func (ovs OvsdbClient) Monitor(database string, jsonContext interface{}, requests map[string]MonitorRequest) (*TableUpdates, error) + func (ovs OvsdbClient) MonitorAll(database string, jsonContext interface{}) (*TableUpdates, error) + func (ovs OvsdbClient) Transact(database string, operation ...Operation) ([]OperationResult, error) + type OvsdbError struct + Details string + Error string + type Row struct + Fields map[string]interface{} + func (r *Row) UnmarshalJSON(b []byte) (err error) + type RowUpdate struct + New Row + Old Row + Uuid UUID + type TableSchema struct + Columns map[string]ColumnSchema + Indexes [][]string + type TableUpdate struct + Rows map[string]RowUpdate + type TableUpdates struct + Updates map[string]TableUpdate + type TransactResponse struct + Error string + Result []OperationResult + type UUID struct + GoUuid string + func (u *UUID) UnmarshalJSON(b []byte) (err error) + func (u UUID) MarshalJSON() ([]byte, error)