Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUDSHTTPBasedUDSink ¶
func NewUDSHTTPBasedUDSink(socketPath string, opts ...udsSinkOption) *udsHTTPBasedUDSink
func NewUserDefinedSink ¶
func NewUserDefinedSink(vertex *dfv1.Vertex, fromBuffer isb.BufferReader, opts ...Option) (*userDefinedSink, error)
NewUserDefinedSink returns genericSink type.
Types ¶
type ApplyUDSinkErr ¶
type ApplyUDSinkErr struct { UserUDSinkErr bool Message string InternalErr }
ApplyUDSinkErr represents any UDSink related error
func (ApplyUDSinkErr) Error ¶
func (e ApplyUDSinkErr) Error() string
func (ApplyUDSinkErr) IsInternalErr ¶
func (e ApplyUDSinkErr) IsInternalErr() bool
IsInternalErr is true if this is a platform issue. This is a blocking error.
func (ApplyUDSinkErr) IsUserUDSinkErr ¶
func (e ApplyUDSinkErr) IsUserUDSinkErr() bool
IsUserUDSinkErr is true if the problem is due to the user code in the UDSink.
type InternalErr ¶
InternalErr represents errors internal to the platform
type Option ¶
type Option func(*userDefinedSink) error
func WithLogger ¶
func WithLogger(log *zap.SugaredLogger) Option
Click to show internal directories.
Click to hide internal directories.