Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + const OVS_OFCTL + const OVS_VSCTL + func FlowMatches(flow, match *OvsFlow) bool + func ParseExternalIDs(externalIDs string) (map[string]string, error) + func UnparseExternalIDs(externalIDs map[string]string) string + type Interface interface + AddBridge func(properties ...string) error + AddPort func(port string, ofportRequest int, properties ...string) (int, error) + Clear func(table, record string, columns ...string) error + Create func(table string, values ...string) (string, error) + DeleteBridge func(ifExists bool) error + DeletePort func(port string) error + Destroy func(table, record string) error + DumpFlows func(flow string, args ...interface{}) ([]string, error) + Find func(table string, column []string, condition string) ([]map[string]string, error) + FindOne func(table, column, condition string) ([]string, error) + Get func(table, record, column string) (string, error) + GetOFPort func(port string) (int, error) + NewTransaction func() Transaction + Set func(table, record string, values ...string) error + SetFrags func(mode string) error + func New(execer exec.Interface, bridge string, minVersion string) (Interface, error) + func NewFake(bridge string) Interface + type OvsField struct + Name string + Value string + type OvsFlow struct + Actions []OvsField + Cookie string + Created time.Time + Fields []OvsField + Priority int + Table int + func ParseFlow(ptype ParseType, flow string, args ...interface{}) (*OvsFlow, error) + func (of *OvsFlow) FindAction(name string) (*OvsField, bool) + func (of *OvsFlow) FindField(name string) (*OvsField, bool) + func (of *OvsFlow) NoteHasPrefix(prefix string) bool + type ParseType string + const ParseForAdd + const ParseForDump + const ParseForFilter + type Transaction interface + AddFlow func(flow string, args ...interface{}) + Commit func() error + DeleteFlows func(flow string, args ...interface{}) v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v1 gopkg.in/openshift/origin.v3