Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FragmentNotFoundError ¶
func (*FragmentNotFoundError) Error ¶
func (e *FragmentNotFoundError) Error() string
type FragmentStorer ¶
type FragmentStorer interface { GetAllFragments(context.Context) ([]route.PluginConfig, error) GetFragment(context.Context, tenant.Id, string) (route.PluginConfig, error) GetAllTenantFragments(ctx context.Context, id tenant.Id) ([]route.PluginConfig, error) SetFragment(context.Context, tenant.Id, route.PluginConfig) error SetFragments(context.Context, tenant.Id, []route.PluginConfig) error DeleteFragment(context.Context, tenant.Id, string) error DeleteFragments(context.Context, tenant.Id, []string) error }
FragmentStorer stores fragments of route configuration. A fragment is a plugin configuration identified by its unique name and tenant. A fragment can represent a receiver, sender or filter plugin configuration and is always of type route.PluginConfig.
type InvalidFragmentError ¶
type InvalidFragmentError struct {
Err error
}
func (*InvalidFragmentError) Error ¶
func (e *InvalidFragmentError) Error() string
func (*InvalidFragmentError) Unwrap ¶
func (e *InvalidFragmentError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.