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) ([]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 ModuleConfiguration
- type ModuleSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAL ¶
func New ¶
func New(conn libdal.Connection) *DAL
func (*DAL) GetModuleConfiguration ¶
func (*DAL) GetModuleSecretURL ¶
func (*DAL) ListModuleConfiguration ¶
func (d *DAL) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error)
func (*DAL) ListModuleSecrets ¶
func (d *DAL) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
func (*DAL) SetModuleConfiguration ¶
func (*DAL) SetModuleSecretURL ¶
func (*DAL) UnsetModuleConfiguration ¶
type ModuleConfiguration ¶ added in v0.361.0
type ModuleConfiguration sql.ModuleConfiguration
type ModuleSecret ¶
type ModuleSecret sql.ModuleSecret
Click to show internal directories.
Click to hide internal directories.