Documentation ¶
Index ¶
- func NewSyslogSenderDescriptor(typedDescriptor *SyslogSenderDescriptor) *KVDescriptor
- type SyslogSenderDescriptor
- type SyslogSenderDescriptorAdapter
- func (da *SyslogSenderDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
- func (da *SyslogSenderDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
- func (da *SyslogSenderDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
- func (da *SyslogSenderDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
- func (da *SyslogSenderDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
- func (da *SyslogSenderDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
- func (da *SyslogSenderDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
- func (da *SyslogSenderDescriptorAdapter) Validate(key string, value proto.Message) (err error)
- func (da *SyslogSenderDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
- type SyslogSenderKVWithMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSyslogSenderDescriptor ¶
func NewSyslogSenderDescriptor(typedDescriptor *SyslogSenderDescriptor) *KVDescriptor
Types ¶
type SyslogSenderDescriptor ¶
type SyslogSenderDescriptor struct { Name string KeySelector KeySelector ValueTypeName string KeyLabel func(key string) string ValueComparator func(key string, oldValue, newValue *vpp_syslog.Sender) bool NBKeyPrefix string WithMetadata bool MetadataMapFactory MetadataMapFactory Validate func(key string, value *vpp_syslog.Sender) error Create func(key string, value *vpp_syslog.Sender) (metadata interface{}, err error) Delete func(key string, value *vpp_syslog.Sender, metadata interface{}) error Update func(key string, oldValue, newValue *vpp_syslog.Sender, oldMetadata interface{}) (newMetadata interface{}, err error) UpdateWithRecreate func(key string, oldValue, newValue *vpp_syslog.Sender, metadata interface{}) bool Retrieve func(correlate []SyslogSenderKVWithMetadata) ([]SyslogSenderKVWithMetadata, error) IsRetriableFailure func(err error) bool DerivedValues func(key string, value *vpp_syslog.Sender) []KeyValuePair Dependencies func(key string, value *vpp_syslog.Sender) []Dependency RetrieveDependencies []string /* descriptor name */ }
type SyslogSenderDescriptorAdapter ¶
type SyslogSenderDescriptorAdapter struct {
// contains filtered or unexported fields
}
func (*SyslogSenderDescriptorAdapter) Create ¶
func (da *SyslogSenderDescriptorAdapter) Create(key string, value proto.Message) (metadata Metadata, err error)
func (*SyslogSenderDescriptorAdapter) Delete ¶
func (da *SyslogSenderDescriptorAdapter) Delete(key string, value proto.Message, metadata Metadata) error
func (*SyslogSenderDescriptorAdapter) Dependencies ¶
func (da *SyslogSenderDescriptorAdapter) Dependencies(key string, value proto.Message) []Dependency
func (*SyslogSenderDescriptorAdapter) DerivedValues ¶
func (da *SyslogSenderDescriptorAdapter) DerivedValues(key string, value proto.Message) []KeyValuePair
func (*SyslogSenderDescriptorAdapter) Retrieve ¶
func (da *SyslogSenderDescriptorAdapter) Retrieve(correlate []KVWithMetadata) ([]KVWithMetadata, error)
func (*SyslogSenderDescriptorAdapter) Update ¶
func (da *SyslogSenderDescriptorAdapter) Update(key string, oldValue, newValue proto.Message, oldMetadata Metadata) (newMetadata Metadata, err error)
func (*SyslogSenderDescriptorAdapter) UpdateWithRecreate ¶
func (da *SyslogSenderDescriptorAdapter) UpdateWithRecreate(key string, oldValue, newValue proto.Message, metadata Metadata) bool
func (*SyslogSenderDescriptorAdapter) Validate ¶
func (da *SyslogSenderDescriptorAdapter) Validate(key string, value proto.Message) (err error)
func (*SyslogSenderDescriptorAdapter) ValueComparator ¶
func (da *SyslogSenderDescriptorAdapter) ValueComparator(key string, oldValue, newValue proto.Message) bool
type SyslogSenderKVWithMetadata ¶
type SyslogSenderKVWithMetadata struct { Key string Value *vpp_syslog.Sender Metadata interface{} Origin ValueOrigin }
Click to show internal directories.
Click to hide internal directories.