Documentation ¶
Index ¶
- func CreateSpan(ctx context.Context, spanName string, attributes ...attribute.KeyValue) (context.Context, trace.Span)
- type InMemoryFragmentStorer
- func (s *InMemoryFragmentStorer) DeleteFragment(ctx context.Context, tid tenant.Id, id string) error
- func (s *InMemoryFragmentStorer) DeleteFragments(ctx context.Context, tid tenant.Id, ids []string) error
- func (s *InMemoryFragmentStorer) GetAllFragments(ctx context.Context) ([]route.PluginConfig, error)
- func (s *InMemoryFragmentStorer) GetAllTenantFragments(ctx context.Context, tid tenant.Id) ([]route.PluginConfig, error)
- func (s *InMemoryFragmentStorer) GetFragment(ctx context.Context, tid tenant.Id, id string) (route.PluginConfig, error)
- func (s *InMemoryFragmentStorer) SetFragment(ctx context.Context, tid tenant.Id, r route.PluginConfig) error
- func (s *InMemoryFragmentStorer) SetFragments(ctx context.Context, tid tenant.Id, fragments []route.PluginConfig) error
- type InMemoryRouteStorer
- func (s *InMemoryRouteStorer) DeleteRoute(ctx context.Context, tid tenant.Id, id string) error
- func (s *InMemoryRouteStorer) DeleteRoutes(ctx context.Context, tid tenant.Id, ids []string) error
- func (s *InMemoryRouteStorer) GetAllRoutes(ctx context.Context) ([]route.Config, error)
- func (s *InMemoryRouteStorer) GetAllTenantRoutes(ctx context.Context, id tenant.Id) ([]route.Config, error)
- func (s *InMemoryRouteStorer) GetRoute(ctx context.Context, tid tenant.Id, id string) (route.Config, error)
- func (s *InMemoryRouteStorer) SetRoute(ctx context.Context, r route.Config) error
- func (s *InMemoryRouteStorer) SetRoutes(ctx context.Context, routes []route.Config) error
- type InMemoryStorer
- func (s *InMemoryStorer) DeleteConfig(ctx context.Context, id tenant.Id) error
- func (s *InMemoryStorer) GetAllConfigs(ctx context.Context) ([]tenant.Config, error)
- func (s *InMemoryStorer) GetConfig(ctx context.Context, id tenant.Id) (*tenant.Config, error)
- func (s *InMemoryStorer) SetConfig(ctx context.Context, config tenant.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InMemoryFragmentStorer ¶ added in v0.9.0
type InMemoryFragmentStorer struct {
// contains filtered or unexported fields
}
func NewInMemoryFragmentStorer ¶ added in v0.9.0
func NewInMemoryFragmentStorer(config config.Config) *InMemoryFragmentStorer
func (*InMemoryFragmentStorer) DeleteFragment ¶ added in v0.9.0
func (*InMemoryFragmentStorer) DeleteFragments ¶ added in v0.9.0
func (*InMemoryFragmentStorer) GetAllFragments ¶ added in v0.9.0
func (s *InMemoryFragmentStorer) GetAllFragments(ctx context.Context) ([]route.PluginConfig, error)
func (*InMemoryFragmentStorer) GetAllTenantFragments ¶ added in v0.9.0
func (s *InMemoryFragmentStorer) GetAllTenantFragments(ctx context.Context, tid tenant.Id) ([]route.PluginConfig, error)
func (*InMemoryFragmentStorer) GetFragment ¶ added in v0.9.0
func (s *InMemoryFragmentStorer) GetFragment(ctx context.Context, tid tenant.Id, id string) (route.PluginConfig, error)
func (*InMemoryFragmentStorer) SetFragment ¶ added in v0.9.0
func (s *InMemoryFragmentStorer) SetFragment(ctx context.Context, tid tenant.Id, r route.PluginConfig) error
func (*InMemoryFragmentStorer) SetFragments ¶ added in v0.9.0
func (s *InMemoryFragmentStorer) SetFragments(ctx context.Context, tid tenant.Id, fragments []route.PluginConfig) error
type InMemoryRouteStorer ¶
type InMemoryRouteStorer struct {
// contains filtered or unexported fields
}
func NewInMemoryRouteStorer ¶
func NewInMemoryRouteStorer(config config.Config) *InMemoryRouteStorer
func (*InMemoryRouteStorer) DeleteRoute ¶
func (*InMemoryRouteStorer) DeleteRoutes ¶
func (*InMemoryRouteStorer) GetAllRoutes ¶
func (*InMemoryRouteStorer) GetAllTenantRoutes ¶
type InMemoryStorer ¶
type InMemoryStorer struct {
// contains filtered or unexported fields
}
func NewTenantInmemoryStorer ¶
func NewTenantInmemoryStorer() *InMemoryStorer
func (*InMemoryStorer) DeleteConfig ¶
func (*InMemoryStorer) GetAllConfigs ¶ added in v0.4.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.