Help us shape the future of Go! Take the 2026 Go Developer Survey

storage

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 12 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) (cs.Catalog, error)

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