Documentation ¶
Index ¶
- func NewARPEntryDescriptor(typedDescriptor *ARPEntryDescriptor) *KVDescriptor
- func NewDHCPProxyDescriptor(typedDescriptor *DHCPProxyDescriptor) *KVDescriptor
- func NewIPScanNeighborDescriptor(typedDescriptor *IPScanNeighborDescriptor) *KVDescriptor
- func NewL3XCDescriptor(typedDescriptor *L3XCDescriptor) *KVDescriptor
- func NewProxyARPDescriptor(typedDescriptor *ProxyARPDescriptor) *KVDescriptor
- func NewProxyARPInterfaceDescriptor(typedDescriptor *ProxyARPInterfaceDescriptor) *KVDescriptor
- func NewRouteDescriptor(typedDescriptor *RouteDescriptor) *KVDescriptor
- func NewVrfTableDescriptor(typedDescriptor *VrfTableDescriptor) *KVDescriptor
- type ARPEntryDescriptor
- type ARPEntryDescriptorAdapter
- func (da *ARPEntryDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *ARPEntryDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *ARPEntryDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *ARPEntryDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *ARPEntryDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *ARPEntryDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *ARPEntryDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *ARPEntryDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *ARPEntryDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type ARPEntryKVWithMetadata
- type DHCPProxyDescriptor
- type DHCPProxyDescriptorAdapter
- func (da *DHCPProxyDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *DHCPProxyDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *DHCPProxyDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *DHCPProxyDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *DHCPProxyDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *DHCPProxyDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *DHCPProxyDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *DHCPProxyDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *DHCPProxyDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type DHCPProxyKVWithMetadata
- type IPScanNeighborDescriptor
- type IPScanNeighborDescriptorAdapter
- func (da *IPScanNeighborDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *IPScanNeighborDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *IPScanNeighborDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *IPScanNeighborDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *IPScanNeighborDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *IPScanNeighborDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *IPScanNeighborDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *IPScanNeighborDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *IPScanNeighborDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type IPScanNeighborKVWithMetadata
- type L3XCDescriptor
- type L3XCDescriptorAdapter
- func (da *L3XCDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *L3XCDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *L3XCDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *L3XCDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *L3XCDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *L3XCDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *L3XCDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *L3XCDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *L3XCDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type L3XCKVWithMetadata
- type ProxyARPDescriptor
- type ProxyARPDescriptorAdapter
- func (da *ProxyARPDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *ProxyARPDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *ProxyARPDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *ProxyARPDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *ProxyARPDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *ProxyARPDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *ProxyARPDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *ProxyARPDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *ProxyARPDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type ProxyARPInterfaceDescriptor
- type ProxyARPInterfaceDescriptorAdapter
- func (da *ProxyARPInterfaceDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *ProxyARPInterfaceDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *ProxyARPInterfaceDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *ProxyARPInterfaceDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *ProxyARPInterfaceDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *ProxyARPInterfaceDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *ProxyARPInterfaceDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *ProxyARPInterfaceDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *ProxyARPInterfaceDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type ProxyARPInterfaceKVWithMetadata
- type ProxyARPKVWithMetadata
- type RouteDescriptor
- type RouteDescriptorAdapter
- func (da *RouteDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *RouteDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *RouteDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *RouteDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *RouteDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *RouteDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *RouteDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *RouteDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *RouteDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type RouteKVWithMetadata
- type VrfTableDescriptor
- type VrfTableDescriptorAdapter
- func (da *VrfTableDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *VrfTableDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *VrfTableDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *VrfTableDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *VrfTableDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *VrfTableDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *VrfTableDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *VrfTableDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *VrfTableDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type VrfTableKVWithMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewARPEntryDescriptor ¶
func NewARPEntryDescriptor(typedDescriptor *ARPEntryDescriptor) *KVDescriptor
func NewDHCPProxyDescriptor ¶
func NewDHCPProxyDescriptor(typedDescriptor *DHCPProxyDescriptor) *KVDescriptor
func NewIPScanNeighborDescriptor ¶
func NewIPScanNeighborDescriptor(typedDescriptor *IPScanNeighborDescriptor) *KVDescriptor
func NewL3XCDescriptor ¶
func NewL3XCDescriptor(typedDescriptor *L3XCDescriptor) *KVDescriptor
func NewProxyARPDescriptor ¶
func NewProxyARPDescriptor(typedDescriptor *ProxyARPDescriptor) *KVDescriptor
func NewProxyARPInterfaceDescriptor ¶
func NewProxyARPInterfaceDescriptor(typedDescriptor *ProxyARPInterfaceDescriptor) *KVDescriptor
func NewRouteDescriptor ¶
func NewRouteDescriptor(typedDescriptor *RouteDescriptor) *KVDescriptor
func NewVrfTableDescriptor ¶
func NewVrfTableDescriptor(typedDescriptor *VrfTableDescriptor) *KVDescriptor
Types ¶
type ARPEntryDescriptor ¶
type ARPEntryDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.ARPEntry) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.ARPEntry) error Create func(key string, value *vpp_l3.ARPEntry) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.ARPEntry, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.ARPEntry, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.ARPEntry, metadata interface{}) bool Retrieve func(correlate []ARPEntryKVWithMetadata) ([]ARPEntryKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.ARPEntry) []KeyValuePair Dependencies func(key string, value *vpp_l3.ARPEntry) []Dependency RetrieveDependencies []string /* descriptor name */ }
type ARPEntryDescriptorAdapter ¶
type ARPEntryDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*ARPEntryDescriptorAdapter) Create ¶
func (da *ARPEntryDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*ARPEntryDescriptorAdapter) Delete ¶
func (da *ARPEntryDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*ARPEntryDescriptorAdapter) Dependencies ¶
func (da *ARPEntryDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*ARPEntryDescriptorAdapter) DerivedValues ¶
func (da *ARPEntryDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*ARPEntryDescriptorAdapter) Retrieve ¶
func (da *ARPEntryDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*ARPEntryDescriptorAdapter) Update ¶
func (da *ARPEntryDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*ARPEntryDescriptorAdapter) UpdateWithRecreate ¶
func (da *ARPEntryDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type ARPEntryKVWithMetadata ¶
type ARPEntryKVWithMetadata struct { Key string Value *vpp_l3.ARPEntry Metadata interface{} Origin ValueOrigin }
type DHCPProxyDescriptor ¶
type DHCPProxyDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.DHCPProxy) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.DHCPProxy) error Create func(key string, value *vpp_l3.DHCPProxy) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.DHCPProxy, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.DHCPProxy, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.DHCPProxy, metadata interface{}) bool Retrieve func(correlate []DHCPProxyKVWithMetadata) ([]DHCPProxyKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.DHCPProxy) []KeyValuePair Dependencies func(key string, value *vpp_l3.DHCPProxy) []Dependency RetrieveDependencies []string /* descriptor name */ }
type DHCPProxyDescriptorAdapter ¶
type DHCPProxyDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*DHCPProxyDescriptorAdapter) Create ¶
func (da *DHCPProxyDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*DHCPProxyDescriptorAdapter) Delete ¶
func (da *DHCPProxyDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*DHCPProxyDescriptorAdapter) Dependencies ¶
func (da *DHCPProxyDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*DHCPProxyDescriptorAdapter) DerivedValues ¶
func (da *DHCPProxyDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*DHCPProxyDescriptorAdapter) Retrieve ¶
func (da *DHCPProxyDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*DHCPProxyDescriptorAdapter) Update ¶
func (da *DHCPProxyDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*DHCPProxyDescriptorAdapter) UpdateWithRecreate ¶
func (da *DHCPProxyDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type DHCPProxyKVWithMetadata ¶
type DHCPProxyKVWithMetadata struct { Key string Value *vpp_l3.DHCPProxy Metadata interface{} Origin ValueOrigin }
type IPScanNeighborDescriptor ¶
type IPScanNeighborDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.IPScanNeighbor) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.IPScanNeighbor) error Create func(key string, value *vpp_l3.IPScanNeighbor) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.IPScanNeighbor, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.IPScanNeighbor, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.IPScanNeighbor, metadata interface{}) bool Retrieve func(correlate []IPScanNeighborKVWithMetadata) ([]IPScanNeighborKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.IPScanNeighbor) []KeyValuePair Dependencies func(key string, value *vpp_l3.IPScanNeighbor) []Dependency RetrieveDependencies []string /* descriptor name */ }
type IPScanNeighborDescriptorAdapter ¶
type IPScanNeighborDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*IPScanNeighborDescriptorAdapter) Create ¶
func (da *IPScanNeighborDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*IPScanNeighborDescriptorAdapter) Delete ¶
func (da *IPScanNeighborDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*IPScanNeighborDescriptorAdapter) Dependencies ¶
func (da *IPScanNeighborDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*IPScanNeighborDescriptorAdapter) DerivedValues ¶
func (da *IPScanNeighborDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*IPScanNeighborDescriptorAdapter) Retrieve ¶
func (da *IPScanNeighborDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*IPScanNeighborDescriptorAdapter) Update ¶
func (da *IPScanNeighborDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*IPScanNeighborDescriptorAdapter) UpdateWithRecreate ¶
func (da *IPScanNeighborDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type IPScanNeighborKVWithMetadata ¶
type IPScanNeighborKVWithMetadata struct { Key string Value *vpp_l3.IPScanNeighbor Metadata interface{} Origin ValueOrigin }
type L3XCDescriptor ¶
type L3XCDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.L3XConnect) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.L3XConnect) error Create func(key string, value *vpp_l3.L3XConnect) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.L3XConnect, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.L3XConnect, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.L3XConnect, metadata interface{}) bool Retrieve func(correlate []L3XCKVWithMetadata) ([]L3XCKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.L3XConnect) []KeyValuePair Dependencies func(key string, value *vpp_l3.L3XConnect) []Dependency RetrieveDependencies []string /* descriptor name */ }
type L3XCDescriptorAdapter ¶
type L3XCDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*L3XCDescriptorAdapter) Create ¶
func (da *L3XCDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*L3XCDescriptorAdapter) Delete ¶
func (da *L3XCDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*L3XCDescriptorAdapter) Dependencies ¶
func (da *L3XCDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*L3XCDescriptorAdapter) DerivedValues ¶
func (da *L3XCDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*L3XCDescriptorAdapter) Retrieve ¶
func (da *L3XCDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*L3XCDescriptorAdapter) Update ¶
func (da *L3XCDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*L3XCDescriptorAdapter) UpdateWithRecreate ¶
func (da *L3XCDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type L3XCKVWithMetadata ¶
type L3XCKVWithMetadata struct { Key string Value *vpp_l3.L3XConnect Metadata interface{} Origin ValueOrigin }
type ProxyARPDescriptor ¶
type ProxyARPDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.ProxyARP) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.ProxyARP) error Create func(key string, value *vpp_l3.ProxyARP) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.ProxyARP, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.ProxyARP, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.ProxyARP, metadata interface{}) bool Retrieve func(correlate []ProxyARPKVWithMetadata) ([]ProxyARPKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.ProxyARP) []KeyValuePair Dependencies func(key string, value *vpp_l3.ProxyARP) []Dependency RetrieveDependencies []string /* descriptor name */ }
type ProxyARPDescriptorAdapter ¶
type ProxyARPDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*ProxyARPDescriptorAdapter) Create ¶
func (da *ProxyARPDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*ProxyARPDescriptorAdapter) Delete ¶
func (da *ProxyARPDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*ProxyARPDescriptorAdapter) Dependencies ¶
func (da *ProxyARPDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*ProxyARPDescriptorAdapter) DerivedValues ¶
func (da *ProxyARPDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*ProxyARPDescriptorAdapter) Retrieve ¶
func (da *ProxyARPDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*ProxyARPDescriptorAdapter) Update ¶
func (da *ProxyARPDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*ProxyARPDescriptorAdapter) UpdateWithRecreate ¶
func (da *ProxyARPDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type ProxyARPInterfaceDescriptor ¶
type ProxyARPInterfaceDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.ProxyARP_Interface) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.ProxyARP_Interface) error Create func(key string, value *vpp_l3.ProxyARP_Interface) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.ProxyARP_Interface, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.ProxyARP_Interface, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.ProxyARP_Interface, metadata interface{}) bool Retrieve func(correlate []ProxyARPInterfaceKVWithMetadata) ([]ProxyARPInterfaceKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.ProxyARP_Interface) []KeyValuePair Dependencies func(key string, value *vpp_l3.ProxyARP_Interface) []Dependency RetrieveDependencies []string /* descriptor name */ }
type ProxyARPInterfaceDescriptorAdapter ¶
type ProxyARPInterfaceDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*ProxyARPInterfaceDescriptorAdapter) Create ¶
func (da *ProxyARPInterfaceDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*ProxyARPInterfaceDescriptorAdapter) Delete ¶
func (da *ProxyARPInterfaceDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*ProxyARPInterfaceDescriptorAdapter) Dependencies ¶
func (da *ProxyARPInterfaceDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*ProxyARPInterfaceDescriptorAdapter) DerivedValues ¶
func (da *ProxyARPInterfaceDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*ProxyARPInterfaceDescriptorAdapter) Retrieve ¶
func (da *ProxyARPInterfaceDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*ProxyARPInterfaceDescriptorAdapter) Update ¶
func (da *ProxyARPInterfaceDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*ProxyARPInterfaceDescriptorAdapter) UpdateWithRecreate ¶
func (da *ProxyARPInterfaceDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type ProxyARPInterfaceKVWithMetadata ¶
type ProxyARPInterfaceKVWithMetadata struct { Key string Value *vpp_l3.ProxyARP_Interface Metadata interface{} Origin ValueOrigin }
type ProxyARPKVWithMetadata ¶
type ProxyARPKVWithMetadata struct { Key string Value *vpp_l3.ProxyARP Metadata interface{} Origin ValueOrigin }
type RouteDescriptor ¶
type RouteDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.Route) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.Route) error Create func(key string, value *vpp_l3.Route) (metadata interface{}, err error) Delete func(key string, value *vpp_l3.Route, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_l3.Route, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.Route, metadata interface{}) bool Retrieve func(correlate []RouteKVWithMetadata) ([]RouteKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.Route) []KeyValuePair Dependencies func(key string, value *vpp_l3.Route) []Dependency RetrieveDependencies []string /* descriptor name */ }
type RouteDescriptorAdapter ¶
type RouteDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*RouteDescriptorAdapter) Create ¶
func (da *RouteDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*RouteDescriptorAdapter) Delete ¶
func (da *RouteDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*RouteDescriptorAdapter) Dependencies ¶
func (da *RouteDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*RouteDescriptorAdapter) DerivedValues ¶
func (da *RouteDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*RouteDescriptorAdapter) Retrieve ¶
func (da *RouteDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*RouteDescriptorAdapter) Update ¶
func (da *RouteDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*RouteDescriptorAdapter) UpdateWithRecreate ¶
func (da *RouteDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type RouteKVWithMetadata ¶
type RouteKVWithMetadata struct { Key string Value *vpp_l3.Route Metadata interface{} Origin ValueOrigin }
type VrfTableDescriptor ¶
type VrfTableDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_l3.VrfTable) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_l3.VrfTable) error Create func(key string, value *vpp_l3.VrfTable) (metadata *vrfidx.VRFMetadata, err error) Delete func(key string, value *vpp_l3.VrfTable, metadata *vrfidx.VRFMetadata) error Update func(key string, oldValue, newValue *vpp_l3.VrfTable, oldMetadata *vrfidx.VRFMetadata) (newMetadata *vrfidx.VRFMetadata, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_l3.VrfTable, metadata *vrfidx.VRFMetadata) bool Retrieve func(correlate []VrfTableKVWithMetadata) ([]VrfTableKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_l3.VrfTable) []KeyValuePair Dependencies func(key string, value *vpp_l3.VrfTable) []Dependency RetrieveDependencies []string /* descriptor name */ }
type VrfTableDescriptorAdapter ¶
type VrfTableDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*VrfTableDescriptorAdapter) Create ¶
func (da *VrfTableDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*VrfTableDescriptorAdapter) Delete ¶
func (da *VrfTableDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*VrfTableDescriptorAdapter) Dependencies ¶
func (da *VrfTableDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*VrfTableDescriptorAdapter) DerivedValues ¶
func (da *VrfTableDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*VrfTableDescriptorAdapter) Retrieve ¶
func (da *VrfTableDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*VrfTableDescriptorAdapter) Update ¶
func (da *VrfTableDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*VrfTableDescriptorAdapter) UpdateWithRecreate ¶
func (da *VrfTableDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
type VrfTableKVWithMetadata ¶
type VrfTableKVWithMetadata struct { Key string Value *vpp_l3.VrfTable Metadata *vrfidx.VRFMetadata Origin ValueOrigin }
Click to show internal directories.
Click to hide internal directories.