descriptor

package
v3.2.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyslogSenderDescriptorName = "vpp-syslog-sender"
)

Variables

View Source
var (
	ErrSyslogSenderWithoutCollector = errors.New("VPP syslog sender defined without collector IP")
)

Functions

This section is empty.

Types

type SenderDescriptor

type SenderDescriptor struct {
	// contains filtered or unexported fields
}

func NewSenderDescriptor

func NewSenderDescriptor(handler vppcalls.SyslogVppAPI, log logging.LoggerFactory) *SenderDescriptor

func (*SenderDescriptor) Create

func (d *SenderDescriptor) Create(key string, sender *vpp_syslog.Sender) (metadata interface{}, err error)

func (*SenderDescriptor) Delete

func (d *SenderDescriptor) Delete(key string, sender *vpp_syslog.Sender, metadata interface{}) error

func (*SenderDescriptor) EquivalentIPRedirect

func (d *SenderDescriptor) EquivalentIPRedirect(key string, oldSender, newSender *vpp_syslog.Sender) bool

EquivalentIPRedirect is case-insensitive comparison function for punt.IpRedirect.

func (*SenderDescriptor) GetDescriptor

func (d *SenderDescriptor) GetDescriptor() *adapter.SyslogSenderDescriptor

func (*SenderDescriptor) Retrieve

func (*SenderDescriptor) Validate

func (d *SenderDescriptor) Validate(key string, sender *vpp_syslog.Sender) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL