Documentation ¶
Index ¶
- type DBTX
- type ModuleConfiguration
- type ModuleSecret
- type Querier
- type Queries
- func (q *Queries) GetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) (json.RawMessage, error)
- func (q *Queries) GetModuleSecretURL(ctx context.Context, module optional.Option[string], name string) (string, error)
- func (q *Queries) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error)
- func (q *Queries) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
- func (q *Queries) SetModuleConfiguration(ctx context.Context, module optional.Option[string], name string, ...) error
- func (q *Queries) SetModuleSecretURL(ctx context.Context, module optional.Option[string], name string, url string) error
- func (q *Queries) UnsetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) error
- func (q *Queries) UnsetModuleSecret(ctx context.Context, module optional.Option[string], name string) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleConfiguration ¶
type ModuleSecret ¶
type Querier ¶
type Querier interface { GetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) (json.RawMessage, error) GetModuleSecretURL(ctx context.Context, module optional.Option[string], name string) (string, error) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error) SetModuleConfiguration(ctx context.Context, module optional.Option[string], name string, value json.RawMessage) error SetModuleSecretURL(ctx context.Context, module optional.Option[string], name string, url string) error UnsetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) error UnsetModuleSecret(ctx context.Context, module optional.Option[string], name string) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetModuleConfiguration ¶
func (*Queries) GetModuleSecretURL ¶
func (*Queries) ListModuleConfiguration ¶
func (q *Queries) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error)
func (*Queries) ListModuleSecrets ¶
func (q *Queries) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
func (*Queries) SetModuleConfiguration ¶
func (*Queries) SetModuleSecretURL ¶
func (*Queries) UnsetModuleConfiguration ¶
func (*Queries) UnsetModuleSecret ¶
Click to show internal directories.
Click to hide internal directories.