Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/digitalocean/go-openvswitch
/ types & classes
Types & classes
151 in github.com/digitalocean/go-openvswitch
⨍
Functions
571
◇
Types & classes
151
↓ 14 callers
TypeAlias
PortAction
A PortAction is a port actions to change the port characteristics of the specific port through the ModPort API.
ovs/ovs.go:46
↓ 3 callers
TypeAlias
Protocol
A Protocol is an OpenFlow protocol designation accepted by Open vSwitch.
ovs/flow.go:41
↓ 2 callers
TypeAlias
FailMode
A FailMode is a failure mode which Open vSwitch uses when it cannot contact a controller.
ovs/ovs.go:24
↓ 1 callers
TypeAlias
DatapathFeatures
DatapathFeatures is a set of bit flags that specify features for a datapath.
ovsnl/datapath.go:43
↓ 1 callers
FuncType
writerFunc
A writerFunc is an adapter for a function to be used as an io.Writer.
ovs/client.go:352
Interface
Action
An Action is a type which can be marshaled into an OpenFlow action. Actions can be used with Flows to perform operations when the Flow matches an inpu
ovs/action.go:92
Struct
AppService
AppService runs commands that are available from ovs-appctl
ovs/app.go:23
Struct
BitRange
A BitRange is a representation of a range of values from base value with a bitmask applied.
ovs/portrange.go:36
Struct
BridgeOptions
An BridgeOptions enables configuration of a bridge.
ovs/vswitch.go:202
Interface
CLI
CLI is an interface defining a contract for executing a command. Implementation of shell cli is done by the Client concrete type
ovs/datapath.go:91
TypeAlias
CTLimit
CTLimit defines the type used to store a zone as it is returned by ovs-dpctl ct-*-limits commands
ovs/datapath.go:35
TypeAlias
CTState
CTState is a connection tracking state, which can be used with the ConnectionTrackingState function.
ovs/match.go:1329
Struct
Client
A Client is an OVSDB client. Clients can be customized by using OptionFuncs in the Dial and New functions. All methods on the Client that accept a c
ovsdb/client.go:39
Struct
Client
A Client is a Linux Open vSwitch generic netlink client.
ovsnl/client.go:27
Struct
Client
A Client is a client type which enables programmatic control of Open vSwitch.
ovs/client.go:28
Struct
ClientStats
ClientStats contains statistics about a Client.
ovsdb/client.go:187
Struct
Cond
A Cond is a conditional expression which is evaluated by the OVSDB server in a transaction.
ovsdb/transact.go:21
Struct
Conn
A Conn is a JSON-RPC connection.
ovsdb/internal/jsonrpc/conn.go:75
Interface
ConnTrackReader
ConnTrackReader is the interface defining the read operations of ovs conntrack
ovs/datapath.go:72
Interface
ConnTrackWriter
ConnTrackWriter is the interface defining the write operations of ovs conntrack
ovs/datapath.go:80
Struct
ConntrackOutput
ConntrackOutput is a type defined to store the output of ovs-dpctl ct-*-limits commands. For example it stores such a cli output: # ovs-dpctl ct-get-l
ovs/datapath.go:44
Struct
DPMegaflowStats
ovsnl/internal/ovsh/struct.go:31
TypeAlias
DPMegaflowStats
ovsnl/internal/ovsh/types.go:26
Struct
DPStats
ovsnl/internal/ovsh/struct.go:24
TypeAlias
DPStats
ovsnl/internal/ovsh/types.go:24
Interface
DataPathActions
DataPathActions is a text unmarshaler for data path actions in ofproto/trace output
ovs/proto_trace.go:54
Struct
DataPathFlows
DataPathFlows represents the initial/final flows passed/returned from ofproto/trace
ovs/proto_trace.go:75
Interface
DataPathReader
DataPathReader is the interface defining the read operations for the ovs DataPaths
ovs/datapath.go:53
Struct
DataPathService
DataPathService defines the concrete type used for DataPath operations supported by the ovs-dpctl command
ovs/datapath.go:97
Interface
DataPathWriter
DataPathWriter is the interface defining the wrtie operations for the ovs DataPaths
ovs/datapath.go:63
Struct
Datapath
A Datapath is an Open vSwitch in-kernel datapath.
ovsnl/datapath.go:34
Struct
DatapathMegaflowStats
DatapathMegaflowStats contains statistics about mega flow mask usage for a Datapath.
ovsnl/datapath.go:91
Struct
DatapathService
A DatapathService provides access to methods which interact with the "ovs_datapath" generic netlink family.
ovsnl/datapath.go:28
Struct
DatapathStats
DatapathStats contains statistics about packets that have passed through a Datapath.
ovsnl/datapath.go:78
Struct
DpCLI
DpCLI implements the CLI interface by invoking the Client exec method.
ovs/datapath.go:326
Struct
Error
An Error is an error returned by an OVSDB server. Its fields can be used to determine the cause of an error.
ovsdb/result.go:77
Struct
Error
An Error is an error returned when shelling out to an Open vSwitch control program. It captures the combined stdout and stderr as well as the exit co
ovs/ovs.go:69
FuncType
ExecFunc
An ExecFunc is a function which accepts input arguments and returns raw byte output and an error. ExecFuncs are swappable to enable testing without O
ovs/client.go:64
Struct
Flow
A Flow is an OpenFlow flow meant for adding/fetching flows to a software bridge. It can be marshaled to and from its textual form for use with Open v
ovs/flow.go:58
Struct
FlowError
A FlowError is an error encountered while marshaling or unmarshaling a Flow.
ovs/flow.go:90
Struct
FlowStats
ovsnl/internal/ovsh/struct.go:50
Struct
FlowStats
FlowStats contains a variety of statistics about an Open vSwitch port, including its port ID and numbers about packet receive and transmit operations.
ovs/flowstats.go:32
TypeAlias
FlowStats
ovsnl/internal/ovsh/types.go:30
Struct
FlowTransaction
A FlowTransaction is a transaction used when adding or deleting multiple flows using an Open vSwitch flow bundle.
ovs/openflow.go:59
Struct
Header
ovsnl/internal/ovsh/struct.go:20
TypeAlias
Header
ovsnl/internal/ovsh/types.go:22
TypeAlias
IPFragFlag
IPFragFlag is a string type which can be used with the IPFragMatch.
ovs/match.go:1622
Struct
InterfaceOptions
An InterfaceOptions struct enables configuration of an Interface.
ovs/vswitch.go:232
TypeAlias
InterfaceType
An InterfaceType is a network interface type recognized by Open vSwitch.
ovs/ovs.go:33
Struct
LearnedFlow
A LearnedFlow is defined as part of the Learn action.
ovs/flow.go:71
Interface
Match
A Match is a type which can be marshaled into an OpenFlow packet matching statement. Matches can be used with Flows to match specific packet types an
ovs/match.go:89
Struct
MatchFlow
TODO(mdlayher): it would be nice if MatchFlow was just a Flow. A MatchFlow is an OpenFlow flow intended for flow deletion. It can be marshaled to its
ovs/matchflow.go:39
Struct
MatchFlowError
A MatchFlowError is an error encountered while marshaling or unmarshaling a MatchFlow.
ovs/matchflow.go:58
Struct
MockOvsCLI
MockOvsCLI is mocking the "ovs-dpctl (Open vSwitch) 2.10.7" version
ovs/datapath_test.go:29
Struct
OpenFlowService
An OpenFlowService is used in a Client to execute 'ovs-ofctl' commands.
ovs/openflow.go:37
FuncType
OptionFunc
An OptionFunc is a function which can configure a Client.
ovsdb/client.go:69
FuncType
OptionFunc
An OptionFunc is a function which can apply configuration to a Client.
ovs/client.go:255
FuncType
PipeFunc
A PipeFunc is a function which accepts an input stdin stream, command, and arguments, and returns command output and an error. PipeFuncs are swappabl
ovs/client.go:109
Struct
PortRange
An PortRange represents a range of ports expressed in 16 bit integers. The start and end values of this range are inclusive.
ovs/portrange.go:29
Struct
PortStats
PortStats contains a variety of statistics about an Open vSwitch port, including its port ID and numbers about packet receive and transmit operations.
ovs/portstats.go:32
Struct
PortStatsReceive
PortStatsReceive contains information regarding the number of received packets, bytes, etc.
ovs/portstats.go:45
Struct
PortStatsTransmit
PortStatsTransmit contains information regarding the number of transmitted packets, bytes, etc.
ovs/portstats.go:57
Struct
ProtoTrace
ProtoTrace is a type representing output from ovs-app-ctl ofproto/trace
ovs/proto_trace.go:136
Struct
Request
A Request is a JSON-RPC request.
ovsdb/internal/jsonrpc/conn.go:27
Struct
Response
A Response is either a JSON-RPC response, or a JSON-RPC request notification.
ovsdb/internal/jsonrpc/conn.go:34
TypeAlias
Row
A Row is a database row. Its keys are database column names, and its values are database column values.
ovsdb/rpc.go:51
Struct
Select
Select is a TransactOp which fetches information from a database.
ovsdb/transact.go:55
TypeAlias
TCPFlag
TCPFlag represents a flag in the TCP header, which can be used with the TCPFlags function.
ovs/match.go:1433
Struct
Table
A Table is an Open vSwitch table.
ovs/table.go:30
FuncType
TestFunc
A TestFunc is used to create RPC responses in TestConn.
ovsdb/internal/jsonrpc/testconn.go:30
Interface
TransactOp
A TransactOp is an operation that can be applied with Client.Transact.
ovsdb/transact.go:48
Interface
TransportPortRanger
A TransportPortRanger represents a port range that can be expressed as an array of bitwise matches.
ovs/match.go:1048
Struct
VSwitchGetService
A VSwitchGetService is used in a VSwitchService to execute 'ovs-vsctl get' subcommands.
ovs/vswitch.go:157
Struct
VSwitchService
A VSwitchService is used in a Client to execute 'ovs-vsctl' commands.
ovs/vswitch.go:34
Struct
VSwitchSetService
A VSwitchSetService is used in a VSwitchService to execute 'ovs-vsctl set' subcommands.
ovs/vswitch.go:184
Struct
VportStats
ovsnl/internal/ovsh/struct.go:39
TypeAlias
VportStats
ovsnl/internal/ovsh/types.go:28
Struct
actionParser
An actionParser is a parser for OVS flow actions.
ovs/actionparser.go:29
Struct
arpHardwareAddressMatch
An arpHardwareAddressMatch is a Match returned by ARP{Source,Target}HardwareAddress.
ovs/match.go:815
Struct
arpOpMatch
An arpOpMatch is a Match returned by ArpOp.
ovs/match.go:1216
Struct
arpOperationMatch
An arpOperationMatch is a Match returned by ARPOperation.
ovs/match.go:780
Struct
arpProtocolAddressMatch
An arpProtocolAddressMatch is a Match returned by ARP{Source,Target}ProtocolAddress.
ovs/match.go:861
Struct
callback
A callback can be used to send a message back to a caller, or allow the caller to cancel waiting for a message.
ovsdb/client.go:377
Struct
conjunctionAction
A conjuctionAction is an Action which is used by Conjunction.
ovs/action.go:504
Struct
conjunctionIDMatch
A conjunctionIDMatch is a Match returned by ConjunctionID
ovs/match.go:498
Struct
connectionTrackingMarkMatch
A connectionTrackingMarkMatch is a Match returned by ConnectionTrackingMark.
ovs/match.go:1243
Struct
connectionTrackingMatch
A connectionTrackingMatch is a Match returned by ConnectionTrackingState.
ovs/match.go:1304
Struct
connectionTrackingZoneMatch
A connectionTrackingZoneMatch is a Match returned by ConnectionTrackingZone.
ovs/match.go:1271
Struct
ctAction
A ctAction is an Action which is used by ConneectionTracking.
ovs/action.go:218
Struct
dataLinkMatch
A dataLinkMatch is a Match returned by DataLink{Source,Destination}.
ovs/match.go:120
Struct
dataLinkTypeMatch
A dataLinkTypeMatch is a Match returned by DataLinkType.
ovs/match.go:175
Struct
dataLinkVLANMatch
A dataLinkVLANMatch is a Match returned by DataLinkVLAN.
ovs/match.go:203
Struct
dataLinkVLANPCPMatch
A dataLinkVLANPCPMatch is a Match returned by DataLinkVLANPCP.
ovs/match.go:239
Struct
dataPathActions
ovs/proto_trace.go:65
Struct
debugReadWriteCloser
ovsdb/internal/jsonrpc/conn.go:131
Struct
eofReadWriteCloser
ovsdb/internal/jsonrpc/conn_test.go:209
Struct
fieldMatch
fieldMatch implements the Match interface and matches a given field against another a value, e.g. "0x123" or "1.2.3.4", or against another src field i
ovs/match.go:1665
Struct
flowDirective
A flowDirective is a directive and flow string pair, used to perform multiple operations within a Transaction.
ovs/openflow.go:67
Struct
icmp6CodeMatch
An icmp6CodeMatch is a Match returned by ICMP6Code.
ovs/match.go:661
Struct
icmp6TypeMatch
An icmp6TypeMatch is a Match returned by ICMP6Type.
ovs/match.go:637
next →
1–100 of 151, ranked by callers