Documentation ¶
Overview ¶
Package dal provides a data abstraction layer for managing module configurations
Index ¶
- type DAL
- func (d *DAL) GetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) ([]byte, error)
- func (d *DAL) GetModuleSecretURL(ctx context.Context, module optional.Option[string], name string) (string, error)
- func (d *DAL) ListModuleConfiguration(ctx context.Context) ([]sql.ModuleConfiguration, error)
- func (d *DAL) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
- func (d *DAL) SetModuleConfiguration(ctx context.Context, module optional.Option[string], name string, value []byte) error
- func (d *DAL) SetModuleSecretURL(ctx context.Context, module optional.Option[string], name string, url string) error
- func (d *DAL) UnsetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) error
- func (d *DAL) UnsetModuleSecret(ctx context.Context, module optional.Option[string], name string) error
- type ModuleSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAL ¶
type DAL struct {
// contains filtered or unexported fields
}
func (*DAL) GetModuleConfiguration ¶
func (*DAL) GetModuleSecretURL ¶ added in v0.276.5
func (*DAL) ListModuleConfiguration ¶
func (*DAL) ListModuleSecrets ¶ added in v0.276.5
func (d *DAL) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
func (*DAL) SetModuleConfiguration ¶
func (*DAL) SetModuleSecretURL ¶ added in v0.276.5
func (*DAL) UnsetModuleConfiguration ¶
type ModuleSecret ¶ added in v0.276.5
type ModuleSecret sql.ModuleSecret
Click to show internal directories.
Click to hide internal directories.