ddlresolver

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystemDDLResolver

type FileSystemDDLResolver struct{}

FileSystemDDLResolver resolves DDL in the lib directories configured in the framework

func (*FileSystemDDLResolver) DDL

func (f *FileSystemDDLResolver) DDL(ctx context.Context, kind string, name string, target any, fw inter.Framework) error

func (*FileSystemDDLResolver) DDLBytes

func (f *FileSystemDDLResolver) DDLBytes(_ context.Context, kind string, name string, fw inter.Framework) ([]byte, error)

func (*FileSystemDDLResolver) DDLNames

func (f *FileSystemDDLResolver) DDLNames(_ context.Context, kind string, fw inter.Framework) ([]string, error)

func (*FileSystemDDLResolver) EachFile

func (f *FileSystemDDLResolver) EachFile(kind string, libdirs []string, cb func(name string, path string) (br bool))

func (*FileSystemDDLResolver) String

func (f *FileSystemDDLResolver) String() string

type InternalCachedDDLResolver

type InternalCachedDDLResolver struct{}

InternalCachedDDLResolver resolves DDLs against the internal cache directory

func (*InternalCachedDDLResolver) DDL

func (r *InternalCachedDDLResolver) DDL(ctx context.Context, kind string, name string, target any, fw inter.Framework) error

func (*InternalCachedDDLResolver) DDLBytes

func (r *InternalCachedDDLResolver) DDLBytes(_ context.Context, kind string, name string, _ inter.Framework) ([]byte, error)

func (*InternalCachedDDLResolver) DDLNames

func (*InternalCachedDDLResolver) String

func (r *InternalCachedDDLResolver) String() string

type RegistryDDLResolver

type RegistryDDLResolver struct{}

RegistryDDLResolver resolves DDL via the Choria Registry

func (*RegistryDDLResolver) DDL

func (r *RegistryDDLResolver) DDL(ctx context.Context, kind string, name string, target any, fw inter.Framework) error

func (*RegistryDDLResolver) DDLBytes

func (r *RegistryDDLResolver) DDLBytes(ctx context.Context, kind string, name string, fw inter.Framework) ([]byte, error)

func (*RegistryDDLResolver) DDLNames

func (r *RegistryDDLResolver) DDLNames(ctx context.Context, kind string, fw inter.Framework) ([]string, error)

func (*RegistryDDLResolver) String

func (r *RegistryDDLResolver) String() string

Jump to

Keyboard shortcuts

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