binding

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToRevKey added in v0.9.0

func ToRevKey(revHash string) *revKey

func WorkspaceConfigFromKey

func WorkspaceConfigFromKey(key string) (*object.WorkspaceConfig, error)

Types

type Driver

type Driver interface {
	// contains filtered or unexported methods
}

func InitDriver

func InitDriver(config object.ExecuteConfig, ctx context.Context) (Driver, error)

type MongoFactBase added in v0.16.0

type MongoFactBase struct {
	RepoId    string   `bson:"repo_id"`
	RevHash   string   `bson:"rev_hash"`
	Path      string   `bson:"path"`
	Signature string   `bson:"signature"`
	Tags      []string `bson:"tags"`
}

type MongoFactClazz added in v0.16.0

type MongoFactClazz struct {
	*MongoFactBase `bson:",inline"`
	Clazz          *object2.Clazz `bson:"clazz"`
}

func (*MongoFactClazz) ToClazzDTO added in v0.16.0

func (c *MongoFactClazz) ToClazzDTO() *object.ClazzServiceDTO

type MongoFactFunc added in v0.16.0

type MongoFactFunc struct {
	*MongoFactBase `bson:",inline"`
	Func           *object2.Function `bson:"func"`
}

func (*MongoFactFunc) ToFuncWithSignature added in v0.16.0

func (f *MongoFactFunc) ToFuncWithSignature() *object.FunctionServiceDTO

type MongoRelFuncCtx added in v0.16.0

type MongoRelFuncCtx struct {
	*MongoFactBase `bson:",inline"`
	FuncCtx        *object.FunctionContextSlim `bson:"funcctx"`
}

func (*MongoRelFuncCtx) ToFuncCtx added in v0.16.0

func (f *MongoRelFuncCtx) ToFuncCtx() *object.FuncCtxServiceDTO

type Rule added in v0.11.0

type Rule = map[string]func(string) bool

Rule

Rule is a query structure implemented with regex and gjson syntax. - key: gjson path syntax - value: verify function

full serialization is expensive.

Jump to

Keyboard shortcuts

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