Documentation ¶
Index ¶
- type DynamoDbDeleteItemError
- type DynamoDbFragmentStorer
- func (d *DynamoDbFragmentStorer) DeleteFragment(ctx context.Context, tid tenant.Id, id string) error
- func (d *DynamoDbFragmentStorer) DeleteFragments(ctx context.Context, tid tenant.Id, ids []string) error
- func (d *DynamoDbFragmentStorer) GetAllFragments(ctx context.Context) ([]route.PluginConfig, error)
- func (d *DynamoDbFragmentStorer) GetAllTenantFragments(ctx context.Context, tid tenant.Id) ([]route.PluginConfig, error)
- func (d *DynamoDbFragmentStorer) GetFragment(ctx context.Context, tid tenant.Id, id string) (route.PluginConfig, error)
- func (d *DynamoDbFragmentStorer) SetFragment(ctx context.Context, tid tenant.Id, f route.PluginConfig) error
- func (d *DynamoDbFragmentStorer) SetFragments(ctx context.Context, tid tenant.Id, fragments []route.PluginConfig) error
- type DynamoDbGetItemError
- type DynamoDbMarshalError
- type DynamoDbNewSessionError
- type DynamoDbPutItemError
- type DynamoDbStorer
- func (d *DynamoDbStorer) DeleteRoute(ctx context.Context, tid tenant.Id, id string) error
- func (d *DynamoDbStorer) DeleteRoutes(ctx context.Context, tid tenant.Id, ids []string) error
- func (d *DynamoDbStorer) GetAllRoutes(ctx context.Context) ([]route.Config, error)
- func (d *DynamoDbStorer) GetAllTenantRoutes(ctx context.Context, tid tenant.Id) ([]route.Config, error)
- func (d *DynamoDbStorer) GetRoute(ctx context.Context, tid tenant.Id, id string) (route.Config, error)
- func (d *DynamoDbStorer) SetRoute(ctx context.Context, r route.Config) error
- func (d *DynamoDbStorer) SetRoutes(ctx context.Context, routes []route.Config) error
- type MissingConfigError
- type TenantStorer
- func (s *TenantStorer) DeleteConfig(ctx context.Context, id tenant.Id) error
- func (s *TenantStorer) GetAllConfigs(ctx context.Context) ([]tenant.Config, error)
- func (s *TenantStorer) GetConfig(ctx context.Context, id tenant.Id) (*tenant.Config, error)
- func (s *TenantStorer) SetConfig(ctx context.Context, config tenant.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDbDeleteItemError ¶
type DynamoDbDeleteItemError struct {
Source error
}
func (*DynamoDbDeleteItemError) Error ¶
func (e *DynamoDbDeleteItemError) Error() string
func (*DynamoDbDeleteItemError) Unwrap ¶
func (e *DynamoDbDeleteItemError) Unwrap() error
type DynamoDbFragmentStorer ¶ added in v0.9.0
type DynamoDbFragmentStorer struct {
// contains filtered or unexported fields
}
func NewDynamoDbFragmentStorer ¶ added in v0.9.0
func NewDynamoDbFragmentStorer(config config.Config) (*DynamoDbFragmentStorer, error)
func (*DynamoDbFragmentStorer) DeleteFragment ¶ added in v0.9.0
func (*DynamoDbFragmentStorer) DeleteFragments ¶ added in v0.9.0
func (*DynamoDbFragmentStorer) GetAllFragments ¶ added in v0.9.0
func (d *DynamoDbFragmentStorer) GetAllFragments(ctx context.Context) ([]route.PluginConfig, error)
func (*DynamoDbFragmentStorer) GetAllTenantFragments ¶ added in v0.9.0
func (d *DynamoDbFragmentStorer) GetAllTenantFragments(ctx context.Context, tid tenant.Id) ([]route.PluginConfig, error)
func (*DynamoDbFragmentStorer) GetFragment ¶ added in v0.9.0
func (d *DynamoDbFragmentStorer) GetFragment(ctx context.Context, tid tenant.Id, id string) (route.PluginConfig, error)
func (*DynamoDbFragmentStorer) SetFragment ¶ added in v0.9.0
func (d *DynamoDbFragmentStorer) SetFragment(ctx context.Context, tid tenant.Id, f route.PluginConfig) error
func (*DynamoDbFragmentStorer) SetFragments ¶ added in v0.9.0
func (d *DynamoDbFragmentStorer) SetFragments(ctx context.Context, tid tenant.Id, fragments []route.PluginConfig) error
type DynamoDbGetItemError ¶
type DynamoDbGetItemError struct {
Source error
}
func (*DynamoDbGetItemError) Error ¶
func (e *DynamoDbGetItemError) Error() string
func (*DynamoDbGetItemError) Unwrap ¶
func (e *DynamoDbGetItemError) Unwrap() error
type DynamoDbMarshalError ¶
type DynamoDbMarshalError struct {
Source error
}
func (*DynamoDbMarshalError) Error ¶
func (e *DynamoDbMarshalError) Error() string
func (*DynamoDbMarshalError) Unwrap ¶
func (e *DynamoDbMarshalError) Unwrap() error
type DynamoDbNewSessionError ¶
type DynamoDbNewSessionError struct {
Source error
}
func (*DynamoDbNewSessionError) Error ¶
func (e *DynamoDbNewSessionError) Error() string
func (*DynamoDbNewSessionError) Unwrap ¶
func (e *DynamoDbNewSessionError) Unwrap() error
type DynamoDbPutItemError ¶
type DynamoDbPutItemError struct {
Source error
}
func (*DynamoDbPutItemError) Error ¶
func (e *DynamoDbPutItemError) Error() string
func (*DynamoDbPutItemError) Unwrap ¶
func (e *DynamoDbPutItemError) Unwrap() error
type DynamoDbStorer ¶
type DynamoDbStorer struct {
// contains filtered or unexported fields
}
func NewDynamoDbStorer ¶
func NewDynamoDbStorer(config config.Config) (*DynamoDbStorer, error)
func (*DynamoDbStorer) DeleteRoute ¶
func (*DynamoDbStorer) DeleteRoutes ¶
func (*DynamoDbStorer) GetAllRoutes ¶
func (*DynamoDbStorer) GetAllTenantRoutes ¶
type MissingConfigError ¶
type MissingConfigError struct {
// contains filtered or unexported fields
}
func (*MissingConfigError) Error ¶
func (e *MissingConfigError) Error() string
type TenantStorer ¶
type TenantStorer struct {
// contains filtered or unexported fields
}
func NewTenantStorer ¶
func NewTenantStorer(config config.Config) (*TenantStorer, error)
func (*TenantStorer) DeleteConfig ¶
func (*TenantStorer) GetAllConfigs ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.