vars

package
v0.10.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vars added in v0.5.13

type Vars struct {
	// contains filtered or unexported fields
}

func New

func New(z *zap.Logger, db db.DB, secrets secrets.Secrets) *Vars

func (*Vars) Delete added in v0.5.13

func (v *Vars) Delete(ctx context.Context, sid sdktypes.VarScopeID, names ...sdktypes.Symbol) error

func (*Vars) FindConnectionIDs added in v0.5.13

func (v *Vars) FindConnectionIDs(ctx context.Context, iid sdktypes.IntegrationID, name sdktypes.Symbol, value string) ([]sdktypes.ConnectionID, error)

func (*Vars) Get added in v0.5.13

func (v *Vars) Get(ctx context.Context, sid sdktypes.VarScopeID, names ...sdktypes.Symbol) (sdktypes.Vars, error)

func (*Vars) Set added in v0.5.13

func (v *Vars) Set(ctx context.Context, vs ...sdktypes.Var) error

Set sets the given variables in the database. If any of the variables are secrets, it stores them in the secret store. Note that this function modifies the values of secret variables to be the secret key in the secret store. Do not change this behavior - it's useful, even though it's unexpected.

func (*Vars) SetConnections added in v0.5.13

func (v *Vars) SetConnections(conns sdkservices.Connections)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL