storage

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretInfo added in v0.1.25

type SecretInfo struct {
	Name       string         `json:"name"`
	Type       string         `json:"type"`
	Scope      string         `json:"scope"`
	Parameters map[string]any `json:"parameters"`
}

type Source

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

func New

func New() *Source

func (*Source) AsModule added in v0.1.9

func (s *Source) AsModule() bool

func (*Source) Attach

func (s *Source) Attach(ctx context.Context, pool *db.Pool) error

func (*Source) Catalog

func (s *Source) Catalog(ctx context.Context) sources.Source

func (*Source) Engine

func (s *Source) Engine() engines.Engine

func (*Source) IsReadonly

func (s *Source) IsReadonly() bool

func (*Source) Name

func (s *Source) Name() string

func (*Source) RegisterSecret added in v0.1.25

func (s *Source) RegisterSecret(ctx context.Context, info SecretInfo) error

func (*Source) UnregisterSecret added in v0.1.25

func (s *Source) UnregisterSecret(ctx context.Context, name string) error

Jump to

Keyboard shortcuts

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