Documentation ¶
Index ¶
- type OVSDBClient
- func (c *OVSDBClient) AwaitModel(m any)
- func (c *OVSDBClient) AwaitNoModel(m any)
- func (c *OVSDBClient) Cache() *cache.TableCache
- func (c *OVSDBClient) Close()
- func (c *OVSDBClient) Connect(_ context.Context) error
- func (c *OVSDBClient) Connected() bool
- func (c *OVSDBClient) Create(models ...model.Model) ([]ovsdb.Operation, error)
- func (c *OVSDBClient) CurrentEndpoint() string
- func (c *OVSDBClient) Disconnect()
- func (c *OVSDBClient) DisconnectNotify() chan struct{}
- func (c *OVSDBClient) Echo(_ context.Context) error
- func (c *OVSDBClient) Get(_ context.Context, _ model.Model) error
- func (c *OVSDBClient) List(_ context.Context, _ interface{}) error
- func (c *OVSDBClient) Monitor(_ context.Context, _ *libovsdbclient.Monitor) (libovsdbclient.MonitorCookie, error)
- func (c *OVSDBClient) MonitorAll(_ context.Context) (libovsdbclient.MonitorCookie, error)
- func (c *OVSDBClient) MonitorCancel(_ context.Context, _ libovsdbclient.MonitorCookie) error
- func (c *OVSDBClient) NewMonitor(_ ...libovsdbclient.MonitorOption) *libovsdbclient.Monitor
- func (c *OVSDBClient) Schema() ovsdb.DatabaseSchema
- func (c *OVSDBClient) SetOption(_ libovsdbclient.Option) error
- func (c *OVSDBClient) Transact(_ context.Context, _ ...ovsdb.Operation) ([]ovsdb.OperationResult, error)
- func (c *OVSDBClient) Where(m model.Model, _ ...model.Condition) libovsdbclient.ConditionalAPI
- func (c *OVSDBClient) WhereAll(_ model.Model, _ ...model.Condition) libovsdbclient.ConditionalAPI
- func (c *OVSDBClient) WhereCache(predicate interface{}) libovsdbclient.ConditionalAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OVSDBClient ¶
type OVSDBClient struct {
// contains filtered or unexported fields
}
func NewOVSDBClient ¶
func NewOVSDBClient() *OVSDBClient
func (*OVSDBClient) AwaitModel ¶
func (c *OVSDBClient) AwaitModel(m any)
func (*OVSDBClient) AwaitNoModel ¶
func (c *OVSDBClient) AwaitNoModel(m any)
func (*OVSDBClient) Cache ¶
func (c *OVSDBClient) Cache() *cache.TableCache
func (*OVSDBClient) Close ¶
func (c *OVSDBClient) Close()
func (*OVSDBClient) Connected ¶
func (c *OVSDBClient) Connected() bool
func (*OVSDBClient) CurrentEndpoint ¶
func (c *OVSDBClient) CurrentEndpoint() string
func (*OVSDBClient) Disconnect ¶
func (c *OVSDBClient) Disconnect()
func (*OVSDBClient) DisconnectNotify ¶
func (c *OVSDBClient) DisconnectNotify() chan struct{}
func (*OVSDBClient) Monitor ¶
func (c *OVSDBClient) Monitor(_ context.Context, _ *libovsdbclient.Monitor) (libovsdbclient.MonitorCookie, error)
func (*OVSDBClient) MonitorAll ¶
func (c *OVSDBClient) MonitorAll(_ context.Context) (libovsdbclient.MonitorCookie, error)
func (*OVSDBClient) MonitorCancel ¶
func (c *OVSDBClient) MonitorCancel(_ context.Context, _ libovsdbclient.MonitorCookie) error
func (*OVSDBClient) NewMonitor ¶
func (c *OVSDBClient) NewMonitor(_ ...libovsdbclient.MonitorOption) *libovsdbclient.Monitor
func (*OVSDBClient) Schema ¶
func (c *OVSDBClient) Schema() ovsdb.DatabaseSchema
func (*OVSDBClient) SetOption ¶
func (c *OVSDBClient) SetOption(_ libovsdbclient.Option) error
func (*OVSDBClient) Transact ¶
func (c *OVSDBClient) Transact(_ context.Context, _ ...ovsdb.Operation) ([]ovsdb.OperationResult, error)
func (*OVSDBClient) Where ¶
func (c *OVSDBClient) Where(m model.Model, _ ...model.Condition) libovsdbclient.ConditionalAPI
func (*OVSDBClient) WhereAll ¶
func (c *OVSDBClient) WhereAll(_ model.Model, _ ...model.Condition) libovsdbclient.ConditionalAPI
func (*OVSDBClient) WhereCache ¶
func (c *OVSDBClient) WhereCache(predicate interface{}) libovsdbclient.ConditionalAPI
Click to show internal directories.
Click to hide internal directories.